diff --git a/.gitattributes b/.gitattributes index c61b241e..db2a596a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -*.txt text eol=crlf +* text eol=crlf \ No newline at end of file diff --git a/.gitignore b/.gitignore index f00840ab..d6eb4aa8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,10 @@ -Enthusiast -Performance -Quality + +Build/ + +docs/node_modules/ + +docs/\.idea/ + +docs/package-lock\.json + +docs/Gemfile\.lock diff --git a/.travis.yml b/.travis.yml index 77242360..cd7e75e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,66 +1,30 @@ -# Aim to have fast builds -# TODO: Maybe don't build the files into seperate folders and copy them after that anyway. - -language: php - -php: - - 7.0 +dist: trusty +sudo: false +language: node_js +node_js: + - "node" git: depth: 1 - submodules: false -if: branch IS master +env: + global: + secure: JkXrZEYH1PvXUpI02PYZC9csCtHDS9C41vMMWZZ4gIlkugFQGwVqB2aOjCbiCZzo5PiBXqz9p+xcRHk97SnzCLBINovw3GgWw1YUApYNXDARAOvZVrWMUQhqiouezexPUfL0dxJW5T1it6zN+weAiDsdfgJB8Q++TOQbn2mbcVfRNoR/HCO0v/5P0rtmtqPLbvtLj76eesVVr5rmC8SRDv7x/kCj4fHFYlS7tQGE6nV8XHo0FLr9cPafuqPjsIXR/QnJR+XYMsQfi8LymBEfv92Fq47J+nS9+iGG3M+T+n3GQ8lAjx6gGeiNnfVXQB8rMNItBuFsNfu+iiyurw4uMFaP66+GgamosyuPM+Tw7p4zc/WP316enAYZ/aAbQsbV3BBZXfBy94iU/xNAq4T82QTNq2I3zS84MJnjQtNPBxmADEJ/EZN6SE+rDRq4KxsTCis+hWqiioaeF6rhF8z7Mbg3P6Hn/FesqyBSlRAHmq+bOJx5m2m7lww1DRTPeOH6vKut3yU6uSd+9let4K14AGgV4S0VdKRoTmZHLFUK+L6HkjERKDpeAWq1j4sKpBLPRXxKRmVFb9B9LJVGzAZQ4ad0gNLHP9SKHBF9DxwKESRNzY37FkRSj/rO8tASm4BZRiTVS/WUhTPig7C92+VuVedfTe7UHAX+2wow61qJlHQ= + if: tag IS blank -branches: - only: - master - -# Simultaneous builds for common and uncommon resolutions -env: - matrix: - - buildType=Common - - buildType=Uncommon - global: - - secure: "X0PrKXLjW6r8e0zT7+SshhP7uaW/5EW2BJPCc/oRIWX6eC4QLXv0lQBstIZ6vChAvgYv2K1CcBlWHrQarTlHqmkYnfHAfOFK//qURFUfuyTkKcKU/aCYvm4op0jPGw8+wbOkxwfnbvOaa0E7oBv4GCXVPYCU3nm7E1H2XHgcfJukaEhpvFfHaNohoh1ygVt65G1WIoYwUIFh/0XXgP6RVBDCAU+QYaNopK5co2O40vhjtg2f0la4zMsunMEY5oXNMaM/oRAvGBaXJ3KUTgSb0+uRlEM/XxOYRyfmG6fjVXYbwL6j+kNCLsZklCfN98AAvbysCebQWhI46vJcPa/Ji/ImMeAns17fBlHMn+PI0MIBbPkMztEkenXW3Yv1BquBHElhB758Fd1Zt9KdA5H5JC6WfuRBd+QBwlzOBxOrVfmaI3uOmy3cEvQZgckPGN+7SdSDyrw/+ukM+Ks775qaZ/bw3eQyMx6DpfATa6pVzK0AWj4Xlm4IufaOFI/hy2gH60hV+3KuYXeSJOq4gXYbtJcruAbHK5YOeEmAEsVCpz+RKSuAWWvcPktoyLTOjbGTM89Yf3jFgZOFi4HNCt7K67/bDnflsHj04X/pDm3gQ0XhxQx1Sj1j0IG1XLh+k37uL2FZusBbd+8kI1SkMED5aVWTp1WmbJN+dJXZMWJxJPc=" # GITHUB_TOKEN - -matrix: - fast_finish: true - -# === Build steps === - -# No dependencies install: npm install -g github-release-cli@0.4.1 -# No need to debug the PHP code. Keeping this enabled slows down execution. -before_script: - - phpenv config-rm xdebug.ini - -script: ./build.sh - -after_success: - # Create zip file - - mkdir build - - mv $TRAVIS_BUILD_DIR/Enhancement/* build - - mv $TRAVIS_BUILD_DIR/Enthusiast/* build - - mv $TRAVIS_BUILD_DIR/Modifications/* build - - mv $TRAVIS_BUILD_DIR/Performance/* build - - mv $TRAVIS_BUILD_DIR/Quality/* build - - mv $TRAVIS_BUILD_DIR/Workaround/* build - - cd build - - $([ "$buildType" = "Common" ] && echo zip -o -9 -r -q "../graphicPacksCommon_$TRAVIS_BUILD_NUMBER"".zip" ./* || echo zip -o -9 -r -q "../graphicPacks$TRAVIS_BUILD_NUMBER""_Uncommon.zip" ./*) - - cd .. - # Create github release - # The odd naming of the releases will create a more compatible order. It's intended. +script: + - cd Enhancements && zip -r -q -9 "../graphicPacks$TRAVIS_BUILD_NUMBER"".zip" ./* && cd .. + - cd Source && zip -r -q -9 "../graphicPacks$TRAVIS_BUILD_NUMBER"".zip" ./* && cd .. + - cd Modifications && zip -r -q -9 "../graphicPacks$TRAVIS_BUILD_NUMBER"".zip" ./* && cd .. + - cd Workarounds && zip -r -q -9 "../graphicPacks$TRAVIS_BUILD_NUMBER"".zip" ./* && cd .. - | github-release upload \ --owner=slashiee \ - --repo=cemu_graphic_packs \ + --repo=gfx_pack \ --tag="Travis$TRAVIS_BUILD_NUMBER" \ --name="Graphic Packs: version $TRAVIS_BUILD_NUMBER" \ - --body="$(git log -1 --format='Commited at %ci by **%cn** in commit %h%n### %s%n```%n%b%n```%n') $(if [ '$buildType' = 'Common' ]; then echo 'This is a prerelease with only the common resolutions.'; fi)" \ - $([ "$buildType" = "Common" ] && echo "--prerelease=true" || echo "--prerelease=false") \ - $([ "$buildType" = "Common" ] && echo "graphicPacksCommon_$TRAVIS_BUILD_NUMBER"".zip" || echo "graphicPacks$TRAVIS_BUILD_NUMBER""_Uncommon.zip") - # Request a new Github Pages build when all the releases are present so that the links will be updated. Need to use a seperate file due to weird yaml parsing. - - sh requestGithubPages.sh + --body="$(git log -1 --format='Commited at %ci by **%cn** in commit %h%n### %s%n```%n%b%n```%n')" \ + "graphicPacks$TRAVIS_BUILD_NUMBER"".zip" diff --git a/Enhancement/BreathOfTheWild_!AARemoval/0f2b9ee517917425_00000000000003c9_ps.txt b/Enhancement/BreathOfTheWild_!AARemoval/0f2b9ee517917425_00000000000003c9_ps.txt deleted file mode 100644 index ae2d520d..00000000 --- a/Enhancement/BreathOfTheWild_!AARemoval/0f2b9ee517917425_00000000000003c9_ps.txt +++ /dev/null @@ -1,12 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 0f2b9ee517917425 // Inventory AA removal - -layout(binding = 0) uniform sampler2D textureUnitPS0; -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; - -void main() -{ -passPixelColor0 = texture(textureUnitPS0, passParameterSem2.xy); -} diff --git a/Enhancement/BreathOfTheWild_!AARemoval/f14bb57cd5c9cb77_00000000000003c9_ps.txt b/Enhancement/BreathOfTheWild_!AARemoval/f14bb57cd5c9cb77_00000000000003c9_ps.txt deleted file mode 100644 index 90c5e070..00000000 --- a/Enhancement/BreathOfTheWild_!AARemoval/f14bb57cd5c9cb77_00000000000003c9_ps.txt +++ /dev/null @@ -1,11 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader f14bb57cd5c9cb77 - -layout(binding = 0) uniform sampler2D textureUnitPS0; -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -void main() -{ -passPixelColor0 = texture(textureUnitPS0, passParameterSem2.xy); -} diff --git a/Enhancement/BreathOfTheWild_!AARemoval/rules.txt b/Enhancement/BreathOfTheWild_!AARemoval/rules.txt deleted file mode 100644 index 9470fa5f..00000000 --- a/Enhancement/BreathOfTheWild_!AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - No Anti-Aliasing" -version = 2 diff --git a/Enhancement/BreathOfTheWild_!FXAA/0f2b9ee517917425_00000000000003c9_ps.txt b/Enhancement/BreathOfTheWild_!FXAA/0f2b9ee517917425_00000000000003c9_ps.txt deleted file mode 100644 index f9da5d1f..00000000 --- a/Enhancement/BreathOfTheWild_!FXAA/0f2b9ee517917425_00000000000003c9_ps.txt +++ /dev/null @@ -1,350 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable - -/*-----------------------------settings-------------------------------------*/ - -#define Subpix 1.00 //[0.000 to 1.000] Choose the amount of sub-pixel aliasing removal. -#define EdgeThreshold 0.125 //[0.000 to 1.000] Edge detection threshold. The minimum amount of local contrast required to apply algorithm. -#define EdgeThresholdMin 0.0625 //[0.000 to 1.000] Darkness threshold. Trims the algorithm from processing darks. - -/*--------------------------------------------------------------------------*/ - -// shader 0f2b9ee517917425 -// fxaa in inventory screen -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -layout(binding = 0) uniform sampler2D textureUnitPS0; -layout(binding = 1) uniform sampler2D textureUnitPS1; -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; - -#define FXAA_QUALITY__PS 12 -#define FXAA_QUALITY__P0 1.0 -#define FXAA_QUALITY__P1 1.0 -#define FXAA_QUALITY__P2 1.0 -#define FXAA_QUALITY__P3 1.0 -#define FXAA_QUALITY__P4 1.0 -#define FXAA_QUALITY__P5 1.5 -#define FXAA_QUALITY__P6 2.0 -#define FXAA_QUALITY__P7 2.0 -#define FXAA_QUALITY__P8 2.0 -#define FXAA_QUALITY__P9 2.0 -#define FXAA_QUALITY__P10 4.0 -#define FXAA_QUALITY__P11 8.0 - -#define FxaaBool bool -#define FxaaDiscard discard -#define FxaaFloat float -#define FxaaFloat2 vec2 -#define FxaaFloat3 vec3 -#define FxaaFloat4 vec4 -#define FxaaHalf float -#define FxaaHalf2 vec2 -#define FxaaHalf3 vec3 -#define FxaaHalf4 vec4 -#define FxaaInt2 ivec2 -#define FxaaSat(x) clamp(x, 0.0, 1.0) -#define FxaaTex sampler2D - -#define FxaaTexTop(t, p) textureLod(t, p, 0.0) -#define FxaaTexOff(t, p, o, r) textureLodOffset(t, p, 0.0, o) - -#define FxaaTexAlpha4(t, p) textureGather(t, p, 3) -#define FxaaTexOffAlpha4(t, p, o) textureGatherOffset(t, p, o, 3) -#define FxaaTexGreen4(t, p) textureGather(t, p, 1) -#define FxaaTexOffGreen4(t, p, o) textureGatherOffset(t, p, o, 1) - -FxaaFloat4 FxaaPixelShader( - FxaaFloat2 pos, - FxaaTex tex, - FxaaTex lum, - FxaaFloat2 fxaaQualityRcpFrame, - FxaaFloat fxaaQualitySubpix, - FxaaFloat fxaaQualityEdgeThreshold, - FxaaFloat fxaaQualityEdgeThresholdMin -) { - FxaaFloat2 posM; - posM.x = pos.x; - posM.y = pos.y; - FxaaFloat4 rgbyM = vec4(FxaaTexTop(tex, posM).xyz, FxaaTexTop(lum, posM).x); - #define lumaM rgbyM.w - FxaaFloat4 luma4A = textureGather(lum, posM); - FxaaFloat4 luma4B = textureGatherOffset(lum, posM, FxaaInt2(-1, -1)); - #define lumaE luma4A.z - #define lumaS luma4A.x - #define lumaSE luma4A.y - #define lumaNW luma4B.w - #define lumaN luma4B.z - #define lumaW luma4B.x - FxaaFloat maxSM = max(lumaS, lumaM); - FxaaFloat minSM = min(lumaS, lumaM); - FxaaFloat maxESM = max(lumaE, maxSM); - FxaaFloat minESM = min(lumaE, minSM); - FxaaFloat maxWN = max(lumaN, lumaW); - FxaaFloat minWN = min(lumaN, lumaW); - FxaaFloat rangeMax = max(maxWN, maxESM); - FxaaFloat rangeMin = min(minWN, minESM); - FxaaFloat rangeMaxScaled = rangeMax * fxaaQualityEdgeThreshold; - FxaaFloat range = rangeMax - rangeMin; - FxaaFloat rangeMaxClamped = max(fxaaQualityEdgeThresholdMin, rangeMaxScaled); - FxaaBool earlyExit = range < rangeMaxClamped; - if(earlyExit) - return rgbyM; - FxaaFloat lumaNE = FxaaTexOff(lum, posM, FxaaInt2(1, -1), fxaaQualityRcpFrame.xy).x; - FxaaFloat lumaSW = FxaaTexOff(lum, posM, FxaaInt2(-1, 1), fxaaQualityRcpFrame.xy).x; - FxaaFloat lumaNS = lumaN + lumaS; - FxaaFloat lumaWE = lumaW + lumaE; - FxaaFloat subpixRcpRange = 1.0/range; - FxaaFloat subpixNSWE = lumaNS + lumaWE; - FxaaFloat edgeHorz1 = (-2.0 * lumaM) + lumaNS; - FxaaFloat edgeVert1 = (-2.0 * lumaM) + lumaWE; - FxaaFloat lumaNESE = lumaNE + lumaSE; - FxaaFloat lumaNWNE = lumaNW + lumaNE; - FxaaFloat edgeHorz2 = (-2.0 * lumaE) + lumaNESE; - FxaaFloat edgeVert2 = (-2.0 * lumaN) + lumaNWNE; - FxaaFloat lumaNWSW = lumaNW + lumaSW; - FxaaFloat lumaSWSE = lumaSW + lumaSE; - FxaaFloat edgeHorz4 = (abs(edgeHorz1) * 2.0) + abs(edgeHorz2); - FxaaFloat edgeVert4 = (abs(edgeVert1) * 2.0) + abs(edgeVert2); - FxaaFloat edgeHorz3 = (-2.0 * lumaW) + lumaNWSW; - FxaaFloat edgeVert3 = (-2.0 * lumaS) + lumaSWSE; - FxaaFloat edgeHorz = abs(edgeHorz3) + edgeHorz4; - FxaaFloat edgeVert = abs(edgeVert3) + edgeVert4; - FxaaFloat subpixNWSWNESE = lumaNWSW + lumaNESE; - FxaaFloat lengthSign = fxaaQualityRcpFrame.x; - FxaaBool horzSpan = edgeHorz >= edgeVert; - FxaaFloat subpixA = subpixNSWE * 2.0 + subpixNWSWNESE; - if(!horzSpan) lumaN = lumaW; - if(!horzSpan) lumaS = lumaE; - if(horzSpan) lengthSign = fxaaQualityRcpFrame.y; - FxaaFloat subpixB = (subpixA * (1.0/12.0)) - lumaM; - FxaaFloat gradientN = lumaN - lumaM; - FxaaFloat gradientS = lumaS - lumaM; - FxaaFloat lumaNN = lumaN + lumaM; - FxaaFloat lumaSS = lumaS + lumaM; - FxaaBool pairN = abs(gradientN) >= abs(gradientS); - FxaaFloat gradient = max(abs(gradientN), abs(gradientS)); - if(pairN) lengthSign = -lengthSign; - FxaaFloat subpixC = FxaaSat(abs(subpixB) * subpixRcpRange); - FxaaFloat2 posB; - posB.x = posM.x; - posB.y = posM.y; - FxaaFloat2 offNP; - offNP.x = (!horzSpan) ? 0.0 : fxaaQualityRcpFrame.x; - offNP.y = ( horzSpan) ? 0.0 : fxaaQualityRcpFrame.y; - if(!horzSpan) posB.x += lengthSign * 0.5; - if( horzSpan) posB.y += lengthSign * 0.5; - FxaaFloat2 posN; - posN.x = posB.x - offNP.x * FXAA_QUALITY__P0; - posN.y = posB.y - offNP.y * FXAA_QUALITY__P0; - FxaaFloat2 posP; - posP.x = posB.x + offNP.x * FXAA_QUALITY__P0; - posP.y = posB.y + offNP.y * FXAA_QUALITY__P0; - FxaaFloat subpixD = ((-2.0)*subpixC) + 3.0; - FxaaFloat lumaEndN = FxaaTexTop(lum, posN).x; - FxaaFloat subpixE = subpixC * subpixC; - FxaaFloat lumaEndP = FxaaTexTop(lum, posP).x; - if(!pairN) lumaNN = lumaSS; - FxaaFloat gradientScaled = gradient * 1.0/4.0; - FxaaFloat lumaMM = lumaM - lumaNN * 0.5; - FxaaFloat subpixF = subpixD * subpixE; - FxaaBool lumaMLTZero = lumaMM < 0.0; - lumaEndN -= lumaNN * 0.5; - lumaEndP -= lumaNN * 0.5; - FxaaBool doneN = abs(lumaEndN) >= gradientScaled; - FxaaBool doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P1; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P1; - FxaaBool doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P1; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P1; - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P2; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P2; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P2; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P2; - #if (FXAA_QUALITY__PS > 3) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P3; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P3; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P3; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P3; - #if (FXAA_QUALITY__PS > 4) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P4; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P4; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P4; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P4; - #if (FXAA_QUALITY__PS > 5) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P5; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P5; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P5; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P5; - #if (FXAA_QUALITY__PS > 6) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P6; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P6; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P6; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P6; - #if (FXAA_QUALITY__PS > 7) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P7; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P7; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P7; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P7; - #if (FXAA_QUALITY__PS > 8) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P8; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P8; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P8; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P8; - #if (FXAA_QUALITY__PS > 9) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P9; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P9; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P9; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P9; - #if (FXAA_QUALITY__PS > 10) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P10; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P10; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P10; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P10; - #if (FXAA_QUALITY__PS > 11) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P11; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P11; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P11; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P11; - #if (FXAA_QUALITY__PS > 12) - if(doneNP) { - if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; - if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; - if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; - if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; - doneN = abs(lumaEndN) >= gradientScaled; - doneP = abs(lumaEndP) >= gradientScaled; - if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P12; - if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P12; - doneNP = (!doneN) || (!doneP); - if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P12; - if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P12; - } - #endif - } - #endif - } - #endif - } - #endif - } - #endif - } - #endif - } - #endif - } - #endif - } - #endif - } - #endif - } - FxaaFloat dstN = posM.x - posN.x; - FxaaFloat dstP = posP.x - posM.x; - if(!horzSpan) dstN = posM.y - posN.y; - if(!horzSpan) dstP = posP.y - posM.y; - FxaaBool goodSpanN = (lumaEndN < 0.0) != lumaMLTZero; - FxaaFloat spanLength = (dstP + dstN); - FxaaBool goodSpanP = (lumaEndP < 0.0) != lumaMLTZero; - FxaaFloat spanLengthRcp = 1.0/spanLength; - FxaaBool directionN = dstN < dstP; - FxaaFloat dst = min(dstN, dstP); - FxaaBool goodSpan = directionN ? goodSpanN : goodSpanP; - FxaaFloat subpixG = subpixF * subpixF; - FxaaFloat pixelOffset = (dst * (-spanLengthRcp)) + 0.5; - FxaaFloat subpixH = subpixG * fxaaQualitySubpix; - FxaaFloat pixelOffsetGood = goodSpan ? pixelOffset : 0.0; - FxaaFloat pixelOffsetSubpix = max(pixelOffsetGood, subpixH); - if(!horzSpan) posM.x += pixelOffsetSubpix * lengthSign; - if( horzSpan) posM.y += pixelOffsetSubpix * lengthSign; - return FxaaFloat4(FxaaTexTop(tex, posM).xyz, lumaM); -} - - -vec2 RcpFrame = vec2(1.0 / 1280.0, 1.0 / 720.0) * uf_fragCoordScale; -void main() -{ -passPixelColor0 = FxaaPixelShader(passParameterSem2.xy, textureUnitPS0, textureUnitPS1, RcpFrame, Subpix, EdgeThreshold, EdgeThresholdMin); -} diff --git a/Enhancement/BreathOfTheWild_!NoDoF/rules.txt b/Enhancement/BreathOfTheWild_!NoDoF/rules.txt deleted file mode 100644 index 5b94dbe6..00000000 --- a/Enhancement/BreathOfTheWild_!NoDoF/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - No Depth of Field" -version = 2 diff --git a/Enhancement/BreathOfTheWild_!RegularShadows/rules.txt b/Enhancement/BreathOfTheWild_!RegularShadows/rules.txt deleted file mode 100644 index 45ac7876..00000000 --- a/Enhancement/BreathOfTheWild_!RegularShadows/rules.txt +++ /dev/null @@ -1,18 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Regular Resolution Shadows" -version = 2 - -[TextureRedefine] -width = 360 -height = 360 -formats = 0x005 -overwriteWidth = 360 -overwriteHeight = 360 - -[TextureRedefine] -width = 720 -height = 720 -formats = 0x005 -overwriteWidth = 720 -overwriteHeight = 720 \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_30FPS/patches.txt b/Enhancement/BreathOfTheWild_30FPS/patches.txt deleted file mode 100644 index b9194f6c..00000000 --- a/Enhancement/BreathOfTheWild_30FPS/patches.txt +++ /dev/null @@ -1,69 +0,0 @@ -[BotwNoVsyncV33] -moduleMatches = 0xD91A406D - -;0x03068414 = nop ;disables gx2 fence -0x030685E4 = nop ;disables wait for vsync -0x03068608 = nop ;disables wait for vsync loop - -[BotwNoVsyncV48] -moduleMatches = 0x0F748D9C - -;0x03068488 = nop ;disables gx2 fence -0x03068658 = nop ;disables wait for vsync -0x0306867C = nop ;disables wait for vsync loop - -[BotwNoVsyncV64] -moduleMatches = 0x9A61FF4C - -;0x03069B60 = nop ;disables gx2 fence -0x03069D30 = nop ;disables wait for vsync -0x03069D54 = nop ;disables wait for vsync loop - -[BotwNoVsyncV80] -moduleMatches = 0x8E3324A9 - -;0x03088A68 = nop ;disables gx2 fence -0x03088C38 = nop ;disables wait for vsync -0x03088C5C = nop ;disables wait for vsync loop - -[BotwNoVsyncV97] -moduleMatches = 0xD71D859D - -;0x030D42A0 = nop ;disables gx2 fence -0x030D4474 = nop ;disables wait for vsync -0x030D4498 = nop ;disables wait for vsync loop - -[BotwNoVsyncV112] -moduleMatches = 0x6FD41A61 - -;0x030D5200 = nop ;disables gx2 fence -0x030D53D4 = nop ;disables wait for vsync -0x030D53F8 = nop ;disables wait for vsync loop - -[BotwNoVsyncV144] -moduleMatches = 0x9A2CA0C7 - -;0x03102808 = nop ;disables gx2 fence -0x031029DC = nop ;disables wait for vsync -0x03102A00 = nop ;disables wait for vsync loop - -[BotwNoVsyncV160] -moduleMatches = 0x29DBB52A - -;0x031026D8 = nop ;disables gx2 fence -0x031028A8 = nop ;disables wait for vsync -0x031028CC = nop ;disables wait for vsync loop - -[BotwNoVsyncV176V192] -moduleMatches = 0xFD091F9F,0xD472D8A5 - -;0x031FA004 = nop ;disables gx2 fence -0x031FA1D4 = nop ;disables wait for vsync -0x031FA1F8 = nop ;disables wait for vsync loop - -[BotwNoVsyncV208] -moduleMatches = 0x6267BFD0 - -;0x031FAB00 = nop ;disables gx2 fence -0x031FACD0 = nop ;disables wait for vsync -0x031FACF4 = nop ;disables wait for vsync loop \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_30FPS/rules.txt b/Enhancement/BreathOfTheWild_30FPS/rules.txt deleted file mode 100644 index f5b79d3d..00000000 --- a/Enhancement/BreathOfTheWild_30FPS/rules.txt +++ /dev/null @@ -1,7 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - 30FPS Lock (Requires Fence Skip or FPS++)" -version = 2 - -[Control] -vsyncFrequency = 30 \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_720pBetterColorDepth/rules.txt b/Enhancement/BreathOfTheWild_720pBetterColorDepth/rules.txt deleted file mode 100644 index 3c34d97f..00000000 --- a/Enhancement/BreathOfTheWild_720pBetterColorDepth/rules.txt +++ /dev/null @@ -1,23 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - 1280x720 (Better Color Depth)" -version = 2 - -[TextureRedefine] #TV -width = 1280 -height = 720 -formats = 0x19,0x1a -overwriteFormat = 0x1f -tileModesExcluded = 0x001 - -[TextureRedefine] #inventory and title menu background blur -width = 320 -height = 180 -formats = 0x19 -overwriteFormat = 0x823 - -[TextureRedefine] #title menu background bloom -width = 320 -height = 180 -formats = 0x1a -overwriteFormat = 0x823 \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_Clarity/How_to_make_your_own_Preset.txt b/Enhancement/BreathOfTheWild_Clarity/How_to_make_your_own_Preset.txt deleted file mode 100644 index 32d2ddd9..00000000 --- a/Enhancement/BreathOfTheWild_Clarity/How_to_make_your_own_Preset.txt +++ /dev/null @@ -1,124 +0,0 @@ - - - -- How to set up your own Clarity Preset -- - - ((Required storage space, Approx 2~4GB)) - -=================================================================== - - Hey, it's Serfrost. I'm writing this out because it's come to our attention that no matter what we really do for presets, it won't really matter in the long run. Every user has a unique monitor / display they use with their PC, yeah? A lot of them are calibrated differently, and they often come with numerous presets that alter colors, brightness, contrast, you name it. Because of this, the presets that look good to me might not look good to you--the presets that look good to Jamie might not look good to you; you get the idea. So I'm writing this hoping you'll take the time to do a few short steps to get you on your way to making the game look the way YOU want it to look on YOUR display! - - Jamie has coded this faithfully and diligently, and he's added a lot of different functions that were previously unavailable with these newer updates. We hope you enjoy this and use it to it's fullest potential. - -=================================================================== - - There are 15 steps total. Please read very carefully and with your full attention. As long as you do that, it's relatively just "point and click" and the rest is changing the numbers on your own and testing them to see what they do. - -=================================================================== - - -1) Download & install Visual Studio Community 2017 - - https://www.visualstudio.com/downloads/ - - -2) On the setup window, within the Workload tab, select "Desktop development with C++" - - After installation and setup, close Visual Studio 2017... - - -3) Download & install Nsight for Visual Studio 2017 (You are required to make a Developer Account) - - https://developer.nvidia.com/nsight-visual-studio-edition-downloads - - After installation and setup, re-open Visual Studio 2017 - - -4) Make a new Visual C++ > General > Empty Project (with a name of your choosing, i.e. Clarity) - - -4) In the Solution Explorer pane on the right, right-click your project's name with the ++ icon, select "Nsight User Properties" - - -5) Set the "Launch external program" to your Cemu.exe - - -6) Below that, "Command line arguments", simply set it to "-nsight" -- Then, Ok/Confirm - - -7) Save your project. It can now be reused to skip these steps in the future. - - -===============\ - -Note 1: Transferrable ShaderCache and Precompiled ShaderCache must be either backed-up and deleted, or at least moved to a new location before the next step. You must have an empty Transferrable and Precompiled with no shaders from BotW each time you run Nsight! If Nsight ignores your regular Precompiled, read below. - - Note 2: This should be a one-time step. - - Visual Studio might be saving your shaderCache to a new location based on your working directory, if that happens you'll have to find that directory. Mine was at... - - C:\Users\serfr\source\repos\Clarity\Clarity\shaderCache - - If it indeed does this, open that folder and clear it out. Then right-click the folder, go to Properties, go to Security, and then edit the permissions to Deny all access to any user listed. - - This prevents Visual Studio from saving any shaderCache, which is what you want, since Nsight will not be able to use shaders that have already been turned into shaderCache, effectively skipping over them and screwing up your workflow. - -===============/ - - -8) Nsight menu at the top > Start Graphics Debugging - - -9) After Cemu opens itself, load the game and your save file. - - Note 2: My editing save is set to be at Riverside Stable between the Stable and the 4 trees on the hill. - This allows the shader to always be located as the same number in the next steps for consistency, not - only that, but it gives you a great vantage point to tune your variables. - - -10) Visual Studio: Nsight menu at the top > Windows > Shaders - - -11) Filter: "63" > Wait for the shader to process > Expand 633 > Open Shader Program 632, this should be Clarity. - - -===============\ - - Note 2: If this isn't Clarity, then restart at the previous "Note 1" and load a different save. - -===============/ - - -12) If you've successfully opened the shader as Clarity, then right-click the contents and select "Edit" - - -13) You may now edit all the variables in realtime. To view / compile your changes hit Ctrl + Shift + C - - -===============\ - - Note 3: "Realtime", as in, you can view your changes by using the hotkey. You do not have to stop the game, etc. - - Pro Tip 1: If time changes too fast for you, you can use Cemu > Debug > Custom Timer options to slow down time to 0.125x! - - Pro Tip 2: If you want to chance it, you can use Visual Studio > Nsight Menu > Pause and Capture Frame ... you may then edit the shader with the frame frozen; this keeps time from progressing. Keep in mind it may error, and keep in mind that resuming may heavily glitch the game. - - MAKE SURE YOU CHECK VARIOUS AREAS IN THE GAME TO MAKE SURE YOUR COLOR / SHADOW BALANCING IS CORRECT. - -===============/ - - -14) When you have your variables for your Preset where you want them, Ctrl + A to select all text, then Copy it. - - -15) Paste your entire shader code into a notepad and save it to wherever you want. - - -- Make backups of files before making changes. Keep track of your work! -- - - The new shader.txt file has to be put in the Clarity GFX Pack for it to be used. Make sure you replace the original with your own, or relocate the original somewhere else. Your Preset must be the same name as the original file! 37040a485a29d54e_00000000000003c9_ps_.txt - - === - - MAKE SURE YOU CHECK VARIOUS AREAS IN THE GAME TO MAKE SURE YOUR COLOR / SHADOW BALANCING IS CORRECT. - - === \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_Clarity/Usage_Instructions.txt b/Enhancement/BreathOfTheWild_Clarity/Usage_Instructions.txt deleted file mode 100644 index 1680cc80..00000000 --- a/Enhancement/BreathOfTheWild_Clarity/Usage_Instructions.txt +++ /dev/null @@ -1,9 +0,0 @@ -============================================ - -1. Open the 37040a485a29d54e_00000000000003c9_ps - -2. Pick preset or make your own. - -3. Enable the pack in Cemu in order to test the preset. - -============================================ \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_Clarity/rules.txt b/Enhancement/BreathOfTheWild_Clarity/rules.txt deleted file mode 100644 index 2aa9c950..00000000 --- a/Enhancement/BreathOfTheWild_Clarity/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Clarity" -version = 2 \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_Contrasty/37040a485a29d54e_00000000000003c9_ps.txt b/Enhancement/BreathOfTheWild_Contrasty/37040a485a29d54e_00000000000003c9_ps.txt deleted file mode 100644 index 2bb14fbe..00000000 --- a/Enhancement/BreathOfTheWild_Contrasty/37040a485a29d54e_00000000000003c9_ps.txt +++ /dev/null @@ -1,135 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// Adjustable Bloom + Tone Mapping + Adjustable Vibrance(Contrasty) - -/*=============================Settings=====================================*/ - -#define adjust_bloom 1 // 0: disable, 1: enable. -const float bloomFactor = 0.7; // 1.0 is neutral [0,1+] - -#define tone_mapping 1 -// -1: disable, loss of bright detail/color but keep [0,1] intact -// 0: (Wii U) BotW original -// 1: ACES Filmic -//---------------"ACES Filmic","disable" Parameters-------------// -const float Exposure = 0.6; // [0.0, 1.0+] Adjust exposure -//---------------------------------------------------------------// - -#define post_process 0 -// -1: disable -// 0: (Wii U) BotW original, only vibrance -// 1: Contrasty -//----------------"BotW original" vibrance adjust-------------// -const float satFactor = 0.25; // 0.18 is neutral. Experimental, adjust native saturation -//---------------------------------------------------------------// -//---------------------"Contrasty" Parameters-----------------// -const float gamma = 0.81; // 1.0 is neutral. Botw is already colour graded at this stage -const float exposure = 1.17; // 1.0 is neutral -const float vibrance = 0.40; // >0: saturate <0: desaturate -const vec3 vibrance_RGB_balance = vec3(1.0,1.0,1.0); // A per channel multiplier to the Vibrance strength so you can give more boost to certain colors over others. -const float crushContrast = 0.000; // 0.0 is neutral. Use small increments, loss of shadow detail -//---------------------------------------------------------------// - -/*==========================================================================*/ - - -// shader bd8bba59e2149449 // bloom(add), tonemap, saturate -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0; //bloom -layout(binding = 1) uniform sampler2D textureUnitPS1; //texture, hdr -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; - -float getL601(vec3 rgb) { - return dot(rgb,vec3(0.2989,0.5866,0.1145)); -} - -float getL709(vec3 rgb) { - return dot(rgb,vec3(0.2126,0.7152,0.0722)); -} - -vec3 BotWToneMap(vec3 color) { - float Lumn = getL601(color); - vec4 exptm = 1.0 - exp(-vec4(color,Lumn)); - vec3 cpre = exptm.w / Lumn * color; - vec3 colorldr = mix(cpre,exptm.rgb,vec3(pow(exptm.w,2.0)));//refine - return colorldr; -} - -vec3 ACESFilm(vec3 color) { - color *= Exposure; - float Lumn = getL709(color); - vec4 tm = vec4(color,Lumn); - tm = (tm*(2.51*tm+0.03))/(tm*(2.43*tm+0.59)+0.14); // tonemap - vec3 cpre = tm.w / Lumn * color; - vec3 colorldr = mix(cpre,tm.rgb,vec3(pow(tm.w,2.0)));//refine - return colorldr; -} - -vec3 BotWVibrance(vec3 color) { - float avg = (color.r + color.g + color.b)/3.0; - float maxc = max(color.r, max(color.g,color.b)); - float w = 1.0 - pow(1.0 - 2.0 * avg, 2.0); - float weight = 1.0 + w * satFactor; - vec3 satcolor = mix(vec3(maxc), color, weight); - return satcolor; -} - -vec3 ReshadeVibrance(vec3 color) { - float max_color = max(color.r, max(color.g, color.b)); // Find the strongest color - float min_color = min(color.r, min(color.g, color.b)); // Find the weakest color - float luma = getL709(color); - float color_saturation = max_color - min_color; // The difference between the two is the saturation - vec3 coeffVibrance = vibrance_RGB_balance * vibrance; - color = mix(vec3(luma), color, 1.0 + (coeffVibrance * (1.0 - (sign(coeffVibrance) * color_saturation)))); - return color; -} - -vec3 Contrasty(vec3 fColour) { - fColour = max(vec3(0.0), fColour - vec3(crushContrast)); - fColour = clamp(exposure * fColour, 0.0, 1.0); - fColour = pow(fColour, vec3(1.0 / gamma)); - fColour = ReshadeVibrance(fColour); // reshade's identical, only a little stronger when at same setting - return fColour; -} - -// bad curve, see reshade curves.fx -//vec3 Contrasty2(vec3 color) { -// color = clamp(color,0.0,1.0); -// vec3 dark = pow(color,vec3(1.0/dark_thr)); -// vec3 bright = pow(color,vec3(1.0/bright_thr)); -// float lumn = getL709(color); -// color = mix(dark,bright,lumn); -// color = ReshadeVibrance(color); -// return color; -//} - -void main() -{ -vec3 bloom = texture(textureUnitPS0, passParameterSem0.xy).xyz; -vec3 color = texture(textureUnitPS1, passParameterSem0.xy).xyz; - -#if (adjust_bloom == 1) -bloom *= bloomFactor; -#endif - -color += bloom; - -#if (tone_mapping == -1) -color = clamp(color*Exposure,0.0,1.0); -#elif (tone_mapping == 0) -color = BotWToneMap(color); -#elif (tone_mapping == 1) -color = ACESFilm(color); -#endif - -#if (post_process == 0) -color = BotWVibrance(color); -#elif (post_process == 1) -color = Contrasty(color); -#endif - -// export -passPixelColor0 = vec4(color, passParameterSem0.w); -} diff --git a/Enhancement/BreathOfTheWild_Contrasty/rules.txt b/Enhancement/BreathOfTheWild_Contrasty/rules.txt deleted file mode 100644 index 8bc71416..00000000 --- a/Enhancement/BreathOfTheWild_Contrasty/rules.txt +++ /dev/null @@ -1,13 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Contrasty" -version = 2 - -# Credit: -# getdls for contrasty -# lihe@bestminr.com for vibrance logic -# kiri hsv saturation -# navras seperate contrasty from AARemoval - -# approximate ACES Filmic ~ https://knarkowicz.wordpress.com/2016/01/06/aces-filmic-tone-mapping-curve/ -# SweetFX Tone mapping by Christian Cann Schuldt Jensen ~ CeeJay.dk \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_LODBias/rules.txt b/Enhancement/BreathOfTheWild_LODBias/rules.txt deleted file mode 100644 index 1e45b3d0..00000000 --- a/Enhancement/BreathOfTheWild_LODBias/rules.txt +++ /dev/null @@ -1,8 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - LOD Bias" -version = 2 - -[TextureRedefine] -formats = 0x31,0x32,0x34,0x35,0x431,0x432,0x433,0x234,0x235 -overwriteRelativeLodBias = -3 diff --git a/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/37b9100c1310d3bb_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/37b9100c1310d3bb_0000000000000000_vs.txt deleted file mode 100644 index b16634b7..00000000 --- a/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/37b9100c1310d3bb_0000000000000000_vs.txt +++ /dev/null @@ -1,981 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 37b9100c1310d3bb -// Used for: Camera GUI - -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; -float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ - if (v == 0x7FFFFFFF) - return floatBitsToInt(1.0); - else if (v == 0xFFFFFFFF) - return floatBitsToInt(0.0); - return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b) { if (a == 0.0 || b == 0.0) return 0.0; return a*b; } -void main() -{ - - // Check Camera GUI - int hideCamera = 1; - if (uf_uniformRegisterVS[4].w != -1018036225 && uf_uniformRegisterVS[30].y == 0) { - hideCamera = 2; - } - ivec4 R0i = ivec4(0); - ivec4 R1i = ivec4(0); - ivec4 R2i = ivec4(0); - ivec4 R3i = ivec4(0); - ivec4 R4i = ivec4(0); - ivec4 R5i = ivec4(0); - ivec4 R6i = ivec4(0); - ivec4 R7i = ivec4(0); - ivec4 R122i = ivec4(0); - ivec4 R123i = ivec4(0); - ivec4 R124i = ivec4(0); - ivec4 R125i = ivec4(0); - ivec4 R126i = ivec4(0); - ivec4 R127i = ivec4(0); - uvec4 attrDecoder; - int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; - ivec4 PV0i = ivec4(0), PV1i = ivec4(0); - int PS0i = 0, PS1i = 0; - ivec4 tempi = ivec4(0); - float tempResultf; - int tempResulti; - ivec4 ARi = ivec4(0); - bool predResult = true; - bool activeMaskStack[14]; - bool activeMaskStackC[15]; - activeMaskStack[0] = false; - activeMaskStack[1] = false; - activeMaskStack[2] = false; - activeMaskStack[3] = false; - activeMaskStack[4] = false; - activeMaskStack[5] = false; - activeMaskStack[6] = false; - activeMaskStack[7] = false; - activeMaskStack[8] = false; - activeMaskStack[9] = false; - activeMaskStack[10] = false; - activeMaskStack[11] = false; - activeMaskStack[12] = false; - activeMaskStackC[0] = false; - activeMaskStackC[1] = false; - activeMaskStackC[2] = false; - activeMaskStackC[3] = false; - activeMaskStackC[4] = false; - activeMaskStackC[5] = false; - activeMaskStackC[6] = false; - activeMaskStackC[7] = false; - activeMaskStackC[8] = false; - activeMaskStackC[9] = false; - activeMaskStackC[10] = false; - activeMaskStackC[11] = false; - activeMaskStackC[12] = false; - activeMaskStackC[13] = false; - activeMaskStack[0] = true; - activeMaskStackC[0] = true; - activeMaskStackC[1] = true; - vec3 cubeMapSTM; - int cubeMapFaceId; - R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); - attrDecoder.xy = attrDataSem0.xy; - attrDecoder.xy = (attrDecoder.xy >> 24) | ((attrDecoder.xy >> 8) & 0xFF00) | ((attrDecoder.xy << 8) & 0xFF0000) | ((attrDecoder.xy << 24)); - attrDecoder.z = 0; - attrDecoder.w = 0; - R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); - if (activeMaskStackC[1] == true) { - activeMaskStack[1] = activeMaskStack[0]; - activeMaskStackC[2] = activeMaskStackC[1]; - // 0 - PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_uniformRegisterVS[15].x))); - R0i.y = floatBitsToInt(-(intBitsToFloat(R1i.y))); - PV0i.y = R0i.y; - R4i.z = 0; - R0i.w = 0x3f800000; - R127i.w = floatBitsToInt(1.0); - PS0i = R127i.w; - // 1 - R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_uniformRegisterVS[15].z)); - PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_uniformRegisterVS[15].y))); - // 2 - R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(uf_uniformRegisterVS[15].w)); - PV0i.y = R0i.y; - R1i.w = uf_uniformRegisterVS[2].x & 0x40000000; - // 3 - backupReg0i = R0i.w; - R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x), intBitsToFloat(PV0i.y), intBitsToFloat(R4i.z), intBitsToFloat(backupReg0i)), vec4(intBitsToFloat(uf_uniformRegisterVS[4].x), intBitsToFloat(uf_uniformRegisterVS[4].y), intBitsToFloat(uf_uniformRegisterVS[4].z), intBitsToFloat(uf_uniformRegisterVS[4].w)))); - PV1i.x = R127i.x; - PV1i.y = R127i.x; - PV1i.z = R127i.x; - PV1i.w = R127i.x; - // 4 - backupReg0i = R0i.x; - backupReg1i = R0i.w; - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.y), intBitsToFloat(R4i.z), intBitsToFloat(backupReg1i)), vec4(intBitsToFloat(uf_uniformRegisterVS[5].x), intBitsToFloat(uf_uniformRegisterVS[5].y), intBitsToFloat(uf_uniformRegisterVS[5].z), intBitsToFloat(uf_uniformRegisterVS[5].w)))); - PV0i.x = tempi.x; - PV0i.y = tempi.x; - PV0i.z = tempi.x; - PV0i.w = tempi.x; - R127i.y = tempi.x; - // 5 - backupReg0i = R0i.x; - backupReg1i = R0i.y; - backupReg2i = R0i.w; - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i), intBitsToFloat(R4i.z), intBitsToFloat(backupReg2i)), vec4(intBitsToFloat(uf_uniformRegisterVS[6].x), intBitsToFloat(uf_uniformRegisterVS[6].y), intBitsToFloat(uf_uniformRegisterVS[6].z), intBitsToFloat(uf_uniformRegisterVS[6].w)))); - PV1i.x = tempi.x; - PV1i.y = tempi.x; - PV1i.z = tempi.x; - PV1i.w = tempi.x; - R127i.z = tempi.x; - // 6 - R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x), intBitsToFloat(R127i.y), intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w)), vec4(intBitsToFloat(uf_uniformRegisterVS[8].x), intBitsToFloat(uf_uniformRegisterVS[8].y), intBitsToFloat(uf_uniformRegisterVS[8].z), intBitsToFloat(uf_uniformRegisterVS[8].w)))); - PV0i.x = R6i.x; - PV0i.y = R6i.x; - PV0i.z = R6i.x; - PV0i.w = R6i.x; - // 7 - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x), intBitsToFloat(R127i.y), intBitsToFloat(R127i.z), intBitsToFloat(R127i.w)), vec4(intBitsToFloat(uf_uniformRegisterVS[9].x), intBitsToFloat(uf_uniformRegisterVS[9].y), intBitsToFloat(uf_uniformRegisterVS[9].z), intBitsToFloat(uf_uniformRegisterVS[9].w)))); - PV1i.x = tempi.x; - PV1i.y = tempi.x; - PV1i.z = tempi.x; - PV1i.w = tempi.x; - R6i.y = tempi.x; - // 8 - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x), intBitsToFloat(R127i.y), intBitsToFloat(R127i.z), intBitsToFloat(R127i.w)), vec4(intBitsToFloat(uf_uniformRegisterVS[10].x), intBitsToFloat(uf_uniformRegisterVS[10].y), intBitsToFloat(uf_uniformRegisterVS[10].z), intBitsToFloat(uf_uniformRegisterVS[10].w)))); - PV0i.x = tempi.x; - PV0i.y = tempi.x; - PV0i.z = tempi.x; - PV0i.w = tempi.x; - R6i.z = tempi.x; - // 9 - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x), intBitsToFloat(R127i.y), intBitsToFloat(R127i.z), intBitsToFloat(R127i.w)), vec4(intBitsToFloat(uf_uniformRegisterVS[11].x), intBitsToFloat(uf_uniformRegisterVS[11].y), intBitsToFloat(uf_uniformRegisterVS[11].z), intBitsToFloat(uf_uniformRegisterVS[11].w)))); - PV1i.x = tempi.x; - PV1i.y = tempi.x; - PV1i.z = tempi.x; - PV1i.w = tempi.x; - R6i.w = tempi.x; - // 10 - predResult = (0 != R1i.w); - activeMaskStack[1] = predResult; - activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; - } - else { - activeMaskStack[1] = false; - activeMaskStackC[2] = false; - } - if (activeMaskStackC[2] == true) { - activeMaskStack[2] = activeMaskStack[1]; - activeMaskStackC[3] = activeMaskStackC[2]; - // 0 - R0i.z = uf_uniformRegisterVS[2].x & 0x00000002; - // 1 - predResult = (0 != R0i.z); - activeMaskStack[2] = predResult; - activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; - } - else { - activeMaskStack[2] = false; - activeMaskStackC[3] = false; - } - if (activeMaskStackC[3] == true) { - // 0 - backupReg0i = R1i.y; - R1i.y = backupReg0i; - PV0i.y = R1i.y; - R0i.z = 0; - PV0i.z = R0i.z; - R1i.w = 0x3f800000; - PV0i.w = R1i.w; - // 1 - R2i.xyz = ivec3(R1i.x, PV0i.y, PV0i.z); - R2i.w = PV0i.w; - } - activeMaskStack[2] = activeMaskStack[2] == false; - activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; - if (activeMaskStackC[3] == true) { - // 0 - PS0i = int(intBitsToFloat(R1i.y)); - // 1 - PV1i.x = PS0i << int(1); - PS1i = int(intBitsToFloat(R1i.x)); - // 2 - R126i.z = PV1i.x + PS1i; - PV0i.z = R126i.z; - // 3 - R127i.x = (PV0i.z == 0x00000002) ? int(0xFFFFFFFF) : int(0x0); - PV1i.x = R127i.x; - R127i.y = (PV0i.z == int(1)) ? int(0xFFFFFFFF) : int(0x0); - // 4 - R127i.z = ((PV1i.x == 0) ? (uf_uniformRegisterVS[23].y) : (uf_uniformRegisterVS[22].y)); - R127i.w = ((PV1i.x == 0) ? (uf_uniformRegisterVS[23].x) : (uf_uniformRegisterVS[22].x)); - // 5 - R123i.x = ((R127i.x == 0) ? (uf_uniformRegisterVS[23].w) : (uf_uniformRegisterVS[22].w)); - PV1i.x = R123i.x; - R123i.y = ((R127i.x == 0) ? (uf_uniformRegisterVS[23].z) : (uf_uniformRegisterVS[22].z)); - PV1i.y = R123i.y; - // 6 - R123i.x = ((R127i.y == 0) ? (PV1i.x) : (uf_uniformRegisterVS[21].w)); - PV0i.x = R123i.x; - R123i.y = ((R127i.y == 0) ? (PV1i.y) : (uf_uniformRegisterVS[21].z)); - PV0i.y = R123i.y; - R123i.z = ((R127i.y == 0) ? (R127i.z) : (uf_uniformRegisterVS[21].y)); - PV0i.z = R123i.z; - R123i.w = ((R127i.y == 0) ? (R127i.w) : (uf_uniformRegisterVS[21].x)); - PV0i.w = R123i.w; - // 7 - R2i.x = ((R126i.z == 0) ? (uf_uniformRegisterVS[20].x) : (PV0i.w)); - R2i.y = ((R126i.z == 0) ? (uf_uniformRegisterVS[20].y) : (PV0i.z)); - R2i.z = ((R126i.z == 0) ? (uf_uniformRegisterVS[20].z) : (PV0i.y)); - R2i.w = ((R126i.z == 0) ? (uf_uniformRegisterVS[20].w) : (PV0i.x)); - } - activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; - if (activeMaskStackC[2] == true) { - // 0 - R3i.xyz = ivec3(0x437f0000, 0x437f0000, 0x437f0000); - R3i.w = 0x437f0000; - } - activeMaskStack[1] = activeMaskStack[1] == false; - activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; - if (activeMaskStackC[2] == true) { - activeMaskStack[2] = activeMaskStack[1]; - activeMaskStackC[3] = activeMaskStackC[2]; - // 0 - PV0i.x = uf_uniformRegisterVS[2].x >> 0x00000008; - R2i.y = uf_uniformRegisterVS[2].x & 0x00000002; - // 1 - R1i.z = PV0i.x & 0x0000000f; - // 2 - predResult = (0 != R2i.y); - activeMaskStack[2] = predResult; - activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; - } - else { - activeMaskStack[2] = false; - activeMaskStackC[3] = false; - } - if (activeMaskStackC[3] == true) { - activeMaskStack[3] = activeMaskStack[2]; - activeMaskStackC[4] = activeMaskStackC[3]; - // 0 - R4i.y = R1i.y; - R2i.z = 0; - R1i.w = 0x3f800000; - PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].x)); - // 1 - R2i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_uniformRegisterVS[1].x)); - PV1i.x = R2i.x; - R2i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_uniformRegisterVS[1].y)); - PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].y)); - // 2 - R3i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].z) * intBitsToFloat(PS1i)); - PV0i.x = R3i.x; - R3i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].w) * intBitsToFloat(PS1i)); - R4i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); - PS0i = R4i.x; - // 3 - R5i.x = floatBitsToInt(-(intBitsToFloat(R2i.y)) + intBitsToFloat(PS0i)); - R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); - PV1i.z = R0i.z; - R7i.x = floatBitsToInt(-(intBitsToFloat(R2i.y)) + 1.0); - PS1i = R7i.x; - // 4 - R3i.z = floatBitsToInt(-(intBitsToFloat(R3i.y)) + 1.0); - R2i.w = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(PV1i.z)); - // 5 - predResult = (R1i.z == 0); - activeMaskStack[3] = predResult; - activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; - } - else { - activeMaskStack[3] = false; - activeMaskStackC[4] = false; - } - if (activeMaskStackC[4] == true) { - // 0 - backupReg0i = R2i.x; - R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(backupReg0i))); - R2i.y = R3i.x; - PV0i.y = R2i.y; - // 1 - R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); - } - activeMaskStack[3] = activeMaskStack[3] == false; - activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; - if (activeMaskStackC[4] == true) { - activeMaskStack[4] = activeMaskStack[3]; - activeMaskStackC[5] = activeMaskStackC[4]; - // 0 - predResult = (R1i.z == int(1)); - activeMaskStack[4] = predResult; - activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; - } - else { - activeMaskStack[4] = false; - activeMaskStackC[5] = false; - } - if (activeMaskStackC[5] == true) { - // 0 - backupReg0i = R2i.y; - R2i.y = 0; - PV0i.y = R2i.y; - PV0i.z = R3i.x; - PV0i.w = backupReg0i; - // 1 - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w)) + intBitsToFloat(R7i.x))); - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); - } - activeMaskStack[4] = activeMaskStack[4] == false; - activeMaskStackC[5] = activeMaskStack[4] == true && activeMaskStackC[4] == true; - if (activeMaskStackC[5] == true) { - activeMaskStack[5] = activeMaskStack[4]; - activeMaskStackC[6] = activeMaskStackC[5]; - // 0 - predResult = (R1i.z == 0x00000002); - activeMaskStack[5] = predResult; - activeMaskStackC[6] = predResult == true && activeMaskStackC[5] == true; - } - else { - activeMaskStack[5] = false; - activeMaskStackC[6] = false; - } - if (activeMaskStackC[6] == true) { - // 0 - backupReg0i = R3i.y; - R3i.y = backupReg0i; - PV0i.y = R3i.y; - PV0i.z = R3i.z; - PV0i.w = 0; - // 1 - backupReg0i = R2i.x; - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); - } - activeMaskStack[5] = activeMaskStack[5] == false; - activeMaskStackC[6] = activeMaskStack[5] == true && activeMaskStackC[5] == true; - if (activeMaskStackC[6] == true) { - activeMaskStack[6] = activeMaskStack[5]; - activeMaskStackC[7] = activeMaskStackC[6]; - // 0 - predResult = (R1i.z == 0x00000003); - activeMaskStack[6] = predResult; - activeMaskStackC[7] = predResult == true && activeMaskStackC[6] == true; - } - else { - activeMaskStack[6] = false; - activeMaskStackC[7] = false; - } - if (activeMaskStackC[7] == true) { - // 0 - backupReg0i = R2i.y; - R2i.y = R3i.z; - PV0i.y = R2i.y; - PV0i.z = R3i.y; - PV0i.w = backupReg0i; - // 1 - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w)) + intBitsToFloat(R7i.x))); - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); - } - activeMaskStack[6] = activeMaskStack[6] == false; - activeMaskStackC[7] = activeMaskStack[6] == true && activeMaskStackC[6] == true; - if (activeMaskStackC[7] == true) { - activeMaskStack[7] = activeMaskStack[6]; - activeMaskStackC[8] = activeMaskStackC[7]; - // 0 - predResult = (R1i.z == 0x00000004); - activeMaskStack[7] = predResult; - activeMaskStackC[8] = predResult == true && activeMaskStackC[7] == true; - } - else { - activeMaskStack[7] = false; - activeMaskStackC[8] = false; - } - if (activeMaskStackC[8] == true) { - // 0 - R2i.y = R2i.w; - PV0i.y = R2i.y; - PV0i.z = R3i.x; - PV0i.w = 0; - // 1 - backupReg0i = R2i.x; - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); - } - activeMaskStack[7] = activeMaskStack[7] == false; - activeMaskStackC[8] = activeMaskStack[7] == true && activeMaskStackC[7] == true; - if (activeMaskStackC[8] == true) { - activeMaskStack[8] = activeMaskStack[7]; - activeMaskStackC[9] = activeMaskStackC[8]; - // 0 - predResult = (R1i.z == 0x00000005); - activeMaskStack[8] = predResult; - activeMaskStackC[9] = predResult == true && activeMaskStackC[8] == true; - } - else { - activeMaskStack[8] = false; - activeMaskStackC[9] = false; - } - if (activeMaskStackC[9] == true) { - // 0 - backupReg0i = R2i.y; - R2i.y = R3i.x; - PV0i.y = R2i.y; - PV0i.z = R2i.w; - PV0i.w = backupReg0i; - // 1 - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w)) + intBitsToFloat(R7i.x))); - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); - } - activeMaskStack[8] = activeMaskStack[8] == false; - activeMaskStackC[9] = activeMaskStack[8] == true && activeMaskStackC[8] == true; - if (activeMaskStackC[9] == true) { - activeMaskStack[9] = activeMaskStack[8]; - activeMaskStackC[10] = activeMaskStackC[9]; - // 0 - predResult = (R1i.z == 0x00000006); - activeMaskStack[9] = predResult; - activeMaskStackC[10] = predResult == true && activeMaskStackC[9] == true; - } - else { - activeMaskStack[9] = false; - activeMaskStackC[10] = false; - } - if (activeMaskStackC[10] == true) { - // 0 - R2i.y = R3i.x; - PV0i.y = R2i.y; - R3i.y = 0; - PS0i = R3i.y; - // 1 - backupReg0i = R2i.x; - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i))); - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y)) + intBitsToFloat(PS0i))); - } - activeMaskStack[9] = activeMaskStack[9] == false; - activeMaskStackC[10] = activeMaskStack[9] == true && activeMaskStackC[9] == true; - if (activeMaskStackC[10] == true) { - activeMaskStack[10] = activeMaskStack[9]; - activeMaskStackC[11] = activeMaskStackC[10]; - // 0 - predResult = (R1i.z == 0x00000007); - activeMaskStack[10] = predResult; - activeMaskStackC[11] = predResult == true && activeMaskStackC[10] == true; - } - else { - activeMaskStack[10] = false; - activeMaskStackC[11] = false; - } - if (activeMaskStackC[11] == true) { - // 0 - backupReg0i = R2i.x; - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i))); - R2i.y = R3i.y; - PV0i.y = R2i.y; - R3i.y = R3i.z; - PS0i = R3i.y; - // 1 - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y)) + intBitsToFloat(PS0i))); - } - activeMaskStack[10] = activeMaskStack[10] == false; - activeMaskStackC[11] = activeMaskStack[10] == true && activeMaskStackC[10] == true; - if (activeMaskStackC[11] == true) { - activeMaskStack[11] = activeMaskStack[10]; - activeMaskStackC[12] = activeMaskStackC[11]; - // 0 - predResult = (R1i.z == 0x00000008); - activeMaskStack[11] = predResult; - activeMaskStackC[12] = predResult == true && activeMaskStackC[11] == true; - } - else { - activeMaskStack[11] = false; - activeMaskStackC[12] = false; - } - if (activeMaskStackC[12] == true) { - // 0 - R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); - R2i.y = R3i.x; - PV0i.y = R2i.y; - // 1 - R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); - } - activeMaskStack[11] = activeMaskStack[11] == false; - activeMaskStackC[12] = activeMaskStack[11] == true && activeMaskStackC[11] == true; - if (activeMaskStackC[12] == true) { - activeMaskStack[12] = activeMaskStack[11]; - activeMaskStackC[13] = activeMaskStackC[12]; - // 0 - predResult = (R1i.z == 0x00000009); - activeMaskStack[12] = predResult; - activeMaskStackC[13] = predResult == true && activeMaskStackC[12] == true; - } - else { - activeMaskStack[12] = false; - activeMaskStackC[13] = false; - } - if (activeMaskStackC[13] == true) { - // 0 - backupReg0i = R2i.y; - R2i.y = 0; - PV0i.y = R2i.y; - PV0i.z = R3i.z; - PV0i.w = backupReg0i; - // 1 - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w)) + intBitsToFloat(R7i.x))); - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); - } - activeMaskStack[12] = activeMaskStack[12] == false; - activeMaskStackC[13] = activeMaskStack[12] == true && activeMaskStackC[12] == true; - if (activeMaskStackC[13] == true) { - activeMaskStack[13] = activeMaskStack[12]; - activeMaskStackC[14] = activeMaskStackC[13]; - // 0 - predResult = (R1i.z == 0x0000000a); - activeMaskStack[13] = predResult; - activeMaskStackC[14] = predResult == true && activeMaskStackC[13] == true; - } - else { - activeMaskStack[13] = false; - activeMaskStackC[14] = false; - } - if (activeMaskStackC[14] == true) { - // 0 - R2i.y = R0i.z; - PV0i.y = R2i.y; - PV0i.z = R3i.x; - PV0i.w = 0; - // 1 - backupReg0i = R2i.x; - R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); - R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); - } - activeMaskStack[13] = activeMaskStack[13] == false; - activeMaskStackC[14] = activeMaskStack[13] == true && activeMaskStackC[13] == true; - if (activeMaskStackC[14] == true) { - // 0 - PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); - R2i.y = R2i.w; - PV0i.y = R2i.y; - R127i.z = (R1i.z == 0x0000000c) ? int(0xFFFFFFFF) : int(0x0); - PV0i.z = R127i.z; - R127i.w = (R1i.z == 0x0000000b) ? int(0xFFFFFFFF) : int(0x0); - // 1 - PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); - R2i.y = R3i.z; - PV1i.y = R2i.y; - R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R4i.x)) + intBitsToFloat(R2i.x))); - PV1i.z = R123i.z; - R123i.w = ((PV0i.z == 0) ? (0) : (PV0i.x)); - PV1i.w = R123i.w; - // 2 - R2i.x = ((R127i.w == 0) ? (PV1i.w) : (PV1i.z)); - R123i.z = ((R127i.z == 0) ? (0) : (PV1i.x)); - PV0i.z = R123i.z; - R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R3i.y)) + intBitsToFloat(PV1i.y))); - PV0i.w = R123i.w; - // 3 - R2i.y = ((R127i.w == 0) ? (PV0i.z) : (PV0i.w)); - } - activeMaskStackC[13] = activeMaskStack[12] == true && activeMaskStackC[12] == true; - activeMaskStackC[11] = activeMaskStack[10] == true && activeMaskStackC[10] == true; - activeMaskStackC[9] = activeMaskStack[8] == true && activeMaskStackC[8] == true; - activeMaskStackC[7] = activeMaskStack[6] == true && activeMaskStackC[6] == true; - activeMaskStackC[5] = activeMaskStack[4] == true && activeMaskStackC[4] == true; - activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; - if (activeMaskStackC[3] == true) { - // 0 - R127i.x = floatBitsToInt(-(intBitsToFloat(R2i.y)) + 1.0); - PV0i.x = R127i.x; - R126i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + 1.0); - // 1 - PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].w))); - PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].z))); - PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].y))); - PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].x))); - // 2 - R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[18].w)) + intBitsToFloat(PV1i.x))); - R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[18].z)) + intBitsToFloat(PV1i.y))); - R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[18].y)) + intBitsToFloat(PV1i.z))); - R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[18].x)) + intBitsToFloat(PV1i.w))); - PV0i.w = R123i.w; - // 3 - PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].w))); - PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].z))); - PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].y))); - PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].x))); - R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); - PS1i = R127i.w; - // 4 - backupReg0i = R127i.z; - R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[19].w)) + intBitsToFloat(PV1i.x))); - R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[19].z)) + intBitsToFloat(PV1i.y))); - R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[19].y)) + intBitsToFloat(PV1i.z))); - R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[19].x)) + intBitsToFloat(PV1i.w))); - PV0i.w = R123i.w; - R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(backupReg0i))); - PS0i = R126i.z; - // 5 - PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.x))); - PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.y))); - R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PV0i.w)) + intBitsToFloat(R127i.w))); - PS1i = R3i.x; - // 6 - R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.z))); - R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.y))); - R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); - // 7 - backupReg0i = R2i.z; - R2i.xyz = ivec3(R1i.x, R4i.y, backupReg0i); - R2i.w = R1i.w; - } - activeMaskStack[2] = activeMaskStack[2] == false; - activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; - if (activeMaskStackC[3] == true) { - activeMaskStack[3] = activeMaskStack[2]; - activeMaskStackC[4] = activeMaskStackC[3]; - // 0 - PS0i = int(intBitsToFloat(R1i.y)); - // 1 - PV1i.z = PS0i << int(1); - PS1i = int(intBitsToFloat(R1i.x)); - // 2 - R0i.z = PV1i.z + PS1i; - PV0i.z = R0i.z; - // 3 - R127i.x = (PV0i.z == 0x00000002) ? int(0xFFFFFFFF) : int(0x0); - PV1i.x = R127i.x; - R127i.y = (PV0i.z == int(1)) ? int(0xFFFFFFFF) : int(0x0); - // 4 - R127i.z = ((PV1i.x == 0) ? (uf_uniformRegisterVS[23].y) : (uf_uniformRegisterVS[22].y)); - R127i.w = ((PV1i.x == 0) ? (uf_uniformRegisterVS[23].x) : (uf_uniformRegisterVS[22].x)); - // 5 - R123i.x = ((R127i.x == 0) ? (uf_uniformRegisterVS[23].w) : (uf_uniformRegisterVS[22].w)); - PV1i.x = R123i.x; - R123i.y = ((R127i.x == 0) ? (uf_uniformRegisterVS[23].z) : (uf_uniformRegisterVS[22].z)); - PV1i.y = R123i.y; - // 6 - R123i.x = ((R127i.y == 0) ? (PV1i.x) : (uf_uniformRegisterVS[21].w)); - PV0i.x = R123i.x; - R123i.y = ((R127i.y == 0) ? (PV1i.y) : (uf_uniformRegisterVS[21].z)); - PV0i.y = R123i.y; - R123i.z = ((R127i.y == 0) ? (R127i.z) : (uf_uniformRegisterVS[21].y)); - PV0i.z = R123i.z; - R123i.w = ((R127i.y == 0) ? (R127i.w) : (uf_uniformRegisterVS[21].x)); - PV0i.w = R123i.w; - // 7 - R2i.x = ((R0i.z == 0) ? (uf_uniformRegisterVS[20].x) : (PV0i.w)); - R2i.y = ((R0i.z == 0) ? (uf_uniformRegisterVS[20].y) : (PV0i.z)); - R2i.z = ((R0i.z == 0) ? (uf_uniformRegisterVS[20].z) : (PV0i.y)); - R2i.w = ((R0i.z == 0) ? (uf_uniformRegisterVS[20].w) : (PV0i.x)); - // 8 - predResult = (R1i.z == 0x0000000d); - activeMaskStack[3] = predResult; - activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; - } - else { - activeMaskStack[3] = false; - activeMaskStackC[4] = false; - } - if (activeMaskStackC[4] == true) { - // 0 - PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].y)); - // 1 - PV1i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].w) * intBitsToFloat(PS0i)); - PV1i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].z) * intBitsToFloat(PS0i)); - PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].x)); - // 2 - R127i.x = PV1i.z; - R127i.y = PV1i.w; - PV0i.y = R127i.y; - R127i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_uniformRegisterVS[1].x)); - PV0i.z = R127i.z; - R127i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_uniformRegisterVS[1].y)); - // 3 - PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); - PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); - // 4 - PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z)); - PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); - // 5 - backupReg0i = R127i.z; - R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.y))); - PV1i.z = R127i.z; - R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); - PV1i.w = R126i.w; - // 6 - R127i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); - PV0i.x = R127i.x; - R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); - // 7 - PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].w))); - PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].z))); - PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].y))); - PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].x))); - // 8 - R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_uniformRegisterVS[18].w)) + intBitsToFloat(PV1i.x))); - R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_uniformRegisterVS[18].z)) + intBitsToFloat(PV1i.y))); - R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_uniformRegisterVS[18].y)) + intBitsToFloat(PV1i.z))); - R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_uniformRegisterVS[18].x)) + intBitsToFloat(PV1i.w))); - PV0i.w = R123i.w; - // 9 - PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].w))); - PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].z))); - PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].y))); - PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].x))); - R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); - PS1i = R127i.w; - // 10 - backupReg0i = R127i.z; - backupReg0i = R127i.z; - backupReg1i = R126i.z; - R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_uniformRegisterVS[19].w)) + intBitsToFloat(PV1i.x))); - R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_uniformRegisterVS[19].z)) + intBitsToFloat(PV1i.y))); - R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_uniformRegisterVS[19].y)) + intBitsToFloat(PV1i.z))); - R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_uniformRegisterVS[19].x)) + intBitsToFloat(PV1i.w))); - PV0i.w = R123i.w; - R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(backupReg1i))); - PS0i = R126i.z; - // 11 - PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.x))); - PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.y))); - R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.w)) + intBitsToFloat(R127i.w))); - PS1i = R3i.x; - // 12 - R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.z))); - R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.y))); - R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); - } - activeMaskStack[3] = activeMaskStack[3] == false; - activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; - if (activeMaskStackC[4] == true) { - // 0 - R127i.x = floatBitsToInt(float(R0i.z)); - PS0i = R127i.x; - // 1 - tempResultf = intBitsToFloat(PS0i); - tempResultf = floor(tempResultf); - tempResultf = clamp(tempResultf, -256.0, 255.0); - ARi.x = int(tempResultf); - PV1i.x = floatBitsToInt(tempResultf); - // 2 - R3i.xyz = ivec3(uf_uniformRegisterVS[ARi.x + 16].x, uf_uniformRegisterVS[ARi.x + 16].y, uf_uniformRegisterVS[ARi.x + 16].z); - R3i.w = uf_uniformRegisterVS[ARi.x + 16].w; - } - activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; - activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; - if (activeMaskStackC[1] == true) { - activeMaskStack[1] = activeMaskStack[0]; - activeMaskStackC[2] = activeMaskStackC[1]; - // 0 - predResult = (0 != uf_uniformRegisterVS[3].x); - activeMaskStack[1] = predResult; - activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; - } - else { - activeMaskStack[1] = false; - activeMaskStackC[2] = false; - } - if (activeMaskStackC[2] == true) { - // 0 - backupReg0i = R0i.y; - backupReg1i = R0i.w; - R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x), intBitsToFloat(backupReg0i), intBitsToFloat(R4i.z), intBitsToFloat(backupReg1i)), vec4(intBitsToFloat(uf_uniformRegisterVS[20].x), intBitsToFloat(uf_uniformRegisterVS[20].y), intBitsToFloat(uf_uniformRegisterVS[20].z), intBitsToFloat(uf_uniformRegisterVS[20].w)))); - PV0i.x = R2i.x; - PV0i.y = R2i.x; - PV0i.z = R2i.x; - PV0i.w = R2i.x; - // 1 - backupReg0i = R0i.x; - backupReg1i = R0i.w; - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.y), intBitsToFloat(R4i.z), intBitsToFloat(backupReg1i)), vec4(intBitsToFloat(uf_uniformRegisterVS[21].x), intBitsToFloat(uf_uniformRegisterVS[21].y), intBitsToFloat(uf_uniformRegisterVS[21].z), intBitsToFloat(uf_uniformRegisterVS[21].w)))); - PV1i.x = tempi.x; - PV1i.y = tempi.x; - PV1i.z = tempi.x; - PV1i.w = tempi.x; - R2i.y = tempi.x; - // 2 - backupReg0i = R0i.x; - backupReg1i = R0i.y; - backupReg2i = R0i.w; - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i), intBitsToFloat(R4i.z), intBitsToFloat(backupReg2i)), vec4(intBitsToFloat(uf_uniformRegisterVS[22].x), intBitsToFloat(uf_uniformRegisterVS[22].y), intBitsToFloat(uf_uniformRegisterVS[22].z), intBitsToFloat(uf_uniformRegisterVS[22].w)))); - PV0i.x = tempi.x; - PV0i.y = tempi.x; - PV0i.z = tempi.x; - PV0i.w = tempi.x; - R2i.z = tempi.x; - // 3 - backupReg0i = R0i.x; - backupReg1i = R0i.y; - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i), intBitsToFloat(R4i.z), intBitsToFloat(R0i.w)), vec4(intBitsToFloat(uf_uniformRegisterVS[23].x), intBitsToFloat(uf_uniformRegisterVS[23].y), intBitsToFloat(uf_uniformRegisterVS[23].z), intBitsToFloat(uf_uniformRegisterVS[23].w)))); - PV1i.x = tempi.x; - PV1i.y = tempi.x; - PV1i.z = tempi.x; - PV1i.w = tempi.x; - R2i.w = tempi.x; - } - activeMaskStack[1] = activeMaskStack[1] == false; - activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; - if (activeMaskStackC[2] == true) { - activeMaskStack[2] = activeMaskStack[1]; - activeMaskStackC[3] = activeMaskStackC[2]; - // 0 - R0i.z = uf_uniformRegisterVS[2].x & int(1); - // 1 - predResult = (0 != R0i.z); - activeMaskStack[2] = predResult; - activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; - } - else { - activeMaskStack[2] = false; - activeMaskStackC[3] = false; - } - if (activeMaskStackC[3] == true) { - activeMaskStack[3] = activeMaskStack[2]; - activeMaskStackC[4] = activeMaskStackC[3]; - // 0 - R0i.y = uf_uniformRegisterVS[2].x & 0x00000002; - // 1 - predResult = (0 != R0i.y); - activeMaskStack[3] = predResult; - activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; - } - else { - activeMaskStack[3] = false; - activeMaskStackC[4] = false; - } - if (activeMaskStackC[4] == true) { - // 0 - R127i.x = uf_uniformRegisterVS[2].x & 0x00010000; - R127i.y = uf_uniformRegisterVS[2].x & 0x00000010; - PV0i.y = R127i.y; - R125i.z = uf_uniformRegisterVS[2].x & 0x00000004; - R127i.w = uf_uniformRegisterVS[2].x & 0x00000020; - // 1 - PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[15].y), intBitsToFloat(uf_uniformRegisterVS[12].y))); - PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[15].x), intBitsToFloat(uf_uniformRegisterVS[12].x))); - PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[15].y), intBitsToFloat(uf_uniformRegisterVS[12].x))); - PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[15].x), intBitsToFloat(uf_uniformRegisterVS[12].y))); - R127i.z = ((PV0i.y == 0) ? (R2i.y) : (R2i.y)); - PS1i = R127i.z; - // 2 - R123i.x = ((R127i.y == 0) ? (R2i.w) : (R2i.w)); - PV0i.x = R123i.x; - R123i.y = ((R127i.y == 0) ? (R2i.z) : (R2i.z)); - PV0i.y = R123i.y; - R126i.z = ((R127i.x == 0) ? (PV1i.x) : (PV1i.z)); - PV0i.z = R126i.z; - R123i.w = ((R127i.x == 0) ? (PV1i.y) : (PV1i.w)); - PV0i.w = R123i.w; - R124i.y = uf_uniformRegisterVS[2].x & 0x00000008; - PS0i = R124i.y; - // 3 - R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PV0i.w))); - PV1i.x = R0i.x; - R126i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); - PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); - R123i.w = ((R127i.w == 0) ? (PV0i.y) : (PV0i.y)); - PV1i.w = R123i.w; - R122i.x = ((R127i.w == 0) ? (PV0i.x) : (PV0i.x)); - PS1i = R122i.x; - // 4 - backupReg0i = R127i.y; - R123i.x = ((R127i.w == 0) ? (R127i.z) : (PV1i.z)); - PV0i.x = R123i.x; - R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); - R127i.z = ((R125i.z == 0) ? (PV1i.w) : (PV1i.w)); - R123i.w = ((backupReg0i == 0) ? (R2i.x) : (PV1i.x)); - PV0i.w = R123i.w; - R126i.z = ((R125i.z == 0) ? (PS1i) : (PS1i)); - PS0i = R126i.z; - // 5 - R127i.x = ((R125i.z == 0) ? (PV0i.x) : (PV0i.x)); - PV1i.x = R127i.x; - R125i.y = ((R127i.w == 0) ? (PV0i.w) : (PV0i.w)); - PV1i.y = R125i.y; - // 6 - R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.y)); - PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.y)); - // 7 - R123i.y = ((R125i.z == 0) ? (R125i.y) : (PV0i.z)); - PV1i.y = R123i.y; - // 8 - R2i.x = ((R124i.y == 0) ? (PV1i.y) : (PV1i.y)); - R2i.y = ((R124i.y == 0) ? (R127i.x) : (R126i.x)); - R2i.z = ((R124i.y == 0) ? (R127i.z) : (R127i.z)); - R2i.w = ((R124i.y == 0) ? (R126i.z) : (R126i.z)); - PS0i = R2i.w; - } - activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; - if (activeMaskStackC[3] == true) { - // 0 - R0i.x = floatBitsToInt(-(intBitsToFloat(R2i.x)) + 1.0); - PV0i.x = R0i.x; - R126i.y = uf_uniformRegisterVS[2].x & 0x00010000; - R127i.z = uf_uniformRegisterVS[2].x & 0x00040000; - PV0i.w = uf_uniformRegisterVS[2].x & 0x00020000; - // 1 - R123i.x = ((PV0i.w == 0) ? (R2i.z) : (R2i.z)); - PV1i.x = R123i.x; - R127i.y = ((PV0i.w == 0) ? (R2i.y) : (R2i.y)); - PV1i.y = R127i.y; - R123i.z = ((PV0i.w == 0) ? (R2i.x) : (PV0i.x)); - PV1i.z = R123i.z; - R123i.w = ((PV0i.w == 0) ? (R2i.w) : (R2i.w)); - PV1i.w = R123i.w; - // 2 - R127i.x = ((R127i.z == 0) ? (PV1i.z) : (PV1i.z)); - PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); - R126i.z = ((R127i.z == 0) ? (PV1i.x) : (PV1i.x)); - R127i.w = ((R127i.z == 0) ? (PV1i.w) : (PV1i.w)); - // 3 - R123i.w = ((R127i.z == 0) ? (R127i.y) : (PV0i.y)); - PV1i.w = R123i.w; - // 4 - R2i.x = ((R126i.y == 0) ? (R127i.x) : (PV1i.w)); - R2i.y = ((R126i.y == 0) ? (PV1i.w) : (R127i.x)); - R2i.z = ((R126i.y == 0) ? (R126i.z) : (R126i.z)); - R2i.w = ((R126i.y == 0) ? (R127i.w) : (R127i.w)); - } - activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; - if (activeMaskStackC[1] == true) { - // 0 - tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)), vec4(intBitsToFloat(uf_uniformRegisterVS[14].x), intBitsToFloat(uf_uniformRegisterVS[14].y), intBitsToFloat(uf_uniformRegisterVS[14].z), intBitsToFloat(uf_uniformRegisterVS[14].w)))); - PV0i.x = tempi.x; - PV0i.y = tempi.x; - PV0i.z = tempi.x; - PV0i.w = tempi.x; - // 1 - PV1i.x = PV0i.x; - R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(uf_uniformRegisterVS[0].y))); - R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(uf_uniformRegisterVS[0].z))); - R1i.w = PV0i.x; - R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(uf_uniformRegisterVS[0].x))); - PS1i = R0i.x; - // 2 - R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)), vec4(intBitsToFloat(uf_uniformRegisterVS[13].x), intBitsToFloat(uf_uniformRegisterVS[13].y), intBitsToFloat(uf_uniformRegisterVS[13].z), intBitsToFloat(uf_uniformRegisterVS[13].w)))); - PV0i.x = R1i.x; - PV0i.y = R1i.x; - PV0i.z = R1i.x; - PV0i.w = R1i.x; - R1i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); - PS0i = R1i.y; - // 3 - R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(uf_uniformRegisterVS[0].w))); - } - // export - gl_Position = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z)*hideCamera, intBitsToFloat(R6i.w)); - // export - passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); - // export - passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.x), intBitsToFloat(R1i.w)); -} diff --git a/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/3e0262467e8add7d_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/3e0262467e8add7d_0000000000000000_vs.txt deleted file mode 100644 index af9e7751..00000000 --- a/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/3e0262467e8add7d_0000000000000000_vs.txt +++ /dev/null @@ -1,125 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 3e0262467e8add7d -// Used for: Some leftovers from the Camera GUI - -uniform ivec4 uf_remappedVS[4]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem2.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem0.xyzw)/255.0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem1.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); - - -int hideText = 1; -if (uf_remappedVS[0].w == -1012724819) { - hideText = 2; -} - - -// 0 -R126i.x = 0; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R1i.w))); -R127i.z = ((0.0 > intBitsToFloat(R2i.z))?int(0xFFFFFFFF):int(0x0)); -PV0i.z = R127i.z; -R127i.w = 0x3f800000; -PV0i.w = R127i.w; -R127i.x = floatBitsToInt(-(intBitsToFloat(R2i.z)) + -(1.0)); -PS0i = R127i.x; -// 1 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w)))); -PV1i.x = R0i.x; -PV1i.y = R0i.x; -PV1i.z = R0i.x; -PV1i.w = R0i.x; -R4i.w = ((PV0i.z == 0)?(R1i.w):(PV0i.y)); -PS1i = R4i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.y = tempi.x; -R5i.z = ((R127i.z == 0)?(R2i.z):(R127i.x)); -PS0i = R5i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = tempi.x; -R4i.x = ((R127i.z == 0)?(R1i.x):(R1i.x)); -PS1i = R4i.x; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.w = tempi.x; -R4i.y = ((R127i.z == 0)?(R1i.y):(R1i.y)); -PS0i = R4i.y; -// 5 -R5i.x = ((R127i.z == 0)?(R2i.x):(R2i.x)); -R5i.y = ((R127i.z == 0)?(R2i.y):(R2i.y)); -R4i.z = ((R127i.z == 0)?(R1i.z):(R1i.z)); -// 6 -R5i.w = ((R127i.z == 0)?(R126i.x):(R126i.x)); -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z)*hideText, intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -} \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/a8f3ec17a11d4a50_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/a8f3ec17a11d4a50_0000000000000000_vs.txt deleted file mode 100644 index 787e2b42..00000000 --- a/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/a8f3ec17a11d4a50_0000000000000000_vs.txt +++ /dev/null @@ -1,161 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader a8f3ec17a11d4a50 -// Used for: Specific removing of text - -bool CameraObjectLabel = false; -// Enable if you want to... -// - See the orange colored label from any objects in the camera view. Example: The orange text shown on this photo https://i.pinimg.com/originals/dd/88/68/dd8868f7bb9cf6497ecd0307fd3ce82f.jpg -// - See the 'x' character next to e.g. your 'x6 Mighty Bananas'. (Minor unsolvable bug). -// False (default) if you want to... -// - Take selfies without the orange labels of your weapon or nearby objects. - - - -bool hideAllText = false; -// False is default, true is turned on. Does what the name suggests, affects most text, not recommended for actual gameplay. - - - - - - - - -// ------------------------------- - -uniform ivec4 uf_remappedVS[4]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem2.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem0.xyzw)/255.0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem1.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); - -// Specifically target text with code that uses constants from both uniforms and inputs. These variables and code shouldn't be touched!!! Use the options above for proper controls. -int hideText = 1; - -if (attrDataSem2.y <= 2000000000) { // This separates the orange label text from the inventory number. Removes the 'x' with the label, but does make the inventory numbers not disappear with the label text. - if (!CameraObjectLabel) { - hideText = 0; - } -} - -if (uf_remappedVS[0].w == -1052388992 || uf_remappedVS[0].w == 1093474128 || (uf_remappedVS[0].w == 0 && uf_remappedVS[1].w != 0) || hideAllText) { // Code that specifically targets text. It separates the text being drawn with differences in the uniform. - hideText = 2; -} - - -if ((uf_remappedVS[0].x == 1069928832 && uf_remappedVS[0].y == 0 && uf_remappedVS[0].z == 0) && -(uf_remappedVS[1].x == 0 && uf_remappedVS[1].y == -1070606677 && uf_remappedVS[1].z == 0) && -(uf_remappedVS[2].x == 0 && uf_remappedVS[2].y == 0 && uf_remappedVS[2].z == -1082128754 && uf_remappedVS[2].w == 1148637833) && -(uf_remappedVS[3].x == 0 && uf_remappedVS[3].y == 0 && uf_remappedVS[3].z == -1082130432 && uf_remappedVS[3].w == 1148667362)) { - hideText += 1; -} - -// 0 -R126i.x = 0; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R1i.w))); -R127i.z = ((0.0 > intBitsToFloat(R2i.z))?int(0xFFFFFFFF):int(0x0)); -PV0i.z = R127i.z; -R127i.w = 0x3f800000; -PV0i.w = R127i.w; -R127i.x = floatBitsToInt(-(intBitsToFloat(R2i.z)) + -(1.0)); -PS0i = R127i.x; -// 1 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w)))); -PV1i.x = R0i.x; -PV1i.y = R0i.x; -PV1i.z = R0i.x; -PV1i.w = R0i.x; -R4i.w = ((PV0i.z == 0)?(R1i.w):(PV0i.y)); -PS1i = R4i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.y = tempi.x; -R5i.z = ((R127i.z == 0)?(R2i.z):(R127i.x)); -PS0i = R5i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = tempi.x; -R4i.x = ((R127i.z == 0)?(R1i.x):(R1i.x)); -PS1i = R4i.x; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.w = tempi.x; -R4i.y = ((R127i.z == 0)?(R1i.y):(R1i.y)); -PS0i = R4i.y; -// 5 -R5i.x = ((R127i.z == 0)?(R2i.x):(R2i.x)); -R5i.y = ((R127i.z == 0)?(R2i.y):(R2i.y)); -R4i.z = ((R127i.z == 0)?(R1i.z):(R1i.z)); -// 6 -R5i.w = ((R127i.z == 0)?(R126i.x):(R126i.x)); - -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z)*hideText, intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -} \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/rules.txt b/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/rules.txt deleted file mode 100644 index be6a75f8..00000000 --- a/Enhancement/BreathOfTheWild_MinimalisticGUI/CleanCameraRune[Experimental]/rules.txt +++ /dev/null @@ -1,395 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Minimalistic GUI V1.0". -version = 2 - -# This pack changes the GUI to a modern looking GUI and cleans up things like menu's and the camera rune. -# Minor (random, might be better/worse) gameplay compromises. - -# Some small text bugs: -# - e.g. missing the 'x' character from 'x6 Mighty Bananas'. Can be fixed in the shader file named `a8f3ec17a11d4a50_0000000000000000_vs.txt`, where you can find more info. -# - Missing bonus modifier text from inventory screen. -# - Holding items in the inventory or having a second or third etc.. loading screen seems to break text and HUD prompts after you've done this. -# - Might be related to the thing above, random texture corruption from rules.txt, not aware of any solution. Probably the circumstances, but it seems like some memory leak issue. Higher GPU accuracy and drawDone could decrease how often/fast it appears. - -# If you find more bugs you can make an issue on the Github repository. If you don't want/have a github account, you can also leave a message in the gfx_packs channel in the official Cemu discord. - - -# This pack got renamed from CleanCameraRune pack due to it no longer affecting gameplay and having several menu changes. -# ----------------------------------------------------------------- - - -# >>> Camera UI <<< -#[TextureRedefine] # Disable Photo Lock, already disabled!!! # 239df000_fmt0034_mip00_200x200_tm04_sw00000000.bmp -#width = 200 -#height = 200 -#formats = 0x034 -#tilemodes = 4 -#overwriteHeight = 1 -#overwriteWidth = 1 -# Affects leaves (and maybe more)! - -[TextureRedefine] # Disable Sheikah Opening Animation # 238dd000_fmt0034_mip00_314x358_tm04_sw00000700.bmp -width = 314 -height = 358 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # UNORM -> SNORM - -[TextureRedefine] # Removes Storage Numbers # f4252800_fmt001a_mip00_24x24_tm04_sw00000000.bmp -width = 24 -height = 24 -formats = 0x001a -tilemodes = 4 -overwriteFormat = 0x021a # UNORM -> SNORM - -[TextureRedefine] # Remove the zoom triangle # 229f1000_fmt0034_mip00_75x75_tm04_sw00000000.bmp -width = 75 -height = 75 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # Remove the zoom line # 236ad000_fmt0034_mip00_8x8_tm02_sw00000000.bmp -width = 8 -height = 8 -formats = 0x034 -tilemodes = 2 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # Remove the orange borders # 23379900_fmt0034_mip00_26x26_tm02_sw00000000.bmp -width = 26 -height = 26 -formats = 0x034 -tilemodes = 2 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - - -# >>> MISC <<< -[TextureRedefine] # Disable Camera Vignette # 2330e000_fmt0034_mip00_242x162_tm04_sw00000100.bmp -width = 242 -height = 162 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # Disable Background 'Lines' # 2258b000_fmt0034_mip00_13x305_tm04_sw00000400.bmp -width = 13 -height = 305 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # Removing Border Runes # 2005e000_fmt0034_mip00_32x1024_tm04_sw00000000.bmp -width = 32 -height = 1024 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # Removing Background # 228d9000_fmt0034_mip00_512x512_tm04_sw00000300.bmp -width = 512 -height = 512 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # Removing Textures from edge # 239f3000_fmt0034_mip00_1278x387_tm04_sw00000400.bmp -width = 1278 -height = 387 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # Removes the glow at the border, but can affect other effects. Off by default due to this. # 22456000_fmt0035_mip00_128x128_tm04_sw00000000.bmp -width = 128 -height = 128 -formats = 0x035 -tilemodes = 4 -overwriteFormat = 0x235 # UNORM -> SNORM - -# >>> Frame Decoration <<< -[TextureRedefine] # 23c76000_fmt0433_mip00_97x156_tm04_sw00000600.bmp -width = 97 -height = 156 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 22a80000_fmt0433_mip00_179x40_tm04_sw00000000.bmp -width = 179 -height = 40 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 22f42000_fmt0433_mip00_855x30_tm04_sw00000300.bmp -width = 855 -height = 30 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 23d74000_fmt0433_mip00_151x139_tm04_sw00000500.bmp -width = 151 -height = 139 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 229d8000_fmt0433_mip00_88x77_tm04_sw00000200.bmp -width = 88 -height = 77 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 2375e000_fmt0433_mip00_908x26_tm04_sw00000200.bmp -width = 908 -height = 26 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 22346000_fmt0433_mip00_57x171_tm04_sw00000200.bmp -width = 57 -height = 171 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 22360000_fmt0433_mip00_79x187_tm04_sw00000100.bmp -width = 79 -height = 187 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 22884000_fmt0433_mip00_96x69_tm04_sw00000700.bmp -width = 96 -height = 69 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 23697100_fmt0433_mip00_107x47_tm02_sw00000000.bmp -width = 107 -height = 47 -formats = 0x433 -tilemodes = 2 -overwriteFormat = 0x033 # SRGB -> UNORM - -[TextureRedefine] # 23c76000_fmt0433_mip00_97x156_tm04_sw00000600.bmp -width = 97 -height = 156 -formats = 0x433 -tilemodes = 4 -overwriteFormat = 0x033 # SRGB -> UNORM - -# >>> Frame Glow <<< -[TextureRedefine] # 22df3000_fmt0034_mip00_92x157_tm04_sw00000100.bmp -width = 92 -height = 157 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 22dfe000_fmt0034_mip00_135x188_tm04_sw00000000.bmp -width = 135 -height = 188 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 23b23000_fmt0034_mip00_58x171_tm04_sw00000600.bmp -width = 58 -height = 171 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 23c46000_fmt0034_mip00_148x140_tm04_sw00000200.bmp -width = 148 -height = 140 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 223ae000_fmt0034_mip00_159x152_tm04_sw00000500.bmp -width = 159 -height = 152 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -# >>> Frame Decoration Edges <<< -[TextureRedefine] # 22f03400_fmt0033_mip00_108x47_tm02_sw00000000.bmp -width = 108 -height = 47 -formats = 0x033 -tilemodes = 2 -overwriteFormat = 0x433 # UNORM -> SRGB - -[TextureRedefine] # 23c64000_fmt0033_mip00_97x69_tm04_sw00000500.bmp -width = 97 -height = 69 -formats = 0x033 -tilemodes = 4 -overwriteFormat = 0x433 # UNORM -> SRGB - -[TextureRedefine] # 224c0000_fmt0033_mip00_1086x41_tm04_sw00000600.bmp -width = 1086 -height = 41 -formats = 0x033 -tilemodes = 4 -overwriteFormat = 0x433 # UNORM -> SRGB - -[TextureRedefine] # 2234e000_fmt0033_mip00_110x77_tm04_sw00000000.bmp -width = 110 -height = 77 -formats = 0x033 -tilemodes = 4 -overwriteFormat = 0x433 # UNORM -> SRGB - -[TextureRedefine] # 2299a000_fmt0033_mip00_832x30_tm04_sw00000100.bmp -width = 110 -height = 77 -formats = 0x033 -tilemodes = 4 -overwriteFormat = 0x433 # UNORM -> SRGB - -[TextureRedefine] # 2365c000_fmt0033_mip00_151x149_tm04_sw00000300.bmp -width = 151 -height = 149 -formats = 0x033 -tilemodes = 4 -overwriteFormat = 0x433 # UNORM -> SRGB - -[TextureRedefine] # 23644000_fmt0033_mip00_97x157_tm04_sw00000400.bmp -width = 97 -height = 157 -formats = 0x033 -tilemodes = 4 -overwriteFormat = 0x433 # UNORM -> SRGB - -[TextureRedefine] # 23770000_fmt0033_mip00_57x160_tm04_sw00000000.bmp -width = 57 -height = 160 -formats = 0x033 -tilemodes = 4 -overwriteFormat = 0x433 # UNORM -> SRGB - -[TextureRedefine] # 23784000_fmt0033_mip00_79x187_tm04_sw00000700.bmp -width = 79 -height = 187 -formats = 0x033 -tilemodes = 4 -overwriteFormat = 0x433 # UNORM -> SRGB - -# >>> Frame Decoration Blur <<< -[TextureRedefine] # 23dc1000_fmt0034_mip00_97x80_tm04_sw00000700.bmp -width = 97 -height = 80 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - - -[TextureRedefine] # 227d7000_fmt0034_mip00_68x174_tm04_sw00000300.bmp -width = 68 -height = 174 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 228c0000_fmt0034_mip00_157x148_tm04_sw00000700.bmp -width = 157 -height = 148 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 236ae000_fmt0034_mip00_101x168_tm04_sw00000600.bmp -width = 101 -height = 168 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 236e8000_fmt0034_mip00_144x199_tm04_sw00000500.bmp -width = 144 -height = 199 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -# >>> Frame Decoration Edges <<< -[TextureRedefine] # 22ac0000_fmt0034_mip00_182x152_tm04_sw00000200.bmp -width = 182 -height = 152 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 230ed000_fmt0034_mip00_126x153_tm04_sw00000400.bmp -width = 126 -height = 153 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 23983000_fmt0034_mip00_52x133_tm04_sw00000100.bmp -width = 52 -height = 133 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 23797000_fmt0034_mip00_279x54_tm04_sw00000500.bmp -width = 279 -height = 54 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 23983000_fmt0034_mip00_52x133_tm04_sw00000100.bmp -width = 52 -height = 133 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 238d9000_fmt0034_mip00_292x42_tm04_sw00000400.bmp -width = 292 -height = 42 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 238d9000_fmt0034_mip00_292x42_tm04_sw00000400.bmp -width = 292 -height = 42 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 23447000_fmt0034_mip00_90x69_tm04_sw00000200.bmp -width = 90 -height = 69 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 227e8000_fmt0034_mip00_1098x58_tm04_sw00000400.bmp -width = 1098 -height = 58 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM - -[TextureRedefine] # 23601000_fmt0034_mip00_997x58_tm04_sw00000100.bmp -width = 997 -height = 58 -formats = 0x034 -tilemodes = 4 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_MinimalisticGUI/rules.txt b/Enhancement/BreathOfTheWild_MinimalisticGUI/rules.txt deleted file mode 100644 index 0637cff3..00000000 --- a/Enhancement/BreathOfTheWild_MinimalisticGUI/rules.txt +++ /dev/null @@ -1,23 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Minimalistic GUI V2.0". -version = 2 - -# This pack changes the GUI to a modern looking GUI and only cleans up the camera menu. -# The Minimalistic GUI pack without the experimental Clean Camera Rune files doesn't have any gameplay affect or compromise. -# Installing the experimental clean camera rune pack should be simple, just overwrite the files from that folder in this specific folder. -# Be sure to read the SEPERATE rules.txt which is completely stand-alone and has information about that specific pack. - - -# If you find bugs you can make an issue on the Github repository. If you don't want/have a github account, you can also leave a message in the gfx_packs channel in the official Cemu discord. - -# ==================================================================== -# ==================================================================== -# ==================================================================== - -[TextureRedefine]# 236ad000_fmt0034_mip00_8x8_tm02_sw00000000.bmp -width = 8 -height = 8 -formats = 0x034 -tilemodes = 2 -overwriteFormat = 0x001 # BC4_UNORM -> R8_UNORM \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_NoMMTriforce/rules.txt b/Enhancement/BreathOfTheWild_NoMMTriforce/rules.txt deleted file mode 100644 index a609c6c1..00000000 --- a/Enhancement/BreathOfTheWild_NoMMTriforce/rules.txt +++ /dev/null @@ -1,10 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - No Master Mode Triforce" -version = 2 - -[TextureRedefine] -width = 36 -height = 36 -formats = 0x034 -overwriteFormat = 0x001 diff --git a/Enhancement/BreathOfTheWild_Pro+/37b9100c1310d3bb_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_Pro+/37b9100c1310d3bb_0000000000000000_vs.txt deleted file mode 100644 index 0542386a..00000000 --- a/Enhancement/BreathOfTheWild_Pro+/37b9100c1310d3bb_0000000000000000_vs.txt +++ /dev/null @@ -1,1005 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 37b9100c1310d3bb -// PRO+ hud v2 -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -bool isCurrentSizeEqualTo(vec2 param) { - float result = distance(param, intBitsToFloat(uf_uniformRegisterVS[15]).xy); - return (result <= 0.01); -} -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[14]; -bool activeMaskStackC[15]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStack[4] = false; -activeMaskStack[5] = false; -activeMaskStack[6] = false; -activeMaskStack[7] = false; -activeMaskStack[8] = false; -activeMaskStack[9] = false; -activeMaskStack[10] = false; -activeMaskStack[11] = false; -activeMaskStack[12] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStackC[5] = false; -activeMaskStackC[6] = false; -activeMaskStackC[7] = false; -activeMaskStackC[8] = false; -activeMaskStackC[9] = false; -activeMaskStackC[10] = false; -activeMaskStackC[11] = false; -activeMaskStackC[12] = false; -activeMaskStackC[13] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_uniformRegisterVS[15].x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R1i.y))); -PV0i.y = R0i.y; -R4i.z = 0; -R0i.w = 0x3f800000; -R127i.w = floatBitsToInt(1.0); -PS0i = R127i.w; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_uniformRegisterVS[15].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_uniformRegisterVS[15].y))); -// 2 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(uf_uniformRegisterVS[15].w)); -PV0i.y = R0i.y; -R1i.w = uf_uniformRegisterVS[2].x & 0x40000000; -// 3 -backupReg0i = R0i.w; -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R4i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_uniformRegisterVS[4].x),intBitsToFloat(uf_uniformRegisterVS[4].y),intBitsToFloat(uf_uniformRegisterVS[4].z),intBitsToFloat(uf_uniformRegisterVS[4].w)))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -// 4 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R4i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_uniformRegisterVS[5].x),intBitsToFloat(uf_uniformRegisterVS[5].y),intBitsToFloat(uf_uniformRegisterVS[5].z),intBitsToFloat(uf_uniformRegisterVS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[6].x),intBitsToFloat(uf_uniformRegisterVS[6].y),intBitsToFloat(uf_uniformRegisterVS[6].z),intBitsToFloat(uf_uniformRegisterVS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -// 6 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[8].x),intBitsToFloat(uf_uniformRegisterVS[8].y),intBitsToFloat(uf_uniformRegisterVS[8].z),intBitsToFloat(uf_uniformRegisterVS[8].w)))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[9].x),intBitsToFloat(uf_uniformRegisterVS[9].y),intBitsToFloat(uf_uniformRegisterVS[9].z),intBitsToFloat(uf_uniformRegisterVS[9].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[10].x),intBitsToFloat(uf_uniformRegisterVS[10].y),intBitsToFloat(uf_uniformRegisterVS[10].z),intBitsToFloat(uf_uniformRegisterVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[11].x),intBitsToFloat(uf_uniformRegisterVS[11].y),intBitsToFloat(uf_uniformRegisterVS[11].z),intBitsToFloat(uf_uniformRegisterVS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -// 10 -predResult = (0 != R1i.w); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.z = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R0i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.y = backupReg0i; -PV0i.y = R1i.y; -R0i.z = 0; -PV0i.z = R0i.z; -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -R2i.xyz = ivec3(R1i.x,PV0i.y,PV0i.z); -R2i.w = PV0i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.x = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R126i.z = PV1i.x + PS1i; -PV0i.z = R126i.z; -// 3 -R127i.x = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.x = R127i.x; -R127i.y = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -// 4 -R127i.z = ((PV1i.x == 0)?(uf_uniformRegisterVS[23].y):(uf_uniformRegisterVS[22].y)); -R127i.w = ((PV1i.x == 0)?(uf_uniformRegisterVS[23].x):(uf_uniformRegisterVS[22].x)); -// 5 -R123i.x = ((R127i.x == 0)?(uf_uniformRegisterVS[23].w):(uf_uniformRegisterVS[22].w)); -PV1i.x = R123i.x; -R123i.y = ((R127i.x == 0)?(uf_uniformRegisterVS[23].z):(uf_uniformRegisterVS[22].z)); -PV1i.y = R123i.y; -// 6 -R123i.x = ((R127i.y == 0)?(PV1i.x):(uf_uniformRegisterVS[21].w)); -PV0i.x = R123i.x; -R123i.y = ((R127i.y == 0)?(PV1i.y):(uf_uniformRegisterVS[21].z)); -PV0i.y = R123i.y; -R123i.z = ((R127i.y == 0)?(R127i.z):(uf_uniformRegisterVS[21].y)); -PV0i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R127i.w):(uf_uniformRegisterVS[21].x)); -PV0i.w = R123i.w; -// 7 -R2i.x = ((R126i.z == 0)?(uf_uniformRegisterVS[20].x):(PV0i.w)); -R2i.y = ((R126i.z == 0)?(uf_uniformRegisterVS[20].y):(PV0i.z)); -R2i.z = ((R126i.z == 0)?(uf_uniformRegisterVS[20].z):(PV0i.y)); -R2i.w = ((R126i.z == 0)?(uf_uniformRegisterVS[20].w):(PV0i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.xyz = ivec3(0x437f0000,0x437f0000,0x437f0000); -R3i.w = 0x437f0000; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = uf_uniformRegisterVS[2].x >> 0x00000008; -R2i.y = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -R1i.z = PV0i.x & 0x0000000f; -// 2 -predResult = (0 != R2i.y); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.y = R1i.y; -R2i.z = 0; -R1i.w = 0x3f800000; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].x)); -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_uniformRegisterVS[1].x)); -PV1i.x = R2i.x; -R2i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_uniformRegisterVS[1].y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].y)); -// 2 -R3i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].z) * intBitsToFloat(PS1i)); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].w) * intBitsToFloat(PS1i)); -R4i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R4i.x; -// 3 -R5i.x = floatBitsToInt(-(intBitsToFloat(R2i.y)) + intBitsToFloat(PS0i)); -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PV1i.z = R0i.z; -R7i.x = floatBitsToInt(-(intBitsToFloat(R2i.y)) + 1.0); -PS1i = R7i.x; -// 4 -R3i.z = floatBitsToInt(-(intBitsToFloat(R3i.y)) + 1.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(PV1i.z)); -// 5 -predResult = (R1i.z == 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(backupReg0i))); -R2i.y = R3i.x; -PV0i.y = R2i.y; -// 1 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (R1i.z == int(1)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -backupReg0i = R2i.y; -R2i.y = 0; -PV0i.y = R2i.y; -PV0i.z = R3i.x; -PV0i.w = backupReg0i; -// 1 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R7i.x))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[4] = activeMaskStack[4] == false; -activeMaskStackC[5] = activeMaskStack[4] == true && activeMaskStackC[4] == true; -if( activeMaskStackC[5] == true ) { -activeMaskStack[5] = activeMaskStack[4]; -activeMaskStackC[6] = activeMaskStackC[5]; -// 0 -predResult = (R1i.z == 0x00000002); -activeMaskStack[5] = predResult; -activeMaskStackC[6] = predResult == true && activeMaskStackC[5] == true; -} -else { -activeMaskStack[5] = false; -activeMaskStackC[6] = false; -} -if( activeMaskStackC[6] == true ) { -// 0 -backupReg0i = R3i.y; -R3i.y = backupReg0i; -PV0i.y = R3i.y; -PV0i.z = R3i.z; -PV0i.w = 0; -// 1 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[5] = activeMaskStack[5] == false; -activeMaskStackC[6] = activeMaskStack[5] == true && activeMaskStackC[5] == true; -if( activeMaskStackC[6] == true ) { -activeMaskStack[6] = activeMaskStack[5]; -activeMaskStackC[7] = activeMaskStackC[6]; -// 0 -predResult = (R1i.z == 0x00000003); -activeMaskStack[6] = predResult; -activeMaskStackC[7] = predResult == true && activeMaskStackC[6] == true; -} -else { -activeMaskStack[6] = false; -activeMaskStackC[7] = false; -} -if( activeMaskStackC[7] == true ) { -// 0 -backupReg0i = R2i.y; -R2i.y = R3i.z; -PV0i.y = R2i.y; -PV0i.z = R3i.y; -PV0i.w = backupReg0i; -// 1 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R7i.x))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[6] = activeMaskStack[6] == false; -activeMaskStackC[7] = activeMaskStack[6] == true && activeMaskStackC[6] == true; -if( activeMaskStackC[7] == true ) { -activeMaskStack[7] = activeMaskStack[6]; -activeMaskStackC[8] = activeMaskStackC[7]; -// 0 -predResult = (R1i.z == 0x00000004); -activeMaskStack[7] = predResult; -activeMaskStackC[8] = predResult == true && activeMaskStackC[7] == true; -} -else { -activeMaskStack[7] = false; -activeMaskStackC[8] = false; -} -if( activeMaskStackC[8] == true ) { -// 0 -R2i.y = R2i.w; -PV0i.y = R2i.y; -PV0i.z = R3i.x; -PV0i.w = 0; -// 1 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[7] = activeMaskStack[7] == false; -activeMaskStackC[8] = activeMaskStack[7] == true && activeMaskStackC[7] == true; -if( activeMaskStackC[8] == true ) { -activeMaskStack[8] = activeMaskStack[7]; -activeMaskStackC[9] = activeMaskStackC[8]; -// 0 -predResult = (R1i.z == 0x00000005); -activeMaskStack[8] = predResult; -activeMaskStackC[9] = predResult == true && activeMaskStackC[8] == true; -} -else { -activeMaskStack[8] = false; -activeMaskStackC[9] = false; -} -if( activeMaskStackC[9] == true ) { -// 0 -backupReg0i = R2i.y; -R2i.y = R3i.x; -PV0i.y = R2i.y; -PV0i.z = R2i.w; -PV0i.w = backupReg0i; -// 1 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R7i.x))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[8] = activeMaskStack[8] == false; -activeMaskStackC[9] = activeMaskStack[8] == true && activeMaskStackC[8] == true; -if( activeMaskStackC[9] == true ) { -activeMaskStack[9] = activeMaskStack[8]; -activeMaskStackC[10] = activeMaskStackC[9]; -// 0 -predResult = (R1i.z == 0x00000006); -activeMaskStack[9] = predResult; -activeMaskStackC[10] = predResult == true && activeMaskStackC[9] == true; -} -else { -activeMaskStack[9] = false; -activeMaskStackC[10] = false; -} -if( activeMaskStackC[10] == true ) { -// 0 -R2i.y = R3i.x; -PV0i.y = R2i.y; -R3i.y = 0; -PS0i = R3i.y; -// 1 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PS0i))); -} -activeMaskStack[9] = activeMaskStack[9] == false; -activeMaskStackC[10] = activeMaskStack[9] == true && activeMaskStackC[9] == true; -if( activeMaskStackC[10] == true ) { -activeMaskStack[10] = activeMaskStack[9]; -activeMaskStackC[11] = activeMaskStackC[10]; -// 0 -predResult = (R1i.z == 0x00000007); -activeMaskStack[10] = predResult; -activeMaskStackC[11] = predResult == true && activeMaskStackC[10] == true; -} -else { -activeMaskStack[10] = false; -activeMaskStackC[11] = false; -} -if( activeMaskStackC[11] == true ) { -// 0 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i))); -R2i.y = R3i.y; -PV0i.y = R2i.y; -R3i.y = R3i.z; -PS0i = R3i.y; -// 1 -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PS0i))); -} -activeMaskStack[10] = activeMaskStack[10] == false; -activeMaskStackC[11] = activeMaskStack[10] == true && activeMaskStackC[10] == true; -if( activeMaskStackC[11] == true ) { -activeMaskStack[11] = activeMaskStack[10]; -activeMaskStackC[12] = activeMaskStackC[11]; -// 0 -predResult = (R1i.z == 0x00000008); -activeMaskStack[11] = predResult; -activeMaskStackC[12] = predResult == true && activeMaskStackC[11] == true; -} -else { -activeMaskStack[11] = false; -activeMaskStackC[12] = false; -} -if( activeMaskStackC[12] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -R2i.y = R3i.x; -PV0i.y = R2i.y; -// 1 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -} -activeMaskStack[11] = activeMaskStack[11] == false; -activeMaskStackC[12] = activeMaskStack[11] == true && activeMaskStackC[11] == true; -if( activeMaskStackC[12] == true ) { -activeMaskStack[12] = activeMaskStack[11]; -activeMaskStackC[13] = activeMaskStackC[12]; -// 0 -predResult = (R1i.z == 0x00000009); -activeMaskStack[12] = predResult; -activeMaskStackC[13] = predResult == true && activeMaskStackC[12] == true; -} -else { -activeMaskStack[12] = false; -activeMaskStackC[13] = false; -} -if( activeMaskStackC[13] == true ) { -// 0 -backupReg0i = R2i.y; -R2i.y = 0; -PV0i.y = R2i.y; -PV0i.z = R3i.z; -PV0i.w = backupReg0i; -// 1 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R7i.x))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[12] = activeMaskStack[12] == false; -activeMaskStackC[13] = activeMaskStack[12] == true && activeMaskStackC[12] == true; -if( activeMaskStackC[13] == true ) { -activeMaskStack[13] = activeMaskStack[12]; -activeMaskStackC[14] = activeMaskStackC[13]; -// 0 -predResult = (R1i.z == 0x0000000a); -activeMaskStack[13] = predResult; -activeMaskStackC[14] = predResult == true && activeMaskStackC[13] == true; -} -else { -activeMaskStack[13] = false; -activeMaskStackC[14] = false; -} -if( activeMaskStackC[14] == true ) { -// 0 -R2i.y = R0i.z; -PV0i.y = R2i.y; -PV0i.z = R3i.x; -PV0i.w = 0; -// 1 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[13] = activeMaskStack[13] == false; -activeMaskStackC[14] = activeMaskStack[13] == true && activeMaskStackC[13] == true; -if( activeMaskStackC[14] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -R2i.y = R2i.w; -PV0i.y = R2i.y; -R127i.z = (R1i.z == 0x0000000c)?int(0xFFFFFFFF):int(0x0); -PV0i.z = R127i.z; -R127i.w = (R1i.z == 0x0000000b)?int(0xFFFFFFFF):int(0x0); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -R2i.y = R3i.z; -PV1i.y = R2i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R2i.x))); -PV1i.z = R123i.z; -R123i.w = ((PV0i.z == 0)?(0):(PV0i.x)); -PV1i.w = R123i.w; -// 2 -R2i.x = ((R127i.w == 0)?(PV1i.w):(PV1i.z)); -R123i.z = ((R127i.z == 0)?(0):(PV1i.x)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R3i.y)) + intBitsToFloat(PV1i.y))); -PV0i.w = R123i.w; -// 3 -R2i.y = ((R127i.w == 0)?(PV0i.z):(PV0i.w)); -} -activeMaskStackC[13] = activeMaskStack[12] == true && activeMaskStackC[12] == true; -activeMaskStackC[11] = activeMaskStack[10] == true && activeMaskStackC[10] == true; -activeMaskStackC[9] = activeMaskStack[8] == true && activeMaskStackC[8] == true; -activeMaskStackC[7] = activeMaskStack[6] == true && activeMaskStackC[6] == true; -activeMaskStackC[5] = activeMaskStack[4] == true && activeMaskStackC[4] == true; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R2i.y)) + 1.0); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + 1.0); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].x))); -// 2 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_uniformRegisterVS[18].w)) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_uniformRegisterVS[18].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_uniformRegisterVS[18].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_uniformRegisterVS[18].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); -PS1i = R127i.w; -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_uniformRegisterVS[19].w)) + intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_uniformRegisterVS[19].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_uniformRegisterVS[19].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_uniformRegisterVS[19].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(backupReg0i))); -PS0i = R126i.z; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.y))); -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R127i.w))); -PS1i = R3i.x; -// 6 -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.z))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.y))); -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R2i.z; -R2i.xyz = ivec3(R1i.x,R4i.y,backupReg0i); -R2i.w = R1i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.z = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R0i.z = PV1i.z + PS1i; -PV0i.z = R0i.z; -// 3 -R127i.x = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.x = R127i.x; -R127i.y = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -// 4 -R127i.z = ((PV1i.x == 0)?(uf_uniformRegisterVS[23].y):(uf_uniformRegisterVS[22].y)); -R127i.w = ((PV1i.x == 0)?(uf_uniformRegisterVS[23].x):(uf_uniformRegisterVS[22].x)); -// 5 -R123i.x = ((R127i.x == 0)?(uf_uniformRegisterVS[23].w):(uf_uniformRegisterVS[22].w)); -PV1i.x = R123i.x; -R123i.y = ((R127i.x == 0)?(uf_uniformRegisterVS[23].z):(uf_uniformRegisterVS[22].z)); -PV1i.y = R123i.y; -// 6 -R123i.x = ((R127i.y == 0)?(PV1i.x):(uf_uniformRegisterVS[21].w)); -PV0i.x = R123i.x; -R123i.y = ((R127i.y == 0)?(PV1i.y):(uf_uniformRegisterVS[21].z)); -PV0i.y = R123i.y; -R123i.z = ((R127i.y == 0)?(R127i.z):(uf_uniformRegisterVS[21].y)); -PV0i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R127i.w):(uf_uniformRegisterVS[21].x)); -PV0i.w = R123i.w; -// 7 -R2i.x = ((R0i.z == 0)?(uf_uniformRegisterVS[20].x):(PV0i.w)); -R2i.y = ((R0i.z == 0)?(uf_uniformRegisterVS[20].y):(PV0i.z)); -R2i.z = ((R0i.z == 0)?(uf_uniformRegisterVS[20].z):(PV0i.y)); -R2i.w = ((R0i.z == 0)?(uf_uniformRegisterVS[20].w):(PV0i.x)); -// 8 -predResult = (R1i.z == 0x0000000d); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].y)); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].w) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].z) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].x)); -// 2 -R127i.x = PV1i.z; -R127i.y = PV1i.w; -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_uniformRegisterVS[1].x)); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_uniformRegisterVS[1].y)); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -// 5 -backupReg0i = R127i.z; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -PV1i.w = R126i.w; -// 6 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[16].x))); -// 8 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[18].w)) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[18].z)) + intBitsToFloat(PV1i.y))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[18].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[18].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[17].x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); -PS1i = R127i.w; -// 10 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -backupReg1i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[19].w)) + intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[19].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_uniformRegisterVS[19].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_uniformRegisterVS[19].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(backupReg1i))); -PS0i = R126i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.y))); -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PV0i.w)) + intBitsToFloat(R127i.w))); -PS1i = R3i.x; -// 12 -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.z))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.y))); -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = floatBitsToInt(float(R0i.z)); -PS0i = R127i.x; -// 1 -tempResultf = intBitsToFloat(PS0i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV1i.x = floatBitsToInt(tempResultf); -// 2 -R3i.xyz = ivec3(uf_uniformRegisterVS[ARi.x+16].x,uf_uniformRegisterVS[ARi.x+16].y,uf_uniformRegisterVS[ARi.x+16].z); -R3i.w = uf_uniformRegisterVS[ARi.x+16].w; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (0 != uf_uniformRegisterVS[3].x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_uniformRegisterVS[20].x),intBitsToFloat(uf_uniformRegisterVS[20].y),intBitsToFloat(uf_uniformRegisterVS[20].z),intBitsToFloat(uf_uniformRegisterVS[20].w)))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R4i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_uniformRegisterVS[21].x),intBitsToFloat(uf_uniformRegisterVS[21].y),intBitsToFloat(uf_uniformRegisterVS[21].z),intBitsToFloat(uf_uniformRegisterVS[21].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[22].x),intBitsToFloat(uf_uniformRegisterVS[22].y),intBitsToFloat(uf_uniformRegisterVS[22].z),intBitsToFloat(uf_uniformRegisterVS[22].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[23].x),intBitsToFloat(uf_uniformRegisterVS[23].y),intBitsToFloat(uf_uniformRegisterVS[23].z),intBitsToFloat(uf_uniformRegisterVS[23].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.z = uf_uniformRegisterVS[2].x & int(1); -// 1 -predResult = (0 != R0i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R0i.y = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R0i.y); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_uniformRegisterVS[2].x & 0x00010000; -R127i.y = uf_uniformRegisterVS[2].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_uniformRegisterVS[2].x & 0x00000004; -R127i.w = uf_uniformRegisterVS[2].x & 0x00000020; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[15].y), intBitsToFloat(uf_uniformRegisterVS[12].y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[15].x), intBitsToFloat(uf_uniformRegisterVS[12].x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[15].y), intBitsToFloat(uf_uniformRegisterVS[12].x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[15].x), intBitsToFloat(uf_uniformRegisterVS[12].y))); -R127i.z = ((PV0i.y == 0)?(R2i.y):(R2i.y)); -PS1i = R127i.z; -// 2 -R123i.x = ((R127i.y == 0)?(R2i.w):(R2i.w)); -PV0i.x = R123i.x; -R123i.y = ((R127i.y == 0)?(R2i.z):(R2i.z)); -PV0i.y = R123i.y; -R126i.z = ((R127i.x == 0)?(PV1i.x):(PV1i.z)); -PV0i.z = R126i.z; -R123i.w = ((R127i.x == 0)?(PV1i.y):(PV1i.w)); -PV0i.w = R123i.w; -R124i.y = uf_uniformRegisterVS[2].x & 0x00000008; -PS0i = R124i.y; -// 3 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PV0i.w))); -PV1i.x = R0i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R123i.w = ((R127i.w == 0)?(PV0i.y):(PV0i.y)); -PV1i.w = R123i.w; -R122i.x = ((R127i.w == 0)?(PV0i.x):(PV0i.x)); -PS1i = R122i.x; -// 4 -backupReg0i = R127i.y; -R123i.x = ((R127i.w == 0)?(R127i.z):(PV1i.z)); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R127i.z = ((R125i.z == 0)?(PV1i.w):(PV1i.w)); -R123i.w = ((backupReg0i == 0)?(R2i.x):(PV1i.x)); -PV0i.w = R123i.w; -R126i.z = ((R125i.z == 0)?(PS1i):(PS1i)); -PS0i = R126i.z; -// 5 -R127i.x = ((R125i.z == 0)?(PV0i.x):(PV0i.x)); -PV1i.x = R127i.x; -R125i.y = ((R127i.w == 0)?(PV0i.w):(PV0i.w)); -PV1i.y = R125i.y; -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.y)); -// 7 -R123i.y = ((R125i.z == 0)?(R125i.y):(PV0i.z)); -PV1i.y = R123i.y; -// 8 -R2i.x = ((R124i.y == 0)?(PV1i.y):(PV1i.y)); -R2i.y = ((R124i.y == 0)?(R127i.x):(R126i.x)); -R2i.z = ((R124i.y == 0)?(R127i.z):(R127i.z)); -R2i.w = ((R124i.y == 0)?(R126i.z):(R126i.z)); -PS0i = R2i.w; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt(-(intBitsToFloat(R2i.x)) + 1.0); -PV0i.x = R0i.x; -R126i.y = uf_uniformRegisterVS[2].x & 0x00010000; -R127i.z = uf_uniformRegisterVS[2].x & 0x00040000; -PV0i.w = uf_uniformRegisterVS[2].x & 0x00020000; -// 1 -R123i.x = ((PV0i.w == 0)?(R2i.z):(R2i.z)); -PV1i.x = R123i.x; -R127i.y = ((PV0i.w == 0)?(R2i.y):(R2i.y)); -PV1i.y = R127i.y; -R123i.z = ((PV0i.w == 0)?(R2i.x):(PV0i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.w == 0)?(R2i.w):(R2i.w)); -PV1i.w = R123i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R126i.z = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -R127i.w = ((R127i.z == 0)?(PV1i.w):(PV1i.w)); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.y):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R2i.x = ((R126i.y == 0)?(R127i.x):(PV1i.w)); -R2i.y = ((R126i.y == 0)?(PV1i.w):(R127i.x)); -R2i.z = ((R126i.y == 0)?(R126i.z):(R126i.z)); -R2i.w = ((R126i.y == 0)?(R127i.w):(R127i.w)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[14].x),intBitsToFloat(uf_uniformRegisterVS[14].y),intBitsToFloat(uf_uniformRegisterVS[14].z),intBitsToFloat(uf_uniformRegisterVS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = PV0i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(uf_uniformRegisterVS[0].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(uf_uniformRegisterVS[0].z))); -R1i.w = PV0i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(uf_uniformRegisterVS[0].x))); -PS1i = R0i.x; -// 2 -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[13].x),intBitsToFloat(uf_uniformRegisterVS[13].y),intBitsToFloat(uf_uniformRegisterVS[13].z),intBitsToFloat(uf_uniformRegisterVS[13].w)))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -R1i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R1i.y; -// 3 -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(uf_uniformRegisterVS[0].w))); -} -// export -gl_Position = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -if (isCurrentSizeEqualTo(vec2(84, 84)) || - isCurrentSizeEqualTo(vec2(36, 40)) || //master mode logo shadow - isCurrentSizeEqualTo(vec2(90, 90)) || - isCurrentSizeEqualTo(vec2(110, 110)) || - isCurrentSizeEqualTo(vec2(109, 109)) - ) { - gl_Position.y -= 9000.0; -} -if ((uf_uniformRegisterVS[5].w == 1134559232 || - uf_uniformRegisterVS[5].w == 1133903872) && - (isCurrentSizeEqualTo(vec2(64, 64)) || //empty heart shadows, but also glowing orbs in inventory - isCurrentSizeEqualTo(vec2(32, 32))) // empty hearts, hearts in inventory transition, but also inventory icons - ) { - gl_Position.y -= 9000.0; -} -if (isCurrentSizeEqualTo(vec2(80, 80)) && - (uf_uniformRegisterVS[4].x == 1060320051 || - uf_uniformRegisterVS[4].x == 1060320050)) { - //some hearts, stamina fade, but also glowing powers in inventory - gl_Position.y -= 9000.0; -} -if (isCurrentSizeEqualTo(vec2(96, 96)) && - (uf_uniformRegisterVS[7].x == 1069928833)) { - // stamina 3-full blur; also, all inventory items - gl_Position.y -= 9000.0; -} - - -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.x), intBitsToFloat(R1i.w)); -} diff --git a/Enhancement/BreathOfTheWild_Pro+/4d58e6f0906ff5cf_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_Pro+/4d58e6f0906ff5cf_0000000000000000_vs.txt deleted file mode 100644 index c0b78389..00000000 --- a/Enhancement/BreathOfTheWild_Pro+/4d58e6f0906ff5cf_0000000000000000_vs.txt +++ /dev/null @@ -1,927 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 4d58e6f0906ff5cf -// PRO+ hud v2 -uniform ivec4 uf_remappedVS[29]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -bool isCurrentSizeEqualTo(vec2 param) { - float result = distance(param, intBitsToFloat(uf_remappedVS[0]).xy); - return (result <= 0.001); -} -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedVS[0].x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R1i.y))); -PV0i.y = R0i.y; -R0i.z = 0; -R2i.w = 0x3f800000; -R127i.w = floatBitsToInt(1.0); -PS0i = R127i.w; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedVS[0].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedVS[0].y))); -// 2 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(uf_remappedVS[0].w)); -PV0i.y = R0i.y; -R0i.w = uf_remappedVS[1].x & 0x40000000; -// 3 -backupReg0i = R0i.z; -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -// 4 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -// 6 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w)))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.w = tempi.x; -// 10 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x), intBitsToFloat(uf_remappedVS[9].x))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y), intBitsToFloat(uf_remappedVS[9].y))); -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x), intBitsToFloat(uf_remappedVS[9].y))); -PS0i = R6i.x; -// 11 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y), intBitsToFloat(uf_remappedVS[9].x))); -// 12 -predResult = (0 != R0i.w); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R1i.z = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R1i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.yzw = ivec3(backupReg0i,0,0x3f800000); -PV0i.y = R1i.y; -PV0i.z = R1i.z; -PV0i.w = R1i.w; -// 1 -R3i.xyz = ivec3(R1i.x,PV0i.y,PV0i.z); -PV1i.x = R3i.x; -PV1i.y = R3i.y; -PV1i.z = R3i.z; -R3i.w = PV0i.w; -PV1i.w = R3i.w; -// 2 -R4i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R4i.w = PV1i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.x = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R124i.z = PV1i.x + PS1i; -PV0i.z = R124i.z; -// 3 -R127i.x = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.x = R127i.x; -R127i.y = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R127i.z = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R126i.w = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -R124i.w = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -PS1i = R124i.w; -// 4 -R124i.y = (R124i.z == int(1))?int(0xFFFFFFFF):int(0x0); -R126i.z = ((PV1i.x == 0)?(uf_remappedVS[10].y):(uf_remappedVS[11].y)); -R127i.w = ((PV1i.x == 0)?(uf_remappedVS[10].x):(uf_remappedVS[11].x)); -// 5 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = ((backupReg0i == 0)?(uf_remappedVS[10].w):(uf_remappedVS[11].w)); -R126i.y = ((backupReg0i == 0)?(uf_remappedVS[10].z):(uf_remappedVS[11].z)); -// 6 -R126i.x = ((R127i.z == 0)?(uf_remappedVS[12].y):(uf_remappedVS[13].y)); -R125i.y = ((R127i.z == 0)?(uf_remappedVS[12].x):(uf_remappedVS[13].x)); -// 7 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R127i.z = ((backupReg0i == 0)?(uf_remappedVS[12].w):(uf_remappedVS[13].w)); -R125i.w = ((backupReg0i == 0)?(uf_remappedVS[12].z):(uf_remappedVS[13].z)); -// 8 -R125i.z = ((R127i.y == 0)?(uf_remappedVS[14].y):(uf_remappedVS[15].y)); -R0i.w = ((R127i.y == 0)?(uf_remappedVS[14].x):(uf_remappedVS[15].x)); -// 9 -backupReg0i = R127i.y; -R125i.x = ((R127i.y == 0)?(uf_remappedVS[14].w):(uf_remappedVS[15].w)); -R127i.y = ((backupReg0i == 0)?(uf_remappedVS[14].z):(uf_remappedVS[15].z)); -// 10 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R127i.w; -R127i.x = ((R126i.w == 0)?(backupReg0i):(uf_remappedVS[16].w)); -R126i.y = ((R126i.w == 0)?(backupReg1i):(uf_remappedVS[16].z)); -R126i.z = ((R126i.w == 0)?(backupReg2i):(uf_remappedVS[16].y)); -R127i.w = ((R126i.w == 0)?(backupReg3i):(uf_remappedVS[16].x)); -// 11 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -backupReg2i = R127i.z; -backupReg3i = R125i.w; -R126i.x = ((R124i.w == 0)?(backupReg0i):(uf_remappedVS[17].y)); -R125i.y = ((R124i.w == 0)?(backupReg1i):(uf_remappedVS[17].x)); -R127i.z = ((R124i.w == 0)?(backupReg2i):(uf_remappedVS[17].w)); -R125i.w = ((R124i.w == 0)?(backupReg3i):(uf_remappedVS[17].z)); -// 12 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -backupReg2i = R125i.z; -R125i.x = ((R124i.y == 0)?(backupReg0i):(uf_remappedVS[18].w)); -R127i.y = ((R124i.y == 0)?(backupReg1i):(uf_remappedVS[18].z)); -R125i.z = ((R124i.y == 0)?(backupReg2i):(uf_remappedVS[18].y)); -R124i.w = ((R124i.y == 0)?(R0i.w):(uf_remappedVS[18].x)); -// 13 -R1i.x = ((R124i.z == 0)?(uf_remappedVS[19].x):(R127i.w)); -R1i.y = ((R124i.z == 0)?(uf_remappedVS[19].y):(R126i.z)); -R1i.z = ((R124i.z == 0)?(uf_remappedVS[19].z):(R126i.y)); -R1i.w = ((R124i.z == 0)?(uf_remappedVS[19].w):(R127i.x)); -// 14 -R3i.x = ((R124i.z == 0)?(uf_remappedVS[20].x):(R125i.y)); -R3i.y = ((R124i.z == 0)?(uf_remappedVS[20].y):(R126i.x)); -R3i.z = ((R124i.z == 0)?(uf_remappedVS[20].z):(R125i.w)); -R3i.w = ((R124i.z == 0)?(uf_remappedVS[20].w):(R127i.z)); -// 15 -R4i.x = ((R124i.z == 0)?(uf_remappedVS[21].x):(R124i.w)); -R4i.y = ((R124i.z == 0)?(uf_remappedVS[21].y):(R125i.z)); -R4i.z = ((R124i.z == 0)?(uf_remappedVS[21].z):(R127i.y)); -R4i.w = ((R124i.z == 0)?(uf_remappedVS[21].w):(R125i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.w = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R0i.w); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.yzw = ivec3(backupReg0i,0,0x3f800000); -PV0i.y = R1i.y; -PV0i.z = R1i.z; -PV0i.w = R1i.w; -// 1 -R3i.xyz = ivec3(R1i.x,PV0i.y,PV0i.z); -PV1i.x = R3i.x; -PV1i.y = R3i.y; -PV1i.z = R3i.z; -R3i.w = PV0i.w; -PV1i.w = R3i.w; -// 2 -R4i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R4i.w = PV1i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.x = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R124i.z = PV1i.x + PS1i; -PV0i.z = R124i.z; -// 3 -R127i.x = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.x = R127i.x; -R127i.y = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R127i.z = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R126i.w = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -R124i.w = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -PS1i = R124i.w; -// 4 -R124i.y = (R124i.z == int(1))?int(0xFFFFFFFF):int(0x0); -R126i.z = ((PV1i.x == 0)?(uf_remappedVS[10].y):(uf_remappedVS[11].y)); -R127i.w = ((PV1i.x == 0)?(uf_remappedVS[10].x):(uf_remappedVS[11].x)); -// 5 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = ((backupReg0i == 0)?(uf_remappedVS[10].w):(uf_remappedVS[11].w)); -R126i.y = ((backupReg0i == 0)?(uf_remappedVS[10].z):(uf_remappedVS[11].z)); -// 6 -R126i.x = ((R127i.z == 0)?(uf_remappedVS[12].y):(uf_remappedVS[13].y)); -R125i.y = ((R127i.z == 0)?(uf_remappedVS[12].x):(uf_remappedVS[13].x)); -// 7 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R127i.z = ((backupReg0i == 0)?(uf_remappedVS[12].w):(uf_remappedVS[13].w)); -R125i.w = ((backupReg0i == 0)?(uf_remappedVS[12].z):(uf_remappedVS[13].z)); -// 8 -R125i.z = ((R127i.y == 0)?(uf_remappedVS[14].y):(uf_remappedVS[15].y)); -R0i.w = ((R127i.y == 0)?(uf_remappedVS[14].x):(uf_remappedVS[15].x)); -// 9 -backupReg0i = R127i.y; -R125i.x = ((R127i.y == 0)?(uf_remappedVS[14].w):(uf_remappedVS[15].w)); -R127i.y = ((backupReg0i == 0)?(uf_remappedVS[14].z):(uf_remappedVS[15].z)); -// 10 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R127i.w; -R127i.x = ((R126i.w == 0)?(backupReg0i):(uf_remappedVS[16].w)); -R126i.y = ((R126i.w == 0)?(backupReg1i):(uf_remappedVS[16].z)); -R126i.z = ((R126i.w == 0)?(backupReg2i):(uf_remappedVS[16].y)); -R127i.w = ((R126i.w == 0)?(backupReg3i):(uf_remappedVS[16].x)); -// 11 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -backupReg2i = R127i.z; -backupReg3i = R125i.w; -R126i.x = ((R124i.w == 0)?(backupReg0i):(uf_remappedVS[17].y)); -R125i.y = ((R124i.w == 0)?(backupReg1i):(uf_remappedVS[17].x)); -R127i.z = ((R124i.w == 0)?(backupReg2i):(uf_remappedVS[17].w)); -R125i.w = ((R124i.w == 0)?(backupReg3i):(uf_remappedVS[17].z)); -// 12 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -backupReg2i = R125i.z; -R125i.x = ((R124i.y == 0)?(backupReg0i):(uf_remappedVS[18].w)); -R127i.y = ((R124i.y == 0)?(backupReg1i):(uf_remappedVS[18].z)); -R125i.z = ((R124i.y == 0)?(backupReg2i):(uf_remappedVS[18].y)); -R124i.w = ((R124i.y == 0)?(R0i.w):(uf_remappedVS[18].x)); -// 13 -R1i.x = ((R124i.z == 0)?(uf_remappedVS[19].x):(R127i.w)); -R1i.y = ((R124i.z == 0)?(uf_remappedVS[19].y):(R126i.z)); -R1i.z = ((R124i.z == 0)?(uf_remappedVS[19].z):(R126i.y)); -R1i.w = ((R124i.z == 0)?(uf_remappedVS[19].w):(R127i.x)); -// 14 -R3i.x = ((R124i.z == 0)?(uf_remappedVS[20].x):(R125i.y)); -R3i.y = ((R124i.z == 0)?(uf_remappedVS[20].y):(R126i.x)); -R3i.z = ((R124i.z == 0)?(uf_remappedVS[20].z):(R125i.w)); -R3i.w = ((R124i.z == 0)?(uf_remappedVS[20].w):(R127i.z)); -// 15 -R4i.x = ((R124i.z == 0)?(uf_remappedVS[21].x):(R124i.w)); -R4i.y = ((R124i.z == 0)?(uf_remappedVS[21].y):(R125i.z)); -R4i.z = ((R124i.z == 0)?(uf_remappedVS[21].z):(R127i.y)); -R4i.w = ((R124i.z == 0)?(uf_remappedVS[21].w):(R125i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (0 != uf_remappedVS[22].x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),intBitsToFloat(uf_remappedVS[19].w)))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R7i.x = uf_remappedVS[1].x & int(1); -// 1 -predResult = (0 != R7i.x); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R0i.w = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R0i.w); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = uf_remappedVS[1].x & 0x00010000; -R127i.y = uf_remappedVS[1].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_remappedVS[1].x & 0x00000004; -R127i.w = uf_remappedVS[1].x & 0x00000020; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.w):(R1i.w)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R1i.z):(R1i.z)); -PV1i.y = R123i.y; -R126i.z = ((PV0i.x == 0)?(R2i.y):(R6i.y)); -PV1i.z = R126i.z; -R123i.w = ((PV0i.x == 0)?(R2i.x):(R6i.x)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.y == 0)?(R1i.y):(R1i.y)); -PS1i = R127i.z; -// 2 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R7i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.z))); -R123i.w = ((R127i.w == 0)?(PV1i.y):(PV1i.y)); -PV0i.w = R123i.w; -R122i.x = ((R127i.w == 0)?(PV1i.x):(PV1i.x)); -PS0i = R122i.x; -// 3 -backupReg0i = R127i.y; -R123i.x = ((R127i.w == 0)?(R127i.z):(PV0i.z)); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R127i.z = ((R125i.z == 0)?(PV0i.w):(PV0i.w)); -R123i.w = ((backupReg0i == 0)?(R1i.x):(PV0i.x)); -PV1i.w = R123i.w; -R124i.z = ((R125i.z == 0)?(PS0i):(PS0i)); -PS1i = R124i.z; -// 4 -R127i.x = ((R125i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R127i.x; -R125i.y = ((R127i.w == 0)?(PV1i.w):(PV1i.w)); -PV0i.y = R125i.y; -R126i.z = uf_remappedVS[1].x & 0x00000008; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R126i.y)); -// 6 -R123i.y = ((R125i.z == 0)?(R125i.y):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R1i.x = ((R126i.z == 0)?(PV0i.y):(PV0i.y)); -R1i.y = ((R126i.z == 0)?(R127i.x):(R126i.x)); -R1i.z = ((R126i.z == 0)?(R127i.z):(R127i.z)); -// 8 -R1i.w = ((R126i.z == 0)?(R124i.z):(R124i.z)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R7i.x = floatBitsToInt(-(intBitsToFloat(R1i.x)) + 1.0); -PV0i.x = R7i.x; -R126i.y = uf_remappedVS[1].x & 0x00010000; -R127i.z = uf_remappedVS[1].x & 0x00040000; -PV0i.w = uf_remappedVS[1].x & 0x00020000; -// 1 -R123i.x = ((PV0i.w == 0)?(R1i.z):(R1i.z)); -PV1i.x = R123i.x; -R127i.y = ((PV0i.w == 0)?(R1i.y):(R1i.y)); -PV1i.y = R127i.y; -R123i.z = ((PV0i.w == 0)?(R1i.x):(PV0i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.w == 0)?(R1i.w):(R1i.w)); -PV1i.w = R123i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R126i.z = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -R127i.w = ((R127i.z == 0)?(PV1i.w):(PV1i.w)); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.y):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R1i.x = ((R126i.y == 0)?(R127i.x):(PV1i.w)); -R1i.y = ((R126i.y == 0)?(PV1i.w):(R127i.x)); -R1i.z = ((R126i.y == 0)?(R126i.z):(R126i.z)); -R1i.w = ((R126i.y == 0)?(R127i.w):(R127i.w)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(uf_remappedVS[23].z),intBitsToFloat(uf_remappedVS[23].w)))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -// 1 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedVS[24].x),intBitsToFloat(uf_remappedVS[24].y),intBitsToFloat(uf_remappedVS[24].z),intBitsToFloat(uf_remappedVS[24].w)))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R1i.y = PV0i.x; -PS1i = R1i.y; -// 2 -R1i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R1i.w = R127i.x; -// 3 -predResult = (0 != uf_remappedVS[22].y); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R3i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[20].x),intBitsToFloat(uf_remappedVS[20].y),intBitsToFloat(uf_remappedVS[20].z),intBitsToFloat(uf_remappedVS[20].w)))); -PV0i.x = R3i.x; -PV0i.y = R3i.x; -PV0i.z = R3i.x; -PV0i.w = R3i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R3i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R7i.y = uf_remappedVS[1].x & int(1); -// 1 -predResult = (0 != R7i.y); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R7i.x = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R7i.x); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].x & 0x00000020; -R127i.y = uf_remappedVS[1].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_remappedVS[1].x & 0x00000004; -PV0i.w = uf_remappedVS[1].x & 0x00010000; -// 1 -R123i.x = ((PV0i.w == 0)?(R2i.y):(R6i.y)); -PV1i.x = R123i.x; -R123i.z = ((PV0i.w == 0)?(R2i.x):(R6i.x)); -PV1i.z = R123i.z; -R125i.w = uf_remappedVS[1].x & 0x00000008; -R127i.z = ((PV0i.y == 0)?(R3i.y):(R3i.y)); -PS1i = R127i.z; -// 2 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV1i.z))); -PV0i.x = R7i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -// 3 -R123i.z = ((R127i.x == 0)?(R127i.z):(PV0i.y)); -PV1i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R3i.x):(PV0i.x)); -PV1i.w = R123i.w; -// 4 -backupReg0i = R127i.x; -R127i.x = ((R125i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.x = R127i.x; -R126i.w = ((backupReg0i == 0)?(PV1i.w):(PV1i.w)); -PV0i.w = R126i.w; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R126i.z)); -// 6 -R123i.y = ((R125i.z == 0)?(R126i.w):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R3i.x = ((R125i.w == 0)?(PV0i.y):(PV0i.y)); -R3i.y = ((R125i.w == 0)?(R127i.x):(R126i.x)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R7i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + 1.0); -PV0i.x = R7i.x; -PV0i.y = uf_remappedVS[1].x & 0x00020000; -R127i.z = uf_remappedVS[1].x & 0x00040000; -R126i.w = uf_remappedVS[1].x & 0x00010000; -// 1 -R123i.x = ((PV0i.y == 0)?(R3i.x):(PV0i.x)); -PV1i.x = R123i.x; -R127i.w = ((PV0i.y == 0)?(R3i.y):(R3i.y)); -PV1i.w = R127i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.w):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R3i.x = ((R126i.w == 0)?(R127i.x):(PV1i.w)); -R3i.y = ((R126i.w == 0)?(PV1i.w):(R127i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedVS[25].x),intBitsToFloat(uf_remappedVS[25].y),intBitsToFloat(uf_remappedVS[25].z),intBitsToFloat(uf_remappedVS[25].w)))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -// 1 -backupReg0i = R3i.x; -R3i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedVS[26].x),intBitsToFloat(uf_remappedVS[26].y),intBitsToFloat(uf_remappedVS[26].z),intBitsToFloat(uf_remappedVS[26].w)))); -PV1i.x = R3i.x; -PV1i.y = R3i.x; -PV1i.z = R3i.x; -PV1i.w = R3i.x; -R3i.y = PV0i.x; -PS1i = R3i.y; -// 2 -R3i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R3i.w = R127i.x; -// 3 -predResult = (0 != uf_remappedVS[22].z); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R4i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),intBitsToFloat(uf_remappedVS[21].w)))); -PV0i.x = R4i.x; -PV0i.y = R4i.x; -PV0i.z = R4i.x; -PV0i.w = R4i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.z = uf_remappedVS[1].x & int(1); -// 1 -predResult = (0 != R0i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R0i.y = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R0i.y); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].x & 0x00000020; -R127i.y = uf_remappedVS[1].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_remappedVS[1].x & 0x00000004; -PV0i.w = uf_remappedVS[1].x & 0x00010000; -// 1 -R123i.x = ((PV0i.w == 0)?(R2i.y):(R6i.y)); -PV1i.x = R123i.x; -R123i.z = ((PV0i.w == 0)?(R2i.x):(R6i.x)); -PV1i.z = R123i.z; -R125i.w = uf_remappedVS[1].x & 0x00000008; -R127i.z = ((PV0i.y == 0)?(R4i.y):(R4i.y)); -PS1i = R127i.z; -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PV1i.z))); -PV0i.x = R0i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -// 3 -R123i.z = ((R127i.x == 0)?(R127i.z):(PV0i.y)); -PV1i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R4i.x):(PV0i.x)); -PV1i.w = R123i.w; -// 4 -backupReg0i = R127i.x; -R127i.x = ((R125i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.x = R127i.x; -R126i.w = ((backupReg0i == 0)?(PV1i.w):(PV1i.w)); -PV0i.w = R126i.w; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R126i.z)); -// 6 -R123i.y = ((R125i.z == 0)?(R126i.w):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R4i.x = ((R125i.w == 0)?(PV0i.y):(PV0i.y)); -R4i.y = ((R125i.w == 0)?(R127i.x):(R126i.x)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt(-(intBitsToFloat(R4i.x)) + 1.0); -PV0i.x = R0i.x; -PV0i.y = uf_remappedVS[1].x & 0x00020000; -R127i.z = uf_remappedVS[1].x & 0x00040000; -R126i.w = uf_remappedVS[1].x & 0x00010000; -// 1 -R123i.x = ((PV0i.y == 0)?(R4i.x):(PV0i.x)); -PV1i.x = R123i.x; -R127i.w = ((PV0i.y == 0)?(R4i.y):(R4i.y)); -PV1i.w = R127i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.w):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R4i.x = ((R126i.w == 0)?(R127i.x):(PV1i.w)); -R4i.y = ((R126i.w == 0)?(PV1i.w):(R127i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[27].x),intBitsToFloat(uf_remappedVS[27].y),intBitsToFloat(uf_remappedVS[27].z),intBitsToFloat(uf_remappedVS[27].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = PV0i.x; -R0i.w = PV0i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedVS[28].w))); -// 2 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(PS1i)),vec4(intBitsToFloat(uf_remappedVS[28].x),intBitsToFloat(uf_remappedVS[28].y),intBitsToFloat(uf_remappedVS[28].z),1.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R0i.y; -} -// export -gl_Position = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -if (isCurrentSizeEqualTo(vec2(32, 32))) { - gl_Position.y -= 9000.0; -} -// export -passParameterSem0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.x), intBitsToFloat(R1i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.x), intBitsToFloat(R3i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.x), intBitsToFloat(R0i.w)); -} diff --git a/Enhancement/BreathOfTheWild_Pro+/75faf095372864b1_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_Pro+/75faf095372864b1_0000000000000000_vs.txt deleted file mode 100644 index 2c22e89e..00000000 --- a/Enhancement/BreathOfTheWild_Pro+/75faf095372864b1_0000000000000000_vs.txt +++ /dev/null @@ -1,1430 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 75faf095372864b1 -// PRO+ hud v2 -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -bool isCurrentSizeEqualTo(vec2 param) { - float result = distance(param, intBitsToFloat(uf_uniformRegisterVS[19]).xy); - return (result <= 0.001); -} -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[14]; -bool activeMaskStackC[15]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStack[4] = false; -activeMaskStack[5] = false; -activeMaskStack[6] = false; -activeMaskStack[7] = false; -activeMaskStack[8] = false; -activeMaskStack[9] = false; -activeMaskStack[10] = false; -activeMaskStack[11] = false; -activeMaskStack[12] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStackC[5] = false; -activeMaskStackC[6] = false; -activeMaskStackC[7] = false; -activeMaskStackC[8] = false; -activeMaskStackC[9] = false; -activeMaskStackC[10] = false; -activeMaskStackC[11] = false; -activeMaskStackC[12] = false; -activeMaskStackC[13] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_uniformRegisterVS[19].x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R1i.y))); -PV0i.y = R0i.y; -R1i.z = 0; -R1i.w = 0x3f800000; -R127i.w = floatBitsToInt(1.0); -PS0i = R127i.w; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_uniformRegisterVS[19].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_uniformRegisterVS[19].y))); -// 2 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(uf_uniformRegisterVS[19].w)); -PV0i.y = R0i.y; -R0i.w = uf_uniformRegisterVS[2].x & 0x40000000; -// 3 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[4].x),intBitsToFloat(uf_uniformRegisterVS[4].y),intBitsToFloat(uf_uniformRegisterVS[4].z),intBitsToFloat(uf_uniformRegisterVS[4].w)))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[5].x),intBitsToFloat(uf_uniformRegisterVS[5].y),intBitsToFloat(uf_uniformRegisterVS[5].z),intBitsToFloat(uf_uniformRegisterVS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[6].x),intBitsToFloat(uf_uniformRegisterVS[6].y),intBitsToFloat(uf_uniformRegisterVS[6].z),intBitsToFloat(uf_uniformRegisterVS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -// 6 -R4i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[8].x),intBitsToFloat(uf_uniformRegisterVS[8].y),intBitsToFloat(uf_uniformRegisterVS[8].z),intBitsToFloat(uf_uniformRegisterVS[8].w)))); -PV0i.x = R4i.x; -PV0i.y = R4i.x; -PV0i.z = R4i.x; -PV0i.w = R4i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[9].x),intBitsToFloat(uf_uniformRegisterVS[9].y),intBitsToFloat(uf_uniformRegisterVS[9].z),intBitsToFloat(uf_uniformRegisterVS[9].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[10].x),intBitsToFloat(uf_uniformRegisterVS[10].y),intBitsToFloat(uf_uniformRegisterVS[10].z),intBitsToFloat(uf_uniformRegisterVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.z = tempi.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[11].x),intBitsToFloat(uf_uniformRegisterVS[11].y),intBitsToFloat(uf_uniformRegisterVS[11].z),intBitsToFloat(uf_uniformRegisterVS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.w = tempi.x; -// 10 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[19].x), intBitsToFloat(uf_uniformRegisterVS[12].x))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[19].y), intBitsToFloat(uf_uniformRegisterVS[12].y))); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[19].x), intBitsToFloat(uf_uniformRegisterVS[12].y))); -PS0i = R3i.x; -// 11 -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[19].y), intBitsToFloat(uf_uniformRegisterVS[12].x))); -// 12 -predResult = (0 != R0i.w); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.z = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R0i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.y = backupReg0i; -PV0i.y = R1i.y; -R0i.z = 0; -PV0i.z = R0i.z; -R0i.w = 0x3f800000; -PV0i.w = R0i.w; -// 1 -R6i.xyz = ivec3(R1i.x,PV0i.y,PV0i.z); -PV1i.x = R6i.x; -PV1i.y = R6i.y; -PV1i.z = R6i.z; -R6i.w = PV0i.w; -PV1i.w = R6i.w; -// 2 -R7i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -PV0i.x = R7i.x; -PV0i.y = R7i.y; -PV0i.z = R7i.z; -R7i.w = PV1i.w; -PV0i.w = R7i.w; -// 3 -R5i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R5i.w = PV0i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.x = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R124i.z = PV1i.x + PS1i; -PV0i.z = R124i.z; -// 3 -R127i.x = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.x = R127i.x; -R127i.y = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R127i.z = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R126i.w = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -R124i.w = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -PS1i = R124i.w; -// 4 -R124i.y = (R124i.z == int(1))?int(0xFFFFFFFF):int(0x0); -R126i.z = ((PV1i.x == 0)?(uf_uniformRegisterVS[27].y):(uf_uniformRegisterVS[26].y)); -R127i.w = ((PV1i.x == 0)?(uf_uniformRegisterVS[27].x):(uf_uniformRegisterVS[26].x)); -// 5 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = ((backupReg0i == 0)?(uf_uniformRegisterVS[27].w):(uf_uniformRegisterVS[26].w)); -R126i.y = ((backupReg0i == 0)?(uf_uniformRegisterVS[27].z):(uf_uniformRegisterVS[26].z)); -// 6 -R126i.x = ((R127i.z == 0)?(uf_uniformRegisterVS[31].y):(uf_uniformRegisterVS[30].y)); -R125i.y = ((R127i.z == 0)?(uf_uniformRegisterVS[31].x):(uf_uniformRegisterVS[30].x)); -// 7 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R127i.z = ((backupReg0i == 0)?(uf_uniformRegisterVS[31].w):(uf_uniformRegisterVS[30].w)); -R125i.w = ((backupReg0i == 0)?(uf_uniformRegisterVS[31].z):(uf_uniformRegisterVS[30].z)); -// 8 -R125i.z = ((R127i.y == 0)?(uf_uniformRegisterVS[35].y):(uf_uniformRegisterVS[34].y)); -R0i.w = ((R127i.y == 0)?(uf_uniformRegisterVS[35].x):(uf_uniformRegisterVS[34].x)); -// 9 -backupReg0i = R127i.y; -R125i.x = ((R127i.y == 0)?(uf_uniformRegisterVS[35].w):(uf_uniformRegisterVS[34].w)); -R127i.y = ((backupReg0i == 0)?(uf_uniformRegisterVS[35].z):(uf_uniformRegisterVS[34].z)); -// 10 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R127i.w; -R127i.x = ((R126i.w == 0)?(backupReg0i):(uf_uniformRegisterVS[25].w)); -R126i.y = ((R126i.w == 0)?(backupReg1i):(uf_uniformRegisterVS[25].z)); -R126i.z = ((R126i.w == 0)?(backupReg2i):(uf_uniformRegisterVS[25].y)); -R127i.w = ((R126i.w == 0)?(backupReg3i):(uf_uniformRegisterVS[25].x)); -// 11 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -backupReg2i = R127i.z; -backupReg3i = R125i.w; -R126i.x = ((R124i.w == 0)?(backupReg0i):(uf_uniformRegisterVS[29].y)); -R125i.y = ((R124i.w == 0)?(backupReg1i):(uf_uniformRegisterVS[29].x)); -R127i.z = ((R124i.w == 0)?(backupReg2i):(uf_uniformRegisterVS[29].w)); -R125i.w = ((R124i.w == 0)?(backupReg3i):(uf_uniformRegisterVS[29].z)); -// 12 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -backupReg2i = R125i.z; -R125i.x = ((R124i.y == 0)?(backupReg0i):(uf_uniformRegisterVS[33].w)); -R127i.y = ((R124i.y == 0)?(backupReg1i):(uf_uniformRegisterVS[33].z)); -R125i.z = ((R124i.y == 0)?(backupReg2i):(uf_uniformRegisterVS[33].y)); -R124i.w = ((R124i.y == 0)?(R0i.w):(uf_uniformRegisterVS[33].x)); -// 13 -R6i.x = ((R124i.z == 0)?(uf_uniformRegisterVS[24].x):(R127i.w)); -R6i.y = ((R124i.z == 0)?(uf_uniformRegisterVS[24].y):(R126i.z)); -R6i.z = ((R124i.z == 0)?(uf_uniformRegisterVS[24].z):(R126i.y)); -R6i.w = ((R124i.z == 0)?(uf_uniformRegisterVS[24].w):(R127i.x)); -// 14 -R7i.x = ((R124i.z == 0)?(uf_uniformRegisterVS[28].x):(R125i.y)); -R7i.y = ((R124i.z == 0)?(uf_uniformRegisterVS[28].y):(R126i.x)); -R7i.z = ((R124i.z == 0)?(uf_uniformRegisterVS[28].z):(R125i.w)); -R7i.w = ((R124i.z == 0)?(uf_uniformRegisterVS[28].w):(R127i.z)); -// 15 -R5i.x = ((R124i.z == 0)?(uf_uniformRegisterVS[32].x):(R124i.w)); -R5i.y = ((R124i.z == 0)?(uf_uniformRegisterVS[32].y):(R125i.z)); -R5i.z = ((R124i.z == 0)?(uf_uniformRegisterVS[32].z):(R127i.y)); -R5i.w = ((R124i.z == 0)?(uf_uniformRegisterVS[32].w):(R125i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R8i.xyz = ivec3(0x437f0000,0x437f0000,0x437f0000); -R8i.w = 0x437f0000; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = uf_uniformRegisterVS[2].x >> 0x00000008; -R5i.y = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -R0i.z = PV0i.x & 0x0000000f; -// 2 -predResult = (0 != R5i.y); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R6i.y = R1i.y; -R3i.z = 0; -R0i.w = 0x3f800000; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].x)); -// 1 -R5i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_uniformRegisterVS[1].x)); -PV1i.x = R5i.x; -R5i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_uniformRegisterVS[1].y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].y)); -// 2 -R6i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].z) * intBitsToFloat(PS1i)); -PV0i.x = R6i.x; -R7i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].w) * intBitsToFloat(PS1i)); -R7i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R7i.x; -// 3 -R8i.x = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PS0i)); -R2i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PV1i.z = R2i.z; -R9i.x = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -PS1i = R9i.x; -// 4 -R5i.z = floatBitsToInt(-(intBitsToFloat(R7i.y)) + 1.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PV1i.z)); -// 5 -predResult = (R0i.z == 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(backupReg0i))); -R5i.y = R6i.x; -PV0i.y = R5i.y; -// 1 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (R0i.z == int(1)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -backupReg0i = R5i.y; -R5i.y = 0; -PV0i.y = R5i.y; -PV0i.z = R6i.x; -PV0i.w = backupReg0i; -// 1 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R9i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[4] = activeMaskStack[4] == false; -activeMaskStackC[5] = activeMaskStack[4] == true && activeMaskStackC[4] == true; -if( activeMaskStackC[5] == true ) { -activeMaskStack[5] = activeMaskStack[4]; -activeMaskStackC[6] = activeMaskStackC[5]; -// 0 -predResult = (R0i.z == 0x00000002); -activeMaskStack[5] = predResult; -activeMaskStackC[6] = predResult == true && activeMaskStackC[5] == true; -} -else { -activeMaskStack[5] = false; -activeMaskStackC[6] = false; -} -if( activeMaskStackC[6] == true ) { -// 0 -backupReg0i = R7i.y; -R7i.y = backupReg0i; -PV0i.y = R7i.y; -PV0i.z = R5i.z; -PV0i.w = 0; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[5] = activeMaskStack[5] == false; -activeMaskStackC[6] = activeMaskStack[5] == true && activeMaskStackC[5] == true; -if( activeMaskStackC[6] == true ) { -activeMaskStack[6] = activeMaskStack[5]; -activeMaskStackC[7] = activeMaskStackC[6]; -// 0 -predResult = (R0i.z == 0x00000003); -activeMaskStack[6] = predResult; -activeMaskStackC[7] = predResult == true && activeMaskStackC[6] == true; -} -else { -activeMaskStack[6] = false; -activeMaskStackC[7] = false; -} -if( activeMaskStackC[7] == true ) { -// 0 -backupReg0i = R5i.y; -R5i.y = R5i.z; -PV0i.y = R5i.y; -PV0i.z = R7i.y; -PV0i.w = backupReg0i; -// 1 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R9i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[6] = activeMaskStack[6] == false; -activeMaskStackC[7] = activeMaskStack[6] == true && activeMaskStackC[6] == true; -if( activeMaskStackC[7] == true ) { -activeMaskStack[7] = activeMaskStack[6]; -activeMaskStackC[8] = activeMaskStackC[7]; -// 0 -predResult = (R0i.z == 0x00000004); -activeMaskStack[7] = predResult; -activeMaskStackC[8] = predResult == true && activeMaskStackC[7] == true; -} -else { -activeMaskStack[7] = false; -activeMaskStackC[8] = false; -} -if( activeMaskStackC[8] == true ) { -// 0 -R5i.y = R2i.w; -PV0i.y = R5i.y; -PV0i.z = R6i.x; -PV0i.w = 0; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[7] = activeMaskStack[7] == false; -activeMaskStackC[8] = activeMaskStack[7] == true && activeMaskStackC[7] == true; -if( activeMaskStackC[8] == true ) { -activeMaskStack[8] = activeMaskStack[7]; -activeMaskStackC[9] = activeMaskStackC[8]; -// 0 -predResult = (R0i.z == 0x00000005); -activeMaskStack[8] = predResult; -activeMaskStackC[9] = predResult == true && activeMaskStackC[8] == true; -} -else { -activeMaskStack[8] = false; -activeMaskStackC[9] = false; -} -if( activeMaskStackC[9] == true ) { -// 0 -backupReg0i = R5i.y; -R5i.y = R6i.x; -PV0i.y = R5i.y; -PV0i.z = R2i.w; -PV0i.w = backupReg0i; -// 1 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R9i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[8] = activeMaskStack[8] == false; -activeMaskStackC[9] = activeMaskStack[8] == true && activeMaskStackC[8] == true; -if( activeMaskStackC[9] == true ) { -activeMaskStack[9] = activeMaskStack[8]; -activeMaskStackC[10] = activeMaskStackC[9]; -// 0 -predResult = (R0i.z == 0x00000006); -activeMaskStack[9] = predResult; -activeMaskStackC[10] = predResult == true && activeMaskStackC[9] == true; -} -else { -activeMaskStack[9] = false; -activeMaskStackC[10] = false; -} -if( activeMaskStackC[10] == true ) { -// 0 -R5i.y = R6i.x; -PV0i.y = R5i.y; -R7i.y = 0; -PS0i = R7i.y; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(backupReg0i))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PS0i))); -} -activeMaskStack[9] = activeMaskStack[9] == false; -activeMaskStackC[10] = activeMaskStack[9] == true && activeMaskStackC[9] == true; -if( activeMaskStackC[10] == true ) { -activeMaskStack[10] = activeMaskStack[9]; -activeMaskStackC[11] = activeMaskStackC[10]; -// 0 -predResult = (R0i.z == 0x00000007); -activeMaskStack[10] = predResult; -activeMaskStackC[11] = predResult == true && activeMaskStackC[10] == true; -} -else { -activeMaskStack[10] = false; -activeMaskStackC[11] = false; -} -if( activeMaskStackC[11] == true ) { -// 0 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(backupReg0i))); -R5i.y = R7i.y; -PV0i.y = R5i.y; -R7i.y = R5i.z; -PS0i = R7i.y; -// 1 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PS0i))); -} -activeMaskStack[10] = activeMaskStack[10] == false; -activeMaskStackC[11] = activeMaskStack[10] == true && activeMaskStackC[10] == true; -if( activeMaskStackC[11] == true ) { -activeMaskStack[11] = activeMaskStack[10]; -activeMaskStackC[12] = activeMaskStackC[11]; -// 0 -predResult = (R0i.z == 0x00000008); -activeMaskStack[11] = predResult; -activeMaskStackC[12] = predResult == true && activeMaskStackC[11] == true; -} -else { -activeMaskStack[11] = false; -activeMaskStackC[12] = false; -} -if( activeMaskStackC[12] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R9i.x))); -R5i.y = R6i.x; -PV0i.y = R5i.y; -// 1 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -} -activeMaskStack[11] = activeMaskStack[11] == false; -activeMaskStackC[12] = activeMaskStack[11] == true && activeMaskStackC[11] == true; -if( activeMaskStackC[12] == true ) { -activeMaskStack[12] = activeMaskStack[11]; -activeMaskStackC[13] = activeMaskStackC[12]; -// 0 -predResult = (R0i.z == 0x00000009); -activeMaskStack[12] = predResult; -activeMaskStackC[13] = predResult == true && activeMaskStackC[12] == true; -} -else { -activeMaskStack[12] = false; -activeMaskStackC[13] = false; -} -if( activeMaskStackC[13] == true ) { -// 0 -backupReg0i = R5i.y; -R5i.y = 0; -PV0i.y = R5i.y; -PV0i.z = R5i.z; -PV0i.w = backupReg0i; -// 1 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R9i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[12] = activeMaskStack[12] == false; -activeMaskStackC[13] = activeMaskStack[12] == true && activeMaskStackC[12] == true; -if( activeMaskStackC[13] == true ) { -activeMaskStack[13] = activeMaskStack[12]; -activeMaskStackC[14] = activeMaskStackC[13]; -// 0 -predResult = (R0i.z == 0x0000000a); -activeMaskStack[13] = predResult; -activeMaskStackC[14] = predResult == true && activeMaskStackC[13] == true; -} -else { -activeMaskStack[13] = false; -activeMaskStackC[14] = false; -} -if( activeMaskStackC[14] == true ) { -// 0 -R5i.y = R2i.z; -PV0i.y = R5i.y; -PV0i.z = R6i.x; -PV0i.w = 0; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[13] = activeMaskStack[13] == false; -activeMaskStackC[14] = activeMaskStack[13] == true && activeMaskStackC[13] == true; -if( activeMaskStackC[14] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R9i.x))); -R5i.y = R2i.w; -PV0i.y = R5i.y; -R127i.z = (R0i.z == 0x0000000c)?int(0xFFFFFFFF):int(0x0); -PV0i.z = R127i.z; -R127i.w = (R0i.z == 0x0000000b)?int(0xFFFFFFFF):int(0x0); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -R5i.y = R5i.z; -PV1i.y = R5i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(R5i.x))); -PV1i.z = R123i.z; -R123i.w = ((PV0i.z == 0)?(0):(PV0i.x)); -PV1i.w = R123i.w; -// 2 -R5i.x = ((R127i.w == 0)?(PV1i.w):(PV1i.z)); -R123i.z = ((R127i.z == 0)?(0):(PV1i.x)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV1i.y))); -PV0i.w = R123i.w; -// 3 -R5i.y = ((R127i.w == 0)?(PV0i.z):(PV0i.w)); -} -activeMaskStackC[13] = activeMaskStack[12] == true && activeMaskStackC[12] == true; -activeMaskStackC[11] = activeMaskStack[10] == true && activeMaskStackC[10] == true; -activeMaskStackC[9] = activeMaskStack[8] == true && activeMaskStackC[8] == true; -activeMaskStackC[7] = activeMaskStack[6] == true && activeMaskStackC[6] == true; -activeMaskStackC[5] = activeMaskStack[4] == true && activeMaskStackC[4] == true; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R5i.x)) + 1.0); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[20].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[20].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[20].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[20].x))); -// 2 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[22].w)) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[22].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[22].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[22].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[21].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[21].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[21].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[21].x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); -PS1i = R127i.w; -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[23].w)) + intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[23].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[23].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[23].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(backupReg0i))); -PS0i = R126i.z; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.y))); -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R127i.w))); -PS1i = R8i.x; -// 6 -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.z))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.y))); -R8i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R6i.y; -R6i.xyz = ivec3(R1i.x,backupReg0i,R3i.z); -PV1i.x = R6i.x; -PV1i.y = R6i.y; -PV1i.z = R6i.z; -R6i.w = R0i.w; -PV1i.w = R6i.w; -// 8 -R7i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -PV0i.x = R7i.x; -PV0i.y = R7i.y; -PV0i.z = R7i.z; -R7i.w = PV1i.w; -PV0i.w = R7i.w; -// 9 -R5i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R5i.w = PV0i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.z = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R2i.z = PV1i.z + PS1i; -PV0i.z = R2i.z; -// 3 -R127i.x = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.x = R127i.x; -R127i.y = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R127i.z = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R126i.w = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -R124i.w = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -PS1i = R124i.w; -// 4 -R124i.y = (R2i.z == int(1))?int(0xFFFFFFFF):int(0x0); -R126i.z = ((PV1i.x == 0)?(uf_uniformRegisterVS[27].y):(uf_uniformRegisterVS[26].y)); -R127i.w = ((PV1i.x == 0)?(uf_uniformRegisterVS[27].x):(uf_uniformRegisterVS[26].x)); -// 5 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = ((backupReg0i == 0)?(uf_uniformRegisterVS[27].w):(uf_uniformRegisterVS[26].w)); -R126i.y = ((backupReg0i == 0)?(uf_uniformRegisterVS[27].z):(uf_uniformRegisterVS[26].z)); -// 6 -R126i.x = ((R127i.z == 0)?(uf_uniformRegisterVS[31].y):(uf_uniformRegisterVS[30].y)); -R125i.y = ((R127i.z == 0)?(uf_uniformRegisterVS[31].x):(uf_uniformRegisterVS[30].x)); -// 7 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R127i.z = ((backupReg0i == 0)?(uf_uniformRegisterVS[31].w):(uf_uniformRegisterVS[30].w)); -R125i.w = ((backupReg0i == 0)?(uf_uniformRegisterVS[31].z):(uf_uniformRegisterVS[30].z)); -// 8 -R125i.z = ((R127i.y == 0)?(uf_uniformRegisterVS[35].y):(uf_uniformRegisterVS[34].y)); -R0i.w = ((R127i.y == 0)?(uf_uniformRegisterVS[35].x):(uf_uniformRegisterVS[34].x)); -// 9 -backupReg0i = R127i.y; -R125i.x = ((R127i.y == 0)?(uf_uniformRegisterVS[35].w):(uf_uniformRegisterVS[34].w)); -R127i.y = ((backupReg0i == 0)?(uf_uniformRegisterVS[35].z):(uf_uniformRegisterVS[34].z)); -// 10 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R127i.w; -R127i.x = ((R126i.w == 0)?(backupReg0i):(uf_uniformRegisterVS[25].w)); -R126i.y = ((R126i.w == 0)?(backupReg1i):(uf_uniformRegisterVS[25].z)); -R126i.z = ((R126i.w == 0)?(backupReg2i):(uf_uniformRegisterVS[25].y)); -R127i.w = ((R126i.w == 0)?(backupReg3i):(uf_uniformRegisterVS[25].x)); -// 11 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -backupReg2i = R127i.z; -backupReg3i = R125i.w; -R126i.x = ((R124i.w == 0)?(backupReg0i):(uf_uniformRegisterVS[29].y)); -R125i.y = ((R124i.w == 0)?(backupReg1i):(uf_uniformRegisterVS[29].x)); -R127i.z = ((R124i.w == 0)?(backupReg2i):(uf_uniformRegisterVS[29].w)); -R125i.w = ((R124i.w == 0)?(backupReg3i):(uf_uniformRegisterVS[29].z)); -// 12 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -backupReg2i = R125i.z; -R125i.x = ((R124i.y == 0)?(backupReg0i):(uf_uniformRegisterVS[33].w)); -R127i.y = ((R124i.y == 0)?(backupReg1i):(uf_uniformRegisterVS[33].z)); -R125i.z = ((R124i.y == 0)?(backupReg2i):(uf_uniformRegisterVS[33].y)); -R124i.w = ((R124i.y == 0)?(R0i.w):(uf_uniformRegisterVS[33].x)); -// 13 -R6i.x = ((R2i.z == 0)?(uf_uniformRegisterVS[24].x):(R127i.w)); -R6i.y = ((R2i.z == 0)?(uf_uniformRegisterVS[24].y):(R126i.z)); -R6i.z = ((R2i.z == 0)?(uf_uniformRegisterVS[24].z):(R126i.y)); -R6i.w = ((R2i.z == 0)?(uf_uniformRegisterVS[24].w):(R127i.x)); -// 14 -R7i.x = ((R2i.z == 0)?(uf_uniformRegisterVS[28].x):(R125i.y)); -R7i.y = ((R2i.z == 0)?(uf_uniformRegisterVS[28].y):(R126i.x)); -R7i.z = ((R2i.z == 0)?(uf_uniformRegisterVS[28].z):(R125i.w)); -R7i.w = ((R2i.z == 0)?(uf_uniformRegisterVS[28].w):(R127i.z)); -// 15 -R5i.x = ((R2i.z == 0)?(uf_uniformRegisterVS[32].x):(R124i.w)); -R5i.y = ((R2i.z == 0)?(uf_uniformRegisterVS[32].y):(R125i.z)); -R5i.z = ((R2i.z == 0)?(uf_uniformRegisterVS[32].z):(R127i.y)); -R5i.w = ((R2i.z == 0)?(uf_uniformRegisterVS[32].w):(R125i.x)); -// 16 -predResult = (R0i.z == 0x0000000d); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].y)); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].w) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].z) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].x)); -// 2 -R127i.x = PV1i.z; -R127i.y = PV1i.w; -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_uniformRegisterVS[1].x)); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_uniformRegisterVS[1].y)); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -// 5 -backupReg0i = R127i.z; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -PV1i.w = R126i.w; -// 6 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[20].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[20].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[20].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[20].x))); -// 8 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[22].w)) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[22].z)) + intBitsToFloat(PV1i.y))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[22].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[22].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[21].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[21].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[21].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[21].x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); -PS1i = R127i.w; -// 10 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -backupReg1i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[23].w)) + intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[23].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_uniformRegisterVS[23].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_uniformRegisterVS[23].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(backupReg1i))); -PS0i = R126i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.y))); -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PV0i.w)) + intBitsToFloat(R127i.w))); -PS1i = R8i.x; -// 12 -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.z))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.y))); -R8i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = floatBitsToInt(float(R2i.z)); -PS0i = R127i.x; -// 1 -tempResultf = intBitsToFloat(PS0i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV1i.x = floatBitsToInt(tempResultf); -// 2 -R8i.xyz = ivec3(uf_uniformRegisterVS[ARi.x+20].x,uf_uniformRegisterVS[ARi.x+20].y,uf_uniformRegisterVS[ARi.x+20].z); -R8i.w = uf_uniformRegisterVS[ARi.x+20].w; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (0 != uf_uniformRegisterVS[3].x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[24].x),intBitsToFloat(uf_uniformRegisterVS[24].y),intBitsToFloat(uf_uniformRegisterVS[24].z),intBitsToFloat(uf_uniformRegisterVS[24].w)))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 1 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[25].x),intBitsToFloat(uf_uniformRegisterVS[25].y),intBitsToFloat(uf_uniformRegisterVS[25].z),intBitsToFloat(uf_uniformRegisterVS[25].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[26].x),intBitsToFloat(uf_uniformRegisterVS[26].y),intBitsToFloat(uf_uniformRegisterVS[26].z),intBitsToFloat(uf_uniformRegisterVS[26].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[27].x),intBitsToFloat(uf_uniformRegisterVS[27].y),intBitsToFloat(uf_uniformRegisterVS[27].z),intBitsToFloat(uf_uniformRegisterVS[27].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.z = uf_uniformRegisterVS[2].x & int(1); -// 1 -predResult = (0 != R0i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R1i.y = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R1i.y); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = uf_uniformRegisterVS[2].x & 0x00010000; -R127i.y = uf_uniformRegisterVS[2].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_uniformRegisterVS[2].x & 0x00000004; -R127i.w = uf_uniformRegisterVS[2].x & 0x00000020; -// 1 -R123i.x = ((PV0i.y == 0)?(R6i.w):(R6i.w)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R6i.z):(R6i.z)); -PV1i.y = R123i.y; -R126i.z = ((PV0i.x == 0)?(R2i.y):(R3i.y)); -PV1i.z = R126i.z; -R123i.w = ((PV0i.x == 0)?(R2i.x):(R3i.x)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.y == 0)?(R6i.y):(R6i.y)); -PS1i = R127i.z; -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R1i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.z))); -R123i.w = ((R127i.w == 0)?(PV1i.y):(PV1i.y)); -PV0i.w = R123i.w; -R122i.x = ((R127i.w == 0)?(PV1i.x):(PV1i.x)); -PS0i = R122i.x; -// 3 -backupReg0i = R127i.y; -R123i.x = ((R127i.w == 0)?(R127i.z):(PV0i.z)); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R127i.z = ((R125i.z == 0)?(PV0i.w):(PV0i.w)); -R123i.w = ((backupReg0i == 0)?(R6i.x):(PV0i.x)); -PV1i.w = R123i.w; -R124i.z = ((R125i.z == 0)?(PS0i):(PS0i)); -PS1i = R124i.z; -// 4 -R127i.x = ((R125i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R127i.x; -R125i.y = ((R127i.w == 0)?(PV1i.w):(PV1i.w)); -PV0i.y = R125i.y; -R126i.z = uf_uniformRegisterVS[2].x & 0x00000008; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R126i.y)); -// 6 -R123i.y = ((R125i.z == 0)?(R125i.y):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R6i.x = ((R126i.z == 0)?(PV0i.y):(PV0i.y)); -R6i.y = ((R126i.z == 0)?(R127i.x):(R126i.x)); -R6i.z = ((R126i.z == 0)?(R127i.z):(R127i.z)); -// 8 -R6i.w = ((R126i.z == 0)?(R124i.z):(R124i.z)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt(-(intBitsToFloat(R6i.x)) + 1.0); -PV0i.x = R1i.x; -R126i.y = uf_uniformRegisterVS[2].x & 0x00010000; -R127i.z = uf_uniformRegisterVS[2].x & 0x00040000; -PV0i.w = uf_uniformRegisterVS[2].x & 0x00020000; -// 1 -R123i.x = ((PV0i.w == 0)?(R6i.z):(R6i.z)); -PV1i.x = R123i.x; -R127i.y = ((PV0i.w == 0)?(R6i.y):(R6i.y)); -PV1i.y = R127i.y; -R123i.z = ((PV0i.w == 0)?(R6i.x):(PV0i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.w == 0)?(R6i.w):(R6i.w)); -PV1i.w = R123i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R126i.z = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -R127i.w = ((R127i.z == 0)?(PV1i.w):(PV1i.w)); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.y):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R6i.x = ((R126i.y == 0)?(R127i.x):(PV1i.w)); -R6i.y = ((R126i.y == 0)?(PV1i.w):(R127i.x)); -R6i.z = ((R126i.y == 0)?(R126i.z):(R126i.z)); -R6i.w = ((R126i.y == 0)?(R127i.w):(R127i.w)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[14].x),intBitsToFloat(uf_uniformRegisterVS[14].y),intBitsToFloat(uf_uniformRegisterVS[14].z),intBitsToFloat(uf_uniformRegisterVS[14].w)))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -// 1 -backupReg0i = R6i.x; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[13].x),intBitsToFloat(uf_uniformRegisterVS[13].y),intBitsToFloat(uf_uniformRegisterVS[13].z),intBitsToFloat(uf_uniformRegisterVS[13].w)))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R1i.y = PV0i.x; -PS1i = R1i.y; -// 2 -R6i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R6i.w = R127i.x; -// 3 -predResult = (0 != uf_uniformRegisterVS[3].y); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[28].x),intBitsToFloat(uf_uniformRegisterVS[28].y),intBitsToFloat(uf_uniformRegisterVS[28].z),intBitsToFloat(uf_uniformRegisterVS[28].w)))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -// 1 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[29].x),intBitsToFloat(uf_uniformRegisterVS[29].y),intBitsToFloat(uf_uniformRegisterVS[29].z),intBitsToFloat(uf_uniformRegisterVS[29].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[30].x),intBitsToFloat(uf_uniformRegisterVS[30].y),intBitsToFloat(uf_uniformRegisterVS[30].z),intBitsToFloat(uf_uniformRegisterVS[30].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[31].x),intBitsToFloat(uf_uniformRegisterVS[31].y),intBitsToFloat(uf_uniformRegisterVS[31].z),intBitsToFloat(uf_uniformRegisterVS[31].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.w = uf_uniformRegisterVS[2].x & int(1); -// 1 -predResult = (0 != R0i.w); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R0i.z = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R0i.z); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_uniformRegisterVS[2].x & 0x00000020; -R127i.y = uf_uniformRegisterVS[2].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_uniformRegisterVS[2].x & 0x00000004; -PV0i.w = uf_uniformRegisterVS[2].x & 0x00010000; -// 1 -R123i.x = ((PV0i.w == 0)?(R2i.y):(R3i.y)); -PV1i.x = R123i.x; -R123i.z = ((PV0i.w == 0)?(R2i.x):(R3i.x)); -PV1i.z = R123i.z; -R125i.w = uf_uniformRegisterVS[2].x & 0x00000008; -R127i.z = ((PV0i.y == 0)?(R7i.y):(R7i.y)); -PS1i = R127i.z; -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV1i.z))); -PV0i.x = R1i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -// 3 -R123i.z = ((R127i.x == 0)?(R127i.z):(PV0i.y)); -PV1i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R7i.x):(PV0i.x)); -PV1i.w = R123i.w; -// 4 -backupReg0i = R127i.x; -R127i.x = ((R125i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.x = R127i.x; -R126i.w = ((backupReg0i == 0)?(PV1i.w):(PV1i.w)); -PV0i.w = R126i.w; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R126i.z)); -// 6 -R123i.y = ((R125i.z == 0)?(R126i.w):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R7i.x = ((R125i.w == 0)?(PV0i.y):(PV0i.y)); -R7i.y = ((R125i.w == 0)?(R127i.x):(R126i.x)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt(-(intBitsToFloat(R7i.x)) + 1.0); -PV0i.x = R1i.x; -PV0i.y = uf_uniformRegisterVS[2].x & 0x00020000; -R127i.z = uf_uniformRegisterVS[2].x & 0x00040000; -R126i.w = uf_uniformRegisterVS[2].x & 0x00010000; -// 1 -R123i.x = ((PV0i.y == 0)?(R7i.x):(PV0i.x)); -PV1i.x = R123i.x; -R127i.w = ((PV0i.y == 0)?(R7i.y):(R7i.y)); -PV1i.w = R127i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.w):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R7i.x = ((R126i.w == 0)?(R127i.x):(PV1i.w)); -R7i.y = ((R126i.w == 0)?(PV1i.w):(R127i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[16].x),intBitsToFloat(uf_uniformRegisterVS[16].y),intBitsToFloat(uf_uniformRegisterVS[16].z),intBitsToFloat(uf_uniformRegisterVS[16].w)))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -// 1 -backupReg0i = R7i.x; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[15].x),intBitsToFloat(uf_uniformRegisterVS[15].y),intBitsToFloat(uf_uniformRegisterVS[15].z),intBitsToFloat(uf_uniformRegisterVS[15].w)))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R1i.y = PV0i.x; -PS1i = R1i.y; -// 2 -R7i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R7i.w = R127i.x; -// 3 -predResult = (0 != uf_uniformRegisterVS[3].z); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[32].x),intBitsToFloat(uf_uniformRegisterVS[32].y),intBitsToFloat(uf_uniformRegisterVS[32].z),intBitsToFloat(uf_uniformRegisterVS[32].w)))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -// 1 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[33].x),intBitsToFloat(uf_uniformRegisterVS[33].y),intBitsToFloat(uf_uniformRegisterVS[33].z),intBitsToFloat(uf_uniformRegisterVS[33].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[34].x),intBitsToFloat(uf_uniformRegisterVS[34].y),intBitsToFloat(uf_uniformRegisterVS[34].z),intBitsToFloat(uf_uniformRegisterVS[34].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[35].x),intBitsToFloat(uf_uniformRegisterVS[35].y),intBitsToFloat(uf_uniformRegisterVS[35].z),intBitsToFloat(uf_uniformRegisterVS[35].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.x = uf_uniformRegisterVS[2].x & int(1); -// 1 -backupReg0i = R0i.x; -predResult = (0 != backupReg0i); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R0i.w = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R0i.w); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_uniformRegisterVS[2].x & 0x00000020; -R127i.y = uf_uniformRegisterVS[2].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_uniformRegisterVS[2].x & 0x00000004; -PV0i.w = uf_uniformRegisterVS[2].x & 0x00010000; -// 1 -R123i.x = ((PV0i.w == 0)?(R2i.y):(R3i.y)); -PV1i.x = R123i.x; -R123i.z = ((PV0i.w == 0)?(R2i.x):(R3i.x)); -PV1i.z = R123i.z; -R125i.w = uf_uniformRegisterVS[2].x & 0x00000008; -R127i.z = ((PV0i.y == 0)?(R5i.y):(R5i.y)); -PS1i = R127i.z; -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); -PV0i.x = R0i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -// 3 -R123i.z = ((R127i.x == 0)?(R127i.z):(PV0i.y)); -PV1i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R5i.x):(PV0i.x)); -PV1i.w = R123i.w; -// 4 -backupReg0i = R127i.x; -R127i.x = ((R125i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.x = R127i.x; -R126i.w = ((backupReg0i == 0)?(PV1i.w):(PV1i.w)); -PV0i.w = R126i.w; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R126i.z)); -// 6 -R123i.y = ((R125i.z == 0)?(R126i.w):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R5i.x = ((R125i.w == 0)?(PV0i.y):(PV0i.y)); -R5i.y = ((R125i.w == 0)?(R127i.x):(R126i.x)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt(-(intBitsToFloat(R5i.x)) + 1.0); -PV0i.x = R0i.x; -PV0i.y = uf_uniformRegisterVS[2].x & 0x00020000; -R127i.z = uf_uniformRegisterVS[2].x & 0x00040000; -R126i.w = uf_uniformRegisterVS[2].x & 0x00010000; -// 1 -R123i.x = ((PV0i.y == 0)?(R5i.x):(PV0i.x)); -PV1i.x = R123i.x; -R127i.w = ((PV0i.y == 0)?(R5i.y):(R5i.y)); -PV1i.w = R127i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.w):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R5i.x = ((R126i.w == 0)?(R127i.x):(PV1i.w)); -R5i.y = ((R126i.w == 0)?(PV1i.w):(R127i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[18].x),intBitsToFloat(uf_uniformRegisterVS[18].y),intBitsToFloat(uf_uniformRegisterVS[18].z),intBitsToFloat(uf_uniformRegisterVS[18].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = PV0i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(uf_uniformRegisterVS[0].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(uf_uniformRegisterVS[0].z))); -R1i.w = PV0i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(uf_uniformRegisterVS[0].x))); -PS1i = R0i.x; -// 2 -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[17].x),intBitsToFloat(uf_uniformRegisterVS[17].y),intBitsToFloat(uf_uniformRegisterVS[17].z),intBitsToFloat(uf_uniformRegisterVS[17].w)))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -R1i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R1i.y; -// 3 -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(uf_uniformRegisterVS[0].w))); -} -// export -gl_Position = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -if (isCurrentSizeEqualTo(vec2(32, 32)) || - isCurrentSizeEqualTo(vec2(64, 64)) // hearts while taking damage - ) { - gl_Position.y -= 9000.0; -} -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.x), intBitsToFloat(R6i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.x), intBitsToFloat(R7i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.x), intBitsToFloat(R1i.w)); -} diff --git a/Enhancement/BreathOfTheWild_Pro+/b88c6020a8b17332_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_Pro+/b88c6020a8b17332_0000000000000000_vs.txt deleted file mode 100644 index 96c328ff..00000000 --- a/Enhancement/BreathOfTheWild_Pro+/b88c6020a8b17332_0000000000000000_vs.txt +++ /dev/null @@ -1,480 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader b88c6020a8b17332 -// PRO+ hud v2 -uniform ivec4 uf_remappedVS[17]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -bool isCurrentSizeEqualTo(vec2 param) { - float result = distance(param, intBitsToFloat(uf_remappedVS[0]).xy); - return (result <= 0.001); -} -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedVS[0].x))); -R0i.yzw = ivec3(floatBitsToInt(-(intBitsToFloat(R1i.y))),0,0x3f800000); -PV0i.y = R0i.y; -R127i.w = floatBitsToInt(1.0); -PS0i = R127i.w; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedVS[0].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedVS[0].y))); -// 2 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(uf_remappedVS[0].w)); -PV0i.y = R0i.y; -R1i.w = uf_remappedVS[1].x & 0x40000000; -// 3 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -// 4 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -// 6 -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w)))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.y = tempi.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = tempi.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.w = tempi.x; -// 10 -predResult = (0 != R1i.w); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R1i.z = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R1i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.yzw = ivec3(backupReg0i,0,0x3f800000); -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.x = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R126i.z = PV1i.x + PS1i; -PV0i.z = R126i.z; -// 3 -R127i.x = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.x = R127i.x; -R127i.y = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -// 4 -R127i.z = ((PV1i.x == 0)?(uf_remappedVS[9].y):(uf_remappedVS[10].y)); -R127i.w = ((PV1i.x == 0)?(uf_remappedVS[9].x):(uf_remappedVS[10].x)); -// 5 -R123i.x = ((R127i.x == 0)?(uf_remappedVS[9].w):(uf_remappedVS[10].w)); -PV1i.x = R123i.x; -R123i.y = ((R127i.x == 0)?(uf_remappedVS[9].z):(uf_remappedVS[10].z)); -PV1i.y = R123i.y; -// 6 -R123i.x = ((R127i.y == 0)?(PV1i.x):(uf_remappedVS[11].w)); -PV0i.x = R123i.x; -R123i.y = ((R127i.y == 0)?(PV1i.y):(uf_remappedVS[11].z)); -PV0i.y = R123i.y; -R123i.z = ((R127i.y == 0)?(R127i.z):(uf_remappedVS[11].y)); -PV0i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R127i.w):(uf_remappedVS[11].x)); -PV0i.w = R123i.w; -// 7 -R1i.x = ((R126i.z == 0)?(uf_remappedVS[12].x):(PV0i.w)); -R1i.y = ((R126i.z == 0)?(uf_remappedVS[12].y):(PV0i.z)); -R1i.z = ((R126i.z == 0)?(uf_remappedVS[12].z):(PV0i.y)); -R1i.w = ((R126i.z == 0)?(uf_remappedVS[12].w):(PV0i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R1i.w = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R1i.w); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.yzw = ivec3(backupReg0i,0,0x3f800000); -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.x = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R126i.z = PV1i.x + PS1i; -PV0i.z = R126i.z; -// 3 -R127i.x = (PV0i.z == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.x = R127i.x; -R127i.y = (PV0i.z == int(1))?int(0xFFFFFFFF):int(0x0); -// 4 -R127i.z = ((PV1i.x == 0)?(uf_remappedVS[9].y):(uf_remappedVS[10].y)); -R127i.w = ((PV1i.x == 0)?(uf_remappedVS[9].x):(uf_remappedVS[10].x)); -// 5 -R123i.x = ((R127i.x == 0)?(uf_remappedVS[9].w):(uf_remappedVS[10].w)); -PV1i.x = R123i.x; -R123i.y = ((R127i.x == 0)?(uf_remappedVS[9].z):(uf_remappedVS[10].z)); -PV1i.y = R123i.y; -// 6 -R123i.x = ((R127i.y == 0)?(PV1i.x):(uf_remappedVS[11].w)); -PV0i.x = R123i.x; -R123i.y = ((R127i.y == 0)?(PV1i.y):(uf_remappedVS[11].z)); -PV0i.y = R123i.y; -R123i.z = ((R127i.y == 0)?(R127i.z):(uf_remappedVS[11].y)); -PV0i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R127i.w):(uf_remappedVS[11].x)); -PV0i.w = R123i.w; -// 7 -R1i.x = ((R126i.z == 0)?(uf_remappedVS[12].x):(PV0i.w)); -R1i.y = ((R126i.z == 0)?(uf_remappedVS[12].y):(PV0i.z)); -R1i.z = ((R126i.z == 0)?(uf_remappedVS[12].z):(PV0i.y)); -R1i.w = ((R126i.z == 0)?(uf_remappedVS[12].w):(PV0i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (0 != uf_remappedVS[13].x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w)))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.x = uf_remappedVS[1].x & int(1); -// 1 -backupReg0i = R0i.x; -predResult = (0 != backupReg0i); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R0i.w = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R0i.w); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].x & 0x00010000; -R127i.y = uf_remappedVS[1].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_remappedVS[1].x & 0x00000004; -R127i.w = uf_remappedVS[1].x & 0x00000020; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y), intBitsToFloat(uf_remappedVS[14].y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x), intBitsToFloat(uf_remappedVS[14].x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y), intBitsToFloat(uf_remappedVS[14].x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x), intBitsToFloat(uf_remappedVS[14].y))); -R127i.z = ((PV0i.y == 0)?(R1i.y):(R1i.y)); -PS1i = R127i.z; -// 2 -R123i.x = ((R127i.y == 0)?(R1i.w):(R1i.w)); -PV0i.x = R123i.x; -R123i.y = ((R127i.y == 0)?(R1i.z):(R1i.z)); -PV0i.y = R123i.y; -R126i.z = ((R127i.x == 0)?(PV1i.x):(PV1i.z)); -PV0i.z = R126i.z; -R123i.w = ((R127i.x == 0)?(PV1i.y):(PV1i.w)); -PV0i.w = R123i.w; -R124i.y = uf_remappedVS[1].x & 0x00000008; -PS0i = R124i.y; -// 3 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PV1i.x = R0i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R123i.w = ((R127i.w == 0)?(PV0i.y):(PV0i.y)); -PV1i.w = R123i.w; -R122i.x = ((R127i.w == 0)?(PV0i.x):(PV0i.x)); -PS1i = R122i.x; -// 4 -backupReg0i = R127i.y; -R123i.x = ((R127i.w == 0)?(R127i.z):(PV1i.z)); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R127i.z = ((R125i.z == 0)?(PV1i.w):(PV1i.w)); -R123i.w = ((backupReg0i == 0)?(R1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R126i.z = ((R125i.z == 0)?(PS1i):(PS1i)); -PS0i = R126i.z; -// 5 -R127i.x = ((R125i.z == 0)?(PV0i.x):(PV0i.x)); -PV1i.x = R127i.x; -R125i.y = ((R127i.w == 0)?(PV0i.w):(PV0i.w)); -PV1i.y = R125i.y; -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.y)); -// 7 -R123i.y = ((R125i.z == 0)?(R125i.y):(PV0i.z)); -PV1i.y = R123i.y; -// 8 -R1i.x = ((R124i.y == 0)?(PV1i.y):(PV1i.y)); -R1i.y = ((R124i.y == 0)?(R127i.x):(R126i.x)); -R1i.z = ((R124i.y == 0)?(R127i.z):(R127i.z)); -R1i.w = ((R124i.y == 0)?(R126i.z):(R126i.z)); -PS0i = R1i.w; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt(-(intBitsToFloat(R1i.x)) + 1.0); -PV0i.x = R0i.x; -R126i.y = uf_remappedVS[1].x & 0x00010000; -R127i.z = uf_remappedVS[1].x & 0x00040000; -PV0i.w = uf_remappedVS[1].x & 0x00020000; -// 1 -R123i.x = ((PV0i.w == 0)?(R1i.z):(R1i.z)); -PV1i.x = R123i.x; -R127i.y = ((PV0i.w == 0)?(R1i.y):(R1i.y)); -PV1i.y = R127i.y; -R123i.z = ((PV0i.w == 0)?(R1i.x):(PV0i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.w == 0)?(R1i.w):(R1i.w)); -PV1i.w = R123i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R126i.z = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -R127i.w = ((R127i.z == 0)?(PV1i.w):(PV1i.w)); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.y):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R1i.x = ((R126i.y == 0)?(R127i.x):(PV1i.w)); -R1i.y = ((R126i.y == 0)?(PV1i.w):(R127i.x)); -R1i.z = ((R126i.y == 0)?(R126i.z):(R126i.z)); -R1i.w = ((R126i.y == 0)?(R127i.w):(R127i.w)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = PV0i.x; -R0i.w = PV0i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedVS[16].w))); -// 2 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),intBitsToFloat(PS1i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),1.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R0i.y; -} -// export -gl_Position = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -if (//isCurrentSizeEqualTo(vec2(36, 36)) || //master mode logo - isCurrentSizeEqualTo(vec2(80, 80)) || - isCurrentSizeEqualTo(vec2(84, 84)) || - isCurrentSizeEqualTo(vec2(90, 90)) //stamina red with weapon - ) { - gl_Position.y -= 9000.0; -} -if (isCurrentSizeEqualTo(vec2(32, 32)) && // hearts but also inventory icons - (uf_remappedVS[3].w == 1133903872 || uf_remappedVS[3].w == 1134559232)) { - gl_Position.y -= 9000.0; -} -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.x), intBitsToFloat(R0i.w)); -} diff --git a/Enhancement/BreathOfTheWild_Pro+/f56fcbd319ceba00_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_Pro+/f56fcbd319ceba00_0000000000000000_vs.txt deleted file mode 100644 index 4ac461dc..00000000 --- a/Enhancement/BreathOfTheWild_Pro+/f56fcbd319ceba00_0000000000000000_vs.txt +++ /dev/null @@ -1,715 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader f56fcbd319ceba00 -// PRO+ hud v2 -uniform ivec4 uf_remappedVS[23]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -bool isCurrentSizeEqualTo(vec2 param) { - float result = distance(param, intBitsToFloat(uf_remappedVS[0]).xy); - return (result <= 0.001); -} -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedVS[0].x))); -R0i.yzw = ivec3(floatBitsToInt(-(intBitsToFloat(R1i.y))),0,0x3f800000); -PV0i.y = R0i.y; -R127i.w = floatBitsToInt(1.0); -PS0i = R127i.w; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedVS[0].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedVS[0].y))); -// 2 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(uf_remappedVS[0].w)); -PV0i.y = R0i.y; -R1i.w = uf_remappedVS[1].x & 0x40000000; -// 3 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -// 4 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -// 6 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w)))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.w = tempi.x; -// 10 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x), intBitsToFloat(uf_remappedVS[9].x))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y), intBitsToFloat(uf_remappedVS[9].y))); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x), intBitsToFloat(uf_remappedVS[9].y))); -PS0i = R3i.x; -// 11 -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y), intBitsToFloat(uf_remappedVS[9].x))); -// 12 -predResult = (0 != R1i.w); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R1i.z = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R1i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.yzw = ivec3(backupReg0i,0,0x3f800000); -PV0i.y = R1i.y; -PV0i.z = R1i.z; -PV0i.w = R1i.w; -// 1 -R4i.xyz = ivec3(R1i.x,PV0i.y,PV0i.z); -R4i.w = PV0i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.z = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R125i.x = PV1i.z + PS1i; -PV0i.x = R125i.x; -// 3 -R127i.x = (PV0i.x == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R125i.y = (PV0i.x == int(1))?int(0xFFFFFFFF):int(0x0); -R127i.z = (PV0i.x == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.z = R127i.z; -R126i.w = (PV0i.x == int(1))?int(0xFFFFFFFF):int(0x0); -// 4 -R126i.x = ((PV1i.z == 0)?(uf_remappedVS[10].y):(uf_remappedVS[11].y)); -R127i.y = ((PV1i.z == 0)?(uf_remappedVS[10].x):(uf_remappedVS[11].x)); -// 5 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R127i.z = ((backupReg0i == 0)?(uf_remappedVS[10].w):(uf_remappedVS[11].w)); -R127i.w = ((backupReg0i == 0)?(uf_remappedVS[10].z):(uf_remappedVS[11].z)); -// 6 -R126i.z = ((R127i.x == 0)?(uf_remappedVS[12].y):(uf_remappedVS[13].y)); -R125i.w = ((R127i.x == 0)?(uf_remappedVS[12].x):(uf_remappedVS[13].x)); -// 7 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = ((backupReg0i == 0)?(uf_remappedVS[12].w):(uf_remappedVS[13].w)); -R126i.y = ((backupReg0i == 0)?(uf_remappedVS[12].z):(uf_remappedVS[13].z)); -// 8 -backupReg0i = R126i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R126i.x = ((R126i.w == 0)?(backupReg0i):(uf_remappedVS[14].y)); -R127i.y = ((R126i.w == 0)?(backupReg1i):(uf_remappedVS[14].x)); -R127i.z = ((R126i.w == 0)?(backupReg2i):(uf_remappedVS[14].w)); -R127i.w = ((R126i.w == 0)?(backupReg3i):(uf_remappedVS[14].z)); -// 9 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R125i.w; -R127i.x = ((R125i.y == 0)?(backupReg0i):(uf_remappedVS[15].w)); -R126i.y = ((R125i.y == 0)?(backupReg1i):(uf_remappedVS[15].z)); -R126i.z = ((R125i.y == 0)?(backupReg2i):(uf_remappedVS[15].y)); -R125i.w = ((R125i.y == 0)?(backupReg3i):(uf_remappedVS[15].x)); -// 10 -R1i.x = ((R125i.x == 0)?(uf_remappedVS[16].x):(R127i.y)); -R1i.y = ((R125i.x == 0)?(uf_remappedVS[16].y):(R126i.x)); -R1i.z = ((R125i.x == 0)?(uf_remappedVS[16].z):(R127i.w)); -R1i.w = ((R125i.x == 0)?(uf_remappedVS[16].w):(R127i.z)); -// 11 -R4i.x = ((R125i.x == 0)?(uf_remappedVS[17].x):(R125i.w)); -R4i.y = ((R125i.x == 0)?(uf_remappedVS[17].y):(R126i.z)); -R4i.z = ((R125i.x == 0)?(uf_remappedVS[17].z):(R126i.y)); -R4i.w = ((R125i.x == 0)?(uf_remappedVS[17].w):(R127i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R4i.y = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R4i.y); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.yzw = ivec3(backupReg0i,0,0x3f800000); -PV0i.y = R1i.y; -PV0i.z = R1i.z; -PV0i.w = R1i.w; -// 1 -R4i.xyz = ivec3(R1i.x,PV0i.y,PV0i.z); -R4i.w = PV0i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.z = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R125i.x = PV1i.z + PS1i; -PV0i.x = R125i.x; -// 3 -R127i.x = (PV0i.x == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R125i.y = (PV0i.x == int(1))?int(0xFFFFFFFF):int(0x0); -R127i.z = (PV0i.x == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.z = R127i.z; -R126i.w = (PV0i.x == int(1))?int(0xFFFFFFFF):int(0x0); -// 4 -R126i.x = ((PV1i.z == 0)?(uf_remappedVS[10].y):(uf_remappedVS[11].y)); -R127i.y = ((PV1i.z == 0)?(uf_remappedVS[10].x):(uf_remappedVS[11].x)); -// 5 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R127i.z = ((backupReg0i == 0)?(uf_remappedVS[10].w):(uf_remappedVS[11].w)); -R127i.w = ((backupReg0i == 0)?(uf_remappedVS[10].z):(uf_remappedVS[11].z)); -// 6 -R126i.z = ((R127i.x == 0)?(uf_remappedVS[12].y):(uf_remappedVS[13].y)); -R125i.w = ((R127i.x == 0)?(uf_remappedVS[12].x):(uf_remappedVS[13].x)); -// 7 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = ((backupReg0i == 0)?(uf_remappedVS[12].w):(uf_remappedVS[13].w)); -R126i.y = ((backupReg0i == 0)?(uf_remappedVS[12].z):(uf_remappedVS[13].z)); -// 8 -backupReg0i = R126i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R126i.x = ((R126i.w == 0)?(backupReg0i):(uf_remappedVS[14].y)); -R127i.y = ((R126i.w == 0)?(backupReg1i):(uf_remappedVS[14].x)); -R127i.z = ((R126i.w == 0)?(backupReg2i):(uf_remappedVS[14].w)); -R127i.w = ((R126i.w == 0)?(backupReg3i):(uf_remappedVS[14].z)); -// 9 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R125i.w; -R127i.x = ((R125i.y == 0)?(backupReg0i):(uf_remappedVS[15].w)); -R126i.y = ((R125i.y == 0)?(backupReg1i):(uf_remappedVS[15].z)); -R126i.z = ((R125i.y == 0)?(backupReg2i):(uf_remappedVS[15].y)); -R125i.w = ((R125i.y == 0)?(backupReg3i):(uf_remappedVS[15].x)); -// 10 -R1i.x = ((R125i.x == 0)?(uf_remappedVS[16].x):(R127i.y)); -R1i.y = ((R125i.x == 0)?(uf_remappedVS[16].y):(R126i.x)); -R1i.z = ((R125i.x == 0)?(uf_remappedVS[16].z):(R127i.w)); -R1i.w = ((R125i.x == 0)?(uf_remappedVS[16].w):(R127i.z)); -// 11 -R4i.x = ((R125i.x == 0)?(uf_remappedVS[17].x):(R125i.w)); -R4i.y = ((R125i.x == 0)?(uf_remappedVS[17].y):(R126i.z)); -R4i.z = ((R125i.x == 0)?(uf_remappedVS[17].z):(R126i.y)); -R4i.w = ((R125i.x == 0)?(uf_remappedVS[17].w):(R127i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (0 != uf_remappedVS[18].x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R6i.x = uf_remappedVS[1].x & int(1); -// 1 -predResult = (0 != R6i.x); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = uf_remappedVS[1].x & 0x00000002; -// 1 -predResult = (0 != R2i.w); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = uf_remappedVS[1].x & 0x00010000; -R127i.y = uf_remappedVS[1].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_remappedVS[1].x & 0x00000004; -R127i.w = uf_remappedVS[1].x & 0x00000020; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.w):(R1i.w)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R1i.z):(R1i.z)); -PV1i.y = R123i.y; -R126i.z = ((PV0i.x == 0)?(R2i.y):(R3i.y)); -PV1i.z = R126i.z; -R123i.w = ((PV0i.x == 0)?(R2i.x):(R3i.x)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.y == 0)?(R1i.y):(R1i.y)); -PS1i = R127i.z; -// 2 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R6i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.z))); -R123i.w = ((R127i.w == 0)?(PV1i.y):(PV1i.y)); -PV0i.w = R123i.w; -R122i.x = ((R127i.w == 0)?(PV1i.x):(PV1i.x)); -PS0i = R122i.x; -// 3 -backupReg0i = R127i.y; -R123i.x = ((R127i.w == 0)?(R127i.z):(PV0i.z)); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R127i.z = ((R125i.z == 0)?(PV0i.w):(PV0i.w)); -R123i.w = ((backupReg0i == 0)?(R1i.x):(PV0i.x)); -PV1i.w = R123i.w; -R124i.z = ((R125i.z == 0)?(PS0i):(PS0i)); -PS1i = R124i.z; -// 4 -R127i.x = ((R125i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R127i.x; -R125i.y = ((R127i.w == 0)?(PV1i.w):(PV1i.w)); -PV0i.y = R125i.y; -R126i.z = uf_remappedVS[1].x & 0x00000008; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R126i.y)); -// 6 -R123i.y = ((R125i.z == 0)?(R125i.y):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R1i.x = ((R126i.z == 0)?(PV0i.y):(PV0i.y)); -R1i.y = ((R126i.z == 0)?(R127i.x):(R126i.x)); -R1i.z = ((R126i.z == 0)?(R127i.z):(R127i.z)); -// 8 -R1i.w = ((R126i.z == 0)?(R124i.z):(R124i.z)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R6i.x = floatBitsToInt(-(intBitsToFloat(R1i.x)) + 1.0); -PV0i.x = R6i.x; -R126i.y = uf_remappedVS[1].x & 0x00010000; -R127i.z = uf_remappedVS[1].x & 0x00040000; -PV0i.w = uf_remappedVS[1].x & 0x00020000; -// 1 -R123i.x = ((PV0i.w == 0)?(R1i.z):(R1i.z)); -PV1i.x = R123i.x; -R127i.y = ((PV0i.w == 0)?(R1i.y):(R1i.y)); -PV1i.y = R127i.y; -R123i.z = ((PV0i.w == 0)?(R1i.x):(PV0i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.w == 0)?(R1i.w):(R1i.w)); -PV1i.w = R123i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R126i.z = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -R127i.w = ((R127i.z == 0)?(PV1i.w):(PV1i.w)); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.y):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R1i.x = ((R126i.y == 0)?(R127i.x):(PV1i.w)); -R1i.y = ((R126i.y == 0)?(PV1i.w):(R127i.x)); -R1i.z = ((R126i.y == 0)?(R126i.z):(R126i.z)); -R1i.w = ((R126i.y == 0)?(R127i.w):(R127i.w)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),intBitsToFloat(uf_remappedVS[19].w)))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -// 1 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedVS[20].x),intBitsToFloat(uf_remappedVS[20].y),intBitsToFloat(uf_remappedVS[20].z),intBitsToFloat(uf_remappedVS[20].w)))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R1i.y = PV0i.x; -PS1i = R1i.y; -// 2 -R1i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R1i.w = R127i.x; -// 3 -predResult = (0 != uf_remappedVS[18].y); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -R4i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV0i.x = R4i.x; -PV0i.y = R4i.x; -PV0i.z = R4i.x; -PV0i.w = R4i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.y = uf_remappedVS[1].x & int(1); -// 1 -predResult = (0 != R0i.y); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R0i.x = uf_remappedVS[1].x & 0x00000002; -// 1 -backupReg0i = R0i.x; -predResult = (0 != backupReg0i); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].x & 0x00000020; -R127i.y = uf_remappedVS[1].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_remappedVS[1].x & 0x00000004; -PV0i.w = uf_remappedVS[1].x & 0x00010000; -// 1 -R123i.x = ((PV0i.w == 0)?(R2i.y):(R3i.y)); -PV1i.x = R123i.x; -R123i.z = ((PV0i.w == 0)?(R2i.x):(R3i.x)); -PV1i.z = R123i.z; -R125i.w = uf_remappedVS[1].x & 0x00000008; -R127i.z = ((PV0i.y == 0)?(R4i.y):(R4i.y)); -PS1i = R127i.z; -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PV1i.z))); -PV0i.x = R0i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -// 3 -R123i.z = ((R127i.x == 0)?(R127i.z):(PV0i.y)); -PV1i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R4i.x):(PV0i.x)); -PV1i.w = R123i.w; -// 4 -backupReg0i = R127i.x; -R127i.x = ((R125i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.x = R127i.x; -R126i.w = ((backupReg0i == 0)?(PV1i.w):(PV1i.w)); -PV0i.w = R126i.w; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R126i.z)); -// 6 -R123i.y = ((R125i.z == 0)?(R126i.w):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R4i.x = ((R125i.w == 0)?(PV0i.y):(PV0i.y)); -R4i.y = ((R125i.w == 0)?(R127i.x):(R126i.x)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt(-(intBitsToFloat(R4i.x)) + 1.0); -PV0i.x = R0i.x; -PV0i.y = uf_remappedVS[1].x & 0x00020000; -R127i.z = uf_remappedVS[1].x & 0x00040000; -R126i.w = uf_remappedVS[1].x & 0x00010000; -// 1 -R123i.x = ((PV0i.y == 0)?(R4i.x):(PV0i.x)); -PV1i.x = R123i.x; -R127i.w = ((PV0i.y == 0)?(R4i.y):(R4i.y)); -PV1i.w = R127i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.w):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R4i.x = ((R126i.w == 0)?(R127i.x):(PV1i.w)); -R4i.y = ((R126i.w == 0)?(PV1i.w):(R127i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),intBitsToFloat(uf_remappedVS[21].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = PV0i.x; -R0i.w = PV0i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedVS[22].w))); -// 2 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(PS1i)),vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),1.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R0i.y; -} -// export -gl_Position = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -if (isCurrentSizeEqualTo(vec2(70, 70)) || - isCurrentSizeEqualTo(vec2(80, 80)) //stamina 3rd red flash - ) { - gl_Position.y -= 9000.0; -} - -if (isCurrentSizeEqualTo(vec2(56, 56)) && - uf_remappedVS[9].x == 1016219941) { - // stamina 1st red flash but also shrine map marker glow - gl_Position.y -= 9000.0; -} -// export -passParameterSem0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.x), intBitsToFloat(R1i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.x), intBitsToFloat(R0i.w)); -} diff --git a/Enhancement/BreathOfTheWild_Pro+/f7ba548c1fefe24a_0000000000000000_vs.txt b/Enhancement/BreathOfTheWild_Pro+/f7ba548c1fefe24a_0000000000000000_vs.txt deleted file mode 100644 index 2589f629..00000000 --- a/Enhancement/BreathOfTheWild_Pro+/f7ba548c1fefe24a_0000000000000000_vs.txt +++ /dev/null @@ -1,1222 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader f7ba548c1fefe24a -// PRO+ hud v2 -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -bool isCurrentSizeEqualTo(vec2 param) { - float result = distance(param, intBitsToFloat(uf_uniformRegisterVS[17]).xy); - return (result <= 0.001); -} -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[14]; -bool activeMaskStackC[15]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStack[4] = false; -activeMaskStack[5] = false; -activeMaskStack[6] = false; -activeMaskStack[7] = false; -activeMaskStack[8] = false; -activeMaskStack[9] = false; -activeMaskStack[10] = false; -activeMaskStack[11] = false; -activeMaskStack[12] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStackC[5] = false; -activeMaskStackC[6] = false; -activeMaskStackC[7] = false; -activeMaskStackC[8] = false; -activeMaskStackC[9] = false; -activeMaskStackC[10] = false; -activeMaskStackC[11] = false; -activeMaskStackC[12] = false; -activeMaskStackC[13] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_uniformRegisterVS[17].x))); -R0i.yzw = ivec3(floatBitsToInt(-(intBitsToFloat(R1i.y))),0,0x3f800000); -PV0i.y = R0i.y; -R127i.w = floatBitsToInt(1.0); -PS0i = R127i.w; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_uniformRegisterVS[17].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_uniformRegisterVS[17].y))); -// 2 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(uf_uniformRegisterVS[17].w)); -PV0i.y = R0i.y; -R1i.w = uf_uniformRegisterVS[2].x & 0x40000000; -// 3 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_uniformRegisterVS[4].x),intBitsToFloat(uf_uniformRegisterVS[4].y),intBitsToFloat(uf_uniformRegisterVS[4].z),intBitsToFloat(uf_uniformRegisterVS[4].w)))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -// 4 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[5].x),intBitsToFloat(uf_uniformRegisterVS[5].y),intBitsToFloat(uf_uniformRegisterVS[5].z),intBitsToFloat(uf_uniformRegisterVS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[6].x),intBitsToFloat(uf_uniformRegisterVS[6].y),intBitsToFloat(uf_uniformRegisterVS[6].z),intBitsToFloat(uf_uniformRegisterVS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -// 6 -R9i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[8].x),intBitsToFloat(uf_uniformRegisterVS[8].y),intBitsToFloat(uf_uniformRegisterVS[8].z),intBitsToFloat(uf_uniformRegisterVS[8].w)))); -PV0i.x = R9i.x; -PV0i.y = R9i.x; -PV0i.z = R9i.x; -PV0i.w = R9i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[9].x),intBitsToFloat(uf_uniformRegisterVS[9].y),intBitsToFloat(uf_uniformRegisterVS[9].z),intBitsToFloat(uf_uniformRegisterVS[9].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.y = tempi.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[10].x),intBitsToFloat(uf_uniformRegisterVS[10].y),intBitsToFloat(uf_uniformRegisterVS[10].z),intBitsToFloat(uf_uniformRegisterVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.z = tempi.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[11].x),intBitsToFloat(uf_uniformRegisterVS[11].y),intBitsToFloat(uf_uniformRegisterVS[11].z),intBitsToFloat(uf_uniformRegisterVS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.w = tempi.x; -// 10 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[17].x), intBitsToFloat(uf_uniformRegisterVS[12].x))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[17].y), intBitsToFloat(uf_uniformRegisterVS[12].y))); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[17].x), intBitsToFloat(uf_uniformRegisterVS[12].y))); -PS0i = R3i.x; -// 11 -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_uniformRegisterVS[17].y), intBitsToFloat(uf_uniformRegisterVS[12].x))); -// 12 -predResult = (0 != R1i.w); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R1i.z = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R1i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R1i.y; -R1i.yzw = ivec3(backupReg0i,0,0x3f800000); -PV0i.y = R1i.y; -PV0i.z = R1i.z; -PV0i.w = R1i.w; -// 1 -R5i.xyz = ivec3(R1i.x,PV0i.y,PV0i.z); -PV1i.x = R5i.x; -PV1i.y = R5i.y; -PV1i.z = R5i.z; -R5i.w = PV0i.w; -PV1i.w = R5i.w; -// 2 -R6i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R6i.w = PV1i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.z = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R125i.x = PV1i.z + PS1i; -PV0i.x = R125i.x; -// 3 -R127i.x = (PV0i.x == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R125i.y = (PV0i.x == int(1))?int(0xFFFFFFFF):int(0x0); -R127i.z = (PV0i.x == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.z = R127i.z; -R126i.w = (PV0i.x == int(1))?int(0xFFFFFFFF):int(0x0); -// 4 -R126i.x = ((PV1i.z == 0)?(uf_uniformRegisterVS[25].y):(uf_uniformRegisterVS[24].y)); -R127i.y = ((PV1i.z == 0)?(uf_uniformRegisterVS[25].x):(uf_uniformRegisterVS[24].x)); -// 5 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R127i.z = ((backupReg0i == 0)?(uf_uniformRegisterVS[25].w):(uf_uniformRegisterVS[24].w)); -R127i.w = ((backupReg0i == 0)?(uf_uniformRegisterVS[25].z):(uf_uniformRegisterVS[24].z)); -// 6 -R126i.z = ((R127i.x == 0)?(uf_uniformRegisterVS[29].y):(uf_uniformRegisterVS[28].y)); -R125i.w = ((R127i.x == 0)?(uf_uniformRegisterVS[29].x):(uf_uniformRegisterVS[28].x)); -// 7 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = ((backupReg0i == 0)?(uf_uniformRegisterVS[29].w):(uf_uniformRegisterVS[28].w)); -R126i.y = ((backupReg0i == 0)?(uf_uniformRegisterVS[29].z):(uf_uniformRegisterVS[28].z)); -// 8 -backupReg0i = R126i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R126i.x = ((R126i.w == 0)?(backupReg0i):(uf_uniformRegisterVS[23].y)); -R127i.y = ((R126i.w == 0)?(backupReg1i):(uf_uniformRegisterVS[23].x)); -R127i.z = ((R126i.w == 0)?(backupReg2i):(uf_uniformRegisterVS[23].w)); -R127i.w = ((R126i.w == 0)?(backupReg3i):(uf_uniformRegisterVS[23].z)); -// 9 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R125i.w; -R127i.x = ((R125i.y == 0)?(backupReg0i):(uf_uniformRegisterVS[27].w)); -R126i.y = ((R125i.y == 0)?(backupReg1i):(uf_uniformRegisterVS[27].z)); -R126i.z = ((R125i.y == 0)?(backupReg2i):(uf_uniformRegisterVS[27].y)); -R125i.w = ((R125i.y == 0)?(backupReg3i):(uf_uniformRegisterVS[27].x)); -// 10 -R5i.x = ((R125i.x == 0)?(uf_uniformRegisterVS[22].x):(R127i.y)); -R5i.y = ((R125i.x == 0)?(uf_uniformRegisterVS[22].y):(R126i.x)); -R5i.z = ((R125i.x == 0)?(uf_uniformRegisterVS[22].z):(R127i.w)); -R5i.w = ((R125i.x == 0)?(uf_uniformRegisterVS[22].w):(R127i.z)); -// 11 -R6i.x = ((R125i.x == 0)?(uf_uniformRegisterVS[26].x):(R125i.w)); -R6i.y = ((R125i.x == 0)?(uf_uniformRegisterVS[26].y):(R126i.z)); -R6i.z = ((R125i.x == 0)?(uf_uniformRegisterVS[26].z):(R126i.y)); -R6i.w = ((R125i.x == 0)?(uf_uniformRegisterVS[26].w):(R127i.x)); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R4i.xyz = ivec3(0x437f0000,0x437f0000,0x437f0000); -R4i.w = 0x437f0000; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.y = uf_uniformRegisterVS[2].x >> 0x00000008; -R1i.w = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -R4i.x = PV0i.y & 0x0000000f; -// 2 -predResult = (0 != R1i.w); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R6i.y = R1i.y; -R2i.z = 0; -R1i.w = 0x3f800000; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].x)); -// 1 -R5i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_uniformRegisterVS[1].x)); -PV1i.x = R5i.x; -R4i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_uniformRegisterVS[1].y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].y)); -// 2 -R6i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].z) * intBitsToFloat(PS1i)); -PV0i.x = R6i.x; -R5i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].w) * intBitsToFloat(PS1i)); -R7i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R7i.x; -// 3 -R8i.x = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(PS0i)); -R1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PV1i.z = R1i.z; -R10i.x = floatBitsToInt(-(intBitsToFloat(R4i.y)) + 1.0); -PS1i = R10i.x; -// 4 -R3i.z = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PV1i.z)); -// 5 -predResult = (R4i.x == 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(backupReg0i))); -R4i.y = R6i.x; -PV0i.y = R4i.y; -// 1 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (R4i.x == int(1)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -backupReg0i = R4i.y; -R4i.y = 0; -PV0i.y = R4i.y; -PV0i.z = R6i.x; -PV0i.w = backupReg0i; -// 1 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R10i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[4] = activeMaskStack[4] == false; -activeMaskStackC[5] = activeMaskStack[4] == true && activeMaskStackC[4] == true; -if( activeMaskStackC[5] == true ) { -activeMaskStack[5] = activeMaskStack[4]; -activeMaskStackC[6] = activeMaskStackC[5]; -// 0 -predResult = (R4i.x == 0x00000002); -activeMaskStack[5] = predResult; -activeMaskStackC[6] = predResult == true && activeMaskStackC[5] == true; -} -else { -activeMaskStack[5] = false; -activeMaskStackC[6] = false; -} -if( activeMaskStackC[6] == true ) { -// 0 -backupReg0i = R5i.y; -R5i.y = backupReg0i; -PV0i.y = R5i.y; -PV0i.z = R3i.z; -PV0i.w = 0; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[5] = activeMaskStack[5] == false; -activeMaskStackC[6] = activeMaskStack[5] == true && activeMaskStackC[5] == true; -if( activeMaskStackC[6] == true ) { -activeMaskStack[6] = activeMaskStack[5]; -activeMaskStackC[7] = activeMaskStackC[6]; -// 0 -predResult = (R4i.x == 0x00000003); -activeMaskStack[6] = predResult; -activeMaskStackC[7] = predResult == true && activeMaskStackC[6] == true; -} -else { -activeMaskStack[6] = false; -activeMaskStackC[7] = false; -} -if( activeMaskStackC[7] == true ) { -// 0 -backupReg0i = R4i.y; -R4i.y = R3i.z; -PV0i.y = R4i.y; -PV0i.z = R5i.y; -PV0i.w = backupReg0i; -// 1 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R10i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[6] = activeMaskStack[6] == false; -activeMaskStackC[7] = activeMaskStack[6] == true && activeMaskStackC[6] == true; -if( activeMaskStackC[7] == true ) { -activeMaskStack[7] = activeMaskStack[6]; -activeMaskStackC[8] = activeMaskStackC[7]; -// 0 -predResult = (R4i.x == 0x00000004); -activeMaskStack[7] = predResult; -activeMaskStackC[8] = predResult == true && activeMaskStackC[7] == true; -} -else { -activeMaskStack[7] = false; -activeMaskStackC[8] = false; -} -if( activeMaskStackC[8] == true ) { -// 0 -R4i.y = R2i.w; -PV0i.y = R4i.y; -PV0i.z = R6i.x; -PV0i.w = 0; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[7] = activeMaskStack[7] == false; -activeMaskStackC[8] = activeMaskStack[7] == true && activeMaskStackC[7] == true; -if( activeMaskStackC[8] == true ) { -activeMaskStack[8] = activeMaskStack[7]; -activeMaskStackC[9] = activeMaskStackC[8]; -// 0 -predResult = (R4i.x == 0x00000005); -activeMaskStack[8] = predResult; -activeMaskStackC[9] = predResult == true && activeMaskStackC[8] == true; -} -else { -activeMaskStack[8] = false; -activeMaskStackC[9] = false; -} -if( activeMaskStackC[9] == true ) { -// 0 -backupReg0i = R4i.y; -R4i.y = R6i.x; -PV0i.y = R4i.y; -PV0i.z = R2i.w; -PV0i.w = backupReg0i; -// 1 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R10i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[8] = activeMaskStack[8] == false; -activeMaskStackC[9] = activeMaskStack[8] == true && activeMaskStackC[8] == true; -if( activeMaskStackC[9] == true ) { -activeMaskStack[9] = activeMaskStack[8]; -activeMaskStackC[10] = activeMaskStackC[9]; -// 0 -predResult = (R4i.x == 0x00000006); -activeMaskStack[9] = predResult; -activeMaskStackC[10] = predResult == true && activeMaskStackC[9] == true; -} -else { -activeMaskStack[9] = false; -activeMaskStackC[10] = false; -} -if( activeMaskStackC[10] == true ) { -// 0 -R4i.y = R6i.x; -PV0i.y = R4i.y; -R5i.y = 0; -PS0i = R5i.y; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(backupReg0i))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PS0i))); -} -activeMaskStack[9] = activeMaskStack[9] == false; -activeMaskStackC[10] = activeMaskStack[9] == true && activeMaskStackC[9] == true; -if( activeMaskStackC[10] == true ) { -activeMaskStack[10] = activeMaskStack[9]; -activeMaskStackC[11] = activeMaskStackC[10]; -// 0 -predResult = (R4i.x == 0x00000007); -activeMaskStack[10] = predResult; -activeMaskStackC[11] = predResult == true && activeMaskStackC[10] == true; -} -else { -activeMaskStack[10] = false; -activeMaskStackC[11] = false; -} -if( activeMaskStackC[11] == true ) { -// 0 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(backupReg0i))); -R4i.y = R5i.y; -PV0i.y = R4i.y; -R5i.y = R3i.z; -PS0i = R5i.y; -// 1 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PS0i))); -} -activeMaskStack[10] = activeMaskStack[10] == false; -activeMaskStackC[11] = activeMaskStack[10] == true && activeMaskStackC[10] == true; -if( activeMaskStackC[11] == true ) { -activeMaskStack[11] = activeMaskStack[10]; -activeMaskStackC[12] = activeMaskStackC[11]; -// 0 -predResult = (R4i.x == 0x00000008); -activeMaskStack[11] = predResult; -activeMaskStackC[12] = predResult == true && activeMaskStackC[11] == true; -} -else { -activeMaskStack[11] = false; -activeMaskStackC[12] = false; -} -if( activeMaskStackC[12] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R10i.x))); -R4i.y = R6i.x; -PV0i.y = R4i.y; -// 1 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -} -activeMaskStack[11] = activeMaskStack[11] == false; -activeMaskStackC[12] = activeMaskStack[11] == true && activeMaskStackC[11] == true; -if( activeMaskStackC[12] == true ) { -activeMaskStack[12] = activeMaskStack[11]; -activeMaskStackC[13] = activeMaskStackC[12]; -// 0 -predResult = (R4i.x == 0x00000009); -activeMaskStack[12] = predResult; -activeMaskStackC[13] = predResult == true && activeMaskStackC[12] == true; -} -else { -activeMaskStack[12] = false; -activeMaskStackC[13] = false; -} -if( activeMaskStackC[13] == true ) { -// 0 -backupReg0i = R4i.y; -R4i.y = 0; -PV0i.y = R4i.y; -PV0i.z = R3i.z; -PV0i.w = backupReg0i; -// 1 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R10i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -} -activeMaskStack[12] = activeMaskStack[12] == false; -activeMaskStackC[13] = activeMaskStack[12] == true && activeMaskStackC[12] == true; -if( activeMaskStackC[13] == true ) { -activeMaskStack[13] = activeMaskStack[12]; -activeMaskStackC[14] = activeMaskStackC[13]; -// 0 -predResult = (R4i.x == 0x0000000a); -activeMaskStack[13] = predResult; -activeMaskStackC[14] = predResult == true && activeMaskStackC[13] == true; -} -else { -activeMaskStack[13] = false; -activeMaskStackC[14] = false; -} -if( activeMaskStackC[14] == true ) { -// 0 -R4i.y = R1i.z; -PV0i.y = R4i.y; -PV0i.z = R6i.x; -PV0i.w = 0; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.z))); -} -activeMaskStack[13] = activeMaskStack[13] == false; -activeMaskStackC[14] = activeMaskStack[13] == true && activeMaskStackC[13] == true; -if( activeMaskStackC[14] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R10i.x))); -R4i.y = R2i.w; -PV0i.y = R4i.y; -R127i.z = (R4i.x == 0x0000000c)?int(0xFFFFFFFF):int(0x0); -PV0i.z = R127i.z; -R127i.w = (R4i.x == 0x0000000b)?int(0xFFFFFFFF):int(0x0); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -R4i.y = R3i.z; -PV1i.y = R4i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(R5i.x))); -PV1i.z = R123i.z; -R123i.w = ((PV0i.z == 0)?(0):(PV0i.x)); -PV1i.w = R123i.w; -// 2 -R5i.x = ((R127i.w == 0)?(PV1i.w):(PV1i.z)); -R123i.z = ((R127i.z == 0)?(0):(PV1i.x)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R5i.y)) + intBitsToFloat(PV1i.y))); -PV0i.w = R123i.w; -// 3 -R5i.y = ((R127i.w == 0)?(PV0i.z):(PV0i.w)); -} -activeMaskStackC[13] = activeMaskStack[12] == true && activeMaskStackC[12] == true; -activeMaskStackC[11] = activeMaskStack[10] == true && activeMaskStackC[10] == true; -activeMaskStackC[9] = activeMaskStack[8] == true && activeMaskStackC[8] == true; -activeMaskStackC[7] = activeMaskStack[6] == true && activeMaskStackC[6] == true; -activeMaskStackC[5] = activeMaskStack[4] == true && activeMaskStackC[4] == true; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R5i.x)) + 1.0); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[18].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[18].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[18].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[18].x))); -// 2 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[20].w)) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[20].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[20].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[20].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[19].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[19].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[19].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[19].x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); -PS1i = R127i.w; -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[21].w)) + intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[21].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[21].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(uf_uniformRegisterVS[21].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(backupReg0i))); -PS0i = R126i.z; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.y))); -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R127i.w))); -PS1i = R4i.x; -// 6 -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.z))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.y))); -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -// 7 -R5i.xyz = ivec3(R1i.x,R6i.y,R2i.z); -PV1i.x = R5i.x; -PV1i.y = R5i.y; -PV1i.z = R5i.z; -R5i.w = R1i.w; -PV1i.w = R5i.w; -// 8 -R6i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R6i.w = PV1i.w; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PS0i = int(intBitsToFloat(R1i.y)); -// 1 -PV1i.z = PS0i << int(1); -PS1i = int(intBitsToFloat(R1i.x)); -// 2 -R7i.x = PV1i.z + PS1i; -PV0i.x = R7i.x; -// 3 -R127i.x = (PV0i.x == 0x00000002)?int(0xFFFFFFFF):int(0x0); -R125i.y = (PV0i.x == int(1))?int(0xFFFFFFFF):int(0x0); -R127i.z = (PV0i.x == 0x00000002)?int(0xFFFFFFFF):int(0x0); -PV1i.z = R127i.z; -R126i.w = (PV0i.x == int(1))?int(0xFFFFFFFF):int(0x0); -// 4 -R126i.x = ((PV1i.z == 0)?(uf_uniformRegisterVS[25].y):(uf_uniformRegisterVS[24].y)); -R127i.y = ((PV1i.z == 0)?(uf_uniformRegisterVS[25].x):(uf_uniformRegisterVS[24].x)); -// 5 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R127i.z = ((backupReg0i == 0)?(uf_uniformRegisterVS[25].w):(uf_uniformRegisterVS[24].w)); -R127i.w = ((backupReg0i == 0)?(uf_uniformRegisterVS[25].z):(uf_uniformRegisterVS[24].z)); -// 6 -R126i.z = ((R127i.x == 0)?(uf_uniformRegisterVS[29].y):(uf_uniformRegisterVS[28].y)); -R125i.w = ((R127i.x == 0)?(uf_uniformRegisterVS[29].x):(uf_uniformRegisterVS[28].x)); -// 7 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = ((backupReg0i == 0)?(uf_uniformRegisterVS[29].w):(uf_uniformRegisterVS[28].w)); -R126i.y = ((backupReg0i == 0)?(uf_uniformRegisterVS[29].z):(uf_uniformRegisterVS[28].z)); -// 8 -backupReg0i = R126i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R126i.x = ((R126i.w == 0)?(backupReg0i):(uf_uniformRegisterVS[23].y)); -R127i.y = ((R126i.w == 0)?(backupReg1i):(uf_uniformRegisterVS[23].x)); -R127i.z = ((R126i.w == 0)?(backupReg2i):(uf_uniformRegisterVS[23].w)); -R127i.w = ((R126i.w == 0)?(backupReg3i):(uf_uniformRegisterVS[23].z)); -// 9 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R125i.w; -R127i.x = ((R125i.y == 0)?(backupReg0i):(uf_uniformRegisterVS[27].w)); -R126i.y = ((R125i.y == 0)?(backupReg1i):(uf_uniformRegisterVS[27].z)); -R126i.z = ((R125i.y == 0)?(backupReg2i):(uf_uniformRegisterVS[27].y)); -R125i.w = ((R125i.y == 0)?(backupReg3i):(uf_uniformRegisterVS[27].x)); -// 10 -R5i.x = ((R7i.x == 0)?(uf_uniformRegisterVS[22].x):(R127i.y)); -R5i.y = ((R7i.x == 0)?(uf_uniformRegisterVS[22].y):(R126i.x)); -R5i.z = ((R7i.x == 0)?(uf_uniformRegisterVS[22].z):(R127i.w)); -R5i.w = ((R7i.x == 0)?(uf_uniformRegisterVS[22].w):(R127i.z)); -// 11 -R6i.x = ((R7i.x == 0)?(uf_uniformRegisterVS[26].x):(R125i.w)); -R6i.y = ((R7i.x == 0)?(uf_uniformRegisterVS[26].y):(R126i.z)); -R6i.z = ((R7i.x == 0)?(uf_uniformRegisterVS[26].z):(R126i.y)); -R6i.w = ((R7i.x == 0)?(uf_uniformRegisterVS[26].w):(R127i.x)); -// 12 -predResult = (R4i.x == 0x0000000d); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].y)); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].w) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[1].z) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_uniformRegisterVS[7].x)); -// 2 -R127i.x = PV1i.z; -R127i.y = PV1i.w; -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_uniformRegisterVS[1].x)); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_uniformRegisterVS[1].y)); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -// 5 -backupReg0i = R127i.z; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -PV1i.w = R126i.w; -// 6 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[18].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[18].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[18].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[18].x))); -// 8 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[20].w)) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[20].z)) + intBitsToFloat(PV1i.y))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[20].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[20].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[19].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[19].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[19].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_uniformRegisterVS[19].x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); -PS1i = R127i.w; -// 10 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -backupReg1i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[21].w)) + intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_uniformRegisterVS[21].z)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_uniformRegisterVS[21].y)) + intBitsToFloat(PV1i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_uniformRegisterVS[21].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(backupReg1i))); -PS0i = R126i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.y))); -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PV0i.w)) + intBitsToFloat(R127i.w))); -PS1i = R4i.x; -// 12 -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.z))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.y))); -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = floatBitsToInt(float(R7i.x)); -PS0i = R127i.x; -// 1 -tempResultf = intBitsToFloat(PS0i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV1i.x = floatBitsToInt(tempResultf); -// 2 -R4i.xyz = ivec3(uf_uniformRegisterVS[ARi.x+18].x,uf_uniformRegisterVS[ARi.x+18].y,uf_uniformRegisterVS[ARi.x+18].z); -R4i.w = uf_uniformRegisterVS[ARi.x+18].w; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (0 != uf_uniformRegisterVS[3].x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[22].x),intBitsToFloat(uf_uniformRegisterVS[22].y),intBitsToFloat(uf_uniformRegisterVS[22].z),intBitsToFloat(uf_uniformRegisterVS[22].w)))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[23].x),intBitsToFloat(uf_uniformRegisterVS[23].y),intBitsToFloat(uf_uniformRegisterVS[23].z),intBitsToFloat(uf_uniformRegisterVS[23].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[24].x),intBitsToFloat(uf_uniformRegisterVS[24].y),intBitsToFloat(uf_uniformRegisterVS[24].z),intBitsToFloat(uf_uniformRegisterVS[24].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[25].x),intBitsToFloat(uf_uniformRegisterVS[25].y),intBitsToFloat(uf_uniformRegisterVS[25].z),intBitsToFloat(uf_uniformRegisterVS[25].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R1i.z = uf_uniformRegisterVS[2].x & int(1); -// 1 -predResult = (0 != R1i.z); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R1i.y = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R1i.y); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = uf_uniformRegisterVS[2].x & 0x00010000; -R127i.y = uf_uniformRegisterVS[2].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_uniformRegisterVS[2].x & 0x00000004; -R127i.w = uf_uniformRegisterVS[2].x & 0x00000020; -// 1 -R123i.x = ((PV0i.y == 0)?(R5i.w):(R5i.w)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R5i.z):(R5i.z)); -PV1i.y = R123i.y; -R126i.z = ((PV0i.x == 0)?(R2i.y):(R3i.y)); -PV1i.z = R126i.z; -R123i.w = ((PV0i.x == 0)?(R2i.x):(R3i.x)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.y == 0)?(R5i.y):(R5i.y)); -PS1i = R127i.z; -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R1i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.z))); -R123i.w = ((R127i.w == 0)?(PV1i.y):(PV1i.y)); -PV0i.w = R123i.w; -R122i.x = ((R127i.w == 0)?(PV1i.x):(PV1i.x)); -PS0i = R122i.x; -// 3 -backupReg0i = R127i.y; -R123i.x = ((R127i.w == 0)?(R127i.z):(PV0i.z)); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R127i.z = ((R125i.z == 0)?(PV0i.w):(PV0i.w)); -R123i.w = ((backupReg0i == 0)?(R5i.x):(PV0i.x)); -PV1i.w = R123i.w; -R124i.z = ((R125i.z == 0)?(PS0i):(PS0i)); -PS1i = R124i.z; -// 4 -R127i.x = ((R125i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R127i.x; -R125i.y = ((R127i.w == 0)?(PV1i.w):(PV1i.w)); -PV0i.y = R125i.y; -R126i.z = uf_uniformRegisterVS[2].x & 0x00000008; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R126i.y)); -// 6 -R123i.y = ((R125i.z == 0)?(R125i.y):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R5i.x = ((R126i.z == 0)?(PV0i.y):(PV0i.y)); -R5i.y = ((R126i.z == 0)?(R127i.x):(R126i.x)); -R5i.z = ((R126i.z == 0)?(R127i.z):(R127i.z)); -// 8 -R5i.w = ((R126i.z == 0)?(R124i.z):(R124i.z)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt(-(intBitsToFloat(R5i.x)) + 1.0); -PV0i.x = R1i.x; -R126i.y = uf_uniformRegisterVS[2].x & 0x00010000; -R127i.z = uf_uniformRegisterVS[2].x & 0x00040000; -PV0i.w = uf_uniformRegisterVS[2].x & 0x00020000; -// 1 -R123i.x = ((PV0i.w == 0)?(R5i.z):(R5i.z)); -PV1i.x = R123i.x; -R127i.y = ((PV0i.w == 0)?(R5i.y):(R5i.y)); -PV1i.y = R127i.y; -R123i.z = ((PV0i.w == 0)?(R5i.x):(PV0i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.w == 0)?(R5i.w):(R5i.w)); -PV1i.w = R123i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R126i.z = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -R127i.w = ((R127i.z == 0)?(PV1i.w):(PV1i.w)); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.y):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R5i.x = ((R126i.y == 0)?(R127i.x):(PV1i.w)); -R5i.y = ((R126i.y == 0)?(PV1i.w):(R127i.x)); -R5i.z = ((R126i.y == 0)?(R126i.z):(R126i.z)); -R5i.w = ((R126i.y == 0)?(R127i.w):(R127i.w)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[14].x),intBitsToFloat(uf_uniformRegisterVS[14].y),intBitsToFloat(uf_uniformRegisterVS[14].z),intBitsToFloat(uf_uniformRegisterVS[14].w)))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -// 1 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[13].x),intBitsToFloat(uf_uniformRegisterVS[13].y),intBitsToFloat(uf_uniformRegisterVS[13].z),intBitsToFloat(uf_uniformRegisterVS[13].w)))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -R1i.y = PV0i.x; -PS1i = R1i.y; -// 2 -R5i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R5i.w = R127i.x; -// 3 -predResult = (0 != uf_uniformRegisterVS[3].y); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[26].x),intBitsToFloat(uf_uniformRegisterVS[26].y),intBitsToFloat(uf_uniformRegisterVS[26].z),intBitsToFloat(uf_uniformRegisterVS[26].w)))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[27].x),intBitsToFloat(uf_uniformRegisterVS[27].y),intBitsToFloat(uf_uniformRegisterVS[27].z),intBitsToFloat(uf_uniformRegisterVS[27].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_uniformRegisterVS[28].x),intBitsToFloat(uf_uniformRegisterVS[28].y),intBitsToFloat(uf_uniformRegisterVS[28].z),intBitsToFloat(uf_uniformRegisterVS[28].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[29].x),intBitsToFloat(uf_uniformRegisterVS[29].y),intBitsToFloat(uf_uniformRegisterVS[29].z),intBitsToFloat(uf_uniformRegisterVS[29].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R0i.w = uf_uniformRegisterVS[2].x & int(1); -// 1 -predResult = (0 != R0i.w); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R0i.z = uf_uniformRegisterVS[2].x & 0x00000002; -// 1 -predResult = (0 != R0i.z); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_uniformRegisterVS[2].x & 0x00000020; -R127i.y = uf_uniformRegisterVS[2].x & 0x00000010; -PV0i.y = R127i.y; -R125i.z = uf_uniformRegisterVS[2].x & 0x00000004; -PV0i.w = uf_uniformRegisterVS[2].x & 0x00010000; -// 1 -R123i.x = ((PV0i.w == 0)?(R2i.y):(R3i.y)); -PV1i.x = R123i.x; -R123i.z = ((PV0i.w == 0)?(R2i.x):(R3i.x)); -PV1i.z = R123i.z; -R125i.w = uf_uniformRegisterVS[2].x & 0x00000008; -R127i.z = ((PV0i.y == 0)?(R6i.y):(R6i.y)); -PS1i = R127i.z; -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.z))); -PV0i.x = R0i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -// 3 -R123i.z = ((R127i.x == 0)?(R127i.z):(PV0i.y)); -PV1i.z = R123i.z; -R123i.w = ((R127i.y == 0)?(R6i.x):(PV0i.x)); -PV1i.w = R123i.w; -// 4 -backupReg0i = R127i.x; -R127i.x = ((R125i.z == 0)?(PV1i.z):(PV1i.z)); -PV0i.x = R127i.x; -R126i.w = ((backupReg0i == 0)?(PV1i.w):(PV1i.w)); -PV0i.w = R126i.w; -// 5 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R126i.z)); -// 6 -R123i.y = ((R125i.z == 0)?(R126i.w):(PV1i.z)); -PV0i.y = R123i.y; -// 7 -R6i.x = ((R125i.w == 0)?(PV0i.y):(PV0i.y)); -R6i.y = ((R125i.w == 0)?(R127i.x):(R126i.x)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt(-(intBitsToFloat(R6i.x)) + 1.0); -PV0i.x = R0i.x; -PV0i.y = uf_uniformRegisterVS[2].x & 0x00020000; -R127i.z = uf_uniformRegisterVS[2].x & 0x00040000; -R126i.w = uf_uniformRegisterVS[2].x & 0x00010000; -// 1 -R123i.x = ((PV0i.y == 0)?(R6i.x):(PV0i.x)); -PV1i.x = R123i.x; -R127i.w = ((PV0i.y == 0)?(R6i.y):(R6i.y)); -PV1i.w = R127i.w; -// 2 -R127i.x = ((R127i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.w = ((R127i.z == 0)?(R127i.w):(PV0i.y)); -PV1i.w = R123i.w; -// 4 -R6i.x = ((R126i.w == 0)?(R127i.x):(PV1i.w)); -R6i.y = ((R126i.w == 0)?(PV1i.w):(R127i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[16].x),intBitsToFloat(uf_uniformRegisterVS[16].y),intBitsToFloat(uf_uniformRegisterVS[16].z),intBitsToFloat(uf_uniformRegisterVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = PV0i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(uf_uniformRegisterVS[0].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(uf_uniformRegisterVS[0].z))); -R1i.w = PV0i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(uf_uniformRegisterVS[0].x))); -PS1i = R0i.x; -// 2 -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_uniformRegisterVS[15].x),intBitsToFloat(uf_uniformRegisterVS[15].y),intBitsToFloat(uf_uniformRegisterVS[15].z),intBitsToFloat(uf_uniformRegisterVS[15].w)))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -R1i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R1i.y; -// 3 -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_uniformRegisterVS[0].w))); -} -// export -gl_Position = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -if (isCurrentSizeEqualTo(vec2(56, 56)) - || isCurrentSizeEqualTo(vec2(70, 70))) { - gl_Position.y -= 9000.0; -} -if (isCurrentSizeEqualTo(vec2(80, 80)) && - (uf_uniformRegisterVS[7].x == 1069928833)) { - //stamina 3rd circle, but also inventory orb glow - gl_Position.y -= 9000.0; -} -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.x), intBitsToFloat(R5i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.x), intBitsToFloat(R1i.w)); -} diff --git a/Enhancement/BreathOfTheWild_Pro+/rules.txt b/Enhancement/BreathOfTheWild_Pro+/rules.txt deleted file mode 100644 index d60090b5..00000000 --- a/Enhancement/BreathOfTheWild_Pro+/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Pro+ HUD" -version = 2 - -[TextureRedefine] # Disable Hearts -width = 48 -height = 48 -formats = 0x007 -tilemodes = 4 -overwriteFormat = 0x005 - -[TextureRedefine] # Disable text from subtitles, currupts some text. -width = 1024 -height = 1024 -formats = 0x034 -# Remove the hash sign ('#') from the line below to enable. -#overwriteFormat = 0x235 - -[TextureRedefine] # Disable text from subtitles, currupts some text. -width = 512 -height = 1024 -formats = 0x034 -# Remove the hash sign ('#') from the line below to enable. -#overwriteFormat = 0x235 diff --git a/Enhancement/BreathOfTheWild_ReflExtra/rules.txt b/Enhancement/BreathOfTheWild_ReflExtra/rules.txt deleted file mode 100644 index f9e50791..00000000 --- a/Enhancement/BreathOfTheWild_ReflExtra/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - ReflExtra - Enhanced Reflections" -version = 2 \ No newline at end of file diff --git a/Enhancement/CaptainToad_0AARemoval/37a4ec1a7dbc7391_00000000000003c9_ps.txt b/Enhancement/CaptainToad_0AARemoval/37a4ec1a7dbc7391_00000000000003c9_ps.txt deleted file mode 100644 index 473b2839..00000000 --- a/Enhancement/CaptainToad_0AARemoval/37a4ec1a7dbc7391_00000000000003c9_ps.txt +++ /dev/null @@ -1,182 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 37a4ec1a7dbc7391 -uniform ivec4 uf_remappedPS[4]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5800800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x15c28800 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem2; -if( activeMaskStackC[1] == true ) { -R2f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -//R4f.xyzw = (textureGather(textureUnitPS1, R0f.xy).wzxy); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0f.x = max(R4f.z, R4f.x); -PV0f.y = min(R4f.w, R4f.y); -PV0f.z = R2f.x * intBitsToFloat(uf_remappedPS[0].x); -PV0f.w = min(R4f.z, R4f.x); -PS0f = max(R4f.w, R4f.y); -// 1 -R123f.x = (R2f.y * intBitsToFloat(uf_remappedPS[0].y) + PV0f.z); -PV1f.x = R123f.x; -PV1f.y = max(PV0f.x, PS0f); -R127f.z = R4f.z + -(R4f.y); -PV1f.z = R127f.z; -PV1f.w = min(PV0f.w, PV0f.y); -R126f.z = R4f.w + -(R4f.x); -PS1f = R126f.z; -// 2 -PV0f.x = max(PV1f.x, PV1f.y); -PV0f.y = PV1f.y * intBitsToFloat(uf_remappedPS[1].x); -PV0f.z = min(PV1f.x, PV1f.w); -R3f.x = PV1f.z + PS1f; -PS0f = R3f.x; -// 3 -R1f.x = max(PV0f.y, intBitsToFloat(uf_remappedPS[1].y)); -R3f.y = R127f.z + -(R126f.z); -R0f.w = -(PV0f.z) + PV0f.x; -// 4 -predResult = (R0f.w > R1f.x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1f.x = R4f.y + R4f.x; -PV0f.x = R1f.x; -R1f.y = intBitsToFloat(uf_remappedPS[2].z) * 0.25; -R0f.w = max(R3f.x, -(R3f.x)); -PV0f.w = R0f.w; -R4f.x = max(R3f.y, -(R3f.y)); -PS0f = R4f.x; -// 1 -R1f.x = min(PV0f.w, PS0f); -R4f.y = -(intBitsToFloat(uf_remappedPS[3].y)); -R0f.z = intBitsToFloat(uf_remappedPS[3].x); -R0f.w = R4f.z + PV0f.x; -PV1f.w = R0f.w; -R4f.x = -(intBitsToFloat(uf_remappedPS[3].x)); -PS1f = R4f.x; -// 2 -R1f.z = R4f.w + PV1f.w; -PV0f.z = R1f.z; -R0f.w = intBitsToFloat(uf_remappedPS[3].y); -// 3 -backupReg0f = R1f.y; -R1f.y = (backupReg0f * PV0f.z + intBitsToFloat(uf_remappedPS[2].w)); -PV1f.y = R1f.y; -// 4 -backupReg0f = R1f.x; -R1f.x = max(PV1f.y, backupReg0f); -PV0f.x = R1f.x; -// 5 -R1f.w = 1.0 / PV0f.x; -PS1f = R1f.w; -// 6 -R1f.x = R3f.x * PS1f; -PV0f.x = R1f.x; -R1f.y = R3f.y * PS1f; -PV0f.y = R1f.y; -// 7 -R1f.x = max(PV0f.x, -(intBitsToFloat(uf_remappedPS[2].y))); -PV1f.x = R1f.x; -R1f.y = max(PV0f.y, -(intBitsToFloat(uf_remappedPS[2].y))); -PV1f.y = R1f.y; -// 8 -R1f.x = min(PV1f.x, intBitsToFloat(uf_remappedPS[2].y)); -PV0f.x = R1f.x; -R1f.y = min(PV1f.y, intBitsToFloat(uf_remappedPS[2].y)); -PV0f.y = R1f.y; -// 9 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg2f = R0f.z; -backupReg0f = R0f.x; -backupReg3f = R0f.w; -backupReg1f = R0f.y; -R0f.x = (PV0f.x * R4f.x + backupReg0f); -R0f.y = (PV0f.y * R4f.y + backupReg1f); -R0f.z = (PV0f.x * backupReg2f + backupReg0f); -R0f.w = (PV0f.y * backupReg3f + backupReg1f); -} -if( activeMaskStackC[2] == true ) { -R1f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0f = R0f.y; -backupReg1f = R0f.x; -PV0f.x = R0f.w + R1f.w; -PV0f.x /= 2.0; -PV0f.y = R0f.z + R1f.z; -PV0f.y /= 2.0; -PV0f.z = backupReg0f + R1f.y; -PV0f.z /= 2.0; -PV0f.w = backupReg1f + R1f.x; -PV0f.w /= 2.0; -// 1 -PV1f.x = -(R2f.w) + PV0f.x; -PV1f.y = -(R2f.z) + PV0f.y; -PV1f.z = -(R2f.y) + PV0f.z; -PV1f.w = -(R2f.x) + PV0f.w; -// 2 -backupReg0f = R2f.x; -backupReg1f = R2f.y; -backupReg2f = R2f.z; -backupReg3f = R2f.w; -R2f.x = (PV1f.w * intBitsToFloat(0x3f4ccccd) + backupReg0f); -R2f.y = (PV1f.z * intBitsToFloat(0x3f4ccccd) + backupReg1f); -R2f.z = (PV1f.y * intBitsToFloat(0x3f4ccccd) + backupReg2f); -R2f.w = (PV1f.x * intBitsToFloat(0x3f4ccccd) + backupReg3f); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -passPixelColor0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Enhancement/CaptainToad_0AARemoval/rules.txt b/Enhancement/CaptainToad_0AARemoval/rules.txt deleted file mode 100644 index df5fad1a..00000000 --- a/Enhancement/CaptainToad_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010180600,0005000010180700,0005000010180500 -name = "Captain Toad: Treasure Tracker - No Anti-Aliasing" -version = 2 \ No newline at end of file diff --git a/Enhancement/ColorSplash_0AARemoval/b4ad3f6c36f63964_0000000000000079_ps.txt b/Enhancement/ColorSplash_0AARemoval/b4ad3f6c36f63964_0000000000000079_ps.txt deleted file mode 100644 index d34887a2..00000000 --- a/Enhancement/ColorSplash_0AARemoval/b4ad3f6c36f63964_0000000000000079_ps.txt +++ /dev/null @@ -1,207 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader b4ad3f6c36f63964 -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem0); -//R1i.xyz = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.zw),0.0).xyz); -//R2i.xyz = floatBitsToInt(textureLodOffset(textureUnitPS0, intBitsToFloat(R0i.zw),0.0,ivec2(1,0)).xyz); -//R3i.xyz = floatBitsToInt(textureLodOffset(textureUnitPS0, intBitsToFloat(R0i.zw),0.0,ivec2(0,1)).xyz); -//R4i.xyz = floatBitsToInt(textureLodOffset(textureUnitPS0, intBitsToFloat(R0i.zw),0.0,ivec2(1,1)).xyz); -//R5i.xyz = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.xy),0.0).xyz); -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(0x3e990afe),intBitsToFloat(0x3f162c23),intBitsToFloat(0x3dea7371),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R2i.z) * intBitsToFloat(0x3dea7371)); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(0x3e990afe),intBitsToFloat(0x3f162c23),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(R3i.z) * intBitsToFloat(0x3dea7371)); -// 2 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(0x3e990afe),intBitsToFloat(0x3f162c23),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e990afe),intBitsToFloat(0x3f162c23),intBitsToFloat(0x3dea7371),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.x)); -PS1i = R127i.x; -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -R124i.x = floatBitsToInt(min(intBitsToFloat(R125i.x), intBitsToFloat(PV1i.x))); -PS0i = R124i.x; -// 5 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV0i.z)); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), intBitsToFloat(R127i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.x)); -PV1i.w = R127i.w; -R127i.x = floatBitsToInt(max(intBitsToFloat(R125i.x), intBitsToFloat(backupReg1i))); -PS1i = R127i.x; -// 6 -backupReg0i = R126i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3d000000)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); -PV0i.z = floatBitsToInt(max(-(intBitsToFloat(PV1i.x)), intBitsToFloat(PV1i.x))); -R126i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x))); -R125i.w = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R124i.x))); -PS0i = R125i.w; -// 7 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.y))); -R127i.y = floatBitsToInt(max(intBitsToFloat(R127i.z), intBitsToFloat(R127i.x))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x3c000000))); -PS1i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(0x3dea7371)); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(R5i.y) * intBitsToFloat(0x3f162c23) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.x)); -// 9 -R123i.z = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(0x3e990afe) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PS1i))); -R2i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.w))); -R1i.w = floatBitsToInt(max(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.y))); -// 11 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0xc1000000))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), intBitsToFloat(0xc1000000))); -// 12 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), intBitsToFloat(0x41000000))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41000000))); -// 13 -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[0].x))); -PV1i.z = R127i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[0].y))); -PV1i.w = R127i.w; -// 14 -R5i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e2a9930) + intBitsToFloat(R0i.x))); -R5i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e2a9930) + intBitsToFloat(R0i.y))); -R5i.z = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0xbe2ab368) + intBitsToFloat(R0i.x))); -R5i.w = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0xbe2ab368) + intBitsToFloat(R0i.y))); -R4i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * 0.5 + intBitsToFloat(R0i.x))); -PS0i = R4i.x; -// 15 -backupReg0i = R0i.x; -R0i.x = floatBitsToInt((-(intBitsToFloat(R127i.z)) * 0.5 + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((intBitsToFloat(R127i.w) * 0.5 + intBitsToFloat(R0i.y))); -R0i.z = floatBitsToInt((-(intBitsToFloat(R127i.w)) * 0.5 + intBitsToFloat(R0i.y))); -R3i.xyz = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R5i.xy),0.0).xyz); -R5i.xyz = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R5i.zw),0.0).xyz); -R4i.xyz = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R4i.xy),0.0).xyz); -R0i.xyz = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.xz),0.0).xyz); -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(R5i.z)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R5i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) / 2.0); -PV0i.z = R126i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R5i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) / 2.0); -PV0i.w = R127i.w; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PV1i.y = PV0i.w; -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(R0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(backupReg1i)); -PS1i = PV0i.z; -PS1i = floatBitsToInt(intBitsToFloat(PS1i) / 2.0); -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * 0.25 + intBitsToFloat(PV1i.y))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * 0.25 + intBitsToFloat(PS1i))); -PV0i.w = R127i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -// 3 -backupReg0i = R127i.z; -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * 0.25 + intBitsToFloat(PV0i.w))); -PV1i.z = R127i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e990afe),intBitsToFloat(0x3f162c23),intBitsToFloat(0x3dea7371),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 5 -PV1i.x = ((intBitsToFloat(PV0i.x) > intBitsToFloat(R1i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.z) > intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 6 -R123i.w = ((PV1i.y == 0)?(PV1i.x):(int(-1))); -PV0i.w = R123i.w; -// 7 -R123i.x = ((PV0i.w == 0)?(0):(R126i.z)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.w == 0)?(0):(R127i.w)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.w == 0)?(0):(0x3f800000)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.w == 0)?(0):(R127i.x)); -PV1i.w = R123i.w; -// 8 -R0i.x = ((PV1i.z == 0)?(R124i.x):(PV1i.y)); -R0i.y = ((PV1i.z == 0)?(R127i.y):(PV1i.x)); -R0i.z = ((PV1i.z == 0)?(R127i.z):(PV1i.w)); -// 9 -R0i.w = 0x3f800000; -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -} diff --git a/Enhancement/ColorSplash_0AARemoval/rules.txt b/Enhancement/ColorSplash_0AARemoval/rules.txt deleted file mode 100644 index e6b7bdc6..00000000 --- a/Enhancement/ColorSplash_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001F600900,000500001F600A00,000500001F600B00 -name = "Paper Mario: Color Splash - No Anti-Aliasing" -version = 2 diff --git a/Enhancement/MarioKart8_0AARemoval/8e1337dde42fd224_00000000000003c9_ps.txt b/Enhancement/MarioKart8_0AARemoval/8e1337dde42fd224_00000000000003c9_ps.txt deleted file mode 100644 index 39677c23..00000000 --- a/Enhancement/MarioKart8_0AARemoval/8e1337dde42fd224_00000000000003c9_ps.txt +++ /dev/null @@ -1,163 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 8e1337dde42fd224 -uniform ivec4 uf_remappedPS[4]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf49b1000 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4240800 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem2; -if( activeMaskStackC[1] == true ) { -//R1f.xyzw = (textureGather(textureUnitPS1, R0f.xy).wzxy); -R2f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0f.x = R1f.y + R1f.x; -R127f.y = intBitsToFloat(uf_remappedPS[0].z) * 0.25; -PV0f.z = R1f.w + -(R1f.x); -PV0f.w = R1f.z + -(R1f.y); -R127f.z = mul_nonIEEE(R2f.x, intBitsToFloat(uf_remappedPS[1].x)); -PS0f = R127f.z; -// 1 -R127f.x = PV0f.w + -(PV0f.z); -PV1f.x = R127f.x; -R126f.y = PV0f.w + PV0f.z; -PV1f.y = R126f.y; -PV1f.z = R1f.z + PV0f.x; -R127f.w = min(R1f.z, R1f.x); -R126f.w = min(R1f.w, R1f.y); -PS1f = R126f.w; -// 2 -PV0f.x = R1f.w + PV1f.z; -PV0f.y = max(PV1f.x, -(PV1f.x)); -PV0f.z = max(PV1f.y, -(PV1f.y)); -PV0f.w = max(R1f.z, R1f.x); -PS0f = max(R1f.w, R1f.y); -// 3 -PV1f.x = min(PV0f.z, PV0f.y); -R123f.y = (R2f.y * intBitsToFloat(uf_remappedPS[1].y) + R127f.z); -PV1f.y = R123f.y; -PV1f.z = min(R127f.w, R126f.w); -R123f.w = (R127f.y * PV0f.x + intBitsToFloat(uf_remappedPS[0].w)); -PV1f.w = R123f.w; -PS1f = max(PV0f.w, PS0f); -// 4 -PV0f.x = mul_nonIEEE(PS1f, intBitsToFloat(uf_remappedPS[2].x)); -PV0f.y = max(PV1f.y, PS1f); -PV0f.z = min(PV1f.y, PV1f.z); -PV0f.w = max(PV1f.w, PV1f.x); -// 5 -R3f.x = max(PV0f.x, intBitsToFloat(uf_remappedPS[2].y)); -R3f.y = -(PV0f.z) + PV0f.y; -PS1f = 1.0 / PV0f.w; -// 6 -PV0f.x = mul_nonIEEE(R127f.x, PS1f); -PV0f.y = mul_nonIEEE(R126f.y, PS1f); -// 7 -PV1f.z = max(PV0f.x, -(intBitsToFloat(uf_remappedPS[0].y))); -PV1f.w = max(PV0f.y, -(intBitsToFloat(uf_remappedPS[0].y))); -// 8 -R1f.x = min(PV1f.w, intBitsToFloat(uf_remappedPS[0].y)); -R1f.y = min(PV1f.z, intBitsToFloat(uf_remappedPS[0].y)); -// 9 -predResult = (R3f.y > R3f.x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3f.x = (R1f.x * -(intBitsToFloat(uf_remappedPS[3].z)) + R0f.x); -R3f.y = (R1f.y * -(intBitsToFloat(uf_remappedPS[3].w)) + R0f.y); -R0f.z = (R1f.x * intBitsToFloat(uf_remappedPS[3].x) + R0f.x); -R0f.w = (R1f.y * intBitsToFloat(uf_remappedPS[3].y) + R0f.y); -R3f.z = (R1f.x * intBitsToFloat(uf_remappedPS[3].z) + R0f.x); -PS0f = R3f.z; -// 1 -R4f.x = (R1f.x * -(intBitsToFloat(uf_remappedPS[3].x)) + R0f.x); -R4f.y = (R1f.y * -(intBitsToFloat(uf_remappedPS[3].y)) + R0f.y); -R3f.w = (R1f.y * intBitsToFloat(uf_remappedPS[3].w) + R0f.y); -} -if( activeMaskStackC[2] == true ) { -R1f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R3f.zw).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R4f.xy).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127f.x = R0f.w + R1f.w; -R127f.x /= 2.0; -R127f.y = R0f.z + R1f.z; -R127f.y /= 2.0; -R127f.z = R0f.y + R1f.y; -R127f.z /= 2.0; -R127f.w = R0f.x + R1f.x; -R127f.w /= 2.0; -// 1 -PV1f.x = R2f.w + R3f.w; -PV1f.x /= 2.0; -PV1f.y = R2f.z + R3f.z; -PV1f.y /= 2.0; -PV1f.z = R2f.y + R3f.y; -PV1f.z /= 2.0; -PV1f.w = R2f.x + R3f.x; -PV1f.w /= 2.0; -// 2 -R2f.x = R127f.w + PV1f.w; -R2f.x /= 2.0; -R2f.y = R127f.z + PV1f.z; -R2f.y /= 2.0; -R2f.z = R127f.y + PV1f.y; -R2f.z /= 2.0; -R2f.w = R127f.x + PV1f.x; -R2f.w /= 2.0; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -passPixelColor0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Enhancement/MarioKart8_0AARemoval/rules.txt b/Enhancement/MarioKart8_0AARemoval/rules.txt deleted file mode 100644 index 4d558c77..00000000 --- a/Enhancement/MarioKart8_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001010ec00,000500001010ed00,000500001010eb00 -name = "Mario Kart 8 - No Anti-Aliasing" -version = 2 diff --git a/Enhancement/MarioKart8_AdjustableBloom/rules.txt b/Enhancement/MarioKart8_AdjustableBloom/rules.txt deleted file mode 100644 index e68faef0..00000000 --- a/Enhancement/MarioKart8_AdjustableBloom/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001010ec00,000500001010ed00,000500001010eb00 -name = "Mario Kart 8 - Adjustable Bloom" -version = 2 \ No newline at end of file diff --git a/Enhancement/MarioTennis_0AARemoval/d81508000beb90fd_0000000000000079_ps.txt b/Enhancement/MarioTennis_0AARemoval/d81508000beb90fd_0000000000000079_ps.txt deleted file mode 100644 index 7d6a3de9..00000000 --- a/Enhancement/MarioTennis_0AARemoval/d81508000beb90fd_0000000000000079_ps.txt +++ /dev/null @@ -1,43 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader d81508000beb90fd -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4c24800 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -//R0f = passParameterSem0; -//R0f.xyz = (textureLod(textureUnitPS0, R0f.zw,0.0).xyz); -// 0 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg2f = R0f.z; -R0f.x = dot(vec4(backupReg0f,backupReg1f,backupReg2f,-0.0),vec4(intBitsToFloat(0x3e59b3d0),intBitsToFloat(0x3f371759),intBitsToFloat(0x3d93dd98),0.0)); -PV0f.x = R0f.x; -PV0f.y = R0f.x; -PV0f.z = R0f.x; -PV0f.w = R0f.x; -// export -passPixelColor0 = vec4(R0f.x, R0f.x, R0f.x, R0f.x); -} diff --git a/Enhancement/MarioTennis_0AARemoval/rules.txt b/Enhancement/MarioTennis_0AARemoval/rules.txt deleted file mode 100644 index 2b6c7d45..00000000 --- a/Enhancement/MarioTennis_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101A3500,00050000101A3600,0005000010199000 -name = "Mario Tennis: Ultra Smash - No Anti-Aliasing" -version = 2 \ No newline at end of file diff --git a/Enhancement/NSMBU_0AARemoval/50e29e8929cea348_00000000000003c9_ps.txt b/Enhancement/NSMBU_0AARemoval/50e29e8929cea348_00000000000003c9_ps.txt deleted file mode 100644 index 88c1a8c8..00000000 --- a/Enhancement/NSMBU_0AARemoval/50e29e8929cea348_00000000000003c9_ps.txt +++ /dev/null @@ -1,161 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 50e29e8929cea348 -uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4240800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf45c5000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem1; -if( activeMaskStackC[1] == true ) { -//R1f.xyzw = (textureGather(textureUnitPS1, R0f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0f.x = R1f.z + R1f.w; -PV0f.y = R1f.y + -(R1f.w); -PV0f.z = R1f.x + -(R1f.z); -R127f.w = mul_nonIEEE(R2f.x, intBitsToFloat(uf_remappedPS[0].x)); -R126f.w = min(R1f.z, R1f.w); -PS0f = R126f.w; -// 1 -R126f.x = PV0f.z + PV0f.y; -PV1f.x = R126f.x; -PV1f.y = R1f.x + PV0f.x; -R127f.z = min(R1f.x, R1f.y); -R125f.w = PV0f.z + -(PV0f.y); -PV1f.w = R125f.w; -R127f.y = max(R1f.z, R1f.w); -PS1f = R127f.y; -// 2 -PV0f.x = R1f.y + PV1f.y; -PV0f.y = max(PV1f.w, -(PV1f.w)); -PV0f.z = max(PV1f.x, -(PV1f.x)); -PV0f.w = max(R1f.x, R1f.y); -R127f.x = (R2f.y * intBitsToFloat(uf_remappedPS[0].y) + R127f.w); -PS0f = R127f.x; -// 3 -PV1f.x = min(PV0f.z, PV0f.y); -PV1f.y = min(R126f.w, R127f.z); -PV1f.z = max(R127f.y, PV0f.w); -R123f.w = (PV0f.x * intBitsToFloat(0x3d000000) + intBitsToFloat(0x3b800000)); -PV1f.w = R123f.w; -// 4 -PV0f.x = min(R127f.x, PV1f.y); -PV0f.y = max(R127f.x, PV1f.z); -PV0f.w = max(PV1f.w, PV1f.x); -// 5 -R0f.z = -(PV0f.x) + PV0f.y; -PS1f = 1.0 / PV0f.w; -// 6 -PV0f.x = R125f.w * PS1f; -PV0f.y = R126f.x * PS1f; -// 7 -PV1f.z = max(PV0f.x, intBitsToFloat(0xc0400000)); -PV1f.w = max(PV0f.y, intBitsToFloat(0xc0400000)); -// 8 -R1f.x = min(PV1f.w, intBitsToFloat(0x40400000)); -R1f.y = min(PV1f.z, intBitsToFloat(0x40400000)); -// 9 -predResult = (R0f.z > intBitsToFloat(uf_remappedPS[1].y)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3f.x = (R1f.x * -(intBitsToFloat(uf_remappedPS[2].z)) + R0f.x); -R3f.y = (R1f.y * -(intBitsToFloat(uf_remappedPS[2].w)) + R0f.y); -R0f.z = (R1f.x * intBitsToFloat(uf_remappedPS[2].x) + R0f.x); -R0f.w = (R1f.y * intBitsToFloat(uf_remappedPS[2].y) + R0f.y); -R3f.z = (R1f.x * intBitsToFloat(uf_remappedPS[2].z) + R0f.x); -PS0f = R3f.z; -// 1 -R4f.x = (R1f.x * -(intBitsToFloat(uf_remappedPS[2].x)) + R0f.x); -R4f.y = (R1f.y * -(intBitsToFloat(uf_remappedPS[2].y)) + R0f.y); -R3f.w = (R1f.y * intBitsToFloat(uf_remappedPS[2].w) + R0f.y); -} -if( activeMaskStackC[2] == true ) { -R1f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R3f.zw).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R4f.xy).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127f.x = R0f.w + R1f.w; -R127f.x /= 2.0; -R127f.y = R0f.z + R1f.z; -R127f.y /= 2.0; -R127f.z = R0f.y + R1f.y; -R127f.z /= 2.0; -R127f.w = R0f.x + R1f.x; -R127f.w /= 2.0; -// 1 -PV1f.x = R2f.w + R3f.w; -PV1f.x /= 2.0; -PV1f.y = R2f.z + R3f.z; -PV1f.y /= 2.0; -PV1f.z = R2f.y + R3f.y; -PV1f.z /= 2.0; -PV1f.w = R2f.x + R3f.x; -PV1f.w /= 2.0; -// 2 -R2f.x = R127f.w + PV1f.w; -R2f.x /= 2.0; -R2f.y = R127f.z + PV1f.z; -R2f.y /= 2.0; -R2f.z = R127f.y + PV1f.y; -R2f.z /= 2.0; -R2f.w = R127f.x + PV1f.x; -R2f.w /= 2.0; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -passPixelColor0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Enhancement/NSMBU_0AARemoval/rules.txt b/Enhancement/NSMBU_0AARemoval/rules.txt deleted file mode 100644 index 06690109..00000000 --- a/Enhancement/NSMBU_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010101D00,0005000010101E00,000500001014B700,000500001014B800,0005000010101C00,0005000010142300,0005000010142400,0005000010142200 -name = "New Super Mario Bros. U + New Super Luigi U - No Anti-Aliasing" -version = 2 \ No newline at end of file diff --git a/Enhancement/Runner2_DisableBlur/4fe1bb2bc0611f15_0000000000000079_ps.txt b/Enhancement/Runner2_DisableBlur/4fe1bb2bc0611f15_0000000000000079_ps.txt deleted file mode 100644 index 6a0bae83..00000000 --- a/Enhancement/Runner2_DisableBlur/4fe1bb2bc0611f15_0000000000000079_ps.txt +++ /dev/null @@ -1,315 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 4fe1bb2bc0611f15 -// Disable this fucking godforsaken piece of shit blur filter that makes the game look lower res than it actually is -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 041a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw); -// 0 -PV0f.z = R0f.x + 0.5; -PV0f.w = R0f.y + 0.5; -// 1 -R4f.x = mul_nonIEEE(PV0f.z, intBitsToFloat(uf_remappedPS[0].x)); -PV1f.x = R4f.x; -R4f.y = mul_nonIEEE(PV0f.w, intBitsToFloat(uf_remappedPS[0].y)); -PV1f.y = R4f.y; -// 2 -R0f.xyz = vec3(PV1f.x,PV1f.y,PV1f.x) + vec3(intBitsToFloat(0xba99999a),0.0,0.0); -R0f.w = PV1f.y + intBitsToFloat(0xbb088889); -R1f.x = PV1f.x + intBitsToFloat(0x3a99999a); -PS0f = R1f.x; -// 3 -R2f.x = R4f.x + 0.0; -R1f.y = R4f.y + 0.0; -R2f.zwy = vec3(R4f.y,R4f.x,R4f.y) + vec3(intBitsToFloat(0x3b088889),intBitsToFloat(0xba99999a),intBitsToFloat(0xbb088889)); -PS1f = R2f.y; -// 4 -R3f.x = R4f.x + intBitsToFloat(0xba99999a); -R3f.y = R4f.y + intBitsToFloat(0x3b088889); -R1f.z = R4f.x + intBitsToFloat(0x3a99999a); -R1f.w = R4f.y + intBitsToFloat(0xbb088889); -R6f.x = R4f.x + intBitsToFloat(0x3a99999a); -PS0f = R6f.x; -//R11f.xyzw = (texture(textureUnitPS0, R4f.xy).xyzw); -R11f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R5f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R7f.xyzw = (texture(textureUnitPS0, R1f.xy).xyzw); -R8f.xyzw = (texture(textureUnitPS0, R2f.xz).xyzw); -R9f.xyzw = (texture(textureUnitPS0, R2f.wy).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R10f.xyzw = (texture(textureUnitPS0, R1f.zw).xyzw); -// 0 -R127f.x = -(R11f.x) + R5f.x; -R6f.y = R4f.y + intBitsToFloat(0x3b088889); -R123f.z = (R11f.w * 2.0 + -(1.0)); -PV0f.z = R123f.z; -PV0f.w = R5f.w + intBitsToFloat(0x3c23d70a); -R127f.w = -(R11f.y) + R5f.y; -PS0f = R127f.w; -// 1 -R126f.x = -(R11f.z) + R5f.z; -//PV1f.y = max(PV0f.z, -(PV0f.z)); -PV1f.y = max(PV1f.z, -(PV1f.z)); -PV1f.z = -(R11f.w) + PV0f.w; -R126f.w = -(R11f.w) + R5f.w; -PS1f = R0f.w + intBitsToFloat(0x3c23d70a); -// 2 -backupReg0f = R0f.x; -PV0f.x = -(PV1f.y) + 1.0; -R123f.y = intBitsToFloat(((PV1f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV0f.y = R123f.y; -R127f.z = -(R11f.w) + PS1f; -R5f.w = R7f.w + intBitsToFloat(0x3c23d70a); -R1f.w = -(R11f.x) + backupReg0f; -PS0f = R1f.w; -// 3 -R5f.x = (mul_nonIEEE(R127f.x,PV0f.y) + R11f.x); -R5f.y = (mul_nonIEEE(R127f.w,PV0f.y) + R11f.y); -R5f.z = (mul_nonIEEE(R126f.x,PV0f.y) + R11f.z); -R2f.w = max(PV0f.x, intBitsToFloat(0x3de38e39)); -PV1f.w = R2f.w; -R4f.y = (mul_nonIEEE(R126f.w,PV0f.y) + R11f.w); -PS1f = R4f.y; -// 4 -backupReg0f = R0f.y; -backupReg1f = R0f.z; -backupReg2f = R0f.w; -R4f.x = intBitsToFloat(((R127f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -R0f.yzw = vec3(-(R11f.y),-(PV1f.w),-(R11f.z)) + vec3(backupReg0f,1.0,backupReg1f); -R0f.x = -(R11f.w) + backupReg2f; -PS0f = R0f.x; -R6f.xyzw = (texture(textureUnitPS0, R6f.xy).xyzw); -// 0 -backupReg0f = R0f.y; -R127f.x = R8f.w + intBitsToFloat(0x3c23d70a); -R0f.y = R0f.z * intBitsToFloat(0x3e15f619); -PV0f.y = R0f.y; -R127f.z = -(R11f.w) + R5f.w; -R126f.w = (mul_nonIEEE(backupReg0f,R4f.x) + R11f.y); -R125f.x = (mul_nonIEEE(R0f.x,R4f.x) + R11f.w); -PS0f = R125f.x; -// 1 -PV1f.x = mul_nonIEEE(PV0f.y, R5f.x); -PV1f.y = mul_nonIEEE(PV0f.y, R4f.y); -PV1f.z = mul_nonIEEE(PV0f.y, R5f.z); -PV1f.w = mul_nonIEEE(PV0f.y, R5f.y); -R127f.w = (mul_nonIEEE(R1f.w,R4f.x) + R11f.x); -PS1f = R127f.w; -// 2 -R126f.x = (mul_nonIEEE(R11f.x,R2f.w) + PV1f.x); -R126f.y = (mul_nonIEEE(R11f.w,R2f.w) + PV1f.y); -R126f.z = (mul_nonIEEE(R11f.z,R2f.w) + PV1f.z); -R125f.w = (mul_nonIEEE(R11f.y,R2f.w) + PV1f.w); -R127f.y = (mul_nonIEEE(R0f.w,R4f.x) + R11f.z); -PS0f = R127f.y; -// 3 -R124f.x = -(R11f.x) + R7f.x; -R124f.y = intBitsToFloat(((R127f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -R127f.z = -(R11f.z) + R7f.z; -R124f.w = -(R11f.y) + R7f.y; -R125f.y = -(R11f.w) + R7f.w; -PS1f = R125f.y; -// 4 -backupReg0f = R127f.x; -backupReg1f = R0f.y; -backupReg2f = R126f.z; -backupReg1f = R0f.y; -R127f.x = (mul_nonIEEE(R0f.y,R127f.w) + R126f.x); -PV0f.y = -(R11f.w) + backupReg0f; -R126f.z = (mul_nonIEEE(backupReg1f,R127f.y) + backupReg2f); -R127f.w = R9f.w + intBitsToFloat(0x3c23d70a); -R126f.x = (mul_nonIEEE(backupReg1f,R125f.x) + R126f.y); -PS0f = R126f.x; -// 5 -backupReg0f = R124f.x; -R124f.x = (mul_nonIEEE(backupReg0f,R124f.y) + R11f.x); -R127f.y = (mul_nonIEEE(R127f.z,R124f.y) + R11f.z); -R127f.z = (mul_nonIEEE(R0f.y,R126f.w) + R125f.w); -R126f.w = (mul_nonIEEE(R124f.w,R124f.y) + R11f.y); -R7f.x = intBitsToFloat(((PV0f.y >= 0.0)?(floatBitsToInt(1.0)):(0))); -PS1f = R7f.x; -// 6 -backupReg0f = R127f.w; -R125f.x = -(R11f.z) + R8f.z; -R123f.y = (mul_nonIEEE(R125f.y,R124f.y) + R11f.w); -PV0f.y = R123f.y; -R125f.z = -(R11f.w) + R8f.w; -R127f.w = -(R11f.x) + R8f.x; -R124f.z = -(R11f.w) + backupReg0f; -PS0f = R124f.z; -// 7 -backupReg0f = R127f.x; -backupReg1f = R126f.w; -R127f.x = R3f.w + intBitsToFloat(0x3c23d70a); -R125f.y = (mul_nonIEEE(R0f.y,R124f.x) + backupReg0f); -PV1f.z = -(R11f.y) + R8f.y; -R126f.w = (mul_nonIEEE(R0f.y,backupReg1f) + R127f.z); -R125f.w = (mul_nonIEEE(R0f.y,PV0f.y) + R126f.x); -PS1f = R125f.w; -// 8 -backupReg0f = R125f.x; -backupReg1f = R127f.y; -backupReg2f = R126f.z; -backupReg3f = R127f.w; -R125f.x = (mul_nonIEEE(PV1f.z,R7f.x) + R11f.y); -R127f.y = (mul_nonIEEE(backupReg0f,R7f.x) + R11f.z); -R126f.z = (mul_nonIEEE(R0f.y,backupReg1f) + backupReg2f); -R127f.w = (mul_nonIEEE(backupReg3f,R7f.x) + R11f.x); -R126f.x = (mul_nonIEEE(R125f.z,R7f.x) + R11f.w); -PS0f = R126f.x; -// 9 -R124f.x = -(R11f.x) + R9f.x; -R126f.y = intBitsToFloat(((R124f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -R124f.zwy = vec3(-(R11f.z),-(R11f.y),-(R11f.w)) + vec3(R9f.z,R9f.y,R9f.w); -PS1f = R124f.y; -// 10 -backupReg0f = R127f.x; -backupReg1f = R0f.y; -backupReg2f = R126f.z; -backupReg1f = R0f.y; -R127f.x = (mul_nonIEEE(R0f.y,R127f.w) + R125f.y); -PV0f.y = -(R11f.w) + backupReg0f; -R126f.z = (mul_nonIEEE(backupReg1f,R127f.y) + backupReg2f); -R127f.w = R10f.w + intBitsToFloat(0x3c23d70a); -R9f.x = backupReg1f * intBitsToFloat(0x3f3504f3); -PS0f = R9f.x; -// 11 -backupReg0f = R126f.x; -R126f.x = (mul_nonIEEE(R0f.y,backupReg0f) + R125f.w); -R127f.y = (mul_nonIEEE(R124f.z,R126f.y) + R11f.z); -R124f.z = (mul_nonIEEE(R0f.y,R125f.x) + R126f.w); -R126f.w = (mul_nonIEEE(R124f.w,R126f.y) + R11f.y); -R125f.x = intBitsToFloat(((PV0f.y >= 0.0)?(floatBitsToInt(1.0)):(0))); -PS1f = R125f.x; -// 12 -backupReg0f = R126f.y; -R123f.x = (mul_nonIEEE(R124f.x,R126f.y) + R11f.x); -PV0f.x = R123f.x; -R126f.y = (mul_nonIEEE(R124f.y,backupReg0f) + R11f.w); -R125f.z = -(R11f.z) + R3f.z; -R125f.w = -(R11f.x) + R3f.x; -R124f.x = -(R11f.w) + R3f.w; -PS0f = R124f.x; -// 13 -backupReg0f = R127f.y; -backupReg1f = R126f.z; -PV1f.x = -(R11f.w) + R127f.w; -R127f.y = R6f.w + intBitsToFloat(0x3c23d70a); -PV1f.z = -(R11f.y) + R3f.y; -R127f.w = (mul_nonIEEE(R9f.x,PV0f.x) + R127f.x); -R126f.z = (mul_nonIEEE(R9f.x,backupReg0f) + backupReg1f); -PS1f = R126f.z; -// 14 -backupReg0f = R126f.x; -backupReg1f = R126f.w; -R126f.x = (mul_nonIEEE(R9f.x,R126f.y) + backupReg0f); -R126f.y = (mul_nonIEEE(R125f.z,R125f.x) + R11f.z); -R125f.z = (mul_nonIEEE(PV1f.z,R125f.x) + R11f.y); -R126f.w = (mul_nonIEEE(R9f.x,backupReg1f) + R124f.z); -R3f.y = intBitsToFloat(((PV1f.x >= 0.0)?(floatBitsToInt(1.0)):(0))); -PS0f = R3f.y; -// 15 -backupReg0f = R125f.x; -backupReg0f = R125f.x; -R125f.x = (mul_nonIEEE(R124f.x,backupReg0f) + R11f.w); -R124f.y = -(R11f.y) + R10f.y; -R124f.z = -(R11f.z) + R10f.z; -R123f.w = (mul_nonIEEE(R125f.w,backupReg0f) + R11f.x); -PV1f.w = R123f.w; -R125f.y = -(R11f.w) + R10f.w; -PS1f = R125f.y; -// 16 -backupReg0f = R127f.w; -backupReg1f = R126f.z; -R124f.x = -(R11f.x) + R10f.x; -PV0f.y = -(R11f.w) + R127f.y; -R126f.z = (mul_nonIEEE(R9f.x,R125f.z) + R126f.w); -R127f.w = (mul_nonIEEE(R9f.x,PV1f.w) + backupReg0f); -R127f.y = (mul_nonIEEE(R9f.x,R126f.y) + backupReg1f); -PS0f = R127f.y; -// 17 -backupReg0f = R126f.x; -backupReg1f = R124f.z; -backupReg2f = R124f.y; -R126f.x = (mul_nonIEEE(R9f.x,R125f.x) + backupReg0f); -R124f.y = intBitsToFloat(((PV0f.y >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV1f.y = R124f.y; -R124f.z = (mul_nonIEEE(backupReg1f,R3f.y) + R11f.z); -R126f.w = (mul_nonIEEE(backupReg2f,R3f.y) + R11f.y); -PS1f = -(R11f.z) + R6f.z; -// 18 -R123f.x = (mul_nonIEEE(R124f.x,R3f.y) + R11f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R125f.y,R3f.y) + R11f.w); -PV0f.y = R123f.y; -R125f.z = -(R11f.w) + R6f.w; -R125f.w = -(R11f.x) + R6f.x; -R125f.y = (mul_nonIEEE(PS1f,PV1f.y) + R11f.z); -PS0f = R125f.y; -// 19 -backupReg0f = R126f.x; -R126f.x = (mul_nonIEEE(R9f.x,PV0f.x) + R127f.w); -R123f.y = (mul_nonIEEE(R9f.x,R124f.z) + R127f.y); -PV1f.y = R123f.y; -PV1f.z = -(R11f.y) + R6f.y; -R127f.w = (mul_nonIEEE(R9f.x,R126f.w) + R126f.z); -R126f.w = (mul_nonIEEE(R9f.x,PV0f.y) + backupReg0f); -PS1f = R126f.w; -// 20 -R123f.x = (mul_nonIEEE(R125f.z,R124f.y) + R11f.w); -PV0f.x = R123f.x; -R123f.z = (mul_nonIEEE(PV1f.z,R124f.y) + R11f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(R125f.w,R124f.y) + R11f.x); -PV0f.w = R123f.w; -R11f.z = (mul_nonIEEE(R9f.x,R125f.y) + PV1f.y); -PS0f = R11f.z; -// 21 -R11f.x = (mul_nonIEEE(R9f.x,PV0f.w) + R126f.x); -R11f.y = (mul_nonIEEE(R9f.x,PV0f.z) + R127f.w); -R11f.w = (mul_nonIEEE(R9f.x,PV0f.x) + R126f.w); -// export -passPixelColor0 = vec4(R11f.x, R11f.y, R11f.z, R11f.w); -} diff --git a/Enhancement/Runner2_DisableBlur/rules.txt b/Enhancement/Runner2_DisableBlur/rules.txt deleted file mode 100644 index 54a8497f..00000000 --- a/Enhancement/Runner2_DisableBlur/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101DD600,000500001011AF00,0005000010136300,000500021011AF01 -name = "Runner2 - Disable Blur (use w/o resolution packs)" -version = 2 diff --git a/Enhancement/Splatoon_AdjustableBloom/rules.txt b/Enhancement/Splatoon_AdjustableBloom/rules.txt deleted file mode 100644 index 498bc997..00000000 --- a/Enhancement/Splatoon_AdjustableBloom/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010176900,0005000010176A00,0005000010162B00 -name = "Splatoon - Adjustable Bloom" -version = 2 diff --git a/Enhancement/Splatoon_FX/rules.txt b/Enhancement/Splatoon_FX/rules.txt deleted file mode 100644 index d0eab57e..00000000 --- a/Enhancement/Splatoon_FX/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010176900,0005000010176A00,0005000010162B00 -name = "Splatoon - Splat FX" -version = 2 diff --git a/Enhancement/Splatoon_LODBias/rules.txt b/Enhancement/Splatoon_LODBias/rules.txt deleted file mode 100644 index 9ada8cbf..00000000 --- a/Enhancement/Splatoon_LODBias/rules.txt +++ /dev/null @@ -1,30 +0,0 @@ -[Definition] -titleIds = 0005000010176900,0005000010176A00,0005000010162B00 -name = "Splatoon - LOD Bias" -version = 2 - -#general - -[TextureRedefine] -formats = 0x31,0x32,0x34,0x35,0x431,0x432,0x433,0x234,0x235 -overwriteRelativeLodBias = -3 - -#ink splats - disabled by default, mainly for online sake - -#[TextureRedefine] -#width = 32 -#height = 32 -#formats = 0x33 -#overwriteLodBias = -16 - -#[TextureRedefine] -#width = 32 -#height = 64 -#formats = 0x33 -#overwriteLodBias = -16 - -#[TextureRedefine] -#width = 128 -#height = 128 -#formats = 0x33 -#overwriteLodBias = -16 \ No newline at end of file diff --git a/Enhancement/SuperMario3DWorld_0AARemoval/be99d80628d31127_00000000000003c9_ps.txt b/Enhancement/SuperMario3DWorld_0AARemoval/be99d80628d31127_00000000000003c9_ps.txt deleted file mode 100644 index 309348ac..00000000 --- a/Enhancement/SuperMario3DWorld_0AARemoval/be99d80628d31127_00000000000003c9_ps.txt +++ /dev/null @@ -1,187 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader be99d80628d31127 -uniform ivec4 uf_remappedPS[4]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5800800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4341000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem2; -if( activeMaskStackC[1] == true ) { -R4f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -//R2f.xyzw = (textureGather(textureUnitPS1, R0f.xy).wzxy); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0f.x = min(R2f.z, R2f.x); -PV0f.y = max(R2f.z, R2f.x); -PV0f.z = R4f.x * intBitsToFloat(uf_remappedPS[0].x); -PV0f.w = min(R2f.w, R2f.y); -PS0f = max(R2f.w, R2f.y); -// 1 -PV1f.x = min(PV0f.x, PV0f.w); -R123f.y = (R4f.y * intBitsToFloat(uf_remappedPS[0].y) + PV0f.z); -PV1f.y = R123f.y; -R127f.z = R2f.z + -(R2f.y); -PV1f.z = R127f.z; -PV1f.w = max(PV0f.y, PS0f); -R126f.z = R2f.w + -(R2f.x); -PS1f = R126f.z; -// 2 -PV0f.x = PV1f.w * intBitsToFloat(uf_remappedPS[1].x); -PV0f.y = max(PV1f.y, PV1f.w); -PV0f.z = min(PV1f.y, PV1f.x); -R3f.x = PV1f.z + PS1f; -PS0f = R3f.x; -// 3 -R1f.x = max(PV0f.x, intBitsToFloat(uf_remappedPS[1].y)); -R3f.y = -(PV0f.z) + PV0f.y; -R1f.y = R127f.z + -(R126f.z); -PS1f = R1f.y; -// 4 -predResult = (R3f.y > R1f.x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0f = R2f.y; -R1f.x = max(R3f.x, -(R3f.x)); -PV0f.x = R1f.x; -R2f.y = backupReg0f + R2f.x; -PV0f.y = R2f.y; -R0f.z = intBitsToFloat(uf_remappedPS[2].z) * 0.25; -R0f.w = max(R1f.y, -(R1f.y)); -PV0f.w = R0f.w; -R2f.x = -(intBitsToFloat(uf_remappedPS[3].x)); -PS0f = R2f.x; -// 1 -R3f.y = R2f.z + PV0f.y; -PV1f.y = R3f.y; -R2f.y = min(PV0f.x, PV0f.w); -PS1f = R2f.y; -// 2 -R3f.y = R2f.w + PV1f.y; -PV0f.y = R3f.y; -R1f.z = intBitsToFloat(uf_remappedPS[3].x); -R0f.w = intBitsToFloat(uf_remappedPS[3].y); -R5f.y = -(intBitsToFloat(uf_remappedPS[3].y)); -PS0f = R5f.y; -// 3 -backupReg0f = R0f.z; -R0f.z = (backupReg0f * PV0f.y + intBitsToFloat(uf_remappedPS[2].w)); -PV1f.z = R0f.z; -// 4 -backupReg0f = R2f.y; -R2f.y = max(PV1f.z, backupReg0f); -PV0f.y = R2f.y; -// 5 -R2f.y = 1.0 / PV0f.y; -PS1f = R2f.y; -// 6 -backupReg0f = R1f.y; -R1f.x = R3f.x * PS1f; -PV0f.x = R1f.x; -R1f.y = backupReg0f * PS1f; -PV0f.y = R1f.y; -// 7 -R1f.x = max(PV0f.x, -(intBitsToFloat(uf_remappedPS[2].y))); -PV1f.x = R1f.x; -R1f.y = max(PV0f.y, -(intBitsToFloat(uf_remappedPS[2].y))); -PV1f.y = R1f.y; -// 8 -R1f.x = min(PV1f.x, intBitsToFloat(uf_remappedPS[2].y)); -PV0f.x = R1f.x; -R1f.y = min(PV1f.y, intBitsToFloat(uf_remappedPS[2].y)); -PV0f.y = R1f.y; -// 9 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg0f = R0f.x; -backupReg2f = R0f.w; -backupReg1f = R0f.y; -R0f.x = (PV0f.x * R2f.x + backupReg0f); -R0f.y = (PV0f.y * R5f.y + backupReg1f); -R0f.z = (PV0f.x * R1f.z + backupReg0f); -R0f.w = (PV0f.y * backupReg2f + backupReg1f); -} -if( activeMaskStackC[2] == true ) { -R1f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0f = R0f.y; -backupReg1f = R0f.x; -PV0f.x = R0f.w + R1f.w; -PV0f.x /= 2.0; -PV0f.y = R0f.z + R1f.z; -PV0f.y /= 2.0; -PV0f.z = backupReg0f + R1f.y; -PV0f.z /= 2.0; -PV0f.w = backupReg1f + R1f.x; -PV0f.w /= 2.0; -// 1 -PV1f.x = -(R4f.w) + PV0f.x; -PV1f.y = -(R4f.z) + PV0f.y; -PV1f.z = -(R4f.y) + PV0f.z; -PV1f.w = -(R4f.x) + PV0f.w; -// 2 -backupReg0f = R4f.x; -backupReg1f = R4f.y; -backupReg2f = R4f.z; -backupReg3f = R4f.w; -R4f.x = (PV1f.w * intBitsToFloat(0x3f4ccccd) + backupReg0f); -R4f.y = (PV1f.z * intBitsToFloat(0x3f4ccccd) + backupReg1f); -R4f.z = (PV1f.y * intBitsToFloat(0x3f4ccccd) + backupReg2f); -R4f.w = (PV1f.x * intBitsToFloat(0x3f4ccccd) + backupReg3f); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -passPixelColor0 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -} diff --git a/Enhancement/SuperMario3DWorld_0AARemoval/rules.txt b/Enhancement/SuperMario3DWorld_0AARemoval/rules.txt deleted file mode 100644 index 059a9dd9..00000000 --- a/Enhancement/SuperMario3DWorld_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010145d00,0005000010145c00,0005000010106100 -name = "Super Mario 3D World - No Anti-Aliasing" -version = 2 \ No newline at end of file diff --git a/Enhancement/TokyoMirage_0AAremoval/rules.txt b/Enhancement/TokyoMirage_0AAremoval/rules.txt deleted file mode 100644 index 94e901fe..00000000 --- a/Enhancement/TokyoMirage_0AAremoval/rules.txt +++ /dev/null @@ -1,8 +0,0 @@ -[Definition] -titleIds = 00050000101ED700,00050000101ED800,0005000010131D00 -name = "Tokyo Mirage Sessions FE - AA removal" # Does not improve performance, for downsampling / injecting AA only -version = 2 - -[TextureRedefine] #0x01a, nvidia taa -formats = 0x01a -overwriteRelativeLodBias = -16 # \ No newline at end of file diff --git a/Enhancement/TropicalFreeze_0AARemoval/rules.txt b/Enhancement/TropicalFreeze_0AARemoval/rules.txt deleted file mode 100644 index aeb01153..00000000 --- a/Enhancement/TropicalFreeze_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010137F00,0005000010138300,0005000010144800 -name = "Donkey Kong Country: Tropical Freeze - No Anti-Aliasing" -version = 2 \ No newline at end of file diff --git a/Enhancement/TwilightPrincessHD_0AARemoval/c14019840473ff86_00000000000003c9_ps.txt b/Enhancement/TwilightPrincessHD_0AARemoval/c14019840473ff86_00000000000003c9_ps.txt deleted file mode 100644 index fb7e9502..00000000 --- a/Enhancement/TwilightPrincessHD_0AARemoval/c14019840473ff86_00000000000003c9_ps.txt +++ /dev/null @@ -1,41 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader c14019840473ff86 -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4001000 res 1920x1080x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf5187000 res 1920x1080x1 dim 1 tm: 4 format 0011 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; - -//R1f.xyzw = textureGather(textureUnitPS1, R0f.xy).wzxy; -R2f.xyzw = texture(textureUnitPS0, R0f.xy).xyzw; -passPixelColor0 = R2f.xyzw; -} diff --git a/Enhancement/TwilightPrincessHD_0AARemoval/rules.txt b/Enhancement/TwilightPrincessHD_0AARemoval/rules.txt deleted file mode 100644 index 42e41f16..00000000 --- a/Enhancement/TwilightPrincessHD_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800 -name = "The Legend of Zelda: Twilight Princess HD - No Anti-Aliasing" -version = 2 diff --git a/Enhancement/TwilightPrincessHD_Bloom/95a5a89d62998e0d_0000000000000079_ps.txt b/Enhancement/TwilightPrincessHD_Bloom/95a5a89d62998e0d_0000000000000079_ps.txt deleted file mode 100644 index f18fb192..00000000 --- a/Enhancement/TwilightPrincessHD_Bloom/95a5a89d62998e0d_0000000000000079_ps.txt +++ /dev/null @@ -1,335 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -const float bloomFactor = 0.4; -// shader 95a5a89d62998e0d -uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf59ff000 res 480x270x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R123f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw); -// 0 -R7f.x = R0f.x * intBitsToFloat(0x3b088889); -PV0f.x = R7f.x; -R7f.y = R0f.y * intBitsToFloat(0x3b72b9d6); -PV0f.y = R7f.y; -// 1 -R0f.x = PV0f.x; -R0f.y = PV0f.y + intBitsToFloat(0x3b72b9d6); -R1f.z = PV0f.x; -R1f.y = PV0f.y + intBitsToFloat(0xbb72b9d6); -PS1f = R1f.y; -// 2 -R2f.x = R7f.x; -R2f.y = R7f.y + intBitsToFloat(0x3bf2b9d6); -R4f.z = R7f.x; -R4f.y = R7f.y + intBitsToFloat(0xbbf2b9d6); -PS0f = R4f.y; -R3f.xyzw = (textureLod(textureUnitPS0, R7f.xy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.zy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -backupReg0f = R0f.x; -backupReg1f = R0f.w; -PV0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), R0f.y); -PV0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), R0f.z); -PV0f.z = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), backupReg0f); -PV0f.w = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), backupReg1f); -R0f.y = R7f.y + intBitsToFloat(0x3c360b60); -PS0f = R0f.y; -// 1 -R123f.x = (R3f.y * intBitsToFloat(uf_remappedPS[0].x) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R3f.w * intBitsToFloat(uf_remappedPS[0].x) + PV0f.w); -PV1f.y = R123f.y; -R123f.z = (R3f.x * intBitsToFloat(uf_remappedPS[0].x) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R3f.z * intBitsToFloat(uf_remappedPS[0].x) + PV0f.y); -PV1f.w = R123f.w; -R0f.x = R7f.x; -PS1f = R0f.x; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[0].y) * R1f.y + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].y) * R1f.x + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[0].y) * R1f.w + PV1f.y); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[0].y) * R1f.z + PV1f.w); -PV0f.w = R123f.w; -R1f.y = R7f.y + intBitsToFloat(0xbc360b60); -PS0f = R1f.y; -// 3 -backupReg0f = R2f.z; -R3f.x = (intBitsToFloat(uf_remappedPS[0].z) * R2f.x + PV0f.y); -R3f.y = (intBitsToFloat(uf_remappedPS[0].z) * R2f.y + PV0f.x); -R2f.z = (intBitsToFloat(uf_remappedPS[0].z) * R2f.w + PV0f.z); -R2f.w = (intBitsToFloat(uf_remappedPS[0].z) * backupReg0f + PV0f.w); -R1f.x = R7f.x; -PS1f = R1f.x; -// 4 -R2f.x = R7f.x; -R2f.y = R7f.y + intBitsToFloat(0x3c72b9d6); -R6f.z = R7f.x; -R6f.y = R7f.y + intBitsToFloat(0xbc72b9d6); -PS0f = R6f.y; -R4f.xyzw = (textureLod(textureUnitPS0, R4f.zy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R5f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[0].z) * R4f.x + R3f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].z) * R4f.w + R2f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[0].z) * R4f.z + R2f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[0].z) * R4f.y + R3f.y); -PV0f.w = R123f.w; -R3f.y = R7f.y + intBitsToFloat(0x3c97b426); -PS0f = R3f.y; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[0].w) * R0f.w + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].w) * R0f.x + PV0f.x); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[0].w) * R0f.z + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[0].w) * R0f.y + PV0f.w); -PV1f.w = R123f.w; -R3f.x = R7f.x; -PS1f = R3f.x; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[0].w) * R1f.w + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].w) * R1f.z + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[0].w) * R1f.y + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[0].w) * R1f.x + PV1f.y); -PV0f.w = R123f.w; -R1f.y = R7f.y + intBitsToFloat(0xbc97b426); -PS0f = R1f.y; -// 3 -R0f.x = (R5f.z * intBitsToFloat(uf_remappedPS[1].x) + PV0f.y); -R0f.y = (R5f.w * intBitsToFloat(uf_remappedPS[1].x) + PV0f.x); -R5f.z = (R5f.y * intBitsToFloat(uf_remappedPS[1].x) + PV0f.z); -R5f.w = (R5f.x * intBitsToFloat(uf_remappedPS[1].x) + PV0f.w); -R1f.x = R7f.x; -PS1f = R1f.x; -// 4 -R5f.x = R7f.x; -R5f.y = R7f.y + intBitsToFloat(0x3cb60b60); -R4f.z = R7f.x; -R4f.y = R7f.y + intBitsToFloat(0xbcb60b60); -PS0f = R4f.y; -R6f.xyzw = (textureLod(textureUnitPS0, R6f.zy,0.0).xyzw); -R3f.xyzw = (textureLod(textureUnitPS0, R3f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R5f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[1].x) * R6f.z + R0f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].x) * R6f.y + R5f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].x) * R6f.x + R5f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].x) * R6f.w + R0f.y); -PV0f.w = R123f.w; -R0f.y = R7f.y + intBitsToFloat(0x3cd4629b); -PS0f = R0f.y; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[1].y) * R3f.y + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].y) * R3f.w + PV0f.w); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].y) * R3f.x + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].y) * R3f.z + PV0f.x); -PV1f.w = R123f.w; -R0f.x = R7f.x; -PS1f = R0f.x; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[1].y) * R1f.y + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].y) * R1f.x + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].y) * R1f.w + PV1f.y); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].y) * R1f.z + PV1f.w); -PV0f.w = R123f.w; -R1f.y = R7f.y + intBitsToFloat(0xbcd4629b); -PS0f = R1f.y; -// 3 -backupReg0f = R2f.z; -R3f.x = (intBitsToFloat(uf_remappedPS[1].z) * R2f.x + PV0f.y); -R3f.y = (intBitsToFloat(uf_remappedPS[1].z) * R2f.y + PV0f.x); -R2f.z = (intBitsToFloat(uf_remappedPS[1].z) * R2f.w + PV0f.z); -R2f.w = (intBitsToFloat(uf_remappedPS[1].z) * backupReg0f + PV0f.w); -R1f.x = R7f.x; -PS1f = R1f.x; -// 4 -R2f.x = R7f.x; -R2f.y = R7f.y + intBitsToFloat(0x3cf2b9d6); -R6f.z = R7f.x; -R6f.y = R7f.y + intBitsToFloat(0xbcf2b9d6); -PS0f = R6f.y; -R4f.xyzw = (textureLod(textureUnitPS0, R4f.zy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R5f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[1].z) * R4f.x + R3f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].z) * R4f.w + R2f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].z) * R4f.z + R2f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].z) * R4f.y + R3f.y); -PV0f.w = R123f.w; -R3f.y = R7f.y + intBitsToFloat(0x3d088888); -PS0f = R3f.y; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[1].w) * R0f.w + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].w) * R0f.x + PV0f.x); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].w) * R0f.z + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].w) * R0f.y + PV0f.w); -PV1f.w = R123f.w; -R3f.x = R7f.x; -PS1f = R3f.x; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[1].w) * R1f.w + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].w) * R1f.z + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].w) * R1f.y + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].w) * R1f.x + PV1f.y); -PV0f.w = R123f.w; -R1f.y = R7f.y + intBitsToFloat(0xbd088888); -PS0f = R1f.y; -// 3 -R0f.x = (R5f.z * intBitsToFloat(uf_remappedPS[2].x) + PV0f.y); -R0f.y = (R5f.w * intBitsToFloat(uf_remappedPS[2].x) + PV0f.x); -R5f.z = (R5f.y * intBitsToFloat(uf_remappedPS[2].x) + PV0f.z); -R5f.w = (R5f.x * intBitsToFloat(uf_remappedPS[2].x) + PV0f.w); -R1f.x = R7f.x; -PS1f = R1f.x; -// 4 -R5f.x = R7f.x; -R5f.y = R7f.y + intBitsToFloat(0x3d17b426); -R4f.z = R7f.x; -R4f.y = R7f.y + intBitsToFloat(0xbd17b426); -PS0f = R4f.y; -R6f.xyzw = (textureLod(textureUnitPS0, R6f.zy,0.0).xyzw); -R3f.xyzw = (textureLod(textureUnitPS0, R3f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R5f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[2].x) * R6f.z + R0f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].x) * R6f.y + R5f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].x) * R6f.x + R5f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].x) * R6f.w + R0f.y); -PV0f.w = R123f.w; -R0f.y = R7f.y + intBitsToFloat(0x3d26dfc3); -PS0f = R0f.y; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[2].y) * R3f.y + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].y) * R3f.w + PV0f.w); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].y) * R3f.x + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].y) * R3f.z + PV0f.x); -PV1f.w = R123f.w; -R0f.x = R7f.x; -PS1f = R0f.x; -// 2 -backupReg0f = R7f.y; -R123f.x = (intBitsToFloat(uf_remappedPS[2].y) * R1f.y + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].y) * R1f.x + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].y) * R1f.w + PV1f.y); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].y) * R1f.z + PV1f.w); -PV0f.w = R123f.w; -R7f.y = backupReg0f + intBitsToFloat(0xbd26dfc3); -PS0f = R7f.y; -// 3 -backupReg0f = R2f.x; -backupReg1f = R2f.y; -backupReg2f = R2f.z; -R2f.x = (intBitsToFloat(uf_remappedPS[2].z) * backupReg0f + PV0f.y); -R2f.y = (intBitsToFloat(uf_remappedPS[2].z) * backupReg1f + PV0f.x); -R2f.z = (intBitsToFloat(uf_remappedPS[2].z) * R2f.w + PV0f.z); -R2f.w = (intBitsToFloat(uf_remappedPS[2].z) * backupReg2f + PV0f.w); -R4f.xyzw = (textureLod(textureUnitPS0, R4f.zy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R7f.xyzw = (textureLod(textureUnitPS0, R7f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[2].z) * R4f.x + R2f.x); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].z) * R4f.w + R2f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].z) * R4f.z + R2f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].z) * R4f.y + R2f.y); -PV0f.w = R123f.w; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[2].w) * R0f.w + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].w) * R0f.x + PV0f.x); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].w) * R0f.z + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].w) * R0f.y + PV0f.w); -PV1f.w = R123f.w; -// 2 -backupReg0f = R7f.x; -backupReg1f = R7f.y; -backupReg2f = R7f.z; -backupReg3f = R7f.w; -R7f.x = (intBitsToFloat(uf_remappedPS[2].w) * backupReg0f + PV1f.y * bloomFactor); -R7f.y = (intBitsToFloat(uf_remappedPS[2].w) * backupReg1f + PV1f.w * bloomFactor); -R7f.z = (intBitsToFloat(uf_remappedPS[2].w) * backupReg2f + PV1f.z * bloomFactor); -R7f.w = (intBitsToFloat(uf_remappedPS[2].w) * backupReg3f + PV1f.x * bloomFactor); -// export -passPixelColor0 = vec4(R7f.x, R7f.y, R7f.z, R7f.w); -} diff --git a/Enhancement/TwilightPrincessHD_Bloom/c612390d4c70f430_0000000000000079_ps.txt b/Enhancement/TwilightPrincessHD_Bloom/c612390d4c70f430_0000000000000079_ps.txt deleted file mode 100644 index 9d9de662..00000000 --- a/Enhancement/TwilightPrincessHD_Bloom/c612390d4c70f430_0000000000000079_ps.txt +++ /dev/null @@ -1,538 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -const float bloomFactor = 0.4; -// shader c612390d4c70f430 -uniform ivec4 uf_remappedPS[5]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf597f000 res 480x270x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R123f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw); -// 0 -R7f.x = R0f.x * intBitsToFloat(0x3b088889); -PV0f.x = R7f.x; -R7f.y = R0f.y * intBitsToFloat(0x3b72b9d6); -PV0f.y = R7f.y; -// 1 -R0f.x = PV0f.x + intBitsToFloat(0x3b088889); -R0f.y = PV0f.y; -R1f.z = PV0f.y; -R1f.x = PV0f.x + intBitsToFloat(0xbb088889); -PS1f = R1f.x; -// 2 -R2f.x = R7f.x + intBitsToFloat(0x3b888889); -R2f.y = R7f.y; -R4f.z = R7f.y; -R4f.x = R7f.x + intBitsToFloat(0xbb888889); -PS0f = R4f.x; -R3f.xyzw = (textureLod(textureUnitPS0, R7f.xy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xz,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -backupReg0f = R0f.y; -backupReg1f = R0f.x; -backupReg2f = R0f.w; -PV0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), R0f.z); -PV0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), backupReg0f); -PV0f.z = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), backupReg1f); -PV0f.w = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), backupReg2f); -R0f.x = R7f.x + intBitsToFloat(0x3bccccce); -PS0f = R0f.x; -// 1 -R123f.x = (R3f.w * intBitsToFloat(uf_remappedPS[0].x) + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (R3f.y * intBitsToFloat(uf_remappedPS[0].x) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R3f.x * intBitsToFloat(uf_remappedPS[0].x) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R3f.z * intBitsToFloat(uf_remappedPS[0].x) + PV0f.x); -PV1f.w = R123f.w; -R0f.y = R7f.y; -PS1f = R0f.y; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[0].y) * R1f.y + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].y) * R1f.x + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[0].y) * R1f.w + PV1f.x); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[0].y) * R1f.z + PV1f.w); -PV0f.w = R123f.w; -R1f.x = R7f.x + intBitsToFloat(0xbbccccce); -PS0f = R1f.x; -// 3 -backupReg0f = R2f.z; -R3f.x = (intBitsToFloat(uf_remappedPS[0].z) * R2f.w + PV0f.z); -R3f.y = (intBitsToFloat(uf_remappedPS[0].z) * R2f.x + PV0f.y); -R2f.z = (intBitsToFloat(uf_remappedPS[0].z) * backupReg0f + PV0f.w); -R2f.w = (intBitsToFloat(uf_remappedPS[0].z) * R2f.y + PV0f.x); -R1f.y = R7f.y; -PS1f = R1f.y; -// 4 -R2f.x = R7f.x + intBitsToFloat(0x3c088889); -R2f.y = R7f.y; -R6f.z = R7f.y; -R6f.x = R7f.x + intBitsToFloat(0xbc088889); -PS0f = R6f.x; -R4f.xyzw = (textureLod(textureUnitPS0, R4f.xz,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R5f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[0].z) * R4f.x + R3f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].z) * R4f.w + R3f.x); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[0].z) * R4f.z + R2f.z); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[0].z) * R4f.y + R2f.w); -PV0f.w = R123f.w; -R3f.x = R7f.x + intBitsToFloat(0x3c2aaaab); -PS0f = R3f.x; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[0].w) * R0f.x + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].w) * R0f.w + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[0].w) * R0f.z + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[0].w) * R0f.y + PV0f.w); -PV1f.w = R123f.w; -R3f.y = R7f.y; -PS1f = R3f.y; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[0].w) * R1f.w + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].w) * R1f.z + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[0].w) * R1f.y + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[0].w) * R1f.x + PV1f.x); -PV0f.w = R123f.w; -R1f.x = R7f.x + intBitsToFloat(0xbc2aaaab); -PS0f = R1f.x; -// 3 -R0f.x = (R5f.w * intBitsToFloat(uf_remappedPS[1].x) + PV0f.x); -R0f.y = (R5f.z * intBitsToFloat(uf_remappedPS[1].x) + PV0f.y); -R5f.z = (R5f.y * intBitsToFloat(uf_remappedPS[1].x) + PV0f.z); -R5f.w = (R5f.x * intBitsToFloat(uf_remappedPS[1].x) + PV0f.w); -R1f.y = R7f.y; -PS1f = R1f.y; -// 4 -R5f.x = R7f.x + intBitsToFloat(0x3c4cccce); -R5f.y = R7f.y; -R4f.z = R7f.y; -R4f.x = R7f.x + intBitsToFloat(0xbc4cccce); -PS0f = R4f.x; -R6f.xyzw = (textureLod(textureUnitPS0, R6f.xz,0.0).xyzw); -R3f.xyzw = (textureLod(textureUnitPS0, R3f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R5f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[1].x) * R6f.z + R0f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].x) * R6f.y + R5f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].x) * R6f.x + R5f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].x) * R6f.w + R0f.x); -PV0f.w = R123f.w; -R0f.x = R7f.x + intBitsToFloat(0x3c6eeef0); -PS0f = R0f.x; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[1].y) * R3f.w + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].y) * R3f.y + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].y) * R3f.x + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].y) * R3f.z + PV0f.x); -PV1f.w = R123f.w; -R0f.y = R7f.y; -PS1f = R0f.y; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[1].y) * R1f.y + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].y) * R1f.x + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].y) * R1f.w + PV1f.x); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].y) * R1f.z + PV1f.w); -PV0f.w = R123f.w; -R1f.x = R7f.x + intBitsToFloat(0xbc6eeef0); -PS0f = R1f.x; -// 3 -backupReg0f = R2f.z; -R3f.x = (intBitsToFloat(uf_remappedPS[1].z) * R2f.w + PV0f.z); -R3f.y = (intBitsToFloat(uf_remappedPS[1].z) * R2f.x + PV0f.y); -R2f.z = (intBitsToFloat(uf_remappedPS[1].z) * backupReg0f + PV0f.w); -R2f.w = (intBitsToFloat(uf_remappedPS[1].z) * R2f.y + PV0f.x); -R1f.y = R7f.y; -PS1f = R1f.y; -// 4 -R2f.x = R7f.x + intBitsToFloat(0x3c888889); -R2f.y = R7f.y; -R6f.z = R7f.y; -R6f.x = R7f.x + intBitsToFloat(0xbc888889); -PS0f = R6f.x; -R4f.xyzw = (textureLod(textureUnitPS0, R4f.xz,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R5f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[1].z) * R4f.x + R3f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].z) * R4f.w + R3f.x); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].z) * R4f.z + R2f.z); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].z) * R4f.y + R2f.w); -PV0f.w = R123f.w; -R3f.x = R7f.x + intBitsToFloat(0x3c99999a); -PS0f = R3f.x; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[1].w) * R0f.x + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].w) * R0f.w + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].w) * R0f.z + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].w) * R0f.y + PV0f.w); -PV1f.w = R123f.w; -R3f.y = R7f.y; -PS1f = R3f.y; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[1].w) * R1f.w + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[1].w) * R1f.z + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[1].w) * R1f.y + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[1].w) * R1f.x + PV1f.x); -PV0f.w = R123f.w; -R1f.x = R7f.x + intBitsToFloat(0xbc99999a); -PS0f = R1f.x; -// 3 -R0f.x = (R5f.w * intBitsToFloat(uf_remappedPS[2].x) + PV0f.x); -R0f.y = (R5f.z * intBitsToFloat(uf_remappedPS[2].x) + PV0f.y); -R5f.z = (R5f.y * intBitsToFloat(uf_remappedPS[2].x) + PV0f.z); -R5f.w = (R5f.x * intBitsToFloat(uf_remappedPS[2].x) + PV0f.w); -R1f.y = R7f.y; -PS1f = R1f.y; -// 4 -R5f.x = R7f.x + intBitsToFloat(0x3caaaaab); -R5f.y = R7f.y; -R4f.z = R7f.y; -R4f.x = R7f.x + intBitsToFloat(0xbcaaaaab); -PS0f = R4f.x; -R6f.xyzw = (textureLod(textureUnitPS0, R6f.xz,0.0).xyzw); -R3f.xyzw = (textureLod(textureUnitPS0, R3f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R5f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[2].x) * R6f.z + R0f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].x) * R6f.y + R5f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].x) * R6f.x + R5f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].x) * R6f.w + R0f.x); -PV0f.w = R123f.w; -R0f.x = R7f.x + intBitsToFloat(0x3cbbbbbc); -PS0f = R0f.x; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[2].y) * R3f.w + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].y) * R3f.y + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].y) * R3f.x + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].y) * R3f.z + PV0f.x); -PV1f.w = R123f.w; -R0f.y = R7f.y; -PS1f = R0f.y; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[2].y) * R1f.y + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].y) * R1f.x + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].y) * R1f.w + PV1f.x); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].y) * R1f.z + PV1f.w); -PV0f.w = R123f.w; -R1f.x = R7f.x + intBitsToFloat(0xbcbbbbbc); -PS0f = R1f.x; -// 3 -backupReg0f = R2f.z; -R3f.x = (intBitsToFloat(uf_remappedPS[2].z) * R2f.w + PV0f.z); -R3f.y = (intBitsToFloat(uf_remappedPS[2].z) * R2f.x + PV0f.y); -R2f.z = (intBitsToFloat(uf_remappedPS[2].z) * backupReg0f + PV0f.w); -R2f.w = (intBitsToFloat(uf_remappedPS[2].z) * R2f.y + PV0f.x); -R1f.y = R7f.y; -PS1f = R1f.y; -// 4 -R2f.x = R7f.x + intBitsToFloat(0x3cccccce); -R2f.y = R7f.y; -R6f.z = R7f.y; -R6f.x = R7f.x + intBitsToFloat(0xbcccccce); -PS0f = R6f.x; -R4f.xyzw = (textureLod(textureUnitPS0, R4f.xz,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R5f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[2].z) * R4f.x + R3f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].z) * R4f.w + R3f.x); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].z) * R4f.z + R2f.z); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].z) * R4f.y + R2f.w); -PV0f.w = R123f.w; -R3f.x = R7f.x + intBitsToFloat(0x3cdddddf); -PS0f = R3f.x; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[2].w) * R0f.x + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].w) * R0f.w + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].w) * R0f.z + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].w) * R0f.y + PV0f.w); -PV1f.w = R123f.w; -R3f.y = R7f.y; -PS1f = R3f.y; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[2].w) * R1f.w + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[2].w) * R1f.z + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[2].w) * R1f.y + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[2].w) * R1f.x + PV1f.x); -PV0f.w = R123f.w; -R1f.x = R7f.x + intBitsToFloat(0xbcdddddf); -PS0f = R1f.x; -// 3 -R0f.x = (R5f.w * intBitsToFloat(uf_remappedPS[3].x) + PV0f.x); -R0f.y = (R5f.z * intBitsToFloat(uf_remappedPS[3].x) + PV0f.y); -R5f.z = (R5f.y * intBitsToFloat(uf_remappedPS[3].x) + PV0f.z); -R5f.w = (R5f.x * intBitsToFloat(uf_remappedPS[3].x) + PV0f.w); -R1f.y = R7f.y; -PS1f = R1f.y; -// 4 -R5f.x = R7f.x + intBitsToFloat(0x3ceeeef0); -R5f.y = R7f.y; -R4f.z = R7f.y; -R4f.x = R7f.x + intBitsToFloat(0xbceeeef0); -PS0f = R4f.x; -R6f.xyzw = (textureLod(textureUnitPS0, R6f.xz,0.0).xyzw); -R3f.xyzw = (textureLod(textureUnitPS0, R3f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R5f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[3].x) * R6f.z + R0f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[3].x) * R6f.y + R5f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[3].x) * R6f.x + R5f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[3].x) * R6f.w + R0f.x); -PV0f.w = R123f.w; -R0f.x = R7f.x + intBitsToFloat(0x3d000000); -PS0f = R0f.x; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[3].y) * R3f.w + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[3].y) * R3f.y + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[3].y) * R3f.x + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[3].y) * R3f.z + PV0f.x); -PV1f.w = R123f.w; -R0f.y = R7f.y; -PS1f = R0f.y; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[3].y) * R1f.y + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[3].y) * R1f.x + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[3].y) * R1f.w + PV1f.x); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[3].y) * R1f.z + PV1f.w); -PV0f.w = R123f.w; -R1f.x = R7f.x + intBitsToFloat(0xbd000000); -PS0f = R1f.x; -// 3 -backupReg0f = R2f.z; -R3f.x = (intBitsToFloat(uf_remappedPS[3].z) * R2f.w + PV0f.z); -R3f.y = (intBitsToFloat(uf_remappedPS[3].z) * R2f.x + PV0f.y); -R2f.z = (intBitsToFloat(uf_remappedPS[3].z) * backupReg0f + PV0f.w); -R2f.w = (intBitsToFloat(uf_remappedPS[3].z) * R2f.y + PV0f.x); -R1f.y = R7f.y; -PS1f = R1f.y; -// 4 -R2f.x = R7f.x + intBitsToFloat(0x3d088889); -R2f.y = R7f.y; -R6f.z = R7f.y; -R6f.x = R7f.x + intBitsToFloat(0xbd088889); -PS0f = R6f.x; -R4f.xyzw = (textureLod(textureUnitPS0, R4f.xz,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R5f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[3].z) * R4f.x + R3f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[3].z) * R4f.w + R3f.x); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[3].z) * R4f.z + R2f.z); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[3].z) * R4f.y + R2f.w); -PV0f.w = R123f.w; -R3f.x = R7f.x + intBitsToFloat(0x3d111112); -PS0f = R3f.x; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[3].w) * R0f.x + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[3].w) * R0f.w + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[3].w) * R0f.z + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[3].w) * R0f.y + PV0f.w); -PV1f.w = R123f.w; -R3f.y = R7f.y; -PS1f = R3f.y; -// 2 -R123f.x = (intBitsToFloat(uf_remappedPS[3].w) * R1f.w + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[3].w) * R1f.z + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[3].w) * R1f.y + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[3].w) * R1f.x + PV1f.x); -PV0f.w = R123f.w; -R1f.x = R7f.x + intBitsToFloat(0xbd111112); -PS0f = R1f.x; -// 3 -R0f.x = (R5f.w * intBitsToFloat(uf_remappedPS[4].x) + PV0f.x); -R0f.y = (R5f.z * intBitsToFloat(uf_remappedPS[4].x) + PV0f.y); -R5f.z = (R5f.y * intBitsToFloat(uf_remappedPS[4].x) + PV0f.z); -R5f.w = (R5f.x * intBitsToFloat(uf_remappedPS[4].x) + PV0f.w); -R1f.y = R7f.y; -PS1f = R1f.y; -// 4 -R5f.x = R7f.x + intBitsToFloat(0x3d19999a); -R5f.y = R7f.y; -R4f.z = R7f.y; -R4f.x = R7f.x + intBitsToFloat(0xbd19999a); -PS0f = R4f.x; -R6f.xyzw = (textureLod(textureUnitPS0, R6f.xz,0.0).xyzw); -R3f.xyzw = (textureLod(textureUnitPS0, R3f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R5f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[4].x) * R6f.z + R0f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[4].x) * R6f.y + R5f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[4].x) * R6f.x + R5f.w); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[4].x) * R6f.w + R0f.x); -PV0f.w = R123f.w; -R0f.x = R7f.x + intBitsToFloat(0x3d222223); -PS0f = R0f.x; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[4].y) * R3f.w + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[4].y) * R3f.y + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[4].y) * R3f.x + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[4].y) * R3f.z + PV0f.x); -PV1f.w = R123f.w; -R0f.y = R7f.y; -PS1f = R0f.y; -// 2 -backupReg0f = R7f.x; -R123f.x = (intBitsToFloat(uf_remappedPS[4].y) * R1f.y + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[4].y) * R1f.x + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[4].y) * R1f.w + PV1f.x); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[4].y) * R1f.z + PV1f.w); -PV0f.w = R123f.w; -R7f.x = backupReg0f + intBitsToFloat(0xbd222223); -PS0f = R7f.x; -// 3 -backupReg0f = R2f.x; -backupReg1f = R2f.z; -backupReg2f = R2f.y; -R2f.x = (intBitsToFloat(uf_remappedPS[4].z) * R2f.w + PV0f.z); -R2f.y = (intBitsToFloat(uf_remappedPS[4].z) * backupReg0f + PV0f.y); -R2f.z = (intBitsToFloat(uf_remappedPS[4].z) * backupReg1f + PV0f.w); -R2f.w = (intBitsToFloat(uf_remappedPS[4].z) * backupReg2f + PV0f.x); -R4f.xyzw = (textureLod(textureUnitPS0, R4f.xz,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R7f.xyzw = (textureLod(textureUnitPS0, R7f.xy,0.0).xyzw); -// 0 -R123f.x = (intBitsToFloat(uf_remappedPS[4].z) * R4f.x + R2f.y); -PV0f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[4].z) * R4f.w + R2f.x); -PV0f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[4].z) * R4f.z + R2f.z); -PV0f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[4].z) * R4f.y + R2f.w); -PV0f.w = R123f.w; -// 1 -R123f.x = (intBitsToFloat(uf_remappedPS[4].w) * R0f.x + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[4].w) * R0f.w + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (intBitsToFloat(uf_remappedPS[4].w) * R0f.z + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (intBitsToFloat(uf_remappedPS[4].w) * R0f.y + PV0f.w); -PV1f.w = R123f.w; -// 2 -backupReg0f = R7f.x; -backupReg1f = R7f.y; -backupReg2f = R7f.z; -backupReg3f = R7f.w; -R7f.x = (intBitsToFloat(uf_remappedPS[4].w) * backupReg0f + PV1f.x * bloomFactor); -R7f.y = (intBitsToFloat(uf_remappedPS[4].w) * backupReg1f + PV1f.w * bloomFactor); -R7f.z = (intBitsToFloat(uf_remappedPS[4].w) * backupReg2f + PV1f.z * bloomFactor); -R7f.w = (intBitsToFloat(uf_remappedPS[4].w) * backupReg3f + PV1f.y * bloomFactor); -// export -passPixelColor0 = vec4(R7f.x, R7f.y, R7f.z, R7f.w); -} diff --git a/Enhancement/TwilightPrincessHD_Bloom/rules.txt b/Enhancement/TwilightPrincessHD_Bloom/rules.txt deleted file mode 100644 index 425079c1..00000000 --- a/Enhancement/TwilightPrincessHD_Bloom/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800 -name = "The Legend of Zelda: Twilight Princess HD - Adjustable Bloom" -version = 2 diff --git a/Enhancement/TwilightPrincessHD_contrasty/49865bd2e62efda1_0000000000000079_ps.txt b/Enhancement/TwilightPrincessHD_contrasty/49865bd2e62efda1_0000000000000079_ps.txt deleted file mode 100644 index 3c6cb2f0..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/49865bd2e62efda1_0000000000000079_ps.txt +++ /dev/null @@ -1,56 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 49865bd2e62efda1 -//dark world bloom - -const float bloom = 0.98; -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf597f000 res 480x270x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -R0f.xyz = (textureLod(textureUnitPS0, R0f.xy,0.0).xyz)*bloom; -// 0 -backupReg0f = R0f.y; -backupReg1f = R0f.x; -PV0f.x = mul_nonIEEE(R0f.z, intBitsToFloat(uf_remappedPS[0].z)); -PV0f.y = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedPS[0].y)); -PV0f.z = mul_nonIEEE(backupReg1f, intBitsToFloat(uf_remappedPS[0].x)); -PV0f.w = intBitsToFloat(uf_remappedPS[0].w); -// 1 -PV1f.x = max(PV0f.w, 0.0); -PV1f.y = max(PV0f.x, 0.0); -PV1f.z = max(PV0f.y, 0.0); -PV1f.w = max(PV0f.z, 0.0); -// 2 -R0f.x = min(PV1f.w, 1.0); -R0f.y = min(PV1f.z, 1.0); -R0f.z = min(PV1f.y, 1.0); -R0f.w = min(PV1f.x, 1.0); -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Enhancement/TwilightPrincessHD_contrasty/5f422bf63e25be7f_0000000000000079_ps.txt b/Enhancement/TwilightPrincessHD_contrasty/5f422bf63e25be7f_0000000000000079_ps.txt deleted file mode 100644 index 7fcc692b..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/5f422bf63e25be7f_0000000000000079_ps.txt +++ /dev/null @@ -1,62 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 5f422bf63e25be7f // Bleach pass cutscene - -const float bleach = 0.7; - -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x24dfb000 res 960x540x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem1; -R0f.w = (texture(textureUnitPS0, R0f.xy).x); -// 0 -PV0f.x = intBitsToFloat(uf_remappedPS[0].x) * intBitsToFloat(0x3f7f0000); -PV0f.z = intBitsToFloat(uf_remappedPS[0].z) * intBitsToFloat(0x3f7f0000); -PV0f.w = intBitsToFloat(uf_remappedPS[0].y) * intBitsToFloat(0x3f7f0000); -R1f.w = intBitsToFloat(uf_remappedPS[0].w); -R1f.w = clamp(R1f.w, 0.0, 1.0); -PS0f = R1f.w; -// 1 -PV1f.x = fract(PV0f.w); -PV1f.y = fract(PV0f.x); -PV1f.w = fract(PV0f.z); -// 2 -PV0f.x = PV1f.w * intBitsToFloat(0x3f808081); -PV0f.y = PV1f.x * intBitsToFloat(0x3f808081); -PV0f.z = PV1f.y * intBitsToFloat(0x3f808081); -// 3 -R1f.x = mul_nonIEEE(R0f.w, PV0f.z); -R1f.x = clamp(R1f.x, 0.0, 1.0); -R1f.y = mul_nonIEEE(R0f.w, PV0f.y); -R1f.y = clamp(R1f.y, 0.0, 1.0); -R1f.z = mul_nonIEEE(R0f.w, PV0f.x); -R1f.z = clamp(R1f.z, 0.0, 1.0); -// export -passPixelColor0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w) * bleach; -} diff --git a/Enhancement/TwilightPrincessHD_contrasty/95a5a89d62998e0d_0000000000000079_ps.txt b/Enhancement/TwilightPrincessHD_contrasty/95a5a89d62998e0d_0000000000000079_ps.txt deleted file mode 100644 index a09a483c..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/95a5a89d62998e0d_0000000000000079_ps.txt +++ /dev/null @@ -1,341 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 95a5a89d62998e0d - -// blur -const float bloom = 0.98; - -uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf59ff000 res 480x270x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R123f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -float scaler; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw); -scaler = uf_fragCoordScale.x; -// 0 -R7f.x = R0f.x * intBitsToFloat(0x3b088889); -PV0f.x = R7f.x; -R7f.y = R0f.y * intBitsToFloat(0x3b72b9d6); -PV0f.y = R7f.y; -// 1 -R0f.x = PV0f.x; -R0f.y = PV0f.y + intBitsToFloat(0x3b72b9d6) * scaler; -R1f.z = PV0f.x; -R1f.y = PV0f.y + intBitsToFloat(0xbb72b9d6) * scaler; -PS1f = R1f.y; -// 2 -R2f.x = R7f.x; -R2f.y = R7f.y + intBitsToFloat(0x3bf2b9d6) * scaler; -R4f.z = R7f.x; -R4f.y = R7f.y + intBitsToFloat(0xbbf2b9d6) * scaler; -PS0f = R4f.y; -R3f.xyzw = (textureLod(textureUnitPS0, R7f.xy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.zy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -backupReg0f = R0f.x; -backupReg1f = R0f.w; -PV0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), R0f.y); -PV0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), R0f.z); -PV0f.z = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), backupReg0f); -PV0f.w = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), backupReg1f); -R0f.y = R7f.y + intBitsToFloat(0x3c360b60) * scaler; -PS0f = R0f.y; -// 1 -R123f.x = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedPS[0].x)) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(R3f.w,intBitsToFloat(uf_remappedPS[0].x)) + PV0f.w); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedPS[0].x)) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(R3f.z,intBitsToFloat(uf_remappedPS[0].x)) + PV0f.y); -PV1f.w = R123f.w; -R0f.x = R7f.x; -PS1f = R0f.x; -// 2 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y),R1f.y) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y),R1f.x) + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y),R1f.w) + PV1f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y),R1f.z) + PV1f.w); -PV0f.w = R123f.w; -R1f.y = R7f.y + intBitsToFloat(0xbc360b60) * scaler; -PS0f = R1f.y; -// 3 -backupReg0f = R2f.z; -R3f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].z),R2f.x) + PV0f.y); -R3f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].z),R2f.y) + PV0f.x); -R2f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].z),R2f.w) + PV0f.z); -R2f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].z),backupReg0f) + PV0f.w); -R1f.x = R7f.x; -PS1f = R1f.x; -// 4 -R2f.x = R7f.x; -R2f.y = R7f.y + intBitsToFloat(0x3c72b9d6) * scaler; -R6f.z = R7f.x; -R6f.y = R7f.y + intBitsToFloat(0xbc72b9d6) * scaler; -PS0f = R6f.y; -R4f.xyzw = (textureLod(textureUnitPS0, R4f.zy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R5f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].z),R4f.x) + R3f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].z),R4f.w) + R2f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].z),R4f.z) + R2f.w); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].z),R4f.y) + R3f.y); -PV0f.w = R123f.w; -R3f.y = R7f.y + intBitsToFloat(0x3c97b426) * scaler; -PS0f = R3f.y; -// 1 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].w),R0f.w) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].w),R0f.x) + PV0f.x); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].w),R0f.z) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].w),R0f.y) + PV0f.w); -PV1f.w = R123f.w; -R3f.x = R7f.x; -PS1f = R3f.x; -// 2 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].w),R1f.w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].w),R1f.z) + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].w),R1f.y) + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].w),R1f.x) + PV1f.y); -PV0f.w = R123f.w; -R1f.y = R7f.y + intBitsToFloat(0xbc97b426) * scaler; -PS0f = R1f.y; -// 3 -R0f.x = (mul_nonIEEE(R5f.z,intBitsToFloat(uf_remappedPS[1].x)) + PV0f.y); -R0f.y = (mul_nonIEEE(R5f.w,intBitsToFloat(uf_remappedPS[1].x)) + PV0f.x); -R5f.z = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedPS[1].x)) + PV0f.z); -R5f.w = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedPS[1].x)) + PV0f.w); -R1f.x = R7f.x; -PS1f = R1f.x; -// 4 -R5f.x = R7f.x; -R5f.y = R7f.y + intBitsToFloat(0x3cb60b60) * scaler; -R4f.z = R7f.x; -R4f.y = R7f.y + intBitsToFloat(0xbcb60b60) * scaler; -PS0f = R4f.y; -R6f.xyzw = (textureLod(textureUnitPS0, R6f.zy,0.0).xyzw); -R3f.xyzw = (textureLod(textureUnitPS0, R3f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R5f.xy,0.0).xyzw); -// 0 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].x),R6f.z) + R0f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].x),R6f.y) + R5f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].x),R6f.x) + R5f.w); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].x),R6f.w) + R0f.y); -PV0f.w = R123f.w; -R0f.y = R7f.y + intBitsToFloat(0x3cd4629b) * scaler; -PS0f = R0f.y; -// 1 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R3f.y) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R3f.w) + PV0f.w); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R3f.x) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R3f.z) + PV0f.x); -PV1f.w = R123f.w; -R0f.x = R7f.x; -PS1f = R0f.x; -// 2 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R1f.y) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R1f.x) + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R1f.w) + PV1f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R1f.z) + PV1f.w); -PV0f.w = R123f.w; -R1f.y = R7f.y + intBitsToFloat(0xbcd4629b) * scaler; -PS0f = R1f.y; -// 3 -backupReg0f = R2f.z; -R3f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),R2f.x) + PV0f.y); -R3f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),R2f.y) + PV0f.x); -R2f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),R2f.w) + PV0f.z); -R2f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),backupReg0f) + PV0f.w); -R1f.x = R7f.x; -PS1f = R1f.x; -// 4 -R2f.x = R7f.x; -R2f.y = R7f.y + intBitsToFloat(0x3cf2b9d6) * scaler; -R6f.z = R7f.x; -R6f.y = R7f.y + intBitsToFloat(0xbcf2b9d6) * scaler; -PS0f = R6f.y; -R4f.xyzw = (textureLod(textureUnitPS0, R4f.zy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R5f.xyzw = (textureLod(textureUnitPS0, R2f.xy,0.0).xyzw); -// 0 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),R4f.x) + R3f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),R4f.w) + R2f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),R4f.z) + R2f.w); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),R4f.y) + R3f.y); -PV0f.w = R123f.w; -R3f.y = R7f.y + intBitsToFloat(0x3d088888) * scaler; -PS0f = R3f.y; -// 1 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w),R0f.w) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w),R0f.x) + PV0f.x); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w),R0f.z) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w),R0f.y) + PV0f.w); -PV1f.w = R123f.w; -R3f.x = R7f.x; -PS1f = R3f.x; -// 2 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w),R1f.w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w),R1f.z) + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w),R1f.y) + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w),R1f.x) + PV1f.y); -PV0f.w = R123f.w; -R1f.y = R7f.y + intBitsToFloat(0xbd088888) * scaler; -PS0f = R1f.y; -// 3 -R0f.x = (mul_nonIEEE(R5f.z,intBitsToFloat(uf_remappedPS[2].x)) + PV0f.y); -R0f.y = (mul_nonIEEE(R5f.w,intBitsToFloat(uf_remappedPS[2].x)) + PV0f.x); -R5f.z = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedPS[2].x)) + PV0f.z); -R5f.w = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedPS[2].x)) + PV0f.w); -R1f.x = R7f.x; -PS1f = R1f.x; -// 4 -R5f.x = R7f.x; -R5f.y = R7f.y + intBitsToFloat(0x3d17b426) * scaler; -R4f.z = R7f.x; -R4f.y = R7f.y + intBitsToFloat(0xbd17b426) * scaler; -PS0f = R4f.y; -R6f.xyzw = (textureLod(textureUnitPS0, R6f.zy,0.0).xyzw); -R3f.xyzw = (textureLod(textureUnitPS0, R3f.xy,0.0).xyzw); -R1f.xyzw = (textureLod(textureUnitPS0, R1f.xy,0.0).xyzw); -R2f.xyzw = (textureLod(textureUnitPS0, R5f.xy,0.0).xyzw); -// 0 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].x),R6f.z) + R0f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].x),R6f.y) + R5f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].x),R6f.x) + R5f.w); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].x),R6f.w) + R0f.y); -PV0f.w = R123f.w; -R0f.y = R7f.y + intBitsToFloat(0x3d26dfc3) * scaler; -PS0f = R0f.y; -// 1 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R3f.y) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R3f.w) + PV0f.w); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R3f.x) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R3f.z) + PV0f.x); -PV1f.w = R123f.w; -R0f.x = R7f.x; -PS1f = R0f.x; -// 2 -backupReg0f = R7f.y; -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R1f.y) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R1f.x) + PV1f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R1f.w) + PV1f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R1f.z) + PV1f.w); -PV0f.w = R123f.w; -R7f.y = backupReg0f + intBitsToFloat(0xbd26dfc3) * scaler; -PS0f = R7f.y; -// 3 -backupReg0f = R2f.x; -backupReg1f = R2f.y; -backupReg2f = R2f.z; -R2f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),backupReg0f) + PV0f.y); -R2f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),backupReg1f) + PV0f.x); -R2f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),R2f.w) + PV0f.z); -R2f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),backupReg2f) + PV0f.w); -R4f.xyzw = (textureLod(textureUnitPS0, R4f.zy,0.0).xyzw); -R0f.xyzw = (textureLod(textureUnitPS0, R0f.xy,0.0).xyzw); -R7f.xyzw = (textureLod(textureUnitPS0, R7f.xy,0.0).xyzw); -// 0 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),R4f.x) + R2f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),R4f.w) + R2f.z); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),R4f.z) + R2f.w); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),R4f.y) + R2f.y); -PV0f.w = R123f.w; -// 1 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].w),R0f.w) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].w),R0f.x) + PV0f.x); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].w),R0f.z) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].w),R0f.y) + PV0f.w); -PV1f.w = R123f.w; -// 2 -backupReg0f = R7f.x; -backupReg1f = R7f.y; -backupReg2f = R7f.z; -backupReg3f = R7f.w; -R7f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].w),backupReg0f) + PV1f.y); -R7f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].w),backupReg1f) + PV1f.w); -R7f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].w),backupReg2f) + PV1f.z); -R7f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].w),backupReg3f) + PV1f.x); -// export -passPixelColor0 = vec4(R7f.x, R7f.y, R7f.z, R7f.w)* bloom; -} diff --git a/Enhancement/TwilightPrincessHD_contrasty/_S_6437bc3fbba05d3a_000000000000000f_ps.txt b/Enhancement/TwilightPrincessHD_contrasty/_S_6437bc3fbba05d3a_000000000000000f_ps.txt deleted file mode 100644 index 92e25b3f..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/_S_6437bc3fbba05d3a_000000000000000f_ps.txt +++ /dev/null @@ -1,87 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 6437bc3fbba05d3a //skyline -const float redScale = 0.95; -const float greenScale = 1.06; -const float blueScale = 1.28; -const float hazeFactor = 0.1; - - -//old contrasty, or just copy paste clarity -const float gamma = 1.025; // 1.0 is neutral Botw is already colour graded at this stage -const float exposure = 0.99; // 1.0 is neutral -const float vibrance = 0.75; // 0.0 is neutral -const float crushContrast = 0.0; // 0.0 is neutral. Use small increments, loss of shadow detail - -vec3 contrasty(vec3 colour){ - vec3 fColour = (colour.xyz); -fColour.x = fColour.x *redScale; -fColour.y = fColour.y *greenScale; -fColour.z = fColour.z *blueScale; - - fColour = clamp(exposure * fColour, 0.0, 1.0); - fColour = pow(fColour, vec3(1.0 / gamma)); - float luminance = fColour.r*0.299 + fColour.g*0.587 + fColour.b*0.114; - float mn = min(min(fColour.r, fColour.g), fColour.b); - float mx = max(max(fColour.r, fColour.g), fColour.b); - float sat = (1.0 - (mx - mn)) * (1.0 - mx) * luminance * 5.0; - vec3 lightness = vec3((mn + mx) / 2.0); -// vibrance - fColour = mix(fColour, mix(fColour, lightness, -vibrance), sat); - fColour = max(vec3(0.0), fColour - vec3(crushContrast)); - return fColour; -} - -uniform ivec4 uf_remappedPS[1]; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -// 0 -PV0f.x = intBitsToFloat(uf_remappedPS[0].w) * intBitsToFloat(0x3f7f0000); -PV0f.y = intBitsToFloat(uf_remappedPS[0].z) * intBitsToFloat(0x3f7f0000); -PV0f.z = intBitsToFloat(uf_remappedPS[0].y) * intBitsToFloat(0x3f7f0000); -PV0f.w = intBitsToFloat(uf_remappedPS[0].x) * intBitsToFloat(0x3f7f0000); -// 1 -PV1f.x = fract(PV0f.w); -PV1f.y = fract(PV0f.x); -PV1f.z = fract(PV0f.y); -PV1f.w = fract(PV0f.z); -// 2 -R0f.x = PV1f.x * intBitsToFloat(0x3f808081); -R0f.x = clamp(R0f.x, 0.0, 1.0); -R0f.y = PV1f.w * intBitsToFloat(0x3f808081); -R0f.y = clamp(R0f.y, 0.0, 1.0); -R0f.z = PV1f.z * intBitsToFloat(0x3f808081); -R0f.z = clamp(R0f.z, 0.0, 1.0); -R0f.w = PV1f.y * intBitsToFloat(0x3f808081); -R0f.w = clamp(R0f.w, 0.0, 1.0); -// export - -R0f.xyz = contrasty(R0f.xyz); -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); - - -//passPixelColor0 = vec4(R0f.x*redScale, R0f.y*greenScale, R0f.z*blueScale, R0f.w); -} diff --git a/Enhancement/TwilightPrincessHD_contrasty/_s_afa7dc4b804ad02f_0000000000000079_ps.txt b/Enhancement/TwilightPrincessHD_contrasty/_s_afa7dc4b804ad02f_0000000000000079_ps.txt deleted file mode 100644 index 059f943a..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/_s_afa7dc4b804ad02f_0000000000000079_ps.txt +++ /dev/null @@ -1,100 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader afa7dc4b804ad02f // sky -const float redScale = 0.95; -const float greenScale = 1.06; -const float blueScale = 1.28; -const float hazeFactor = 0.1; - - -//old contrasty, or just copy paste clarity -const float gamma = 1.025; // 1.0 is neutral Botw is already colour graded at this stage -const float exposure = 0.99; // 1.0 is neutral -const float vibrance = 0.75; // 0.0 is neutral -const float crushContrast = 0.0; // 0.0 is neutral. Use small increments, loss of shadow detail - -vec3 contrasty(vec3 colour){ - vec3 fColour = (colour.xyz); -fColour.x = fColour.x *redScale; -fColour.y = fColour.y *greenScale; -fColour.z = fColour.z *blueScale; - - fColour = clamp(exposure * fColour, 0.0, 1.0); - fColour = pow(fColour, vec3(1.0 / gamma)); - float luminance = fColour.r*0.299 + fColour.g*0.587 + fColour.b*0.114; - float mn = min(min(fColour.r, fColour.g), fColour.b); - float mx = max(max(fColour.r, fColour.g), fColour.b); - float sat = (1.0 - (mx - mn)) * (1.0 - mx) * luminance * 5.0; - vec3 lightness = vec3((mn + mx) / 2.0); -// vibrance - fColour = mix(fColour, mix(fColour, lightness, -vibrance), sat); - fColour = max(vec3(0.0), fColour - vec3(crushContrast)); - return fColour; -} - -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x2f74d800 res 64x64x1 dim 1 tm: 4 format 0001 compSel: 0 0 0 0 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -R1f = passParameterSem1; -R1f.xyz = (texture(textureUnitPS0, R1f.xy).xyz); -// 0 -backupReg0f = R0f.w; -PV0f.x = intBitsToFloat(uf_remappedPS[0].x) * intBitsToFloat(0x3f7f0000); -PV0f.y = intBitsToFloat(uf_remappedPS[0].w) * intBitsToFloat(0x3f7f0000); -PV0f.z = intBitsToFloat(uf_remappedPS[0].z) * intBitsToFloat(0x3f7f0000); -PV0f.w = intBitsToFloat(uf_remappedPS[0].y) * intBitsToFloat(0x3f7f0000); -R127f.x = backupReg0f * intBitsToFloat(0x3f808081); -PS0f = R127f.x; -// 1 -PV1f.x = fract(PV0f.w); -PV1f.y = fract(PV0f.x); -PV1f.z = fract(PV0f.y); -PV1f.w = fract(PV0f.z); -// 2 -PV0f.y = PV1f.x * intBitsToFloat(0x3f808081); -PV0f.z = PV1f.y * intBitsToFloat(0x3f808081); -PV0f.w = PV1f.w * intBitsToFloat(0x3f808081); -R0f.w = mul_nonIEEE(PV1f.z, R127f.x); -R0f.w = clamp(R0f.w, 0.0, 1.0); -PS0f = R0f.w; -// 3 -R0f.x = mul_nonIEEE(R1f.x, PV0f.z); -R0f.x = clamp(R0f.x, 0.0, 1.0); -R0f.y = mul_nonIEEE(R1f.y, PV0f.y); -R0f.y = clamp(R0f.y, 0.0, 1.0); -R0f.z = mul_nonIEEE(R1f.z, PV0f.w); -R0f.z = clamp(R0f.z, 0.0, 1.0); -// export - -R0f.xyz = contrasty(R0f.xyz); -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Enhancement/TwilightPrincessHD_contrasty/c14019840473ff86_00000000000003c9_ps.txt b/Enhancement/TwilightPrincessHD_contrasty/c14019840473ff86_00000000000003c9_ps.txt deleted file mode 100644 index e2739cc7..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/c14019840473ff86_00000000000003c9_ps.txt +++ /dev/null @@ -1,173 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader c14019840473ff86 //aa -const float redScale = 0.92; -const float greenScale = 1.02; //5 -const float blueScale = 1.24; -const float hazeFactor = 0.1; - -const float gamma = 0.98; // 1.0 is neutral Botw is already colour graded at this stage -const float exposure = 1.075; // 1.0 is neutral -const float vibrance = 0.37; // 0.0 is neutral -const float crushContrast = 0.00; // 0.0 is neutral. Use small increments, loss of shadow detail - -float Sigmoid (float x) { - - return 1.0 / (1.0 + (exp(-(x - 0.5) * 5.5))); -} - - -vec3 contrasty(vec3 colour){ - vec3 fColour = (colour.xyz); -fColour.x = fColour.x *redScale; -fColour.y = fColour.y *greenScale; -fColour.z = fColour.z *blueScale; - - fColour = clamp(exposure * fColour, 0.0, 1.0); - fColour = pow(fColour, vec3(1.0 / gamma)); - float luminance = fColour.r*0.299 + fColour.g*0.587 + fColour.b*0.114; - float mn = min(min(fColour.r, fColour.g), fColour.b); - float mx = max(max(fColour.r, fColour.g), fColour.b); - float sat = (1.0 - (mx - mn)) * (1.0 - mx) * luminance * 5.0; - vec3 lightness = vec3((mn + mx) / 2.0); -// vibrance - fColour = mix(fColour, mix(fColour, lightness, -vibrance), sat); - fColour = max(vec3(0.0), fColour - vec3(crushContrast)); - return fColour; -} - - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4001000 res 1920x1080x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf5187000 res 1920x1080x1 dim 1 tm: 4 format 0011 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -R0f.w = (textureGather(textureUnitPS1, R0f.xy).y); -// 0 -R1f.x = R0f.x + intBitsToFloat(0xba088889); -R1f.y = R0f.y + intBitsToFloat(0xba72b9d6); -R2f.z = R0f.x; -R2f.y = R0f.y + intBitsToFloat(0xba72b9d6); -PS0f = R2f.y; -// 1 -R3f.x = R0f.x + intBitsToFloat(0xba088889); -R3f.y = R0f.y; -R1f.xyzw = (textureGather(textureUnitPS1, R1f.xy).xyzw); -R2f.yz = (textureGather(textureUnitPS1, R2f.zy).yz); -R3f.xy = (textureGather(textureUnitPS1, R3f.xy).xy); -// 0 -PV0f.x = R2f.z + R3f.x; -PV0f.y = R1f.w + R0f.w; -PV0f.z = R1f.z + R3f.y; -PV0f.w = R1f.x + R2f.y; -// 1 -R123f.x = (R1f.y * 2.0 + -(PV0f.x)); -PV1f.x = R123f.x; -R123f.y = (R1f.y * 2.0 + -(PV0f.y)); -PV1f.y = R123f.y; -R123f.z = (R1f.y * 2.0 + -(PV0f.z)); -PV1f.z = R123f.z; -R123f.w = (R1f.y * 2.0 + -(PV0f.w)); -PV1f.w = R123f.w; -// 2 -PV0f.x = max(PV1f.x, -(PV1f.x)); -PV0f.y = max(PV1f.y, -(PV1f.y)); -PV0f.z = max(PV1f.z, -(PV1f.z)); -PV0f.w = max(PV1f.w, -(PV1f.w)); -// 3 -PV1f.x = PV0f.x + intBitsToFloat(0xb400d959); -PV1f.y = PV0f.y + intBitsToFloat(0xb400d959); -PV1f.z = PV0f.z + intBitsToFloat(0xb400d959); -PV1f.w = PV0f.w + intBitsToFloat(0xb400d959); -// 4 -R123f.x = intBitsToFloat(((PV1f.w >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV0f.x = R123f.x; -R123f.y = intBitsToFloat(((PV1f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV0f.y = R123f.y; -R123f.z = intBitsToFloat(((PV1f.y >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV0f.z = R123f.z; -R123f.w = intBitsToFloat(((PV1f.x >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV0f.w = R123f.w; -// 5 -tempf.x = dot(vec4(PV0f.x,PV0f.y,PV0f.z,PV0f.w),vec4(0.25,0.25,0.25,0.25)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -// 6 -R127f.z = PV1f.x * intBitsToFloat(0x3f400000)*0.5; -PV0f.z = R127f.z; -// 7 -R1f.x = (PV0f.z * intBitsToFloat(0xba088889)*0.5 + R0f.x); -R1f.y = R0f.y; -R2f.z = R0f.x; -R2f.y = (PV0f.z * intBitsToFloat(0xba72b9d6)*0.5 + R0f.y); -PS1f = R2f.y; -// 8 -R3f.x = (R127f.z * intBitsToFloat(0x3a088889)*0.5 + R0f.x); -R3f.y = R0f.y; -R0f.w = (R127f.z * intBitsToFloat(0x3a72b9d6) + R0f.y); -R1f.xyzw = (texture(textureUnitPS0, R1f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R2f.zy).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.xw).xyzw); -// 0 -PV0f.x = R1f.w + R2f.w; -PV0f.y = R1f.z + R2f.z; -PV0f.z = R1f.y + R2f.y; -PV0f.w = R1f.x + R2f.x; -// 1 -PV1f.x = R3f.w + PV0f.x; -PV1f.y = R3f.z + PV0f.y; -PV1f.z = R3f.y + PV0f.z; -PV1f.w = R3f.x + PV0f.w; -// 2 -backupReg0f = R0f.y; -backupReg1f = R0f.x; -PV0f.x = R0f.w + PV1f.x; -PV0f.y = R0f.z + PV1f.y; -PV0f.z = backupReg0f + PV1f.z; -PV0f.w = backupReg1f + PV1f.w; -// 3 -R0f.x = PV0f.w * 0.25; -R0f.y = PV0f.z * 0.25; -R0f.z = PV0f.y * 0.25; -R0f.w = PV0f.x * 0.25; -// export -//R0f.xyz = vec3(Sigmoid(R0f.x), Sigmoid(R0f.y),Sigmoid(R0f.z)); -//R0f.xyz = contrasty(R0f.xyz); -//R0f.xyz = clamp(R0f.xyz,0,1); - -//vec3 mix(vec3 x, vec3 y, float a) -R0f.xyz = mix(contrasty(R0f.xyz), vec3(Sigmoid(R0f.x), Sigmoid(R0f.y),Sigmoid(R0f.z)), 0.25); -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Enhancement/TwilightPrincessHD_contrasty/f42bb0ed469dd804_0000000000001e49_ps.txt b/Enhancement/TwilightPrincessHD_contrasty/f42bb0ed469dd804_0000000000001e49_ps.txt deleted file mode 100644 index fa662946..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/f42bb0ed469dd804_0000000000001e49_ps.txt +++ /dev/null @@ -1,187 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader f42bb0ed469dd804 //sun - -const float redScale = 0.92; -const float greenScale = 1.02; //5 -const float blueScale = 1.24; -const float hazeFactor = 0.1; - -const float gamma = 0.98; // 1.0 is neutral Botw is already colour graded at this stage -const float exposure = 1.075; // 1.0 is neutral -const float vibrance = 0.37; // 0.0 is neutral -const float crushContrast = 0.00; // 0.0 is neutral. Use small increments, loss of shadow detail - -float Sigmoid (float x) { - - return 1.0 / (1.0 + (exp(-(x - 0.5) * 5.5))); -} - -vec3 contrasty(vec3 colour){ - vec3 fColour = (colour.xyz); -fColour.x = fColour.x *redScale; -fColour.y = fColour.y *greenScale; -fColour.z = fColour.z *blueScale; - - fColour = clamp(exposure * fColour, 0.0, 1.0); - fColour = pow(fColour, vec3(1.0 / gamma)); - float luminance = fColour.r*0.299 + fColour.g*0.587 + fColour.b*0.114; - float mn = min(min(fColour.r, fColour.g), fColour.b); - float mx = max(max(fColour.r, fColour.g), fColour.b); - float sat = (1.0 - (mx - mn)) * (1.0 - mx) * luminance * 5.0; - vec3 lightness = vec3((mn + mx) / 2.0); -// vibrance - fColour = mix(fColour, mix(fColour, lightness, -vibrance), sat); - fColour = max(vec3(0.0), fColour - vec3(crushContrast)); - return fColour; -} - -uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x2f478000 res 32x32x1 dim 1 tm: 4 format 0001 compSel: 0 0 0 0 mipView: 0x0 (num 0x6) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x2f3e2800 res 32x32x1 dim 1 tm: 4 format 0002 compSel: 0 0 0 1 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x24dfb000 res 960x540x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem1; -layout(location = 1) in vec4 passParameterSem2; -layout(location = 2) in vec4 passParameterSem3; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem1; -R1f = passParameterSem2; -R2f = passParameterSem3; -R0f.xyz = (texture(textureUnitPS0, R0f.xy).wzy); -R1f.xyzw = (texture(textureUnitPS1, R1f.xy).xyzw); -// 0 -backupReg0f = R0f.y; -R125f.x = intBitsToFloat(uf_remappedPS[0].w); -PV0f.x = R125f.x; -PV0f.y = R0f.z * intBitsToFloat(0x437f0000); -PV0f.z = backupReg0f * intBitsToFloat(0x437f0000); -PV0f.w = R0f.x * intBitsToFloat(0x437f0000); -R127f.w = 1.0 / R2f.z; -PS0f = R127f.w; -// 1 -PV1f.x = floor(PV0f.w); -R125f.y = intBitsToFloat(uf_remappedPS[1].w); -PV1f.y = R125f.y; -PV1f.z = floor(PV0f.y); -PV1f.w = floor(PV0f.z); -R124f.w = 1.0 / PV0f.x; -PS1f = R124f.w; -// 2 -R127f.xyz = vec3(PV1f.x,PV1f.w,PV1f.z) + vec3(intBitsToFloat(0xc3000000),intBitsToFloat(0xc3000000),intBitsToFloat(0xc3000000)); -PV0f.x = R127f.x; -PV0f.y = R127f.y; -PV0f.z = R127f.z; -R125f.w = mul_nonIEEE(R2f.x, R127f.w); -R126f.x = 1.0 / PV1f.y; -PS0f = R126f.x; -// 3 -tempf.x = dot(vec4(intBitsToFloat(uf_remappedPS[1].x),intBitsToFloat(uf_remappedPS[1].y),intBitsToFloat(uf_remappedPS[1].z),-0.0),vec4(PV0f.x,PV0f.y,PV0f.z,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R126f.z = tempf.x; -R126f.y = mul_nonIEEE(R2f.y, R127f.w); -PS1f = R126f.y; -// 4 -tempf.x = dot(vec4(intBitsToFloat(uf_remappedPS[0].x),intBitsToFloat(uf_remappedPS[0].y),intBitsToFloat(uf_remappedPS[0].z),-0.0),vec4(R127f.x,R127f.y,R127f.z,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R127f.w = tempf.x; -R127f.y = max(PV1f.x, -(PV1f.x)); -PS0f = R127f.y; -// 5 -R127f.x = max(PV0f.x, -(PV0f.x)); -PV1f.x = R127f.x; -PV1f.y = (R126f.z > 0.0)?1.0:0.0; -PV1f.z = PS0f + intBitsToFloat(0xc4800000); -R126f.w = (PV0f.x > 0.0)?1.0:0.0; -PS1f = (0.0 > R126f.z)?1.0:0.0; -// 6 -PV0f.x = (0.0 > R127f.w)?1.0:0.0; -R123f.y = (PV1f.z * intBitsToFloat(0x3a800000) + 1.0); -PV0f.y = R123f.y; -R126f.z = PV1f.y + -(PS1f); -PV0f.w = PV1f.x + intBitsToFloat(0xc4800000); -PS0f = intBitsToFloat(uf_remappedPS[2].w); -PS0f = clamp(PS0f, 0.0, 1.0); -// 7 -backupReg0f = R126f.w; -R123f.x = (PV0f.w * intBitsToFloat(0x3a800000) + 1.0); -PV1f.x = R123f.x; -PV1f.z = floor(PV0f.y); -R126f.w = backupReg0f + -(PV0f.x); -R0f.w = mul_nonIEEE(R1f.w, PS0f); -R0f.w = clamp(R0f.w, 0.0, 1.0); -PS1f = R0f.w; -// 8 -R123f.y = (-(PV1f.z) * intBitsToFloat(0x44800000) + R127f.y); -PV0f.y = R123f.y; -PV0f.w = floor(PV1f.x); -// 9 -R123f.x = (-(PV0f.w) * intBitsToFloat(0x44800000) + R127f.x); -PV1f.x = R123f.x; -PV1f.y = mul_nonIEEE(PV0f.y, R126f.z); -// 10 -PV0f.x = mul_nonIEEE(PV1f.x, R126f.w); -R123f.z = (mul_nonIEEE(R125f.w,R126f.x) + PV1f.y); -PV0f.z = R123f.z; -// 11 -R2f.x = mul_nonIEEE(R125f.y, PV0f.z); -R123f.w = (mul_nonIEEE(R126f.y,R124f.w) + PV0f.x); -PV1f.w = R123f.w; -// 12 -R2f.y = mul_nonIEEE(R125f.x, PV1f.w); -R2f.xyz = (texture(textureUnitPS2, R2f.xy).xyz); -// 0 -PV0f.y = R2f.z; -PV0f.y = clamp(PV0f.y, 0.0, 1.0); -PV0f.z = R2f.y; -PV0f.z = clamp(PV0f.z, 0.0, 1.0); -PV0f.w = R2f.x; -PV0f.w = clamp(PV0f.w, 0.0, 1.0); -// 1 -R0f.x = mul_nonIEEE(R1f.x, PV0f.w); -R0f.x = clamp(R0f.x, 0.0, 1.0); -R0f.y = mul_nonIEEE(R1f.y, PV0f.z); -R0f.y = clamp(R0f.y, 0.0, 1.0); -R0f.z = mul_nonIEEE(R1f.z, PV0f.y); -R0f.z = clamp(R0f.z, 0.0, 1.0); -// export - -R0f.xyz = mix(contrasty(R0f.xyz), vec3(Sigmoid(R0f.x), Sigmoid(R0f.y),Sigmoid(R0f.z)), 0.25); -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Enhancement/TwilightPrincessHD_contrasty/patches.txt b/Enhancement/TwilightPrincessHD_contrasty/patches.txt deleted file mode 100644 index 54f293d9..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/patches.txt +++ /dev/null @@ -1,12 +0,0 @@ -[TPHDv81] -moduleMatches = 0x1A03E108 -#Move some look tweaks to patches instead of shaders - -#rodata constants -###exp and haze settings -0x100C3EB8 = .float 0.0034 ## Near world (over)exposure -0x100C36C4 = .float 0.0035 ## Bloom npc/object (over) " -0x100C3780 = .float 0.0034 ## Distant world (over)exposure -0x100C3774 = .float 22.0 ### haze 21 = default 21++~ gradually less - -#0x100871C8 = .float 0.01 #100871C8:.float 0.00050000002 ###cloud float diff --git a/Enhancement/TwilightPrincessHD_contrasty/rules.txt b/Enhancement/TwilightPrincessHD_contrasty/rules.txt deleted file mode 100644 index 7bed97d7..00000000 --- a/Enhancement/TwilightPrincessHD_contrasty/rules.txt +++ /dev/null @@ -1,21 +0,0 @@ -[Definition] -titleIds = 000500001019C800,000500001019E600,000500001019E500 -name = "The Legend of Zelda: Twilight Princess HD - Contrasty patch" -version = 2 - -#v0.0 Lets see of this works -#v0.1 "Baked" overexposure -#v0.2 haze world exposure - - -#[TextureRedefine] #general -#formats = 0x19,0x1a -#overwriteFormat = 0x1f - -#[TextureRedefine] #horizon -#formats = 0x001 -#overwriteFormat = 0x005 - -#[TextureRedefine] #clouds -#formats = 0x007 -#overwriteFormat = 0x00f \ No newline at end of file diff --git a/Enhancement/WindWakerHD-GC_colour/rules.txt b/Enhancement/WindWakerHD-GC_colour/rules.txt deleted file mode 100644 index 7d783864..00000000 --- a/Enhancement/WindWakerHD-GC_colour/rules.txt +++ /dev/null @@ -1,5 +0,0 @@ -# Found by jediyoshi, Shadow format found by SunBroDave -[Definition] -titleIds = 0005000010143400,0005000010143600,0005000010143500 -name = "The Legend of Zelda: The Wind Waker HD - GC colour grading" # aka teal is not blue... nor is purple. -version = 2 \ No newline at end of file diff --git a/Enhancement/WindWakerHD_0AARemoval/ff71dcd2ad4defdc_00000000000003c9_ps.txt b/Enhancement/WindWakerHD_0AARemoval/ff71dcd2ad4defdc_00000000000003c9_ps.txt deleted file mode 100644 index 1fef5bfa..00000000 --- a/Enhancement/WindWakerHD_0AARemoval/ff71dcd2ad4defdc_00000000000003c9_ps.txt +++ /dev/null @@ -1,51 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader ff71dcd2ad4defdc -uniform ivec4 uf_remappedPS[4]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5807800 res 1920x1080x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4000800 res 1920x1080x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem2; -//R1f.xyzw = (textureGather(textureUnitPS1, R0f.xy).wzxy); -R2f.xyzw= (texture(textureUnitPS0, R0f.xy).xyzw); -passPixelColor0 = R2f.xyzw; -} diff --git a/Enhancement/WindWakerHD_0AARemoval/rules.txt b/Enhancement/WindWakerHD_0AARemoval/rules.txt deleted file mode 100644 index 4920c258..00000000 --- a/Enhancement/WindWakerHD_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010143400,0005000010143600,0005000010143500 -name = "The Legend of Zelda: The Wind Waker HD - No Anti-Aliasing" -version = 2 diff --git a/Enhancement/WindWakerHD_AdjustableBloom/960d3ef6662043c7_0000000000000079_ps.txt b/Enhancement/WindWakerHD_AdjustableBloom/960d3ef6662043c7_0000000000000079_ps.txt deleted file mode 100644 index d3b101fa..00000000 --- a/Enhancement/WindWakerHD_AdjustableBloom/960d3ef6662043c7_0000000000000079_ps.txt +++ /dev/null @@ -1,45 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable - -const float bloomFactor = 0.4; // bloom strength - -// shader 960d3ef6662043c7 -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4000800 res 480x270x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x4) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; - -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -R0f.xyz = texture(textureUnitPS0, R0f.xy).xyz * bloomFactor; -// 0 -/* -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg2f = R0f.z; -R0f.xyz = vec3(backupReg0f,backupReg1f,backupReg2f); -*/ -// export -passPixelColor0 = R0f.xyzw; -} diff --git a/Enhancement/WindWakerHD_AdjustableBloom/rules.txt b/Enhancement/WindWakerHD_AdjustableBloom/rules.txt deleted file mode 100644 index 1bfe012f..00000000 --- a/Enhancement/WindWakerHD_AdjustableBloom/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010143400,0005000010143600,0005000010143500 -name = "The Legend of Zelda: The Wind Waker HD - Adjustable Bloom" -version = 2 \ No newline at end of file diff --git a/Enhancement/XenobladeX_0AARemoval/rules.txt b/Enhancement/XenobladeX_0AARemoval/rules.txt deleted file mode 100644 index e7867e85..00000000 --- a/Enhancement/XenobladeX_0AARemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Xenoblade Chronicles X - No Anti-Aliasing" # Cemu 1.8 -version = 2 diff --git a/Enhancement/XenobladeX_219_GUI/1cb8c35cca05b129_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/1cb8c35cca05b129_0000000000000000_vs.txt deleted file mode 100644 index 5b3ddcd2..00000000 --- a/Enhancement/XenobladeX_219_GUI/1cb8c35cca05b129_0000000000000000_vs.txt +++ /dev/null @@ -1,171 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 1cb8c35cca05b129 -//dialog box -uniform ivec4 uf_remappedVS[14]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem1.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem2.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = intBitsToFloat(uf_remappedVS[0].w) * 1.0; -PV0f.y = intBitsToFloat(uf_remappedVS[0].z) * 1.0; -PV0f.z = intBitsToFloat(uf_remappedVS[0].y) * 1.0; -PV0f.w = intBitsToFloat(uf_remappedVS[0].x) * 1.0; -// 1 -R123f.x = (R2f.y * intBitsToFloat(uf_remappedVS[1].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R2f.y * intBitsToFloat(uf_remappedVS[1].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R2f.y * intBitsToFloat(uf_remappedVS[1].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R2f.y * intBitsToFloat(uf_remappedVS[1].x) + PV0f.w); -PV1f.w = R123f.w; -// 2 -R123f.x = (R2f.x * intBitsToFloat(uf_remappedVS[2].w) + PV1f.x); -PV0f.x = R123f.x; -R127f.y = (R2f.x * intBitsToFloat(uf_remappedVS[2].z) + PV1f.y); -R127f.z = (R2f.x * intBitsToFloat(uf_remappedVS[2].y) + PV1f.z); -R127f.w = (R2f.x * intBitsToFloat(uf_remappedVS[2].x) + PV1f.w); -// 3 -PV1f.x = PV0f.x * intBitsToFloat(uf_remappedVS[3].w); -PV1f.y = PV0f.x * intBitsToFloat(uf_remappedVS[3].z); -PV1f.z = PV0f.x * intBitsToFloat(uf_remappedVS[3].y); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedVS[3].x); -// 4 -R123f.x = (R127f.y * intBitsToFloat(uf_remappedVS[4].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedVS[4].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.y * intBitsToFloat(uf_remappedVS[4].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R127f.y * intBitsToFloat(uf_remappedVS[4].x) + PV1f.w); -PV0f.w = R123f.w; -// 5 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedVS[5].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R127f.z * intBitsToFloat(uf_remappedVS[5].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R127f.z * intBitsToFloat(uf_remappedVS[5].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R127f.z * intBitsToFloat(uf_remappedVS[5].x) + PV0f.w); -PV1f.w = R123f.w; -// 6 -backupReg0f = R127f.w; -R123f.x = (R127f.w * intBitsToFloat(uf_remappedVS[6].w) + PV1f.x); -PV0f.x = R123f.x; -R127f.y = (R127f.w * intBitsToFloat(uf_remappedVS[6].z) + PV1f.y); -R127f.z = (R127f.w * intBitsToFloat(uf_remappedVS[6].y) + PV1f.z); -R127f.w = (backupReg0f * intBitsToFloat(uf_remappedVS[6].x) + PV1f.w); -// 7 -PV1f.x = PV0f.x * intBitsToFloat(uf_remappedVS[7].w); -PV1f.y = PV0f.x * intBitsToFloat(uf_remappedVS[7].z); -PV1f.z = PV0f.x * intBitsToFloat(uf_remappedVS[7].y); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedVS[7].x); -// 8 -R123f.x = (R127f.y * intBitsToFloat(uf_remappedVS[8].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedVS[8].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.y * intBitsToFloat(uf_remappedVS[8].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R127f.y * intBitsToFloat(uf_remappedVS[8].x) + PV1f.w); -PV0f.w = R123f.w; -// 9 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedVS[9].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R127f.z * intBitsToFloat(uf_remappedVS[9].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R127f.z * intBitsToFloat(uf_remappedVS[9].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R127f.z * intBitsToFloat(uf_remappedVS[9].x) + PV0f.w); -PV1f.w = R123f.w; -// 10 -R2f.x = (R127f.w * intBitsToFloat(uf_remappedVS[10].x) + PV1f.w); -R2f.y = (R127f.w * intBitsToFloat(uf_remappedVS[10].y) + PV1f.z); -R2f.z = (R127f.w * intBitsToFloat(uf_remappedVS[10].z) + PV1f.y); -R2f.w = (R127f.w * intBitsToFloat(uf_remappedVS[10].w) + PV1f.x); -// 11 -PV1f.x = intBitsToFloat(uf_remappedVS[11].w) * 1.0; -PV1f.y = intBitsToFloat(uf_remappedVS[11].z) * 1.0; -PV1f.z = intBitsToFloat(uf_remappedVS[11].y) * 1.0; -PV1f.w = intBitsToFloat(uf_remappedVS[11].x) * 1.0; -// 12 -R123f.x = (R3f.y * intBitsToFloat(uf_remappedVS[12].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R3f.y * intBitsToFloat(uf_remappedVS[12].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R3f.y * intBitsToFloat(uf_remappedVS[12].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R3f.y * intBitsToFloat(uf_remappedVS[12].x) + PV1f.w); -PV0f.w = R123f.w; -// 13 -backupReg0f = R3f.x; -backupReg0f = R3f.x; -backupReg0f = R3f.x; -backupReg0f = R3f.x; -R3f.x = (backupReg0f * intBitsToFloat(uf_remappedVS[13].x) + PV0f.w); -R3f.y = (backupReg0f * intBitsToFloat(uf_remappedVS[13].y) + PV0f.z); -R3f.z = (backupReg0f * intBitsToFloat(uf_remappedVS[13].z) + PV0f.y); -R3f.w = (backupReg0f * intBitsToFloat(uf_remappedVS[13].w) + PV0f.x); -// export -float origRatio = 1.777f; -float newRatio = 2.370f; -// *(origRatio / newRatio) -gl_Position = vec4(R2f.x*(origRatio / newRatio), R2f.y, R2f.z, R2f.w); -// export -passParameterSem0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem1 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/28620f4f4753fb97_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/28620f4f4753fb97_0000000000000000_vs.txt deleted file mode 100644 index 518dd630..00000000 --- a/Enhancement/XenobladeX_219_GUI/28620f4f4753fb97_0000000000000000_vs.txt +++ /dev/null @@ -1,163 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 28620f4f4753fb97 -// selection position -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].w) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].x) * 1.0); -PS0i = int(intBitsToFloat(R1i.z)); -// 1 -R126i.x = floatBitsToInt(float(PS0i)); -PS1i = R126i.x; -// 2 -tempResultf = intBitsToFloat(PS1i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV0i.x = floatBitsToInt(tempResultf); -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[18].w) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[18].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -// 4 -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[17].w) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[17].z) + intBitsToFloat(PV1i.y))); -// 5 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[18].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[18].x) + intBitsToFloat(backupReg1i))); -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[16].w) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[16].z) + intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[17].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[17].x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[15].w)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[15].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[15].y)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[15].x)); -// 9 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[16].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[16].x) + intBitsToFloat(backupReg1i))); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[14].w) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[14].z) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[14].y) + intBitsToFloat(R126i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[14].x) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[13].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[13].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[13].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[13].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 12 -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[12].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[12].z) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[12].y) + intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[12].x) + intBitsToFloat(PV1i.w))); -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].x)); -// 14 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].x) + intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].y) + intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].z) + intBitsToFloat(PV1i.y))); -R1i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].w) + intBitsToFloat(PV1i.x))); -// 17 -R0i.xyz = ivec3(uf_uniformRegisterVS[ARi.x+4].x,uf_uniformRegisterVS[ARi.x+4].y,uf_uniformRegisterVS[ARi.x+4].z); -R0i.w = uf_uniformRegisterVS[ARi.x+4].w; -// export -float origRatio = 1.777f; -float newRatio = 2.370f; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/3e12e7b9d981b915_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/3e12e7b9d981b915_0000000000000000_vs.txt deleted file mode 100644 index d8d07e48..00000000 --- a/Enhancement/XenobladeX_219_GUI/3e12e7b9d981b915_0000000000000000_vs.txt +++ /dev/null @@ -1,188 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 3e12e7b9d981b915 -// box canvas ingame *dumped* -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].w) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].x) * 1.0); -PS0i = int(intBitsToFloat(R1i.z)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].w) * 1.0); -R125i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].z) * 1.0); -R125i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].y) * 1.0); -R125i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].x) * 1.0); -R125i.x = floatBitsToInt(float(PS0i)); -PS1i = R125i.x; -// 2 -tempResultf = intBitsToFloat(PS1i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV0i.x = floatBitsToInt(tempResultf); -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].w) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -// 4 -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].w) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].z) + intBitsToFloat(PV1i.y))); -// 5 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].x) + intBitsToFloat(backupReg1i))); -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].w) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].z) + intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].w)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].y)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].x)); -// 9 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].x) + intBitsToFloat(backupReg1i))); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].w) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].z) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].y) + intBitsToFloat(R126i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].x) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 12 -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].z) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].y) + intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[20].x) + intBitsToFloat(PV1i.w))); -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].x)); -// 14 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].x) + intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].y) + intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].z) + intBitsToFloat(PV1i.y))); -R1i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].w) + intBitsToFloat(PV1i.x))); -// 17 -backupReg0i = R125i.z; -backupReg1i = R125i.w; -R125i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].y) + intBitsToFloat(backupReg0i))); -R125i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].x) + intBitsToFloat(backupReg1i))); -// 18 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -R126i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].w) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].z) + intBitsToFloat(backupReg1i))); -// 19 -R0i.xyz = ivec3(uf_uniformRegisterVS[ARi.x+4].x,uf_uniformRegisterVS[ARi.x+4].y,uf_uniformRegisterVS[ARi.x+4].z); -R0i.w = uf_uniformRegisterVS[ARi.x+4].w; -// 20 -R2i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].x) + intBitsToFloat(R125i.w))); -R2i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].y) + intBitsToFloat(R125i.z))); -// 21 -R2i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].z) + intBitsToFloat(R125i.y))); -R2i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].w) + intBitsToFloat(R126i.x))); -// export -float origRatio = 1.777f; -float newRatio = 2.370f; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/46bdcbf27127ae3b_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/46bdcbf27127ae3b_0000000000000000_vs.txt deleted file mode 100644 index dc2e5bfd..00000000 --- a/Enhancement/XenobladeX_219_GUI/46bdcbf27127ae3b_0000000000000000_vs.txt +++ /dev/null @@ -1,132 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 46bdcbf27127ae3b -// depth, scary *dumped* -uniform ivec4 uf_remappedVS[11]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = intBitsToFloat(uf_remappedVS[0].w) * 1.0; -PV0f.y = intBitsToFloat(uf_remappedVS[0].z) * 1.0; -PV0f.z = intBitsToFloat(uf_remappedVS[0].y) * 1.0; -PV0f.w = intBitsToFloat(uf_remappedVS[0].x) * 1.0; -// 1 -R123f.x = (R1f.y * intBitsToFloat(uf_remappedVS[1].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R1f.y * intBitsToFloat(uf_remappedVS[1].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R1f.y * intBitsToFloat(uf_remappedVS[1].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R1f.y * intBitsToFloat(uf_remappedVS[1].x) + PV0f.w); -PV1f.w = R123f.w; -// 2 -R123f.x = (R1f.x * intBitsToFloat(uf_remappedVS[2].w) + PV1f.x); -PV0f.x = R123f.x; -R127f.y = (R1f.x * intBitsToFloat(uf_remappedVS[2].z) + PV1f.y); -R127f.z = (R1f.x * intBitsToFloat(uf_remappedVS[2].y) + PV1f.z); -R127f.w = (R1f.x * intBitsToFloat(uf_remappedVS[2].x) + PV1f.w); -// 3 -PV1f.x = PV0f.x * intBitsToFloat(uf_remappedVS[3].w); -PV1f.y = PV0f.x * intBitsToFloat(uf_remappedVS[3].z); -PV1f.z = PV0f.x * intBitsToFloat(uf_remappedVS[3].y); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedVS[3].x); -// 4 -R123f.x = (R127f.y * intBitsToFloat(uf_remappedVS[4].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedVS[4].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.y * intBitsToFloat(uf_remappedVS[4].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R127f.y * intBitsToFloat(uf_remappedVS[4].x) + PV1f.w); -PV0f.w = R123f.w; -// 5 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedVS[5].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R127f.z * intBitsToFloat(uf_remappedVS[5].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R127f.z * intBitsToFloat(uf_remappedVS[5].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R127f.z * intBitsToFloat(uf_remappedVS[5].x) + PV0f.w); -PV1f.w = R123f.w; -// 6 -backupReg0f = R127f.w; -R123f.x = (R127f.w * intBitsToFloat(uf_remappedVS[6].w) + PV1f.x); -PV0f.x = R123f.x; -R127f.y = (R127f.w * intBitsToFloat(uf_remappedVS[6].z) + PV1f.y); -R127f.z = (R127f.w * intBitsToFloat(uf_remappedVS[6].y) + PV1f.z); -R127f.w = (backupReg0f * intBitsToFloat(uf_remappedVS[6].x) + PV1f.w); -// 7 -PV1f.x = PV0f.x * intBitsToFloat(uf_remappedVS[7].w); -PV1f.y = PV0f.x * intBitsToFloat(uf_remappedVS[7].z); -PV1f.z = PV0f.x * intBitsToFloat(uf_remappedVS[7].y); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedVS[7].x); -// 8 -R123f.x = (R127f.y * intBitsToFloat(uf_remappedVS[8].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedVS[8].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.y * intBitsToFloat(uf_remappedVS[8].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R127f.y * intBitsToFloat(uf_remappedVS[8].x) + PV1f.w); -PV0f.w = R123f.w; -// 9 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedVS[9].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R127f.z * intBitsToFloat(uf_remappedVS[9].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R127f.z * intBitsToFloat(uf_remappedVS[9].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R127f.z * intBitsToFloat(uf_remappedVS[9].x) + PV0f.w); -PV1f.w = R123f.w; -// 10 -R1f.x = (R127f.w * intBitsToFloat(uf_remappedVS[10].x) + PV1f.w); -R1f.y = (R127f.w * intBitsToFloat(uf_remappedVS[10].y) + PV1f.z); -R1f.z = (R127f.w * intBitsToFloat(uf_remappedVS[10].z) + PV1f.y); -R1f.w = (R127f.w * intBitsToFloat(uf_remappedVS[10].w) + PV1f.x); -// export -float origRatio = 1.777f; -float newRatio = 2.370f; -// *(origRatio / newRatio) -gl_Position = vec4(R1f.x*(origRatio / newRatio), R1f.y, R1f.z, R1f.w); -// export -// skipped export to semanticId 255 -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/538fc98d957aaa7c_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/538fc98d957aaa7c_0000000000000000_vs.txt deleted file mode 100644 index 92c5ce82..00000000 --- a/Enhancement/XenobladeX_219_GUI/538fc98d957aaa7c_0000000000000000_vs.txt +++ /dev/null @@ -1,188 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 538fc98d957aaa7c -// box canvas -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].w) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].x) * 1.0); -PS0i = int(intBitsToFloat(R1i.z)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].w) * 1.0); -R125i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].z) * 1.0); -R125i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].y) * 1.0); -R125i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].x) * 1.0); -R125i.x = floatBitsToInt(float(PS0i)); -PS1i = R125i.x; -// 2 -tempResultf = intBitsToFloat(PS1i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV0i.x = floatBitsToInt(tempResultf); -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].w) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -// 4 -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].w) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].z) + intBitsToFloat(PV1i.y))); -// 5 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].x) + intBitsToFloat(backupReg1i))); -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].w) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].z) + intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].w)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].y)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].x)); -// 9 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].x) + intBitsToFloat(backupReg1i))); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].w) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].z) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].y) + intBitsToFloat(R126i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].x) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 12 -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].z) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].y) + intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[20].x) + intBitsToFloat(PV1i.w))); -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].x)); -// 14 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].x) + intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].y) + intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].z) + intBitsToFloat(PV1i.y))); -R1i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].w) + intBitsToFloat(PV1i.x))); -// 17 -backupReg0i = R125i.z; -backupReg1i = R125i.w; -R125i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].y) + intBitsToFloat(backupReg0i))); -R125i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].x) + intBitsToFloat(backupReg1i))); -// 18 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -R126i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].w) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].z) + intBitsToFloat(backupReg1i))); -// 19 -R0i.xyz = ivec3(uf_uniformRegisterVS[ARi.x+4].x,uf_uniformRegisterVS[ARi.x+4].y,uf_uniformRegisterVS[ARi.x+4].z); -R0i.w = uf_uniformRegisterVS[ARi.x+4].w; -// 20 -R2i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].x) + intBitsToFloat(R125i.w))); -R2i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].y) + intBitsToFloat(R125i.z))); -// 21 -R2i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].z) + intBitsToFloat(R125i.y))); -R2i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].w) + intBitsToFloat(R126i.x))); -// export -float origRatio = 1.777f; -float newRatio = 2.370f; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R1i.x) *(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/8ff56afdf1a2f837_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/8ff56afdf1a2f837_0000000000000000_vs.txt deleted file mode 100644 index 9793e8e3..00000000 --- a/Enhancement/XenobladeX_219_GUI/8ff56afdf1a2f837_0000000000000000_vs.txt +++ /dev/null @@ -1,171 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 8ff56afdf1a2f837 -// text *dumped* -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[23].w) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[23].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[23].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[23].x) * 1.0); -PS0i = int(intBitsToFloat(R1i.z)); -// 1 -R2i.z = 0; -R2i.w = floatBitsToInt(1.0); -R126i.x = floatBitsToInt(float(PS0i)); -PS1i = R126i.x; -// 2 -tempResultf = intBitsToFloat(PS1i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV0i.x = floatBitsToInt(tempResultf); -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[22].w) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[22].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -R0i.w = uf_uniformRegisterVS[ARi.x+8].w; -// 4 -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[21].w) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[21].z) + intBitsToFloat(PV1i.y))); -// 5 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[22].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[22].x) + intBitsToFloat(backupReg1i))); -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[20].w) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[20].z) + intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[21].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[21].x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[19].w)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[19].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[19].y)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[19].x)); -// 9 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[20].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[20].x) + intBitsToFloat(backupReg1i))); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[18].w) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[18].z) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[18].y) + intBitsToFloat(R126i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[18].x) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[17].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[17].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[17].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[17].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 12 -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[16].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[16].z) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[16].y) + intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[16].x) + intBitsToFloat(PV1i.w))); -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].x)); -// 14 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].x) + intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].y) + intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].z) + intBitsToFloat(PV1i.y))); -R1i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].w) + intBitsToFloat(PV1i.x))); -// 17 -R0i.xyz = ivec3(uf_uniformRegisterVS[ARi.x+4].x,uf_uniformRegisterVS[ARi.x+4].y,uf_uniformRegisterVS[ARi.x+4].z); -// 18 -R2i.x = uf_uniformRegisterVS[ARi.x+12].x; -R2i.y = uf_uniformRegisterVS[ARi.x+12].y; -// export -float origRatio = 1.777f; -float newRatio = 2.370f; -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/9f390af3897e9112_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/9f390af3897e9112_0000000000000000_vs.txt deleted file mode 100644 index 2c2ef647..00000000 --- a/Enhancement/XenobladeX_219_GUI/9f390af3897e9112_0000000000000000_vs.txt +++ /dev/null @@ -1,181 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 9f390af3897e9112 -//active selection -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[23].w) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[23].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[23].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[23].x) * 1.0); -PS0i = int(intBitsToFloat(R1i.z)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[15].w) * 1.0); -R125i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[15].z) * 1.0); -R125i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[15].y) * 1.0); -R125i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[15].x) * 1.0); -R125i.x = floatBitsToInt(float(PS0i)); -PS1i = R125i.x; -// 2 -tempResultf = intBitsToFloat(PS1i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV0i.x = floatBitsToInt(tempResultf); -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].z) * intBitsToFloat(uf_uniformRegisterVS[22].w) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].z) * intBitsToFloat(uf_uniformRegisterVS[22].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -// 4 -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].y) * intBitsToFloat(uf_uniformRegisterVS[21].w) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].y) * intBitsToFloat(uf_uniformRegisterVS[21].z) + intBitsToFloat(PV1i.y))); -// 5 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].z) * intBitsToFloat(uf_uniformRegisterVS[22].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].z) * intBitsToFloat(uf_uniformRegisterVS[22].x) + intBitsToFloat(backupReg1i))); -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].x) * intBitsToFloat(uf_uniformRegisterVS[20].w) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].x) * intBitsToFloat(uf_uniformRegisterVS[20].z) + intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].y) * intBitsToFloat(uf_uniformRegisterVS[21].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].y) * intBitsToFloat(uf_uniformRegisterVS[21].x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[19].w)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[19].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[19].y)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[19].x)); -// 9 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].x) * intBitsToFloat(uf_uniformRegisterVS[20].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].x) * intBitsToFloat(uf_uniformRegisterVS[20].x) + intBitsToFloat(backupReg1i))); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[18].w) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[18].z) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[18].y) + intBitsToFloat(R126i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[18].x) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[17].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[17].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[17].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[17].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 12 -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[16].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[16].z) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[16].y) + intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[16].x) + intBitsToFloat(PV1i.w))); -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].x)); -// 14 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].x) + intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].y) + intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].z) + intBitsToFloat(PV1i.y))); -R1i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].w) + intBitsToFloat(PV1i.x))); -// 17 -backupReg0i = R125i.z; -backupReg1i = R125i.w; -R125i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[13].y) + intBitsToFloat(backupReg0i))); -R125i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[13].x) + intBitsToFloat(backupReg1i))); -// 18 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -R126i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[13].w) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[13].z) + intBitsToFloat(backupReg1i))); -// 19 -R0i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[12].x) + intBitsToFloat(R125i.w))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[12].y) + intBitsToFloat(R125i.z))); -// 20 -R0i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[12].z) + intBitsToFloat(R125i.y))); -R0i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[12].w) + intBitsToFloat(R126i.x))); -// export -float origRatio = 1.777f; -float newRatio = 2.370f; - -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/b679b0945943e505_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/b679b0945943e505_0000000000000000_vs.txt deleted file mode 100644 index 75bfb2db..00000000 --- a/Enhancement/XenobladeX_219_GUI/b679b0945943e505_0000000000000000_vs.txt +++ /dev/null @@ -1,163 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader b679b0945943e505 -// selection box frame *dumped* -uniform ivec4 uf_remappedVS[14]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = intBitsToFloat(uf_remappedVS[0].w) * 1.0; -PV0f.y = intBitsToFloat(uf_remappedVS[0].z) * 1.0; -PV0f.z = intBitsToFloat(uf_remappedVS[0].y) * 1.0; -PV0f.w = intBitsToFloat(uf_remappedVS[0].x) * 1.0; -// 1 -R123f.x = (R1f.y * intBitsToFloat(uf_remappedVS[1].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R1f.y * intBitsToFloat(uf_remappedVS[1].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R1f.y * intBitsToFloat(uf_remappedVS[1].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R1f.y * intBitsToFloat(uf_remappedVS[1].x) + PV0f.w); -PV1f.w = R123f.w; -// 2 -R123f.x = (R1f.x * intBitsToFloat(uf_remappedVS[2].w) + PV1f.x); -PV0f.x = R123f.x; -R127f.y = (R1f.x * intBitsToFloat(uf_remappedVS[2].z) + PV1f.y); -R127f.z = (R1f.x * intBitsToFloat(uf_remappedVS[2].y) + PV1f.z); -R127f.w = (R1f.x * intBitsToFloat(uf_remappedVS[2].x) + PV1f.w); -// 3 -PV1f.x = PV0f.x * intBitsToFloat(uf_remappedVS[3].w); -PV1f.y = PV0f.x * intBitsToFloat(uf_remappedVS[3].z); -PV1f.z = PV0f.x * intBitsToFloat(uf_remappedVS[3].y); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedVS[3].x); -// 4 -R123f.x = (R127f.y * intBitsToFloat(uf_remappedVS[4].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedVS[4].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.y * intBitsToFloat(uf_remappedVS[4].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R127f.y * intBitsToFloat(uf_remappedVS[4].x) + PV1f.w); -PV0f.w = R123f.w; -// 5 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedVS[5].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R127f.z * intBitsToFloat(uf_remappedVS[5].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R127f.z * intBitsToFloat(uf_remappedVS[5].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R127f.z * intBitsToFloat(uf_remappedVS[5].x) + PV0f.w); -PV1f.w = R123f.w; -// 6 -backupReg0f = R127f.w; -R123f.x = (R127f.w * intBitsToFloat(uf_remappedVS[6].w) + PV1f.x); -PV0f.x = R123f.x; -R127f.y = (R127f.w * intBitsToFloat(uf_remappedVS[6].z) + PV1f.y); -R127f.z = (R127f.w * intBitsToFloat(uf_remappedVS[6].y) + PV1f.z); -R127f.w = (backupReg0f * intBitsToFloat(uf_remappedVS[6].x) + PV1f.w); -// 7 -PV1f.x = PV0f.x * intBitsToFloat(uf_remappedVS[7].w); -PV1f.y = PV0f.x * intBitsToFloat(uf_remappedVS[7].z); -PV1f.z = PV0f.x * intBitsToFloat(uf_remappedVS[7].y); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedVS[7].x); -// 8 -R123f.x = (R127f.y * intBitsToFloat(uf_remappedVS[8].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedVS[8].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.y * intBitsToFloat(uf_remappedVS[8].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R127f.y * intBitsToFloat(uf_remappedVS[8].x) + PV1f.w); -PV0f.w = R123f.w; -// 9 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedVS[9].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R127f.z * intBitsToFloat(uf_remappedVS[9].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R127f.z * intBitsToFloat(uf_remappedVS[9].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R127f.z * intBitsToFloat(uf_remappedVS[9].x) + PV0f.w); -PV1f.w = R123f.w; -// 10 -R1f.x = (R127f.w * intBitsToFloat(uf_remappedVS[10].x) + PV1f.w); -R1f.y = (R127f.w * intBitsToFloat(uf_remappedVS[10].y) + PV1f.z); -R1f.z = (R127f.w * intBitsToFloat(uf_remappedVS[10].z) + PV1f.y); -R1f.w = (R127f.w * intBitsToFloat(uf_remappedVS[10].w) + PV1f.x); -// 11 -PV1f.x = intBitsToFloat(uf_remappedVS[11].w) * 1.0; -PV1f.y = intBitsToFloat(uf_remappedVS[11].z) * 1.0; -PV1f.z = intBitsToFloat(uf_remappedVS[11].y) * 1.0; -PV1f.w = intBitsToFloat(uf_remappedVS[11].x) * 1.0; -// 12 -R123f.x = (R2f.y * intBitsToFloat(uf_remappedVS[12].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R2f.y * intBitsToFloat(uf_remappedVS[12].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R2f.y * intBitsToFloat(uf_remappedVS[12].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R2f.y * intBitsToFloat(uf_remappedVS[12].x) + PV1f.w); -PV0f.w = R123f.w; -// 13 -backupReg0f = R2f.x; -backupReg0f = R2f.x; -backupReg0f = R2f.x; -backupReg0f = R2f.x; -R2f.x = (backupReg0f * intBitsToFloat(uf_remappedVS[13].x) + PV0f.w); -R2f.y = (backupReg0f * intBitsToFloat(uf_remappedVS[13].y) + PV0f.z); -R2f.z = (backupReg0f * intBitsToFloat(uf_remappedVS[13].z) + PV0f.y); -R2f.w = (backupReg0f * intBitsToFloat(uf_remappedVS[13].w) + PV0f.x); -// export -float origRatio = 1.777f; -float newRatio = 2.370f; -// *(origRatio / newRatio) -gl_Position = vec4(R1f.x*(origRatio / newRatio), R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/d6e8f178a5b828f0_0000000000000000_vs.txt b/Enhancement/XenobladeX_219_GUI/d6e8f178a5b828f0_0000000000000000_vs.txt deleted file mode 100644 index 2c226041..00000000 --- a/Enhancement/XenobladeX_219_GUI/d6e8f178a5b828f0_0000000000000000_vs.txt +++ /dev/null @@ -1,188 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader d6e8f178a5b828f0 -// bg boxes -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].w) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].x) * 1.0); -PS0i = int(intBitsToFloat(R1i.z)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].w) * 1.0); -R125i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].z) * 1.0); -R125i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].y) * 1.0); -R125i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].x) * 1.0); -R125i.x = floatBitsToInt(float(PS0i)); -PS1i = R125i.x; -// 2 -tempResultf = intBitsToFloat(PS1i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV0i.x = floatBitsToInt(tempResultf); -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].w) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -// 4 -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].w) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].z) + intBitsToFloat(PV1i.y))); -// 5 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[26].x) + intBitsToFloat(backupReg1i))); -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].w) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].z) + intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[25].x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].w)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].y)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].x)); -// 9 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[24].x) + intBitsToFloat(backupReg1i))); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].w) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].z) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].y) + intBitsToFloat(R126i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].x) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 12 -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].z) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].y) + intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[20].x) + intBitsToFloat(PV1i.w))); -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].x)); -// 14 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].x) + intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].y) + intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].z) + intBitsToFloat(PV1i.y))); -R1i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].w) + intBitsToFloat(PV1i.x))); -// 17 -backupReg0i = R125i.z; -backupReg1i = R125i.w; -R125i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].y) + intBitsToFloat(backupReg0i))); -R125i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].x) + intBitsToFloat(backupReg1i))); -// 18 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -R126i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].w) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].y) * intBitsToFloat(uf_uniformRegisterVS[17].z) + intBitsToFloat(backupReg1i))); -// 19 -R0i.xyz = ivec3(uf_uniformRegisterVS[ARi.x+4].x,uf_uniformRegisterVS[ARi.x+4].y,uf_uniformRegisterVS[ARi.x+4].z); -R0i.w = uf_uniformRegisterVS[ARi.x+4].w; -// 20 -R2i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].x) + intBitsToFloat(R125i.w))); -R2i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].y) + intBitsToFloat(R125i.z))); -// 21 -R2i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].z) + intBitsToFloat(R125i.y))); -R2i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+12].x) * intBitsToFloat(uf_uniformRegisterVS[16].w) + intBitsToFloat(R126i.x))); -// export -float origRatio = 1.777f; -float newRatio = 2.370f; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// 0 -} diff --git a/Enhancement/XenobladeX_219_GUI/rules.txt b/Enhancement/XenobladeX_219_GUI/rules.txt deleted file mode 100644 index 132619b6..00000000 --- a/Enhancement/XenobladeX_219_GUI/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Xenoblade Chronicles X - 21:9 GUI" -version = 2 diff --git a/Enhancement/XenobladeX_FX/3cc7e98f78c258b4_00000000000003ca_ps.txt b/Enhancement/XenobladeX_FX/3cc7e98f78c258b4_00000000000003ca_ps.txt deleted file mode 100644 index f8dcc7d5..00000000 --- a/Enhancement/XenobladeX_FX/3cc7e98f78c258b4_00000000000003ca_ps.txt +++ /dev/null @@ -1,280 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 3cc7e98f78c258b4 -//Xenoblade FX -//Version 0.01Beta -//Shader Dumped from 1.01 -//Shader Edits by Jamie -// - -//ToneMapping -#define Bleach 0.3 //Default is 0.0 -#define exposure 1.25 //Default is 1.0 -#define defog 0.000 //Default is 0.0 //How much of the overall color you want removed form the values of FogColor. -#define FogColor vec3(1.0, 1.0, 1.0) //Color you want to Add or Remove 0.25 would add .25 percent of that color 1.25 would remove .25 percent of the color." - -//VibrancePass -#define Vibrance 0.15 //"Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation."; -#define VibranceRGBBalance vec3(1.0, 1.0, 1.0) //"A per channel multiplier to the Vibrance strength so you can give more boost to certain colors over others."; - -//Lift Gamma Gain -#define RGB_Lift vec3(1.05, 1.05, 1.05) //[0.000 to 2.000] Adjust shadows for Red, Green and Blue. -#define RGB_Gamma vec3(0.70, 0.70, 0.70) //[0.000 to 2.000] Adjust midtones for Red, Green and Blue -#define RGB_Gain vec3(1.05, 1.05, 1.05) //[0.000 to 2.000] Adjust highlights for Red, Green and Blue -//Note that a value of 1.0 is a neutral setting that leave the color unchanged. - -//Curves -#define Contrast 0.50 //[-1.0, 1.0] The amount of contrast you want - -//LumaShapening -#define sharp_strength 0.25 //[0.10 to 3.00] Strength of the sharpening Default is 0.65 -#define sharp_clamp 0.085 //[0.000 to 1.000] Limits maximum amount of sharpening a pixel recieves - Default is 0.035 -//Advanced sharpening settings -#define offset_bias 1.0 //[0.0 to 6.0] Offset bias adjusts the radius of the sampling pattern. - -//Fake High Dynamic Range. -#define HDRPower 1.70 // 0.0 to 8.0 "Raising this seems to make the effect stronger and also darker , Default 1.30." -#define radius1 0.793 // 0.0 to 8.0 "Default 0.793 , will affect FX." -#define radius2 0.87 // 0.0 to 8.0 "Default 0.87 , will affect FX." - -//########################################################### -//Do not edit under this line. -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler3D textureUnitPS1;// Tex1 addr 0x2603b000 res 16x16x16 dim 2 tm: 7 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x10) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -//---------------------------------------------------------------------------- -//ToneMapping - -vec3 TonemapPass(vec3 inputColor) { - vec3 color = inputColor; - color = clamp(color - defog * FogColor * 2.55, 0.0, 1.0); // defog - color *= exposure / (1.0 + color / exposure); - - const vec3 coefLuma = vec3(0.2126, 0.7152, 0.0722); - float lum = dot(coefLuma, color); - - float L = clamp(10.0 * (lum - 0.45), 0.0, 1.0); - vec3 A2 = Bleach * color; - - vec3 result1 = 2.0f * color * lum; - vec3 result2 = 1.0f - 2.0f * (1.0f - lum) * (1.0f - color); - - vec3 newColor = mix(result1, result2, L); - vec3 mixRGB = A2 * newColor; - color += ((1.0f - A2) * mixRGB); - - vec3 middlegray = vec3(dot(color, vec3(1.0 / 3.0))); - vec3 diffcolor = color - middlegray; - - float sat = 0.0; - color = (color + diffcolor * sat) / (1 + (diffcolor * sat)); // saturation - - return color; -} - -//LumaShapening - -#define px (1.0/1280.0*uf_fragCoordScale.x) -#define py (1.0/720.0*uf_fragCoordScale.y) -#define CoefLuma vec3(0.2126, 0.7152, 0.0722) - -float lumasharping(sampler2D tex, vec2 pos) { - vec4 colorInput = texture(tex, pos); - - vec3 ori = colorInput.rgb; - - // -- Combining the strength and luma multipliers -- - vec3 sharp_strength_luma = (CoefLuma * sharp_strength); - - // -- Gaussian filter -- - // [ .25, .50, .25] [ 1 , 2 , 1 ] - // [ .50, 1, .50] = [ 2 , 4 , 2 ] - // [ .25, .50, .25] [ 1 , 2 , 1 ] - - vec3 blur_ori = texture(tex, pos + vec2(px, -py) * 0.5 * offset_bias).rgb; // South East - blur_ori += texture(tex, pos + vec2(-px, -py) * 0.5 * offset_bias).rgb; // South West - blur_ori += texture(tex, pos + vec2(px, py) * 0.5 * offset_bias).rgb; // North East - blur_ori += texture(tex, pos + vec2(-px, py) * 0.5 * offset_bias).rgb; // North West - - blur_ori *= 0.25; // ( /= 4) Divide by the number of texture fetches - - // -- Calculate the sharpening -- - vec3 sharp = ori - blur_ori; //Subtracting the blurred image from the original image - - // -- Adjust strength of the sharpening and clamp it-- - vec4 sharp_strength_luma_clamp = vec4(sharp_strength_luma * (0.5 / sharp_clamp), 0.5); //Roll part of the clamp into the dot - - float sharp_luma = clamp((dot(vec4(sharp, 1.0), sharp_strength_luma_clamp)), 0.0, 1.0); //Calculate the luma, adjust the strength, scale up and clamp - sharp_luma = (sharp_clamp * 2.0) * sharp_luma - sharp_clamp; //scale down - - return sharp_luma; -} - -//Fake High Dynamic Range. - -vec3 HDRPass(sampler2D tex, vec2 pos) { - vec3 color = texture(tex, pos).rgb; - - vec3 bloom_sum1 = texture(tex, pos + vec2(1.5, -1.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(-1.5, -1.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(1.5, 1.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(-1.5, 1.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(0.0, -2.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(0.0, 2.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(-2.5, 0.0) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(2.5, 0.0) * radius1 * vec2(px, py)).rgb; - - bloom_sum1 *= 0.005; - - vec3 bloom_sum2 = texture(tex, pos + vec2(1.5, -1.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(-1.5, -1.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(1.5, 1.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(-1.5, 1.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(0.0, -2.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(0.0, 2.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(-2.5, 0.0) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(2.5, 0.0) * radius2 * vec2(px, py)).rgb; - - bloom_sum2 *= 0.010; - - float dist = radius2 - radius1; - vec3 HDR = (color + (bloom_sum2 - bloom_sum1)) * dist; - - vec3 blend = HDR + color; - color = pow(abs(blend), vec3(abs(HDRPower))) + HDR; - - return color; -} - -//Lift Gamma Gain - -vec3 LiftGammaGainPass(vec3 colorInput) -{ - // -- Get input -- - vec3 color = colorInput; - - // -- Lift -- - - color = color * (1.5 - 0.5 * RGB_Lift) + 0.5 * RGB_Lift - 0.5; - color = clamp(color, 0.0, 1.0); //isn't strictly necessary, but doesn't cost performance. - - // -- Gain -- - color *= RGB_Gain; - - // -- Gamma -- - color = pow(color, 1.0 / RGB_Gamma); //Gamma - - // -- Return output -- - return clamp(color, 0.0, 1.0); -} - -//VibrancePass -vec3 VibrancePass(vec3 color) { - - const vec3 coefLuma = vec3(0.2126, 0.7152, 0.0722); - float luma = dot(coefLuma, color); - - float max_color = max(color.r, max(color.g, color.b)); // Find the strongest color - float min_color = min(color.r, min(color.g, color.b)); // Find the weakest color - - float color_saturation = max_color - min_color; // The difference between the two is the saturation - - // Extrapolate between luma and original by 1 + (1-saturation) - current - vec3 coeffVibrance = VibranceRGBBalance * Vibrance; - - color = mix(vec3(luma), color, 1.0 + (coeffVibrance * (1.0 - (sign(coeffVibrance) * color_saturation)))); - - return color; -} - -//Curves - -vec3 CurvesPass(vec3 inputColor) { - vec3 colorInput = inputColor; - float Contrast_blend = Contrast * 2.0; //I multiply by two to give it a strength closer to the other curves. - vec3 x = colorInput.rgb; //if the curve should be applied to both Luma and Chroma - x = x * (x * (1.5 - x) + 0.5); //horner form - fastest version - vec3 color = x; //if the curve should be applied to both Luma and Chroma - colorInput.rgb = mix(colorInput.rgb, color, Contrast_blend); //Blend by Contrast - return colorInput; -} - -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -R0f.xyz = HDRPass(textureUnitPS0, passParameterSem0.xy); -float smask = lumasharping(textureUnitPS0, passParameterSem0.xy); -R0f.xyz += vec3(smask); -//R0f.xyz = (texture(textureUnitPS0, R0f.xy).xyz); -// -- Original shader code -// 0 -R127f.x = R0f.z * intBitsToFloat(uf_remappedPS[0].x); -R127f.x = clamp(R127f.x, 0.0, 1.0); -R127f.y = R0f.y * intBitsToFloat(uf_remappedPS[0].x); -R127f.y = clamp(R127f.y, 0.0, 1.0); -PV0f.z = R0f.x * intBitsToFloat(uf_remappedPS[0].x); -PV0f.z = clamp(PV0f.z, 0.0, 1.0); -R1f.w = 1.0; -// 1 -tempResultf = log2(PV0f.z); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 2 -R127f.z = PS1f * intBitsToFloat(0x3ee8ba2e); -tempResultf = log2(R127f.y); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0f = tempResultf; -// 3 -R127f.w = PS0f * intBitsToFloat(0x3ee8ba2e); -tempResultf = log2(R127f.x); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 4 -R127f.x = PS1f * intBitsToFloat(0x3ee8ba2e); -PS0f = exp2(R127f.z); -// 5 -R0f.x = (PS0f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); -PS1f = exp2(R127f.w); -// 6 -R0f.y = (PS1f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); -PS0f = exp2(R127f.x); -// 7 -R0f.z = (PS0f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); -R1f.xyz = (texture(textureUnitPS1, vec3(R0f.x,R0f.y,R0f.z)).xyz); -// -- End original shader code - -//passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); - - vec3 color = texture(textureUnitPS0, passParameterSem0.xy).xyz; - color = TonemapPass(color); - color = CurvesPass(color); - color = LiftGammaGainPass(color); - color = VibrancePass(color); - passPixelColor0 = vec4(color, passParameterSem0.w); -//passPixelColor0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -} diff --git a/Enhancement/XenobladeX_FX/d936195db0dd8e7d_0000000000001e52_ps.txt b/Enhancement/XenobladeX_FX/d936195db0dd8e7d_0000000000001e52_ps.txt deleted file mode 100644 index 6ab7f938..00000000 --- a/Enhancement/XenobladeX_FX/d936195db0dd8e7d_0000000000001e52_ps.txt +++ /dev/null @@ -1,296 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader d936195db0dd8e7d //crossfade exposure -//Xenoblade FX -//Version 0.01Beta -//Shader Dumped from 1.01 -//Shader Edits by Jamie -// - -//ToneMapping -#define Bleach 0.3 //Default is 0.0 -#define exposure 1.25 //Default is 1.0 -#define defog 0.000 //Default is 0.0 //How much of the overall color you want removed form the values of FogColor. -#define FogColor vec3(1.0, 1.0, 1.0) //Color you want to Add or Remove 0.25 would add .25 percent of that color 1.25 would remove .25 percent of the color." - -//VibrancePass -#define Vibrance 0.15 //"Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation."; -#define VibranceRGBBalance vec3(1.0, 1.0, 1.0) //"A per channel multiplier to the Vibrance strength so you can give more boost to certain colors over others."; - -//Lift Gamma Gain -#define RGB_Lift vec3(1.05, 1.05, 1.05) //[0.000 to 2.000] Adjust shadows for Red, Green and Blue. -#define RGB_Gamma vec3(0.70, 0.70, 0.70) //[0.000 to 2.000] Adjust midtones for Red, Green and Blue -#define RGB_Gain vec3(1.05, 1.05, 1.05) //[0.000 to 2.000] Adjust highlights for Red, Green and Blue -//Note that a value of 1.0 is a neutral setting that leave the color unchanged. - -//Curves -#define Contrast 0.50 //[-1.0, 1.0] The amount of contrast you want - -//LumaShapening -#define sharp_strength 0.25 //[0.10 to 3.00] Strength of the sharpening Default is 0.65 -#define sharp_clamp 0.085 //[0.000 to 1.000] Limits maximum amount of sharpening a pixel recieves - Default is 0.035 -//Advanced sharpening settings -#define offset_bias 1.0 //[0.0 to 6.0] Offset bias adjusts the radius of the sampling pattern. - -//Fake High Dynamic Range. -#define HDRPower 1.70 // 0.0 to 8.0 "Raising this seems to make the effect stronger and also darker , Default 1.30." -#define radius1 0.793 // 0.0 to 8.0 "Default 0.793 , will affect FX." -#define radius2 0.87 // 0.0 to 8.0 "Default 0.87 , will affect FX." - -//########################################################### -//Do not edit under this line. -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler3D textureUnitPS1;// Tex1 addr 0x26032000 res 16x16x16 dim 2 tm: 7 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x10) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler3D textureUnitPS2;// Tex2 addr 0x2603b000 res 16x16x16 dim 2 tm: 7 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x10) Sampler2 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -//---------------------------------------------------------------------------- -//ToneMapping - -vec3 TonemapPass(vec3 inputColor) { - vec3 color = inputColor; - color = clamp(color - defog * FogColor * 2.55, 0.0, 1.0); // defog - color *= exposure / (1.0 + color / exposure); - - const vec3 coefLuma = vec3(0.2126, 0.7152, 0.0722); - float lum = dot(coefLuma, color); - - float L = clamp(10.0 * (lum - 0.45), 0.0, 1.0); - vec3 A2 = Bleach * color; - - vec3 result1 = 2.0f * color * lum; - vec3 result2 = 1.0f - 2.0f * (1.0f - lum) * (1.0f - color); - - vec3 newColor = mix(result1, result2, L); - vec3 mixRGB = A2 * newColor; - color += ((1.0f - A2) * mixRGB); - - vec3 middlegray = vec3(dot(color, vec3(1.0 / 3.0))); - vec3 diffcolor = color - middlegray; - - float sat = 0.0; - color = (color + diffcolor * sat) / (1 + (diffcolor * sat)); // saturation - - return color; -} - -//LumaShapening - -#define px (1.0/1280.0*uf_fragCoordScale.x) -#define py (1.0/720.0*uf_fragCoordScale.y) -#define CoefLuma vec3(0.2126, 0.7152, 0.0722) - -float lumasharping(sampler2D tex, vec2 pos) { - vec4 colorInput = texture(tex, pos); - - vec3 ori = colorInput.rgb; - - // -- Combining the strength and luma multipliers -- - vec3 sharp_strength_luma = (CoefLuma * sharp_strength); - - // -- Gaussian filter -- - // [ .25, .50, .25] [ 1 , 2 , 1 ] - // [ .50, 1, .50] = [ 2 , 4 , 2 ] - // [ .25, .50, .25] [ 1 , 2 , 1 ] - - vec3 blur_ori = texture(tex, pos + vec2(px, -py) * 0.5 * offset_bias).rgb; // South East - blur_ori += texture(tex, pos + vec2(-px, -py) * 0.5 * offset_bias).rgb; // South West - blur_ori += texture(tex, pos + vec2(px, py) * 0.5 * offset_bias).rgb; // North East - blur_ori += texture(tex, pos + vec2(-px, py) * 0.5 * offset_bias).rgb; // North West - - blur_ori *= 0.25; // ( /= 4) Divide by the number of texture fetches - - // -- Calculate the sharpening -- - vec3 sharp = ori - blur_ori; //Subtracting the blurred image from the original image - - // -- Adjust strength of the sharpening and clamp it-- - vec4 sharp_strength_luma_clamp = vec4(sharp_strength_luma * (0.5 / sharp_clamp), 0.5); //Roll part of the clamp into the dot - - float sharp_luma = clamp((dot(vec4(sharp, 1.0), sharp_strength_luma_clamp)), 0.0, 1.0); //Calculate the luma, adjust the strength, scale up and clamp - sharp_luma = (sharp_clamp * 2.0) * sharp_luma - sharp_clamp; //scale down - - return sharp_luma; -} - -//Fake High Dynamic Range. - -vec3 HDRPass(sampler2D tex, vec2 pos) { - vec3 color = texture(tex, pos).rgb; - - vec3 bloom_sum1 = texture(tex, pos + vec2(1.5, -1.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(-1.5, -1.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(1.5, 1.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(-1.5, 1.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(0.0, -2.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(0.0, 2.5) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(-2.5, 0.0) * radius1 * vec2(px, py)).rgb; - bloom_sum1 += texture(tex, pos + vec2(2.5, 0.0) * radius1 * vec2(px, py)).rgb; - - bloom_sum1 *= 0.005; - - vec3 bloom_sum2 = texture(tex, pos + vec2(1.5, -1.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(-1.5, -1.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(1.5, 1.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(-1.5, 1.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(0.0, -2.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(0.0, 2.5) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(-2.5, 0.0) * radius2 * vec2(px, py)).rgb; - bloom_sum2 += texture(tex, pos + vec2(2.5, 0.0) * radius2 * vec2(px, py)).rgb; - - bloom_sum2 *= 0.010; - - float dist = radius2 - radius1; - vec3 HDR = (color + (bloom_sum2 - bloom_sum1)) * dist; - - vec3 blend = HDR + color; - color = pow(abs(blend), vec3(abs(HDRPower))) + HDR; - - return color; -} - -//Lift Gamma Gain - -vec3 LiftGammaGainPass(vec3 colorInput) -{ - // -- Get input -- - vec3 color = colorInput; - - // -- Lift -- - - color = color * (1.5 - 0.5 * RGB_Lift) + 0.5 * RGB_Lift - 0.5; - color = clamp(color, 0.0, 1.0); //isn't strictly necessary, but doesn't cost performance. - - // -- Gain -- - color *= RGB_Gain; - - // -- Gamma -- - color = pow(color, 1.0 / RGB_Gamma); //Gamma - - // -- Return output -- - return clamp(color, 0.0, 1.0); -} - -//VibrancePass -vec3 VibrancePass(vec3 color) { - - const vec3 coefLuma = vec3(0.2126, 0.7152, 0.0722); - float luma = dot(coefLuma, color); - - float max_color = max(color.r, max(color.g, color.b)); // Find the strongest color - float min_color = min(color.r, min(color.g, color.b)); // Find the weakest color - - float color_saturation = max_color - min_color; // The difference between the two is the saturation - - // Extrapolate between luma and original by 1 + (1-saturation) - current - vec3 coeffVibrance = VibranceRGBBalance * Vibrance; - - color = mix(vec3(luma), color, 1.0 + (coeffVibrance * (1.0 - (sign(coeffVibrance) * color_saturation)))); - - return color; -} - -//Curves - -vec3 CurvesPass(vec3 inputColor) { - vec3 colorInput = inputColor; - float Contrast_blend = Contrast * 2.0; //I multiply by two to give it a strength closer to the other curves. - vec3 x = colorInput.rgb; //if the curve should be applied to both Luma and Chroma - x = x * (x * (1.5 - x) + 0.5); //horner form - fastest version - vec3 color = x; //if the curve should be applied to both Luma and Chroma - colorInput.rgb = mix(colorInput.rgb, color, Contrast_blend); //Blend by Contrast - return colorInput; -} - -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -R0f.xyz = HDRPass(textureUnitPS0, passParameterSem0.xy); -float smask = lumasharping(textureUnitPS0, passParameterSem0.xy); -R0f.xyz += vec3(smask); -//R0f.xyz = (texture(textureUnitPS0, R0f.xy).xyz); -// -- Original shader code -// 0 -backupReg0f = R0f.x; -PV0f.x = backupReg0f * intBitsToFloat(uf_remappedPS[0].x); -PV0f.x = clamp(PV0f.x, 0.0, 1.0); -R127f.z = R0f.z * intBitsToFloat(uf_remappedPS[0].x); -R127f.z = clamp(R127f.z, 0.0, 1.0); -R127f.w = R0f.y * intBitsToFloat(uf_remappedPS[0].x); -R127f.w = clamp(R127f.w, 0.0, 1.0); -R2f.w = 1.0; -PS0f = R2f.w; -// 1 -tempResultf = log2(PV0f.x); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 2 -R127f.x = PS1f * intBitsToFloat(0x3ee8ba2e); -tempResultf = log2(R127f.w); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0f = tempResultf; -// 3 -R127f.y = PS0f * intBitsToFloat(0x3ee8ba2e); -tempResultf = log2(R127f.z); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 4 -R127f.w = PS1f * intBitsToFloat(0x3ee8ba2e); -PS0f = exp2(R127f.x); -// 5 -R0f.x = (PS0f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); -PS1f = exp2(R127f.y); -// 6 -R0f.y = (PS1f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); -PS0f = exp2(R127f.w); -// 7 -R0f.z = (PS0f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); -R1f.xyz = (texture(textureUnitPS1, vec3(R0f.x,R0f.y,R0f.z)).xyz); -R0f.xyz = (texture(textureUnitPS2, vec3(R0f.x,R0f.y,R0f.z)).xyz); -// 0 -backupReg0f = R0f.y; -backupReg1f = R0f.x; -PV0f.x = R1f.z + -(R0f.z); -PV0f.y = R1f.y + -(backupReg0f); -PV0f.z = R1f.x + -(backupReg1f); -// 1 -R2f.x = (PV0f.z * intBitsToFloat(uf_remappedPS[0].y) + R0f.x); -R2f.y = (PV0f.y * intBitsToFloat(uf_remappedPS[0].y) + R0f.y); -R2f.z = (PV0f.x * intBitsToFloat(uf_remappedPS[0].y) + R0f.z); -// -- End original shader code - -//passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); - - vec3 color = texture(textureUnitPS0, passParameterSem0.xy).xyz; - color = TonemapPass(color); - color = CurvesPass(color); - color = LiftGammaGainPass(color); - color = VibrancePass(color); - passPixelColor0 = vec4(color, passParameterSem0.w); -//passPixelColor0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -//passPixelColor0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Enhancement/XenobladeX_FX/rules.txt b/Enhancement/XenobladeX_FX/rules.txt deleted file mode 100644 index 07956fb1..00000000 --- a/Enhancement/XenobladeX_FX/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Xenoblade Chronicles X - Fx By Jamie" -version = 2 diff --git a/Enhancement/XenobladeX_NoOfflineTag/rules.txt b/Enhancement/XenobladeX_NoOfflineTag/rules.txt deleted file mode 100644 index b1541bd3..00000000 --- a/Enhancement/XenobladeX_NoOfflineTag/rules.txt +++ /dev/null @@ -1,10 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Xenoblade Chronicles X - No Offline Tag" -version = 2 - -[TextureRedefine] -width = 128 -height = 32 -formats = 0x033 -overwriteFormat = 0x433 diff --git a/Enhancements/!BreathOfTheWild_AntiAliasing/0f2b9ee517917425_00000000000003c9_ps.txt b/Enhancements/!BreathOfTheWild_AntiAliasing/0f2b9ee517917425_00000000000003c9_ps.txt new file mode 100644 index 00000000..ba6f9555 --- /dev/null +++ b/Enhancements/!BreathOfTheWild_AntiAliasing/0f2b9ee517917425_00000000000003c9_ps.txt @@ -0,0 +1,1017 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +#extension GL_EXT_gpu_shader4 : enable +// shader 0f2b9ee517917425 +// Used for: Removing/Restoring the native BotW Anti-Aliasing implementation in inventory screen + +#define preset $preset + +#if (preset == 0) +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf49b1800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 +layout(location = 0) in vec4 passParameterSem2; +layout(location = 0) out vec4 passPixelColor0; + +void main() +{ +passPixelColor0 = texture(textureUnitPS0, passParameterSem2.xy); +} +#endif + +#if (preset == 1) +uniform ivec4 uf_remappedPS[2]; +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf49b1800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 +layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x387f8000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 +layout(location = 0) in vec4 passParameterSem2; +layout(location = 0) out vec4 passPixelColor0; +uniform vec2 uf_fragCoordScale; +ivec2 resDim = textureSize2D(textureUnitPS0,0); +const float resXScale = float(resDim.x)/1280; +const float resYScale = float(resDim.y)/720; +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +void main() +{ +ivec4 R0i = ivec4(0); +ivec4 R1i = ivec4(0); +ivec4 R2i = ivec4(0); +ivec4 R3i = ivec4(0); +ivec4 R4i = ivec4(0); +ivec4 R5i = ivec4(0); +ivec4 R6i = ivec4(0); +ivec4 R123i = ivec4(0); +ivec4 R124i = ivec4(0); +ivec4 R125i = ivec4(0); +ivec4 R126i = ivec4(0); +ivec4 R127i = ivec4(0); +int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; +ivec4 PV0i = ivec4(0), PV1i = ivec4(0); +int PS0i = 0, PS1i = 0; +ivec4 tempi = ivec4(0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +bool activeMaskStack[2]; +bool activeMaskStackC[3]; +activeMaskStack[0] = false; +activeMaskStackC[0] = false; +activeMaskStackC[1] = false; +activeMaskStack[0] = true; +activeMaskStackC[0] = true; +activeMaskStackC[1] = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0i = floatBitsToInt(passParameterSem2); +if( activeMaskStackC[1] == true ) { +R2i.xzw = floatBitsToInt(textureGather(textureUnitPS1, intBitsToFloat(R0i.xy)).xzw); +R1i.xz = floatBitsToInt(textureGather(textureUnitPS1, intBitsToFloat(R0i.zw)).xz); +R3i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.xy)).xyzw); +R0i.w = floatBitsToInt(textureOffset(textureUnitPS1, intBitsToFloat(R0i.xy),ivec2(1,-1)).x); +R1i.y = floatBitsToInt(textureOffset(textureUnitPS1, intBitsToFloat(R0i.xy),ivec2(-1,1)).x); +} +if( activeMaskStackC[1] == true ) { +activeMaskStack[1] = activeMaskStack[0]; +activeMaskStackC[2] = activeMaskStackC[1]; +// 0 +PV0i.x = floatBitsToInt(min(intBitsToFloat(R1i.x), intBitsToFloat(R1i.z))); +PV0i.y = floatBitsToInt(max(intBitsToFloat(R2i.x), intBitsToFloat(R2i.z))); +PV0i.z = floatBitsToInt(max(intBitsToFloat(R1i.x), intBitsToFloat(R1i.z))); +PV0i.w = floatBitsToInt(min(intBitsToFloat(R2i.x), intBitsToFloat(R2i.z))); +// 1 +PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.y))); +PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.w))); +// 2 +PV0i.z = floatBitsToInt(min(intBitsToFloat(R2i.w), intBitsToFloat(PV1i.y))); +PV0i.w = floatBitsToInt(max(intBitsToFloat(R2i.w), intBitsToFloat(PV1i.x))); +// 3 +PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[0].x))); +R1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(PV0i.z))); +// 4 +R2i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[0].y))); +// 5 +predResult = (intBitsToFloat(R1i.w) >= intBitsToFloat(R2i.y)); +activeMaskStack[1] = predResult; +activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; +} +else { +activeMaskStack[1] = false; +activeMaskStackC[2] = false; +} +if( activeMaskStackC[2] == true ) { +// 0 +R126i.xyz = floatBitsToInt(vec3(intBitsToFloat(R2i.z),intBitsToFloat(R1i.x),intBitsToFloat(R2i.z)) + vec3(intBitsToFloat(R0i.w),intBitsToFloat(R1i.y),intBitsToFloat(R1i.x))); +PV0i.z = R126i.z; +R127i.w = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R1i.z)); +PV0i.w = R127i.w; +R127i.y = R1i.z; +R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); +PS0i = R127i.y; +// 1 +PV1i.x = R2i.x; +PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); +PV1i.y = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(R0i.w)); +R127i.z = floatBitsToInt((-(intBitsToFloat(R2i.w)) * 2.0 + intBitsToFloat(PV0i.z))); +PV1i.w = PV0i.w; +PS1i = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(R1i.y)); +// 2 +R127i.x = floatBitsToInt((-(intBitsToFloat(R2i.w)) * 2.0 + intBitsToFloat(PV1i.w))); +R1i.y = R2i.z; +PV0i.y = R1i.y; +PV0i.z = floatBitsToInt(intBitsToFloat(PS1i) + -(intBitsToFloat(PV1i.x))); +PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(R127i.y))); +PS0i = R126i.x; +// 3 +backupReg0i = R127i.z; +backupReg0i = R127i.z; +R123i.x = floatBitsToInt((-(intBitsToFloat(R1i.x)) * 2.0 + intBitsToFloat(R126i.y))); +PV1i.x = R123i.x; +PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); +R127i.z = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); +R123i.w = floatBitsToInt((-(intBitsToFloat(PV0i.y)) * 2.0 + intBitsToFloat(PS0i))); +PV1i.w = R123i.w; +PS1i = floatBitsToInt(max(intBitsToFloat(backupReg0i), -(intBitsToFloat(backupReg0i)))); +PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); +// 4 +backupReg0i = R126i.y; +PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); +R126i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); +PV0i.z = floatBitsToInt(max(intBitsToFloat(R127i.x), -(intBitsToFloat(R127i.x)))); +PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); +PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PS1i)); +R126i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(backupReg0i)); +PS0i = R126i.w; +// 5 +backupReg0i = R127i.z; +PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); +PV1i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R126i.z)); +PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); +R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.w)); +R127i.y = floatBitsToInt(1.0 / intBitsToFloat(R1i.w)); +PS1i = R127i.y; +// 6 +PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV1i.y)); +PV0i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(PV1i.x)); +// 7 +PV1i.x = ((intBitsToFloat(PV0i.y) >= intBitsToFloat(R127i.z))?int(0xFFFFFFFF):int(0x0)); +PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3daaaaab)); +// 8 +PV0i.x = floatBitsToInt(intBitsToFloat(R2i.w) + -(intBitsToFloat(PV1i.y))); +R4i.z = ((PV1i.x == 0)?(0x3f800000):(0)); +PV0i.z = R4i.z; +R5i.w = ((PV1i.x == 0)?(0):(0x3f800000)); +PV0i.w = R5i.w; +// 9 +R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[1].x)/resXScale)); +PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[1].x)/resXScale)); +PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); +R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[1].y)/resYScale)); +PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); +// 10 +R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R127i.y)); +R127i.x = clampFI32(R127i.x); +PV0i.x = R127i.x; +R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[1].y)/resYScale) + intBitsToFloat(PV1i.y))); +R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R5i.w)) + intBitsToFloat(PS1i))); +PV0i.z = R127i.z; +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(R4i.z))); +// 11 +R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R5i.w)) + intBitsToFloat(PV0i.w))); +PV1i.x = R124i.x; +PV1i.y = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.z)); +R123i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c00000) + intBitsToFloat(0xc1700000))); +PV1i.w = R123i.w; +// 12 +R125i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), -(intBitsToFloat(PV1i.y)))); +PV0i.y = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV1i.x)); +R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(0x41200000))); +PV0i.z = R123i.z; +// 13 +R126i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); +PV1i.x = R126i.x; +PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); +// 14 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.y))); +R126i.w = ((intBitsToFloat(R125i.x) >= intBitsToFloat(PV1i.x))?int(0xFFFFFFFF):int(0x0)); +PV0i.w = R126i.w; +// 15 +R6i.x = floatBitsToInt(((PV0i.w == 0)?(intBitsToFloat(R127i.y)):(-(intBitsToFloat(R127i.y))))); +PV1i.x = R6i.x; +R123i.z = ((PV0i.w == 0)?(R126i.x):(R125i.x)); +PV1i.z = R123i.z; +PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.x))); +// 16 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.x))); +PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); +R123i.y = ((R126i.w == 0)?(R124i.x):(R127i.z)); +PV0i.y = R123i.y; +R3i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3f400000)); +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.x))); +PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); +R4i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * 0.25); +PS0i = R4i.x; +// 17 +backupReg0i = R0i.x; +PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.x)); +PV1i.z = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.w)); +R4i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.y)); +R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); +PV1i.w = R4i.w; +// 18 +R3i.x = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.x)); +R3i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); +R1i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV1i.x)); +R1i.w = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(PV1i.z)); +R2i.x = floatBitsToInt(intBitsToFloat(R2i.w) + -(intBitsToFloat(PV1i.w))); +PS0i = R2i.x; +} +if( activeMaskStackC[2] == true ) { +R1i.y = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R3i.xy)).x); +R1i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +backupReg0i = R2i.x; +R2i.x = ((0.0 > intBitsToFloat(backupReg0i))?int(0xFFFFFFFF):int(0x0)); +PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.x)); +PV0i.w = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.y)); +// 1 +PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); +PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); +// 2 +PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.y))); +PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.z))); +// 3 +R123i.z = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +backupReg0i = R3i.x; +backupReg1i = R3i.y; +R3i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R5i.x)),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); +R3i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); +R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.z))); +R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.w))); +} +if( activeMaskStackC[2] == true ) { +R1i.w = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R3i.xy)).x); +R1i.z = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.w)); +PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.z)); +// 1 +PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); +PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); +// 2 +PV0i.z = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.w))); +PV0i.w = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.x))); +// 3 +R123i.z = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +backupReg0i = R2i.z; +backupReg1i = R2i.w; +R1i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R5i.x)),intBitsToFloat(PV1i.w)) + intBitsToFloat(R3i.x))); +R1i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(R3i.y))); +R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); +R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); +} +if( activeMaskStackC[2] == true ) { +R3i.y = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).x); +R3i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.y)); +PV0i.w = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.x)); +// 1 +PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); +PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); +// 2 +PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.z))); +PV0i.z = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.w))); +// 3 +R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.y = R123i.y; +R123i.z = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +// 4 +backupReg0i = R1i.x; +backupReg1i = R1i.y; +R1i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R5i.x)),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); +R1i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); +R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R2i.z))); +R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R2i.w))); +} +if( activeMaskStackC[2] == true ) { +R2i.w = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).x); +R2i.z = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.w)); +PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); +// 1 +PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); +PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); +// 2 +PV0i.z = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.w))); +PV0i.w = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.x))); +// 3 +R123i.z = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +backupReg0i = R1i.z; +backupReg1i = R1i.w; +R3i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R5i.x)),intBitsToFloat(PV1i.w)) + intBitsToFloat(R1i.x))); +R3i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(R1i.y))); +R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); +R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); +} +if( activeMaskStackC[2] == true ) { +R1i.y = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R3i.xy)).x); +R1i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.y)); +PV0i.w = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.x)); +// 1 +PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); +PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); +// 2 +PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.z))); +PV0i.z = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.w))); +// 3 +R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.y = R123i.y; +R123i.z = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +// 4 +backupReg0i = R3i.x; +backupReg1i = R3i.y; +R3i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R5i.x)),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); +R3i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); +R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.z))); +R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.w))); +} +if( activeMaskStackC[2] == true ) { +R1i.w = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R3i.xy)).x); +R1i.z = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.w)); +PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.z)); +// 1 +PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); +PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); +// 2 +PV0i.z = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.w))); +PV0i.w = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.x))); +// 3 +R123i.z = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); +PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.z))); +PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.w))); +// 5 +backupReg0i = R2i.z; +backupReg1i = R2i.w; +R1i.x = floatBitsToInt((-(intBitsToFloat(PV0i.x)) * 1.5 + intBitsToFloat(R3i.x))); +R1i.y = floatBitsToInt((-(intBitsToFloat(PV0i.w)) * 1.5 + intBitsToFloat(R3i.y))); +R2i.z = floatBitsToInt((intBitsToFloat(PV0i.z) * 1.5 + intBitsToFloat(backupReg0i))); +R2i.w = floatBitsToInt((intBitsToFloat(PV0i.y) * 1.5 + intBitsToFloat(backupReg1i))); +} +if( activeMaskStackC[2] == true ) { +R3i.y = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).x); +R3i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.y)); +PV0i.w = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.x)); +// 1 +PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); +PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); +// 2 +PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.y))); +PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.z))); +// 3 +R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.x = R123i.x; +R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); +PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); +PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.x))); +PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); +PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.w))); +PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); +PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); +// 5 +backupReg0i = R1i.x; +backupReg1i = R1i.y; +R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.z)) + vec3(-(intBitsToFloat(PV0i.w)),-(intBitsToFloat(PV0i.z)),intBitsToFloat(PV0i.x))); +R1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.y)); +} +if( activeMaskStackC[2] == true ) { +R2i.w = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).x); +R2i.z = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); +PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.w)); +// 1 +PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); +PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); +// 2 +PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.y))); +PV0i.w = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.x))); +// 3 +R123i.z = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); +PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); +PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.z))); +PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); +PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); +PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.w))); +PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); +// 5 +backupReg0i = R1i.z; +backupReg1i = R1i.w; +R3i.x = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(PV0i.x))); +R3i.y = floatBitsToInt(intBitsToFloat(R1i.y) + -(intBitsToFloat(PV0i.w))); +R1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.z)); +R1i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PV0i.y)); +} +if( activeMaskStackC[2] == true ) { +R1i.y = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R3i.xy)).x); +R1i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.y)); +PV0i.w = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.x)); +// 1 +PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); +PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); +// 2 +PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.y))); +PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.z))); +// 3 +R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.x = R123i.x; +R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); +PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); +PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.x))); +PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); +PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.w))); +PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); +PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); +// 5 +backupReg0i = R3i.x; +backupReg1i = R3i.y; +R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.w))); +R3i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + -(intBitsToFloat(PV0i.z))); +R2i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); +R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); +} +if( activeMaskStackC[2] == true ) { +R1i.w = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R3i.xy)).x); +R1i.z = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.z)); +PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.w)); +// 1 +PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); +PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); +// 2 +PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.y))); +PV0i.w = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.x))); +// 3 +R123i.z = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); +PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); +PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.z))); +PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); +PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); +PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.w))); +PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); +// 5 +backupReg0i = R2i.z; +backupReg1i = R2i.w; +R1i.x = floatBitsToInt(intBitsToFloat(R3i.x) + -(intBitsToFloat(PV0i.x))); +R1i.y = floatBitsToInt(intBitsToFloat(R3i.y) + -(intBitsToFloat(PV0i.w))); +R2i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.z)); +R2i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PV0i.y)); +} +if( activeMaskStackC[2] == true ) { +R3i.y = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).x); +R3i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.y)); +PV0i.w = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.x)); +// 1 +PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); +PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); +// 2 +PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.y))); +PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.z))); +// 3 +R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.x = R123i.x; +R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); +PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); +PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.x))); +PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 4.0); +PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.w))); +PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 4.0); +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); +PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 4.0); +// 5 +backupReg0i = R1i.x; +backupReg1i = R1i.y; +R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R2i.z)) + vec3(-(intBitsToFloat(PV0i.w)),-(intBitsToFloat(PV0i.z)),intBitsToFloat(PV0i.x))); +R1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.y)); +} +if( activeMaskStackC[2] == true ) { +R2i.w = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).x); +R2i.z = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); +PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.w)); +// 1 +PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); +PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); +// 2 +PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.y))); +PV0i.w = floatBitsToInt(intBitsToFloat(R4i.x) + -(intBitsToFloat(PV1i.x))); +// 3 +R123i.z = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.z = R123i.z; +R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); +PV1i.w = R123i.w; +// 4 +PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); +PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); +PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.z))); +PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.w))); +// 5 +backupReg0i = R1i.z; +backupReg1i = R1i.w; +R5i.x = floatBitsToInt((-(intBitsToFloat(PV0i.x)) * intBitsToFloat(0x41000000) + intBitsToFloat(R1i.x))); +R5i.y = floatBitsToInt((-(intBitsToFloat(PV0i.w)) * intBitsToFloat(0x41000000) + intBitsToFloat(R1i.y))); +R1i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x41000000) + intBitsToFloat(backupReg0i))); +R1i.w = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(0x41000000) + intBitsToFloat(backupReg1i))); +} +if( activeMaskStackC[2] == true ) { +R1i.y = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R5i.xy)).x); +R1i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.zw)).x); +} +if( activeMaskStackC[2] == true ) { +// 0 +backupReg0i = R0i.x; +backupReg1i = R0i.y; +backupReg0i = R0i.x; +PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.x)); +PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R5i.x))); +PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.y)); +R126i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + -(intBitsToFloat(R5i.y))); +PS0i = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(R1i.z)); +// 1 +PV1i.x = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(R1i.w)); +PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PS0i))); +PV1i.z = ((0.0 > intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); +PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.y))); +PS1i = ((0.0 > intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); +// 2 +R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); +PV0i.x = R123i.x; +R127i.y = (PV1i.z != R2i.x)?int(0xFFFFFFFF):int(0x0); +R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R126i.w)) + intBitsToFloat(PV1i.w))); +PV0i.z = R123i.z; +R126i.w = (PS1i != R2i.x)?int(0xFFFFFFFF):int(0x0); +// 3 +PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); +R126i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); +PV1i.z = ((intBitsToFloat(PV0i.x) > intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); +// 4 +backupReg0i = R127i.y; +R127i.y = ((PV1i.z == 0)?(R126i.w):(backupReg0i)); +PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); +// 5 +PV1i.z = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(PS0i)); +// 6 +PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 0.5); +// 7 +R123i.x = ((R127i.y == 0)?(0):(PV0i.y)); +PV1i.x = R123i.x; +// 8 +PV0i.w = floatBitsToInt(max(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.x))); +// 9 +PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); +// 10 +backupReg0i = R0i.x; +backupReg1i = R0i.y; +R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); +R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); +} +if( activeMaskStackC[2] == true ) { +R3i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.xy)).xyzw); +} +activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; +// export +passPixelColor0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); +} +#endif + +#if (preset == 2) +/*-----------------------------settings-------------------------------------*/ + +#define Subpix 1.00 //[0.000 to 1.000] Choose the amount of sub-pixel aliasing removal. +#define EdgeThreshold 0.125 //[0.000 to 1.000] Edge detection threshold. The minimum amount of local contrast required to apply algorithm. +#define EdgeThresholdMin 0.0625 //[0.000 to 1.000] Darkness threshold. Trims the algorithm from processing darks. + +/*--------------------------------------------------------------------------*/ + +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf49b1800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 +layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x387f8000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 +layout(location = 0) in vec4 passParameterSem2; +layout(location = 0) out vec4 passPixelColor0; +uniform vec2 uf_fragCoordScale; + +#define FXAA_QUALITY__PS 12 +#define FXAA_QUALITY__P0 1.0 +#define FXAA_QUALITY__P1 1.0 +#define FXAA_QUALITY__P2 1.0 +#define FXAA_QUALITY__P3 1.0 +#define FXAA_QUALITY__P4 1.0 +#define FXAA_QUALITY__P5 1.5 +#define FXAA_QUALITY__P6 2.0 +#define FXAA_QUALITY__P7 2.0 +#define FXAA_QUALITY__P8 2.0 +#define FXAA_QUALITY__P9 2.0 +#define FXAA_QUALITY__P10 4.0 +#define FXAA_QUALITY__P11 8.0 + +#define FxaaBool bool +#define FxaaDiscard discard +#define FxaaFloat float +#define FxaaFloat2 vec2 +#define FxaaFloat3 vec3 +#define FxaaFloat4 vec4 +#define FxaaHalf float +#define FxaaHalf2 vec2 +#define FxaaHalf3 vec3 +#define FxaaHalf4 vec4 +#define FxaaInt2 ivec2 +#define FxaaSat(x) clamp(x, 0.0, 1.0) +#define FxaaTex sampler2D + +#define FxaaTexTop(t, p) textureLod(t, p, 0.0) +#define FxaaTexOff(t, p, o, r) textureLodOffset(t, p, 0.0, o) + +#define FxaaTexAlpha4(t, p) textureGather(t, p, 3) +#define FxaaTexOffAlpha4(t, p, o) textureGatherOffset(t, p, o, 3) +#define FxaaTexGreen4(t, p) textureGather(t, p, 1) +#define FxaaTexOffGreen4(t, p, o) textureGatherOffset(t, p, o, 1) + +FxaaFloat4 FxaaPixelShader( + FxaaFloat2 pos, + FxaaTex tex, + FxaaTex lum, + FxaaFloat2 fxaaQualityRcpFrame, + FxaaFloat fxaaQualitySubpix, + FxaaFloat fxaaQualityEdgeThreshold, + FxaaFloat fxaaQualityEdgeThresholdMin +) { + FxaaFloat2 posM; + posM.x = pos.x; + posM.y = pos.y; + FxaaFloat4 rgbyM = vec4(FxaaTexTop(tex, posM).xyz, FxaaTexTop(lum, posM).x); + #define lumaM rgbyM.w + FxaaFloat4 luma4A = textureGather(lum, posM); + FxaaFloat4 luma4B = textureGatherOffset(lum, posM, FxaaInt2(-1, -1)); + #define lumaE luma4A.z + #define lumaS luma4A.x + #define lumaSE luma4A.y + #define lumaNW luma4B.w + #define lumaN luma4B.z + #define lumaW luma4B.x + FxaaFloat maxSM = max(lumaS, lumaM); + FxaaFloat minSM = min(lumaS, lumaM); + FxaaFloat maxESM = max(lumaE, maxSM); + FxaaFloat minESM = min(lumaE, minSM); + FxaaFloat maxWN = max(lumaN, lumaW); + FxaaFloat minWN = min(lumaN, lumaW); + FxaaFloat rangeMax = max(maxWN, maxESM); + FxaaFloat rangeMin = min(minWN, minESM); + FxaaFloat rangeMaxScaled = rangeMax * fxaaQualityEdgeThreshold; + FxaaFloat range = rangeMax - rangeMin; + FxaaFloat rangeMaxClamped = max(fxaaQualityEdgeThresholdMin, rangeMaxScaled); + FxaaBool earlyExit = range < rangeMaxClamped; + if(earlyExit) + return rgbyM; + FxaaFloat lumaNE = FxaaTexOff(lum, posM, FxaaInt2(1, -1), fxaaQualityRcpFrame.xy).x; + FxaaFloat lumaSW = FxaaTexOff(lum, posM, FxaaInt2(-1, 1), fxaaQualityRcpFrame.xy).x; + FxaaFloat lumaNS = lumaN + lumaS; + FxaaFloat lumaWE = lumaW + lumaE; + FxaaFloat subpixRcpRange = 1.0/range; + FxaaFloat subpixNSWE = lumaNS + lumaWE; + FxaaFloat edgeHorz1 = (-2.0 * lumaM) + lumaNS; + FxaaFloat edgeVert1 = (-2.0 * lumaM) + lumaWE; + FxaaFloat lumaNESE = lumaNE + lumaSE; + FxaaFloat lumaNWNE = lumaNW + lumaNE; + FxaaFloat edgeHorz2 = (-2.0 * lumaE) + lumaNESE; + FxaaFloat edgeVert2 = (-2.0 * lumaN) + lumaNWNE; + FxaaFloat lumaNWSW = lumaNW + lumaSW; + FxaaFloat lumaSWSE = lumaSW + lumaSE; + FxaaFloat edgeHorz4 = (abs(edgeHorz1) * 2.0) + abs(edgeHorz2); + FxaaFloat edgeVert4 = (abs(edgeVert1) * 2.0) + abs(edgeVert2); + FxaaFloat edgeHorz3 = (-2.0 * lumaW) + lumaNWSW; + FxaaFloat edgeVert3 = (-2.0 * lumaS) + lumaSWSE; + FxaaFloat edgeHorz = abs(edgeHorz3) + edgeHorz4; + FxaaFloat edgeVert = abs(edgeVert3) + edgeVert4; + FxaaFloat subpixNWSWNESE = lumaNWSW + lumaNESE; + FxaaFloat lengthSign = fxaaQualityRcpFrame.x; + FxaaBool horzSpan = edgeHorz >= edgeVert; + FxaaFloat subpixA = subpixNSWE * 2.0 + subpixNWSWNESE; + if(!horzSpan) lumaN = lumaW; + if(!horzSpan) lumaS = lumaE; + if(horzSpan) lengthSign = fxaaQualityRcpFrame.y; + FxaaFloat subpixB = (subpixA * (1.0/12.0)) - lumaM; + FxaaFloat gradientN = lumaN - lumaM; + FxaaFloat gradientS = lumaS - lumaM; + FxaaFloat lumaNN = lumaN + lumaM; + FxaaFloat lumaSS = lumaS + lumaM; + FxaaBool pairN = abs(gradientN) >= abs(gradientS); + FxaaFloat gradient = max(abs(gradientN), abs(gradientS)); + if(pairN) lengthSign = -lengthSign; + FxaaFloat subpixC = FxaaSat(abs(subpixB) * subpixRcpRange); + FxaaFloat2 posB; + posB.x = posM.x; + posB.y = posM.y; + FxaaFloat2 offNP; + offNP.x = (!horzSpan) ? 0.0 : fxaaQualityRcpFrame.x; + offNP.y = ( horzSpan) ? 0.0 : fxaaQualityRcpFrame.y; + if(!horzSpan) posB.x += lengthSign * 0.5; + if( horzSpan) posB.y += lengthSign * 0.5; + FxaaFloat2 posN; + posN.x = posB.x - offNP.x * FXAA_QUALITY__P0; + posN.y = posB.y - offNP.y * FXAA_QUALITY__P0; + FxaaFloat2 posP; + posP.x = posB.x + offNP.x * FXAA_QUALITY__P0; + posP.y = posB.y + offNP.y * FXAA_QUALITY__P0; + FxaaFloat subpixD = ((-2.0)*subpixC) + 3.0; + FxaaFloat lumaEndN = FxaaTexTop(lum, posN).x; + FxaaFloat subpixE = subpixC * subpixC; + FxaaFloat lumaEndP = FxaaTexTop(lum, posP).x; + if(!pairN) lumaNN = lumaSS; + FxaaFloat gradientScaled = gradient * 1.0/4.0; + FxaaFloat lumaMM = lumaM - lumaNN * 0.5; + FxaaFloat subpixF = subpixD * subpixE; + FxaaBool lumaMLTZero = lumaMM < 0.0; + lumaEndN -= lumaNN * 0.5; + lumaEndP -= lumaNN * 0.5; + FxaaBool doneN = abs(lumaEndN) >= gradientScaled; + FxaaBool doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P1; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P1; + FxaaBool doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P1; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P1; + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P2; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P2; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P2; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P2; + #if (FXAA_QUALITY__PS > 3) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P3; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P3; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P3; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P3; + #if (FXAA_QUALITY__PS > 4) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P4; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P4; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P4; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P4; + #if (FXAA_QUALITY__PS > 5) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P5; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P5; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P5; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P5; + #if (FXAA_QUALITY__PS > 6) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P6; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P6; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P6; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P6; + #if (FXAA_QUALITY__PS > 7) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P7; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P7; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P7; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P7; + #if (FXAA_QUALITY__PS > 8) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P8; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P8; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P8; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P8; + #if (FXAA_QUALITY__PS > 9) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P9; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P9; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P9; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P9; + #if (FXAA_QUALITY__PS > 10) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P10; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P10; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P10; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P10; + #if (FXAA_QUALITY__PS > 11) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P11; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P11; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P11; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P11; + #if (FXAA_QUALITY__PS > 12) + if(doneNP) { + if(!doneN) lumaEndN = FxaaTexTop(lum, posN.xy).x; + if(!doneP) lumaEndP = FxaaTexTop(lum, posP.xy).x; + if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5; + if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5; + doneN = abs(lumaEndN) >= gradientScaled; + doneP = abs(lumaEndP) >= gradientScaled; + if(!doneN) posN.x -= offNP.x * FXAA_QUALITY__P12; + if(!doneN) posN.y -= offNP.y * FXAA_QUALITY__P12; + doneNP = (!doneN) || (!doneP); + if(!doneP) posP.x += offNP.x * FXAA_QUALITY__P12; + if(!doneP) posP.y += offNP.y * FXAA_QUALITY__P12; + } + #endif + } + #endif + } + #endif + } + #endif + } + #endif + } + #endif + } + #endif + } + #endif + } + #endif + } + #endif + } + FxaaFloat dstN = posM.x - posN.x; + FxaaFloat dstP = posP.x - posM.x; + if(!horzSpan) dstN = posM.y - posN.y; + if(!horzSpan) dstP = posP.y - posM.y; + FxaaBool goodSpanN = (lumaEndN < 0.0) != lumaMLTZero; + FxaaFloat spanLength = (dstP + dstN); + FxaaBool goodSpanP = (lumaEndP < 0.0) != lumaMLTZero; + FxaaFloat spanLengthRcp = 1.0/spanLength; + FxaaBool directionN = dstN < dstP; + FxaaFloat dst = min(dstN, dstP); + FxaaBool goodSpan = directionN ? goodSpanN : goodSpanP; + FxaaFloat subpixG = subpixF * subpixF; + FxaaFloat pixelOffset = (dst * (-spanLengthRcp)) + 0.5; + FxaaFloat subpixH = subpixG * fxaaQualitySubpix; + FxaaFloat pixelOffsetGood = goodSpan ? pixelOffset : 0.0; + FxaaFloat pixelOffsetSubpix = max(pixelOffsetGood, subpixH); + if(!horzSpan) posM.x += pixelOffsetSubpix * lengthSign; + if( horzSpan) posM.y += pixelOffsetSubpix * lengthSign; + return FxaaFloat4(FxaaTexTop(tex, posM).xyz, lumaM); +} + + +vec2 RcpFrame = vec2(1.0 / 1280.0, 1.0 / 720.0) * uf_fragCoordScale; +void main() +{ +passPixelColor0 = FxaaPixelShader(passParameterSem2.xy, textureUnitPS0, textureUnitPS1, RcpFrame, Subpix, EdgeThreshold, EdgeThresholdMin); +} +#endif \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_!FXAA/58b84124c01721ff_0000000000000079_ps.txt b/Enhancements/!BreathOfTheWild_AntiAliasing/disabled_58b8411478181d7f_0000000000000079_ps.txt similarity index 90% rename from Enhancement/BreathOfTheWild_!FXAA/58b84124c01721ff_0000000000000079_ps.txt rename to Enhancements/!BreathOfTheWild_AntiAliasing/disabled_58b8411478181d7f_0000000000000079_ps.txt index 265308fe..ac9a3b8f 100644 --- a/Enhancement/BreathOfTheWild_!FXAA/58b84124c01721ff_0000000000000079_ps.txt +++ b/Enhancements/!BreathOfTheWild_AntiAliasing/disabled_58b8411478181d7f_0000000000000079_ps.txt @@ -1,6 +1,6 @@ #version 420 #extension GL_ARB_texture_gather : enable -// shader 58b84124c01721ff //in-game luminance +// shader 58b8411478181d7f layout(binding = 0) uniform sampler2D textureUnitPS0; layout(location = 0) in vec4 passParameterSem2; diff --git a/Enhancement/BreathOfTheWild_!FXAA/58b8411478181d7f_0000000000000079_ps.txt b/Enhancements/!BreathOfTheWild_AntiAliasing/disabled_58b84124c01721ff_0000000000000079_ps.txt similarity index 89% rename from Enhancement/BreathOfTheWild_!FXAA/58b8411478181d7f_0000000000000079_ps.txt rename to Enhancements/!BreathOfTheWild_AntiAliasing/disabled_58b84124c01721ff_0000000000000079_ps.txt index ff8ab43b..3531da5e 100644 --- a/Enhancement/BreathOfTheWild_!FXAA/58b8411478181d7f_0000000000000079_ps.txt +++ b/Enhancements/!BreathOfTheWild_AntiAliasing/disabled_58b84124c01721ff_0000000000000079_ps.txt @@ -1,6 +1,6 @@ #version 420 #extension GL_ARB_texture_gather : enable -// shader 58b8411478181d7f //inventory luminance +// shader 58b84124c01721ff layout(binding = 0) uniform sampler2D textureUnitPS0; layout(location = 0) in vec4 passParameterSem2; diff --git a/Enhancement/BreathOfTheWild_!FXAA/f14bb57cd5c9cb77_00000000000003c9_ps.txt b/Enhancements/!BreathOfTheWild_AntiAliasing/f14bb57cd5c9cb77_00000000000003c9_ps.txt similarity index 73% rename from Enhancement/BreathOfTheWild_!FXAA/f14bb57cd5c9cb77_00000000000003c9_ps.txt rename to Enhancements/!BreathOfTheWild_AntiAliasing/f14bb57cd5c9cb77_00000000000003c9_ps.txt index 1d553a8b..f97ee070 100644 --- a/Enhancement/BreathOfTheWild_!FXAA/f14bb57cd5c9cb77_00000000000003c9_ps.txt +++ b/Enhancements/!BreathOfTheWild_AntiAliasing/f14bb57cd5c9cb77_00000000000003c9_ps.txt @@ -1,6 +1,173 @@ #version 420 #extension GL_ARB_texture_gather : enable +#extension GL_EXT_gpu_shader4 : enable +// shader f14bb57cd5c9cb77 +// Used for: Removing/Restoring the native BotW Anti-Aliasing implementation in inventory screen +#define preset $preset + +#if (preset == 0) +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf49b1800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 +layout(location = 0) in vec4 passParameterSem2; +layout(location = 0) out vec4 passPixelColor0; +void main() +{ +passPixelColor0 = texture(textureUnitPS0, passParameterSem2.xy); +} +#endif + +#if (preset == 1) +uniform ivec4 uf_remappedPS[4]; +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4713800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 +layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x387f8000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 +layout(location = 0) in vec4 passParameterSem2; +layout(location = 0) out vec4 passPixelColor0; +uniform vec2 uf_fragCoordScale; +ivec2 resDim = textureSize2D(textureUnitPS0,0); +const float resXScale = float(resDim.x)/1280; +const float resYScale = float(resDim.y)/720; +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R1f = vec4(0.0); +vec4 R2f = vec4(0.0); +vec4 R3f = vec4(0.0); +vec4 R123f = vec4(0.0); +vec4 R126f = vec4(0.0); +vec4 R127f = vec4(0.0); +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +bool activeMaskStack[2]; +bool activeMaskStackC[3]; +activeMaskStack[0] = false; +activeMaskStackC[0] = false; +activeMaskStackC[1] = false; +activeMaskStack[0] = true; +activeMaskStackC[0] = true; +activeMaskStackC[1] = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = passParameterSem2; +if( activeMaskStackC[1] == true ) { +R1f.xyzw = (textureGather(textureUnitPS1, R0f.xy).wzxy); +R2f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); +} +if( activeMaskStackC[1] == true ) { +activeMaskStack[1] = activeMaskStack[0]; +activeMaskStackC[2] = activeMaskStackC[1]; +// 0 +PV0f.x = R1f.w + -(R1f.x); +PV0f.y = R1f.z + -(R1f.y); +PV0f.z = mul_nonIEEE(R2f.x, intBitsToFloat(uf_remappedPS[0].x)); +R127f.w = min(R1f.z, R1f.x); +R127f.x = min(R1f.w, R1f.y); +PS0f = R127f.x; +// 1 +R123f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedPS[0].y)) + PV0f.z); +PV1f.x = R123f.x; +PV1f.y = max(R1f.z, R1f.x); +R127f.z = PV0f.y + -(PV0f.x); +PV1f.z = R127f.z; +R126f.w = PV0f.y + PV0f.x; +PV1f.w = R126f.w; +PS1f = max(R1f.w, R1f.y); +// 2 +PV0f.x = max(PV1f.z, -(PV1f.z)); +PV0f.y = max(PV1f.w, -(PV1f.w)); +R123f.z = (mul_nonIEEE(R2f.z,intBitsToFloat(uf_remappedPS[0].z)) + PV1f.x); +PV0f.z = R123f.z; +PV0f.w = min(R127f.w, R127f.x); +PS0f = max(PV1f.y, PS1f); +// 3 +PV1f.x = mul_nonIEEE(PS0f, intBitsToFloat(uf_remappedPS[1].x)); +PV1f.y = max(PV0f.z, PS0f); +PV1f.z = min(PV0f.z, PV0f.w); +PV1f.w = min(PV0f.y, PV0f.x); +// 4 +R1f.x = -(PV1f.z) + PV1f.y; +R0f.z = max(PV1f.x, intBitsToFloat(uf_remappedPS[1].y)); +PS0f = 1.0 / PV1f.w; +// 5 +PV1f.x = mul_nonIEEE(R127f.z, PS0f); +PV1f.y = mul_nonIEEE(R126f.w, PS0f); +// 6 +PV0f.z = max(PV1f.x, -(intBitsToFloat(uf_remappedPS[2].y))); +PV0f.w = max(PV1f.y, -(intBitsToFloat(uf_remappedPS[2].y))); +// 7 +R3f.x = min(PV0f.w, intBitsToFloat(uf_remappedPS[2].y)); +R1f.y = min(PV0f.z, intBitsToFloat(uf_remappedPS[2].y)); +// 8 +predResult = (R1f.x > R0f.z); +activeMaskStack[1] = predResult; +activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; +} +else { +activeMaskStack[1] = false; +activeMaskStackC[2] = false; +} +if( activeMaskStackC[2] == true ) { +// 0 +backupReg0f = R3f.x; +backupReg0f = R3f.x; +R3f.x = (mul_nonIEEE(backupReg0f,intBitsToFloat(uf_remappedPS[3].x)/resXScale) + R0f.x); +R3f.y = (mul_nonIEEE(R1f.y,intBitsToFloat(uf_remappedPS[3].y)/resYScale) + R0f.y); +R1f.x = (mul_nonIEEE(backupReg0f,-(intBitsToFloat(uf_remappedPS[3].x)/resXScale)) + R0f.x); +PS0f = R1f.x; +// 1 +backupReg0f = R1f.y; +R1f.y = (mul_nonIEEE(backupReg0f,-(intBitsToFloat(uf_remappedPS[3].y)/resYScale)) + R0f.y); +} +if( activeMaskStackC[2] == true ) { +R0f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); +R1f.xyzw = (texture(textureUnitPS0, R1f.xy).xyzw); +} +if( activeMaskStackC[2] == true ) { +// 0 +R127f.x = R0f.w + R1f.w; +R127f.x /= 2.0; +PV0f.x = R127f.x; +R127f.y = R0f.z + R1f.z; +R127f.y /= 2.0; +PV0f.y = R127f.y; +R127f.z = R0f.y + R1f.y; +R127f.z /= 2.0; +PV0f.z = R127f.z; +R127f.w = R0f.x + R1f.x; +R127f.w /= 2.0; +PV0f.w = R127f.w; +// 1 +PV1f.x = R2f.w + -(PV0f.x); +PV1f.y = R2f.z + -(PV0f.y); +PV1f.z = R2f.y + -(PV0f.z); +PV1f.w = R2f.x + -(PV0f.w); +// 2 +R2f.x = (PV1f.w * intBitsToFloat(0x3eb33333) + R127f.w); +R2f.y = (PV1f.z * intBitsToFloat(0x3eb33333) + R127f.z); +R2f.z = (PV1f.y * intBitsToFloat(0x3eb33333) + R127f.y); +R2f.w = (PV1f.x * intBitsToFloat(0x3eb33333) + R127f.x); +} +activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; +// export +passPixelColor0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); +} +#endif + +#if (preset == 2) /*-----------------------------settings-------------------------------------*/ #define Subpix 0.70 //[0.000 to 1.000] Choose the amount of sub-pixel aliasing removal. @@ -9,11 +176,8 @@ /*--------------------------------------------------------------------------*/ -// shader f14bb57cd5c9cb77 -// fxaa in game -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -layout(binding = 0) uniform sampler2D textureUnitPS0; -layout(binding = 1) uniform sampler2D textureUnitPS1; +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf49b1800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 +layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x387f8000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 layout(location = 0) in vec4 passParameterSem2; layout(location = 0) out vec4 passPixelColor0; uniform vec2 uf_fragCoordScale; @@ -348,3 +512,4 @@ void main() { passPixelColor0 = FxaaPixelShader(passParameterSem2.xy, textureUnitPS0, textureUnitPS1, RcpFrame, Subpix, EdgeThreshold, EdgeThresholdMin); } +#endif \ No newline at end of file diff --git a/Enhancement/BreathOfTheWild_!FXAA/rules.txt b/Enhancements/!BreathOfTheWild_AntiAliasing/rules.txt similarity index 62% rename from Enhancement/BreathOfTheWild_!FXAA/rules.txt rename to Enhancements/!BreathOfTheWild_AntiAliasing/rules.txt index f95a9ca8..98d590c6 100644 --- a/Enhancement/BreathOfTheWild_!FXAA/rules.txt +++ b/Enhancements/!BreathOfTheWild_AntiAliasing/rules.txt @@ -1,8 +1,21 @@ [Definition] titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - FXAA" -version = 2 +name = Anti-Aliasing +path = "The Legend of Zelda: Breath of the Wild/Graphics/Anti-Aliasing" +description = Enables and Disables Anti-Aliasing processing. FXAA is better alternative and customizable. Check the "!GameTitleHere_Anti-Aliasing/rules.txt" file in your graphicPack folder for info about the individual settings. +version = 3 +[Preset] +name = Disabled +$preset:int = 0 + +[Preset] +name = Enabled +$preset:int = 1 + +[Preset] +name = FXAA +$preset:int = 2 # Subpix: # Choose the amount of sub-pixel aliasing removal. @@ -27,13 +40,5 @@ version = 2 # 0.0625 - high quality (faster) # 0.0312 - visible limit (slower) - # Credit: Kiri, NAVras - - -[TextureRedefine] #Luma -width = 1280 -height = 720 -formats = 0x1 -overwriteFormat = 0x5 -tileModesExcluded = 0x001 \ No newline at end of file +# Credit: SkalFate for proper V3 Import. diff --git a/Enhancement/BreathOfTheWild_!NoDoF/cb0e6e8cbec4502a_0000000000000079_ps.txt b/Enhancements/!BreathOfTheWild_NoDoF/cb0e6e8cbec4502a_0000000000000079_ps.txt similarity index 100% rename from Enhancement/BreathOfTheWild_!NoDoF/cb0e6e8cbec4502a_0000000000000079_ps.txt rename to Enhancements/!BreathOfTheWild_NoDoF/cb0e6e8cbec4502a_0000000000000079_ps.txt diff --git a/Enhancements/!BreathOfTheWild_NoDoF/rules.txt b/Enhancements/!BreathOfTheWild_NoDoF/rules.txt new file mode 100644 index 00000000..915ebb7e --- /dev/null +++ b/Enhancements/!BreathOfTheWild_NoDoF/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "No Depth of Field" +path = "The Legend of Zelda: Breath of the Wild/Enhancements/No Depth of Field" +description = "Disables depth of field." +version = 3 diff --git a/Enhancement/TokyoMirage_0AAremoval/04d0827b9471eb22_0000000000000000_vs.txt b/Enhancements/!TokyoMirage_AARemoval/04d0827b9471eb22_0000000000000000_vs.txt similarity index 91% rename from Enhancement/TokyoMirage_0AAremoval/04d0827b9471eb22_0000000000000000_vs.txt rename to Enhancements/!TokyoMirage_AARemoval/04d0827b9471eb22_0000000000000000_vs.txt index bb6d57d6..9dc0ea58 100644 --- a/Enhancement/TokyoMirage_0AAremoval/04d0827b9471eb22_0000000000000000_vs.txt +++ b/Enhancements/!TokyoMirage_AARemoval/04d0827b9471eb22_0000000000000000_vs.txt @@ -3,8 +3,7 @@ #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader 04d0827b9471eb22 -const float resXScale = 3.0; -const float resYScale = 3.0; + uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; layout(location = 0) in uvec4 attrDataSem0; @@ -57,9 +56,9 @@ R3f.x = R2f.x; R3f.y = R2f.y; PV0f.z = intBitsToFloat(uf_remappedVS[0].z) + 0.0; // 1 -R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, PV0f.z); +R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y), PV0f.z); PV1f.z = R127f.z; -PV1f.w = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, PV0f.z); +PV1f.w = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x), PV0f.z); // 2 PV0f.x = R2f.y + PV1f.z; PV0f.y = R2f.x + PV1f.w; diff --git a/Enhancements/!TokyoMirage_AARemoval/rules.txt b/Enhancements/!TokyoMirage_AARemoval/rules.txt new file mode 100644 index 00000000..15414831 --- /dev/null +++ b/Enhancements/!TokyoMirage_AARemoval/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 00050000101ED700,00050000101ED800,0005000010131D00 +name = AA removal TMS +path = "Tokyo Mirage Sessions FE/Graphics/AA removal" +description = Removes AA, no performance gain. Used for clean look or injecting external AA +version = 3 diff --git a/Enhancement/TropicalFreeze_0AARemoval/10ccf0cc1234d069_00000000000003c9_ps.txt b/Enhancements/!TropicalFreeze_AARemoval/10ccf0cc1234d069_00000000000003c9_ps.txt similarity index 100% rename from Enhancement/TropicalFreeze_0AARemoval/10ccf0cc1234d069_00000000000003c9_ps.txt rename to Enhancements/!TropicalFreeze_AARemoval/10ccf0cc1234d069_00000000000003c9_ps.txt diff --git a/Enhancement/TropicalFreeze_0AARemoval/bafe6c9c37bfca4d_00000000000003c9_ps.txt b/Enhancements/!TropicalFreeze_AARemoval/bafe6c9c37bfca4d_00000000000003c9_ps.txt similarity index 100% rename from Enhancement/TropicalFreeze_0AARemoval/bafe6c9c37bfca4d_00000000000003c9_ps.txt rename to Enhancements/!TropicalFreeze_AARemoval/bafe6c9c37bfca4d_00000000000003c9_ps.txt diff --git a/Enhancements/!TropicalFreeze_AARemoval/rules.txt b/Enhancements/!TropicalFreeze_AARemoval/rules.txt new file mode 100644 index 00000000..3e052ee5 --- /dev/null +++ b/Enhancements/!TropicalFreeze_AARemoval/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010137F00,0005000010138300,0005000010144800 +name = Resolution +path = "Donkey Kong Country: Tropical Freeze/Graphics/AA Removal" +description = Removes AA, no performance gain. Used for clean look or injecting external AA. +version = 3 diff --git a/Source/MarioKart8/f5274bda2b5e1e9f_0000000000000000_vs.txt b/Enhancements/!XenobladeX_AARemoval/497a209b49886520_0000000000000000_vs.txt similarity index 65% rename from Source/MarioKart8/f5274bda2b5e1e9f_0000000000000000_vs.txt rename to Enhancements/!XenobladeX_AARemoval/497a209b49886520_0000000000000000_vs.txt index d4d38372..37421fae 100644 --- a/Source/MarioKart8/f5274bda2b5e1e9f_0000000000000000_vs.txt +++ b/Enhancements/!XenobladeX_AARemoval/497a209b49886520_0000000000000000_vs.txt @@ -1,21 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable -// shader f5274bda2b5e1e9f -// bloom blur texture coordinates -const float resXScale = ; -const float resYScale = ; - +// shader 497a209b49886520 //depth? uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; +layout(binding = 32) uniform sampler2D textureUnitVS0;// Tex0 addr 0xf545c000 res 1x1x1 dim 1 tm: 2 format 081e compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler18 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in uvec4 attrDataSem0; layout(location = 1) in uvec4 attrDataSem1; out gl_PerVertex @@ -41,8 +31,6 @@ vec4 R0f = vec4(0.0); vec4 R1f = vec4(0.0); vec4 R2f = vec4(0.0); vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R127f = vec4(0.0); uvec4 attrDecoder; float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); @@ -65,35 +53,30 @@ attrDecoder.z = 0; attrDecoder.w = 0; R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); // 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = 0.0; -R1f.w = 1.0; -R127f.x = R2f.y + intBitsToFloat(uf_remappedVS[0].w) / resYScale; -PS0f = R127f.x; -// 1 -R0f.x = R2f.x + intBitsToFloat(uf_remappedVS[0].z) / resXScale; -R0f.y = PS0f; -PV1f.z = R2f.y + -(intBitsToFloat(uf_remappedVS[0].w) / resYScale); -R4f.w = R2f.x; -R3f.x = R2f.x + -(intBitsToFloat(uf_remappedVS[0].z) / resXScale); -PS1f = R3f.x; -// 2 -R4f.x = R2f.y; -R3f.y = R127f.x; -R3f.z = PV1f.z; -R0f.w = PV1f.z; +backupReg0f = R2f.x; +backupReg1f = R2f.y; +backupReg0f = R2f.x; +backupReg1f = R2f.y; +R2f.x = backupReg0f; +R2f.y = backupReg1f; +R0f.z = intBitsToFloat(0x3f000000); +R0f.w = (mul_nonIEEE(backupReg0f,intBitsToFloat(uf_remappedVS[0].x)) + intBitsToFloat(uf_remappedVS[0].z)); +R0f.y = (mul_nonIEEE(backupReg1f,intBitsToFloat(uf_remappedVS[0].y)) + intBitsToFloat(uf_remappedVS[0].w)); +PS0f = R0f.y; +R3f.xy = (textureLod(textureUnitVS0, R0f.zz,0.0).xy)*0.33335; // export gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); // export -passParameterSem1 = vec4(R0f.x, R0f.y, R0f.x, R0f.w); +passParameterSem1 = vec4(R2f.x, R2f.y, R2f.z, R2f.z); // export -passParameterSem2 = vec4(R3f.x, R3f.y, R3f.x, R3f.z); // export -passParameterSem0 = vec4(R4f.w, R4f.x, R4f.z, R4f.z); +passParameterSem2 = vec4(R0f.w, R0f.y, R0f.z, R0f.z); +// 0 +backupReg0f = R3f.x; +backupReg1f = R3f.y; +R3f.x = backupReg0f; +R3f.y = backupReg1f; +// export +passParameterSem0 = vec4(R3f.x, R3f.y, R3f.z, R3f.z); // 0 } diff --git a/Enhancement/XenobladeX_0AARemoval/59df1c7e1806366c_00000000000003c9_ps.txt b/Enhancements/!XenobladeX_AARemoval/59df1c7e1806366c_00000000000003c9_ps.txt similarity index 100% rename from Enhancement/XenobladeX_0AARemoval/59df1c7e1806366c_00000000000003c9_ps.txt rename to Enhancements/!XenobladeX_AARemoval/59df1c7e1806366c_00000000000003c9_ps.txt diff --git a/Enhancements/!XenobladeX_AARemoval/rules.txt b/Enhancements/!XenobladeX_AARemoval/rules.txt new file mode 100644 index 00000000..256ed959 --- /dev/null +++ b/Enhancements/!XenobladeX_AARemoval/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = AA removal +path = "Xenoblade Chronicles X/Graphics/AA removal" +description = Removes AA, no performance gain. Used for clean look or injecting external AA +version = 3 \ No newline at end of file diff --git a/Enhancements/Bayonetta2_Shadows/rules.txt b/Enhancements/Bayonetta2_Shadows/rules.txt new file mode 100644 index 00000000..2637b4aa --- /dev/null +++ b/Enhancements/Bayonetta2_Shadows/rules.txt @@ -0,0 +1,33 @@ +[Definition] +titleIds = 0005000010172600,0005000010172700,000500001011B900 +name = Shadow Resolution +path = "Bayonetta 2/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows +width = 1024 +height = 2048 +formats = 0x5 +overwriteWidth = $shadowRes * 1024 +overwriteHeight = $shadowRes * 2048 diff --git a/Enhancement/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt b/Enhancements/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt similarity index 95% rename from Enhancement/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt rename to Enhancements/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt index f4dc4858..e4277802 100644 --- a/Enhancement/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt +++ b/Enhancements/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt @@ -2,21 +2,28 @@ #extension GL_ARB_texture_gather : enable // shader 37040a485a29d54e //########################################################## -#define Preset 3 - // User Defined 0 - // Bruz Option 1 - // BSOD Option 2 - // Clarity Option 3 (Jamie Default) - // Contrasty Option 4 - // Serfrost Option 5 - // Sharpen Only Option 6 - // The Complaning Gamer Option 7 - // Filmic Preset Option 8 - // CellHunter Option 9 + +#define Preset $preset + + // User Defined Preset 0 + // Bruz Preset 1 + // BSOD Gaming Preset 2 + // Jamie Preset 3 + // Contrasty Preset 4 + // The Complaining Gamer Preset 5 + // Filmic Preset Preset 6 + // CellHunter Preset 7 + // Serfrost Preset (Bright Display) 8 + // Serfrost Preset (Dim Display) 9 + //########################################################## + #if (Preset == 0) -// User Defined + +// User Defined, values to change are below. + //########################################################## + #define adjust_bloom 1 // 0: disable, 1: enable. //BloomFactor const float bloomFactor = 0.020; // Default is 0.020 (rough estimate based on Switch) @@ -129,9 +136,13 @@ float Colorfulness = 2.5; float DPX_Strength = 0.20; //########################################################### -//Do not edit under this line. + +//Do not edit under this line, unless explicitly desired. Keep backups! + //Presets -#elif (Preset == 1) + +#elif (Preset == 1) //Bruz + #define adjust_bloom 1 const float bloomFactor = 0.30; #define HDRpassing 0 @@ -197,7 +208,9 @@ float DPX_Strength = 0.20; float DPX_Saturation = 3.0; float Colorfulness = 2.5; float DPX_Strength = 0.20; -#elif (Preset == 2) + +#elif (Preset == 2) //BSoD Gaming + #define adjust_bloom 1 const float bloomFactor = 0.010; #define HDRpassing 1 @@ -263,7 +276,9 @@ float DPX_Strength = 0.20; float DPX_Saturation = 3.0; float Colorfulness = 2.5; float DPX_Strength = 0.20; -#elif (Preset == 3) + +#elif (Preset == 3) //Jamie + #define adjust_bloom 1 const float bloomFactor = 0.020; #define HDRpassing 1 @@ -329,7 +344,9 @@ float DPX_Strength = 0.20; float DPX_Saturation = 0.0; float Colorfulness = 1.0; float DPX_Strength = 0.20; -#elif (Preset == 4) + +#elif (Preset == 4) //Contrasty + #define adjust_bloom 1 const float bloomFactor = 0.020; #define HDRpassing 0 @@ -395,139 +412,9 @@ float DPX_Strength = 0.20; float DPX_Saturation = 3.0; float Colorfulness = 2.5; float DPX_Strength = 0.20; -#elif (Preset == 5) - #define adjust_bloom 1 - const float bloomFactor = 0.40; - #define HDRpassing 1 - const float HDRPower = 1.20; - const float radius1 = 0.793; - const float radius2 = 0.87; - #define lumapassing 0 - const float sharp_strength = 0.45; - const float sharp_clamp = 0.85; - const float offset_bias = 1.0; - #define Tone_map 8 - const float Exposure = 1.17; - const float Bleach = 0.0; - const float Gamma = 0.98; - const float defog = 1.00; - vec3 FogColor = vec3(1.0, 1.0, 1.0); - const float sat = 0.00; - const float crushContrast = 0.00; - #define post_process 0 - const float satFactor = 0.07; - #define blacknwhitepass 1 - const int BlackPoint = 2; - const int WhitePoint = 300; - #define lggpass 1 - vec3 RGB_Lift = vec3(1.027, 1.027, 1.027); - vec3 RGB_Gamma = vec3(0.83, 0.83, 0.83); - vec3 RGB_Gain = vec3(1.10, 1.10, 1.10); - #define vibpass 1 - const float Vibrance = 0.15; - vec3 VibranceRGBBalance = vec3(1.0, 1.0, 1.0); - #define Tech 0 - const float Power = 5.0; - vec3 RGBNegativeAmount = vec3(0.88, 0.88, 0.88); - float Strength = 0.10; - #define Techine 1 - float Technicolor2_Red_Strength = -0.09; - float Technicolor2_Green_Strength = -0.09; - float Technicolor2_Blue_Strength = -0.00; - float Technicolor2_Brightness = 0.4; - float Technicolor2_Strength = 1.2; - float Technicolor2_Saturation = 1.1; - #define cmatrix 0 - vec3 ColorMatrix_Red = vec3(0.817, 0.183, 0.000); - vec3 ColorMatrix_Green = vec3(0.333, 0.667, 0.000); - vec3 ColorMatrix_Blue = vec3(0.000, 0.125, 0.875); - float CM_Strength = 1.0; - #define CurvesPss 0 - const float Contrast = 0.0; - #define Filmicpass 1 - const float Filmic_Contrast = 1.0; - const float Filmic_Bleach = 0.0; - const float Saturation = -0.17; - const float Filmic_Strength = 0.48; - const float Fade = 0.08; - const float Linearization = 1.0; - const float BaseCurve = 1.0; - const float BaseGamma = 1.0; - const float EffectGamma = 1.68; - #define dpxpass 0 - vec3 RGB_Curve = vec3(8.0, 8.0, 8.0); - vec3 RGB_C = vec3(0.36, 0.36, 0.34); - float DPX_Contrast = 0.1; - float DPX_Saturation = 3.0; - float Colorfulness = 1.0; - float DPX_Strength = 0.20; -#elif (Preset == 6) - #define adjust_bloom 0 - const float bloomFactor = 0.20; - #define HDRpassing 0 - const float HDRPower = 1.00; - const float radius1 = 1.00; - const float radius2 = 0.80; - #define lumapassing 1 - const float sharp_strength = 1.70; - const float sharp_clamp = 0.35; - const float offset_bias = 1.0; - #define Tone_map 0 - const float Exposure = 1.17; - const float Bleach = 0.4; - const float Gamma = 1.00; - const float defog = 0.00; - vec3 FogColor = vec3(1.0, 1.0, 1.0); - const float sat = 0.000; - const float crushContrast = 0.000; - #define post_process 0 - const float satFactor = 0.25; - #define blacknwhitepass 0 - const int BlackPoint = 16; - const int WhitePoint = 235; - #define lggpass 0 - vec3 RGB_Lift = vec3(1.000, 1.000, 1.000); - vec3 RGB_Gamma = vec3(1.000, 1.000, 1.000); - vec3 RGB_Gain = vec3(1.000, 1.000, 1.000); - #define vibpass 0 - const float Vibrance = 0.150; - vec3 VibranceRGBBalance = vec3(1.0, 1.0, 1.0); - #define Tech 0 - const float Power = 4.0; - vec3 RGBNegativeAmount = vec3(0.88, 0.88, 0.88); - float Strength = 0.20; - #define Techine 0 - const float Technicolor2_Red_Strength = 0.02; - const float Technicolor2_Green_Strength = 0.02; - const float Technicolor2_Blue_Strength = 0.02; - const float Technicolor2_Brightness = 1.00; - const float Technicolor2_Strength = 1.00; - const float Technicolor2_Saturation = 1.00; - #define cmatrix 0 - vec3 ColorMatrix_Red = vec3(0.817, 0.183, 0.000); - vec3 ColorMatrix_Green = vec3(0.333, 0.667, 0.000); - vec3 ColorMatrix_Blue = vec3(0.000, 0.125, 0.875); - float CM_Strength = 1.0; - #define CurvesPss 0 - const float Contrast = 0.65; - #define Filmicpass 0 - const float Filmic_Contrast = 1.0; - const float Filmic_Bleach = 0.0; - const float Saturation = -0.15; - const float Filmic_Strength = 0.85; - const float Fade = 0.4; - const float Linearization = 0.5; - const float BaseCurve = 1.5; - const float BaseGamma = 1.00; - const float EffectGamma = 0.68; - #define dpxpass 0 - vec3 RGB_Curve = vec3(8.0, 8.0, 8.0); - vec3 RGB_C = vec3(0.36, 0.36, 0.34); - float DPX_Contrast = 0.1; - float DPX_Saturation = 3.0; - float Colorfulness = 2.5; - float DPX_Strength = 0.20; -#elif (Preset == 7) + +#elif (Preset == 5) //The Complaining Gamer + #define adjust_bloom 1 const float bloomFactor = 0.33; #define HDRpassing 1 @@ -593,7 +480,9 @@ float DPX_Strength = 0.20; float DPX_Saturation = 3.0; float Colorfulness = 2.5; float DPX_Strength = 0.20; -#elif (Preset == 8) + +#elif (Preset == 6) //Filmic + #define adjust_bloom 1 const float bloomFactor = 0.020; #define HDRpassing 1 @@ -659,7 +548,8 @@ float DPX_Strength = 0.20; float DPX_Saturation = 2.0; float Colorfulness = 1.5; float DPX_Strength = 0.20; -#elif (Preset == 9) + +#elif (Preset == 7) //CellHunter #define adjust_bloom 1 const float bloomFactor = 0.445; #define HDRpassing 1 @@ -725,7 +615,144 @@ float DPX_Strength = 0.20; float DPX_Saturation = 3.0; float Colorfulness = 2.5; float DPX_Strength = 0.20; + +#elif (Preset == 8) //Serfrost (Bright Display) + + #define adjust_bloom 1 + const float bloomFactor = 0.40; + #define HDRpassing 1 + const float HDRPower = 1.20; + const float radius1 = 0.793; + const float radius2 = 0.87; + #define lumapassing 0 + const float sharp_strength = 0.45; + const float sharp_clamp = 0.85; + const float offset_bias = 1.0; + #define Tone_map 8 + const float Exposure = 1.17; + const float Bleach = 0.0; + const float Gamma = 0.98; + const float defog = 1.00; + vec3 FogColor = vec3(1.0, 1.0, 1.0); + const float sat = 0.00; + const float crushContrast = 0.00; + #define post_process 0 + const float satFactor = 0.07; + #define blacknwhitepass 1 + const int BlackPoint = 2; + const int WhitePoint = 300; + #define lggpass 1 + vec3 RGB_Lift = vec3(1.027, 1.027, 1.027); + vec3 RGB_Gamma = vec3(0.83, 0.83, 0.83); + vec3 RGB_Gain = vec3(1.10, 1.10, 1.10); + #define vibpass 1 + const float Vibrance = 0.15; + vec3 VibranceRGBBalance = vec3(1.0, 1.0, 1.0); + #define Tech 0 + const float Power = 5.0; + vec3 RGBNegativeAmount = vec3(0.88, 0.88, 0.88); + float Strength = 0.10; + #define Techine 1 + float Technicolor2_Red_Strength = -0.09; + float Technicolor2_Green_Strength = -0.09; + float Technicolor2_Blue_Strength = -0.00; + float Technicolor2_Brightness = 0.4; + float Technicolor2_Strength = 1.2; + float Technicolor2_Saturation = 1.1; + #define cmatrix 0 + vec3 ColorMatrix_Red = vec3(0.817, 0.183, 0.000); + vec3 ColorMatrix_Green = vec3(0.333, 0.667, 0.000); + vec3 ColorMatrix_Blue = vec3(0.000, 0.125, 0.875); + float CM_Strength = 1.0; + #define CurvesPss 0 + const float Contrast = 0.0; + #define Filmicpass 1 + const float Filmic_Contrast = 1.0; + const float Filmic_Bleach = 0.0; + const float Saturation = -0.17; + const float Filmic_Strength = 0.48; + const float Fade = 0.08; + const float Linearization = 1.0; + const float BaseCurve = 1.0; + const float BaseGamma = 1.0; + const float EffectGamma = 1.68; + #define dpxpass 0 + vec3 RGB_Curve = vec3(8.0, 8.0, 8.0); + vec3 RGB_C = vec3(0.36, 0.36, 0.34); + float DPX_Contrast = 0.1; + float DPX_Saturation = 3.0; + float Colorfulness = 1.0; + float DPX_Strength = 0.20; + +#elif (Preset == 9) //Serfrost (Dim Display) + #define adjust_bloom 1 + const float bloomFactor = 0.7; + #define HDRpassing 1 + const float HDRPower = 1.20; + const float radius1 = 0.793; + const float radius2 = 0.87; + #define lumapassing 0 + const float sharp_strength = 0.45; + const float sharp_clamp = 0.85; + const float offset_bias = 1.0; + #define Tone_map 8 + const float Exposure = 1.17; + const float Bleach = 0.0; + const float Gamma = 1.05; + const float defog = 1.00; + vec3 FogColor = vec3(1.0, 1.0, 1.0); + const float sat = 0.0; + const float crushContrast = 0.00; + #define post_process 0 + const float satFactor = 0.07; + #define blacknwhitepass 1 + const int BlackPoint = 1; + const int WhitePoint = 235; + #define lggpass 1 + vec3 RGB_Lift = vec3(1.027, 1.027, 1.027); + vec3 RGB_Gamma = vec3(0.83, 0.83, 0.83); + vec3 RGB_Gain = vec3(1.10, 1.10, 1.10); + #define vibpass 1 + const float Vibrance = 0.45; + vec3 VibranceRGBBalance = vec3(1.0, 1.0, 1.0); + #define Tech 0 + const float Power = 5.0; + vec3 RGBNegativeAmount = vec3(0.88, 0.88, 0.88); + float Strength = 0.10; + #define Techine 1 + float Technicolor2_Red_Strength = -0.09; + float Technicolor2_Green_Strength = -0.09; + float Technicolor2_Blue_Strength = -0.00; + float Technicolor2_Brightness = 0.4; + float Technicolor2_Strength = 1.2; + float Technicolor2_Saturation = 1.15; + #define cmatrix 0 + vec3 ColorMatrix_Red = vec3(0.817, 0.183, 0.000); + vec3 ColorMatrix_Green = vec3(0.333, 0.667, 0.000); + vec3 ColorMatrix_Blue = vec3(0.000, 0.125, 0.875); + float CM_Strength = 1.0; + #define CurvesPss 0 + const float Contrast = 0.0; + #define Filmicpass 1 + const float Filmic_Contrast = 1.0; + const float Filmic_Bleach = 0.0; + const float Saturation = -0.17; + const float Filmic_Strength = 0.48; + const float Fade = 0.08; + const float Linearization = 1.0; + const float BaseCurve = 1.0; + const float BaseGamma = 1.0; + const float EffectGamma = 1.68; + #define dpxpass 0 + vec3 RGB_Curve = vec3(8.0, 8.0, 8.0); + vec3 RGB_C = vec3(0.36, 0.36, 0.34); + float DPX_Contrast = 0.1; + float DPX_Saturation = 3.0; + float Colorfulness = 1.0; + float DPX_Strength = 0.20; + #endif + //########################################################### uniform ivec4 uf_remappedPS[1]; layout(binding = 0) uniform sampler2D textureUnitPS0; // Bloom diff --git a/Enhancements/BreathOfTheWild_Clarity/how_to_make_your_own_preset.txt b/Enhancements/BreathOfTheWild_Clarity/how_to_make_your_own_preset.txt new file mode 100644 index 00000000..912e70f1 --- /dev/null +++ b/Enhancements/BreathOfTheWild_Clarity/how_to_make_your_own_preset.txt @@ -0,0 +1,53 @@ + + -- How to set up your own Clarity Preset -- + +=================================================================== + + Hey, it's Serfrost. I'm writing this out because it's come to our attention that no matter what we really do for presets, it won't really matter in the long run. Every user has a unique monitor / display they use with their PC, yeah? A lot of them are calibrated differently, and they often come with numerous presets that alter colors, brightness, contrast, you name it. Because of this, the presets that look good to me might not look good to you--the presets that look good to Jamie might not look good to you; you get the idea. So I'm writing this hoping you'll take the time to do a few short steps to get you on your way to making the game look the way YOU want it to look on YOUR display! + + Jamie has coded this faithfully and diligently, and he's added a lot of different functions that were previously unavailable with these newer updates. We hope you enjoy this and use it to it's fullest potential. + + This tutorial has been shortened by Slash in order to make use of the new graphic pack to its full potential. + +=================================================================== + + There are 6 steps total. Please read very carefully and with your full attention. As long as you do that, it's relatively just "point and click" and the rest is changing the numbers on your own and testing them to see what they do. + +=================================================================== + + +1) Open up Cemu that's at least version 1.13.0. + + +2) After Cemu opens itself, load the game and your save file. + + +3) Open up the graphic pack menu and select Clarity under Breath of the Wild. + + +4) Open up 37040a485a29d54e_00000000000003c9_ps.txt in the Clarity graphic pack folder. + + +5) You may now edit all the variables in realtime. To view your changes hit "Reload shaders" + + +===============\ + + Note: "Realtime", as in, you can view your changes by using the button. You do not have to stop the game, etc. + + Pro Tip: If time changes too fast for you, you can use Cemuhook's custom timer option (Debug > Custom Timer) to slow down time to 0.125x! + + MAKE SURE YOU CHECK VARIOUS AREAS IN THE GAME TO MAKE SURE YOUR COLOR / SHADOW BALANCING IS CORRECT. + +===============/ + + +6) When you have your variables for your preset where you want them, you don't have to do anything! The file with your preset is already saved. + + -- Make backups of files before making changes. Keep track of your work! -- + + === + + MAKE SURE YOU CHECK VARIOUS AREAS IN THE GAME TO MAKE SURE YOUR COLOR / SHADOW BALANCING IS CORRECT. + + === \ No newline at end of file diff --git a/Enhancements/BreathOfTheWild_Clarity/rules.txt b/Enhancements/BreathOfTheWild_Clarity/rules.txt new file mode 100644 index 00000000..02e6452a --- /dev/null +++ b/Enhancements/BreathOfTheWild_Clarity/rules.txt @@ -0,0 +1,46 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "Clarity (NOT COMPATIBLE WITH MONOCHROMIA)" +path = "The Legend of Zelda: Breath of the Wild/Enhancements/Clarity" +description = "NOT COMPATIBLE WITH MONOCHROMIA! Select the visual look of the game that you'll like with these hand-made presets that adjusts saturation, vibrance, colors and more. You can select a preset. Selecting "User Defined" requires having made your own preset, check the "BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt" file in your graphicPack folder to create one." +version = 3 + +[Preset] +name = Serfrost Preset (Bright Display) +$preset:int = 8 + +[Preset] +name = Serfrost Preset (Dim Display) +$preset:int = 9 + +[Preset] +name = Bruz Preset +$preset:int = 1 + +[Preset] +name = CellHunter Preset +$preset:int = 7 + +[Preset] +name = Jamie Preset +$preset:int = 3 + +[Preset] +name = BSoD Gaming Preset +$preset:int = 2 + +[Preset] +name = The Complaining Gamer Preset +$preset:int = 5 + +[Preset] +name = Contrasty Preset +$preset:int = 4 + +[Preset] +name = Filmic Preset Preset +$preset:int = 6 + +[Preset] +name = User Defined Preset +$preset:int = 0 diff --git a/Enhancement/BreathOfTheWild_ReflExtra/49ce4bf04a654e80_00000003c9249749_ps.txt b/Enhancements/BreathOfTheWild_ReflExtra/49ce4bf04a654e80_00000003c9249749_ps.txt similarity index 100% rename from Enhancement/BreathOfTheWild_ReflExtra/49ce4bf04a654e80_00000003c9249749_ps.txt rename to Enhancements/BreathOfTheWild_ReflExtra/49ce4bf04a654e80_00000003c9249749_ps.txt diff --git a/Enhancement/BreathOfTheWild_ReflExtra/8ff2cf86e789335f_00000003c9249749_ps.txt b/Enhancements/BreathOfTheWild_ReflExtra/8ff2cf86e789335f_00000003c9249749_ps.txt similarity index 100% rename from Enhancement/BreathOfTheWild_ReflExtra/8ff2cf86e789335f_00000003c9249749_ps.txt rename to Enhancements/BreathOfTheWild_ReflExtra/8ff2cf86e789335f_00000003c9249749_ps.txt diff --git a/Enhancements/BreathOfTheWild_ReflExtra/rules.txt b/Enhancements/BreathOfTheWild_ReflExtra/rules.txt new file mode 100644 index 00000000..e8c4e4ca --- /dev/null +++ b/Enhancements/BreathOfTheWild_ReflExtra/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "Enhanced Reflections" +path = "The Legend of Zelda: Breath of the Wild/Enhancements/Enhanced Reflections" +description = "Extends the reflections in shrines and some other surfaces." +version = 3 diff --git a/Source/BreathOfTheWild/22c410044398c7af_0000000000000000_vs.txt b/Enhancements/BreathOfTheWild_Shadows/22c410044398c7af_0000000000000000_vs.txt similarity index 89% rename from Source/BreathOfTheWild/22c410044398c7af_0000000000000000_vs.txt rename to Enhancements/BreathOfTheWild_Shadows/22c410044398c7af_0000000000000000_vs.txt index cc62840f..7c009ba7 100644 --- a/Source/BreathOfTheWild/22c410044398c7af_0000000000000000_vs.txt +++ b/Enhancements/BreathOfTheWild_Shadows/22c410044398c7af_0000000000000000_vs.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 22c410044398c7af // Fixed radius blur // shadow pass blur v -const float resXScale = ; -const float resYScale = ; +const float resXScale = $shadowRes; +const float resYScale = $shadowRes; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/2a2f55a2b2d64474_0000000000000000_vs.txt b/Enhancements/BreathOfTheWild_Shadows/2a2f55a2b2d64474_0000000000000000_vs.txt similarity index 89% rename from Source/BreathOfTheWild/2a2f55a2b2d64474_0000000000000000_vs.txt rename to Enhancements/BreathOfTheWild_Shadows/2a2f55a2b2d64474_0000000000000000_vs.txt index 1b2578da..3a958e5d 100644 --- a/Source/BreathOfTheWild/2a2f55a2b2d64474_0000000000000000_vs.txt +++ b/Enhancements/BreathOfTheWild_Shadows/2a2f55a2b2d64474_0000000000000000_vs.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 2a2f55a2b2d64474 // Fixed radius blur // shadow pass blur h -const float resXScale = ; -const float resYScale = ; +const float resXScale = $shadowRes; +const float resYScale = $shadowRes; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/88133ee405eaae28_000003c000009269_ps.txt b/Enhancements/BreathOfTheWild_Shadows/88133ee405eaae28_000003c000009269_ps.txt similarity index 99% rename from Source/BreathOfTheWild/88133ee405eaae28_000003c000009269_ps.txt rename to Enhancements/BreathOfTheWild_Shadows/88133ee405eaae28_000003c000009269_ps.txt index fecc24da..0505a443 100644 --- a/Source/BreathOfTheWild/88133ee405eaae28_000003c000009269_ps.txt +++ b/Enhancements/BreathOfTheWild_Shadows/88133ee405eaae28_000003c000009269_ps.txt @@ -1,17 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 88133ee405eaae28 // Shadow 2x2 box blur fix // shader dumped from BotW v1.4.0, using Cemu 1.11.1 -const float resXScale = ; -const float resYScale = ; +const float resXScale = $shadowRes; +const float resYScale = $shadowRes; + layout(binding = 33, std140) uniform uniformBlockPS1 { vec4 uf_blockPS1[1024]; diff --git a/Source/BreathOfTheWild/ffe0e8c84f6e8da9_000003c000009269_ps.txt b/Enhancements/BreathOfTheWild_Shadows/ffe0e8c84f6e8da9_000003c000009269_ps.txt similarity index 99% rename from Source/BreathOfTheWild/ffe0e8c84f6e8da9_000003c000009269_ps.txt rename to Enhancements/BreathOfTheWild_Shadows/ffe0e8c84f6e8da9_000003c000009269_ps.txt index 05da3e2d..c3fba029 100644 --- a/Source/BreathOfTheWild/ffe0e8c84f6e8da9_000003c000009269_ps.txt +++ b/Enhancements/BreathOfTheWild_Shadows/ffe0e8c84f6e8da9_000003c000009269_ps.txt @@ -1,17 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader ffe0e8c84f6e8da9 // Shadow 2x2 box blur fix // shader dumped from BotW v1.3.1, using Cemu 1.10.0 -const float resXScale = ; -const float resYScale = ; +const float resXScale = $shadowRes; +const float resYScale = $shadowRes; + layout(binding = 33, std140) uniform uniformBlockPS1 { vec4 uf_blockPS1[1024]; diff --git a/Enhancements/BreathOfTheWild_Shadows/rules.txt b/Enhancements/BreathOfTheWild_Shadows/rules.txt new file mode 100644 index 00000000..d8f7d272 --- /dev/null +++ b/Enhancements/BreathOfTheWild_Shadows/rules.txt @@ -0,0 +1,63 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = Shadow Resolution +path = "The Legend of Zelda: Breath of the Wild/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +# Uniform shadow maps + +[TextureRedefine] +width = 768 +height = 720 +formats = 0x005 +overwriteWidth = $shadowRes * 768 +overwriteHeight = $shadowRes * 720 + +[TextureRedefine] +width = 720 +height = 720 +formats = 0x005 +overwriteWidth = $shadowRes * 720 +overwriteHeight = $shadowRes * 720 + +[TextureRedefine] +width = 384 +height = 368 +formats = 0x005 +overwriteWidth = $shadowRes * 384 +overwriteHeight = $shadowRes * 368 + +[TextureRedefine] +width = 384 +height = 360 +formats = 0x005 +overwriteWidth = $shadowRes * 384 +overwriteHeight = $shadowRes * 360 + +[TextureRedefine] +width = 360 +height = 360 +formats = 0x005 +overwriteWidth = $shadowRes * 360 +overwriteHeight = $shadowRes * 360 diff --git a/Enhancements/M&SRio2016_NoHUD/0535e0f9e37cf612_0000000000000000_vs.txt b/Enhancements/M&SRio2016_NoHUD/0535e0f9e37cf612_0000000000000000_vs.txt new file mode 100644 index 00000000..db01600d --- /dev/null +++ b/Enhancements/M&SRio2016_NoHUD/0535e0f9e37cf612_0000000000000000_vs.txt @@ -0,0 +1,132 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +#extension GL_ARB_separate_shader_objects : enable +#extension GL_ARB_shading_language_packing : enable +// shader 0535e0f9e37cf612 +#define enabled $enabled +uniform ivec4 uf_remappedVS[8]; +uniform vec2 uf_windowSpaceToClipSpaceTransform; +layout(location = 0) in uvec4 attrDataSem0; +layout(location = 1) in uvec4 attrDataSem3; +layout(location = 2) in uvec4 attrDataSem4; +layout(location = 3) in uvec4 attrDataSem8; +layout(location = 4) in uvec4 attrDataSem9; +out gl_PerVertex +{ + vec4 gl_Position; + float gl_PointSize; +}; +layout(location = 0) out vec4 passParameterSem131; +layout(location = 1) out vec4 passParameterSem136; +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R1f = vec4(0.0); +vec4 R2f = vec4(0.0); +vec4 R3f = vec4(0.0); +vec4 R4f = vec4(0.0); +vec4 R123f = vec4(0.0); +vec4 R125f = vec4(0.0); +vec4 R126f = vec4(0.0); +vec4 R127f = vec4(0.0); +uvec4 attrDecoder; +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); +attrDecoder.xyz = attrDataSem0.xyz; +attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); +attrDecoder.w = 0; +R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); +attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); +R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); +attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem4.xyzw)/255.0); +R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); +attrDecoder.xy = attrDataSem8.xy; +attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); +attrDecoder.z = 0; +attrDecoder.w = 0; +R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); +// skipped unused attribute for r5 +// 0 +R123f.x = (mul_nonIEEE(R3f.z,intBitsToFloat(uf_remappedVS[0].w)) + intBitsToFloat(uf_remappedVS[1].w)); +PV0f.x = R123f.x; +R123f.y = (mul_nonIEEE(R3f.z,intBitsToFloat(uf_remappedVS[0].z)) + intBitsToFloat(uf_remappedVS[1].z)); +PV0f.y = R123f.y; +R4f.z = 0.0; +// 1 +R127f.x = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedVS[2].w)) + PV0f.x); +R127f.y = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedVS[2].z)) + PV0f.y); +// 2 +R123f.z = (mul_nonIEEE(R3f.z,intBitsToFloat(uf_remappedVS[0].x)) + intBitsToFloat(uf_remappedVS[1].x)); +PV0f.z = R123f.z; +R123f.w = (mul_nonIEEE(R3f.z,intBitsToFloat(uf_remappedVS[0].y)) + intBitsToFloat(uf_remappedVS[1].y)); +PV0f.w = R123f.w; +// 3 +R123f.x = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[3].w)) + R127f.x); +PV1f.x = R123f.x; +R126f.y = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[3].z)) + R127f.y); +R127f.z = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedVS[2].x)) + PV0f.z); +R127f.w = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedVS[2].y)) + PV0f.w); +// 4 +R127f.x = mul_nonIEEE(PV1f.x, intBitsToFloat(uf_remappedVS[4].w)); +R127f.y = mul_nonIEEE(PV1f.x, intBitsToFloat(uf_remappedVS[4].z)); +PV0f.z = mul_nonIEEE(PV1f.x, intBitsToFloat(uf_remappedVS[4].x)); +PV0f.w = mul_nonIEEE(PV1f.x, intBitsToFloat(uf_remappedVS[4].y)); +// 5 +backupReg0f = R127f.w; +R123f.x = (mul_nonIEEE(R126f.y,intBitsToFloat(uf_remappedVS[5].y)) + PV0f.w); +PV1f.x = R123f.x; +R125f.y = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[3].x)) + R127f.z); +R123f.z = (mul_nonIEEE(R126f.y,intBitsToFloat(uf_remappedVS[5].x)) + PV0f.z); +PV1f.z = R123f.z; +R127f.w = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[3].y)) + backupReg0f); +PV1f.w = R127f.w; +// 6 +R123f.x = (mul_nonIEEE(R126f.y,intBitsToFloat(uf_remappedVS[5].w)) + R127f.x); +PV0f.x = R123f.x; +R123f.y = (mul_nonIEEE(R126f.y,intBitsToFloat(uf_remappedVS[5].z)) + R127f.y); +PV0f.y = R123f.y; +R123f.z = (mul_nonIEEE(PV1f.w,intBitsToFloat(uf_remappedVS[6].x)) + PV1f.z); +PV0f.z = R123f.z; +R126f.w = (mul_nonIEEE(PV1f.w,intBitsToFloat(uf_remappedVS[6].y)) + PV1f.x); +// 7 +R123f.x = (mul_nonIEEE(R127f.w,intBitsToFloat(uf_remappedVS[6].w)) + PV0f.x); +PV1f.x = R123f.x; +R123f.y = (mul_nonIEEE(R127f.w,intBitsToFloat(uf_remappedVS[6].z)) + PV0f.y); +PV1f.y = R123f.y; +R3f.x = (mul_nonIEEE(R125f.y,intBitsToFloat(uf_remappedVS[7].x)) + PV0f.z); +PS1f = R3f.x; +// 8 +R3f.y = (mul_nonIEEE(R125f.y,intBitsToFloat(uf_remappedVS[7].y)) + R126f.w); +R3f.z = (mul_nonIEEE(R125f.y,intBitsToFloat(uf_remappedVS[7].z)) + PV1f.y); +R3f.w = (mul_nonIEEE(R125f.y,intBitsToFloat(uf_remappedVS[7].w)) + PV1f.x); +// export +#if (enabled == 0) +gl_Position = vec4(R3f.x, R3f.y, R3f.z, R3f.w); +#endif +#if (enabled == 1) +#endif +// export +passParameterSem131 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); +// export +// skipped export to semanticId 255 +// export +passParameterSem136 = vec4(R4f.x, R4f.y, R4f.z, R4f.z); +} diff --git a/Enhancements/M&SRio2016_NoHUD/c7a21597bd595a25_0000000000000000_vs.txt b/Enhancements/M&SRio2016_NoHUD/c7a21597bd595a25_0000000000000000_vs.txt new file mode 100644 index 00000000..1b634240 --- /dev/null +++ b/Enhancements/M&SRio2016_NoHUD/c7a21597bd595a25_0000000000000000_vs.txt @@ -0,0 +1,110 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +#extension GL_ARB_separate_shader_objects : enable +#extension GL_ARB_shading_language_packing : enable +// shader c7a21597bd595a25 +#define enabled $enabled +uniform ivec4 uf_remappedVS[4]; +uniform vec2 uf_windowSpaceToClipSpaceTransform; +layout(location = 0) in uvec4 attrDataSem0; +layout(location = 1) in uvec4 attrDataSem3; +layout(location = 2) in uvec4 attrDataSem4; +layout(location = 3) in uvec4 attrDataSem8; +layout(location = 4) in uvec4 attrDataSem9; +out gl_PerVertex +{ + vec4 gl_Position; + float gl_PointSize; +}; +layout(location = 0) out vec4 passParameterSem131; +layout(location = 1) out vec4 passParameterSem132; +layout(location = 2) out vec4 passParameterSem136; +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R1f = vec4(0.0); +vec4 R2f = vec4(0.0); +vec4 R3f = vec4(0.0); +vec4 R4f = vec4(0.0); +vec4 R5f = vec4(0.0); +vec4 R6f = vec4(0.0); +vec4 R123f = vec4(0.0); +vec4 R127f = vec4(0.0); +uvec4 attrDecoder; +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); +attrDecoder.xyz = attrDataSem0.xyz; +attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); +attrDecoder.w = 0; +R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); +attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); +R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); +attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem4.xyzw)/255.0); +R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); +attrDecoder.xy = attrDataSem8.xy; +attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); +attrDecoder.z = 0; +attrDecoder.w = 0; +R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); +attrDecoder.xy = attrDataSem9.xy; +attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); +attrDecoder.z = 0; +attrDecoder.w = 0; +R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); +// 0 +R127f.x = (mul_nonIEEE(R3f.z,intBitsToFloat(uf_remappedVS[0].y)) + intBitsToFloat(uf_remappedVS[1].y)); +R127f.y = (mul_nonIEEE(R3f.z,intBitsToFloat(uf_remappedVS[0].x)) + intBitsToFloat(uf_remappedVS[1].x)); +R0f.z = intBitsToFloat(0x3f000000); +R6f.w = 0.0; +R6f.x = mul_nonIEEE(R2f.x, R2f.w); +PS0f = R6f.x; +// 1 +R6f.y = mul_nonIEEE(R2f.y, R2f.w); +R6f.z = mul_nonIEEE(R2f.z, R2f.w); +R123f.w = (mul_nonIEEE(R3f.z,intBitsToFloat(uf_remappedVS[0].w)) + intBitsToFloat(uf_remappedVS[1].w)); +PV1f.w = R123f.w; +R4f.z = R5f.x; +PS1f = R4f.z; +// 2 +R123f.x = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedVS[2].w)) + PV1f.w); +PV0f.x = R123f.x; +R123f.y = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedVS[2].y)) + R127f.x); +PV0f.y = R123f.y; +R123f.z = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedVS[2].x)) + R127f.y); +PV0f.z = R123f.z; +R4f.w = R5f.y; +// 3 +R0f.x = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[3].x)) + PV0f.z); +R0f.y = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[3].y)) + PV0f.y); +R0f.w = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[3].w)) + PV0f.x); +// export +#if (enabled == 0) +gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); +#endif +#if (enabled == 1) +#endif +// export +passParameterSem131 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); +// export +passParameterSem132 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); +// export +passParameterSem136 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); +} diff --git a/Enhancements/M&SRio2016_NoHUD/rules.txt b/Enhancements/M&SRio2016_NoHUD/rules.txt new file mode 100644 index 00000000..bca70e05 --- /dev/null +++ b/Enhancements/M&SRio2016_NoHUD/rules.txt @@ -0,0 +1,14 @@ +[Definition] +titleIds = 0005000010190300,00050000101E5300,00050000101E5400 +name = No HUD +path = "Mario & Sonic at the Rio 2016 Olympic Games/Enhancements/No HUD" +description = Removes the HUD of the game. +version = 3 + +[Preset] +name = Disabled (Default) +$enabled:int = 0 + +[Preset] +name = Enabled +$enabled:int = 1 diff --git a/Enhancement/MarioKart8_AdjustableBloom/e90feef2bca6cb2e_00000000000003c9_ps.txt b/Enhancements/MarioKart8_Bloom/e90feef2bca6cb2e_00000000000003c9_ps.txt similarity index 98% rename from Enhancement/MarioKart8_AdjustableBloom/e90feef2bca6cb2e_00000000000003c9_ps.txt rename to Enhancements/MarioKart8_Bloom/e90feef2bca6cb2e_00000000000003c9_ps.txt index 0d8e4013..d5b2c0c7 100644 --- a/Enhancement/MarioKart8_AdjustableBloom/e90feef2bca6cb2e_00000000000003c9_ps.txt +++ b/Enhancements/MarioKart8_Bloom/e90feef2bca6cb2e_00000000000003c9_ps.txt @@ -1,7 +1,8 @@ #version 420 #extension GL_ARB_texture_gather : enable -const float bloomFactor = 0.4; // shader e90feef2bca6cb2e +const float bloomFactor = $bloom; + uniform ivec4 uf_remappedPS[4]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4240800 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf50cf800 res 1280x720x1 dim 1 tm: 4 format 0806 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Enhancements/MarioKart8_Bloom/rules.txt b/Enhancements/MarioKart8_Bloom/rules.txt new file mode 100644 index 00000000..e5e65877 --- /dev/null +++ b/Enhancements/MarioKart8_Bloom/rules.txt @@ -0,0 +1,22 @@ +[Definition] +titleIds = 000500001010ec00,000500001010ed00,000500001010eb00 +name = Bloom Adjustment +path = "Mario Kart 8/Enhancements/Bloom Adjustment" +description = Allows you to adjust how strong the bloom is. Full amount is the default intensity of bloom. +version = 3 + +[Preset] +name = (Default)Full Amount +$bloom = 1 + +[Preset] +name = Disabled +$bloom = 0 + +[Preset] +name = Quarter Amount +$bloom = 0.25 + +[Preset] +name = Half Amount +$bloom = 0.5 diff --git a/Enhancements/MarioKart8_Shadows/rules.txt b/Enhancements/MarioKart8_Shadows/rules.txt new file mode 100644 index 00000000..62d015fc --- /dev/null +++ b/Enhancements/MarioKart8_Shadows/rules.txt @@ -0,0 +1,33 @@ +[Definition] +titleIds = 000500001010ec00,000500001010ed00,000500001010eb00 +name = Shadow Resolution +path = "Mario Kart 8/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows +width = 1024 +height = 1024 +formats = 0x005 +overwriteWidth = $shadowRes * 1024 +overwriteHeight = $shadowRes * 1024 diff --git a/Enhancements/NintendoLand_Shadows/rules.txt b/Enhancements/NintendoLand_Shadows/rules.txt new file mode 100644 index 00000000..b1e55e44 --- /dev/null +++ b/Enhancements/NintendoLand_Shadows/rules.txt @@ -0,0 +1,47 @@ +[Definition] +titleIds = 0005000010101F00,0005000010102000,0005000010102100 +name = Shadow Resolution +path = "Nintendo Land/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows +width = 2048 +height = 2048 +formats = 0x5 +overwriteWidth = $shadowRes * 2048 +overwriteHeight = $shadowRes * 2048 + +[TextureRedefine] # Performance Shadows +width = 896 +height = 864 +formats = 0x5 +overwriteWidth = $shadowRes * 896 +overwriteHeight = $shadowRes * 864 + +[TextureRedefine] # Performance Shadows +width = 856 +height = 856 +formats = 0x5 +overwriteWidth = $shadowRes * 856 +overwriteHeight = $shadowRes * 856 diff --git a/Enhancements/PokkenTournament_Shadows/rules.txt b/Enhancements/PokkenTournament_Shadows/rules.txt new file mode 100644 index 00000000..14cf453d --- /dev/null +++ b/Enhancements/PokkenTournament_Shadows/rules.txt @@ -0,0 +1,33 @@ +[Definition] +titleIds = 00050000101DF400,00050002101DF401,00050000101DF500 +name = Shadow Resolution +path = "Pokken Tournament/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows +width = 512 +height = 512 +formats = 0x5 +overwriteWidth = $shadowRes * 512 +overwriteHeight = $shadowRes * 512 diff --git a/Enhancements/RiseOfLyric_Shadows/rules.txt b/Enhancements/RiseOfLyric_Shadows/rules.txt new file mode 100644 index 00000000..966febd0 --- /dev/null +++ b/Enhancements/RiseOfLyric_Shadows/rules.txt @@ -0,0 +1,33 @@ +[Definition] +titleIds = 0005000010175B00,0005000010177800,0005000010191F00 +name = Shadow Resolution +path = "Sonic Boom: Rise of Lyric/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows; it needs shader edits which I will look into later +width = 256 +height = 256 +formats = 0x80e,0x11 +overwriteWidth = $shadowRes * 256 +overwriteHeight = $shadowRes * 256 diff --git a/Enhancement/Splatoon_AdjustableBloom/34eaf9e211e76379_00000000000003c9_ps.txt b/Enhancements/Splatoon_Bloom/34eaf9e211e76379_00000000000003c9_ps.txt similarity index 99% rename from Enhancement/Splatoon_AdjustableBloom/34eaf9e211e76379_00000000000003c9_ps.txt rename to Enhancements/Splatoon_Bloom/34eaf9e211e76379_00000000000003c9_ps.txt index 7f0f6219..c1399008 100644 --- a/Enhancement/Splatoon_AdjustableBloom/34eaf9e211e76379_00000000000003c9_ps.txt +++ b/Enhancements/Splatoon_Bloom/34eaf9e211e76379_00000000000003c9_ps.txt @@ -1,7 +1,8 @@ #version 420 #extension GL_ARB_texture_gather : enable -const float bloomFactor = 0.4; // shader 34eaf9e211e76379 +const float bloomFactor = $bloom; + uniform ivec4 uf_remappedPS[4]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf45c6000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x16466800 res 1280x720x1 dim 1 tm: 4 format 0806 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Enhancements/Splatoon_Bloom/rules.txt b/Enhancements/Splatoon_Bloom/rules.txt new file mode 100644 index 00000000..92afeee9 --- /dev/null +++ b/Enhancements/Splatoon_Bloom/rules.txt @@ -0,0 +1,22 @@ +[Definition] +titleIds = 0005000010176900,0005000010176A00,0005000010162B00 +name = Bloom Adjustment +path = "Splatoon/Enhancements/Bloom Adjustment" +description = Allows you to adjust how strong the bloom is. Full amount is the default intensity of bloom. +version = 3 + +[Preset] +name = (Default)Full Amount +$bloom = 1 + +[Preset] +name = Disabled +$bloom = 0 + +[Preset] +name = Quarter Amount +$bloom = 0.25 + +[Preset] +name = Half Amount +$bloom = 0.5 diff --git a/Source/Splatoon/b4196905d6fff2bb_0000000000001e69_ps.txt b/Enhancements/Splatoon_Shadows/b4196905d6fff2bb_0000000000001e69_ps.txt similarity index 96% rename from Source/Splatoon/b4196905d6fff2bb_0000000000001e69_ps.txt rename to Enhancements/Splatoon_Shadows/b4196905d6fff2bb_0000000000001e69_ps.txt index 61b59e99..15b65649 100644 --- a/Source/Splatoon/b4196905d6fff2bb_0000000000001e69_ps.txt +++ b/Enhancements/Splatoon_Shadows/b4196905d6fff2bb_0000000000001e69_ps.txt @@ -1,17 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader b4196905d6fff2bb // Used for: Fixing high-res shadows on models at end-screen of campaign/matches -const float resScale = ; - +const float resScale = $shadowRes; uniform ivec4 uf_remappedPS[12]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4240800 res 1280x720x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Enhancements/Splatoon_Shadows/rules.txt b/Enhancements/Splatoon_Shadows/rules.txt new file mode 100644 index 00000000..cd5e81df --- /dev/null +++ b/Enhancements/Splatoon_Shadows/rules.txt @@ -0,0 +1,40 @@ +[Definition] +titleIds = 0005000010176900,0005000010176A00,0005000010162B00 +name = Shadow Resolution +path = "Splatoon/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows +width = 2048 +height = 2048 +formats = 0x5 +overwriteWidth = $shadowRes * 2048 +overwriteHeight = $shadowRes * 2048 + +[TextureRedefine] # Performance Shadows +width = 1024 +height = 1024 +formats = 0x5 +overwriteWidth = $shadowRes * 1024 +overwriteHeight = $shadowRes * 1024 diff --git a/Enhancement/Splatoon_FX/4a377a50eda82af8_0000000000001e51_ps.txt b/Enhancements/Splatoon_SplatFX/4a377a50eda82af8_0000000000001e51_ps.txt similarity index 99% rename from Enhancement/Splatoon_FX/4a377a50eda82af8_0000000000001e51_ps.txt rename to Enhancements/Splatoon_SplatFX/4a377a50eda82af8_0000000000001e51_ps.txt index 3cfb4d57..91195ab3 100644 --- a/Enhancement/Splatoon_FX/4a377a50eda82af8_0000000000001e51_ps.txt +++ b/Enhancements/Splatoon_SplatFX/4a377a50eda82af8_0000000000001e51_ps.txt @@ -2,11 +2,11 @@ #extension GL_ARB_texture_gather : enable // shader 4a377a50eda82af8 //########################################################## -#define Preset 3 +#define Preset $preset // User Defined 0 // Bruz Option 1 // BSOD Option 2 - // Clarity Option 3 + // Jamie Option 3 // Contrasty Option 4 // Serfrost Option 5 // Sharpen Only Option 6 diff --git a/Enhancement/Splatoon_FX/f502868a515bbfb4_00000000000003c9_ps.txt b/Enhancements/Splatoon_SplatFX/f502868a515bbfb4_00000000000003c9_ps.txt similarity index 99% rename from Enhancement/Splatoon_FX/f502868a515bbfb4_00000000000003c9_ps.txt rename to Enhancements/Splatoon_SplatFX/f502868a515bbfb4_00000000000003c9_ps.txt index 98513a1f..348e8798 100644 --- a/Enhancement/Splatoon_FX/f502868a515bbfb4_00000000000003c9_ps.txt +++ b/Enhancements/Splatoon_SplatFX/f502868a515bbfb4_00000000000003c9_ps.txt @@ -2,11 +2,11 @@ #extension GL_ARB_texture_gather : enable // shader f502868a515bbfb4 //########################################################## -#define Preset 3 +#define Preset $preset // User Defined 0 // Bruz Option 1 // BSOD Option 2 - // Clarity Option 3 + // Jamie Option 3 // Contrasty Option 4 // Serfrost Option 5 // Sharpen Only Option 6 diff --git a/Enhancements/Splatoon_SplatFX/rules.txt b/Enhancements/Splatoon_SplatFX/rules.txt new file mode 100644 index 00000000..85c331bc --- /dev/null +++ b/Enhancements/Splatoon_SplatFX/rules.txt @@ -0,0 +1,46 @@ +[Definition] +titleIds = 0005000010176900,0005000010176A00,0005000010162B00 +name = SplatFX +path = "Splatoon/Enhancements/SplatFX" +description = Select the visual look of the game that you'll like with these hand-made presets that adjusts saturation, vibrance, colors and more. You can select a preset. Selecting "User Defined" requires having made your own preset, check the "Splatoon_SplatFX/4a377a50eda82af8_0000000000001e51_ps.txt" and the "Splatoon_SplatFX/f502868a515bbfb4_00000000000003c9_ps.txt" file in your graphicPack folder to create one. +version = 3 + +[Preset] +name = User Defined +$preset:int = 0 + +[Preset] +name = Bruz Option (BotW) +$preset:int = 1 + +[Preset] +name = BSoD Option (BotW) +$preset:int = 2 + +[Preset] +name = Jamie Option (BotW) +$preset:int = 3 + +[Preset] +name = Contrasty Option (BotW) +$preset:int = 4 + +[Preset] +name = Serfrost Option (BotW) +$preset:int = 5 + +[Preset] +name = Sharpen Only Option (BotW) +$preset:int = 6 + +[Preset] +name = The Complaining Gamer Option (BotW) +$preset:int = 7 + +[Preset] +name = Filmic Preset Option (BotW) +$preset:int = 8 + +[Preset] +name = CellHunter Option (BotW) +$preset:int = 9 diff --git a/Enhancements/SuperMario3DWorld_Shadows/rules.txt b/Enhancements/SuperMario3DWorld_Shadows/rules.txt new file mode 100644 index 00000000..84e8c3db --- /dev/null +++ b/Enhancements/SuperMario3DWorld_Shadows/rules.txt @@ -0,0 +1,33 @@ +[Definition] +titleIds = 0005000010145D00,0005000010145C00,0005000010106100 +name = Shadow Resolution +path = "Super Mario 3D World/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows +width = 1024 +height = 1024 +formats = 0x005 +overwriteWidth = $shadowRes * 1024 +overwriteHeight = $shadowRes * 1024 diff --git a/Source/TokyoMirage/04d0827b9471eb22_0000000000000000_vs.txt b/Enhancements/SuperSmashBros_Shadows/7613a0515b67d8b4_0000000000000000_vs.txt similarity index 56% rename from Source/TokyoMirage/04d0827b9471eb22_0000000000000000_vs.txt rename to Enhancements/SuperSmashBros_Shadows/7613a0515b67d8b4_0000000000000000_vs.txt index 461618a2..c27fa61b 100644 --- a/Source/TokyoMirage/04d0827b9471eb22_0000000000000000_vs.txt +++ b/Enhancements/SuperSmashBros_Shadows/7613a0515b67d8b4_0000000000000000_vs.txt @@ -1,28 +1,20 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable -// shader 04d0827b9471eb22 -const float resXScale = ; -const float resYScale = ; +// shader 7613a0515b67d8b4 +const float shadowRes = $shadowRes; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; +layout(location = 1) in uvec4 attrDataSem2; out gl_PerVertex { vec4 gl_Position; float gl_PointSize; }; -layout(location = 1) out vec4 passParameterSem137; -layout(location = 0) out vec4 passParameterSem136; +layout(location = 0) out vec4 passParameterSem130; +layout(location = 1) out vec4 passParameterSem131; int clampFI32(int v) { if( v == 0x7FFFFFFF ) @@ -31,7 +23,7 @@ else if( v == 0xFFFFFFFF ) return floatBitsToInt(0.0); return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); } -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } void main() { vec4 R0f = vec4(0.0); @@ -54,32 +46,33 @@ R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); attrDecoder = attrDataSem0; attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); +attrDecoder.xy = attrDataSem2.xy; +attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); attrDecoder.z = 0; attrDecoder.w = 0; +attrDecoder.xy = floatBitsToUint(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16))); +attrDecoder.zw = uvec2(0); R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); // 0 -R3f.x = R2f.x; -R3f.y = R2f.y; -PV0f.z = intBitsToFloat(uf_remappedVS[0].z) + 0.5; +PV0f.x = intBitsToFloat(uf_remappedVS[0].y)/shadowRes; +PV0f.x /= 2.0; +PV0f.y = -(intBitsToFloat(uf_remappedVS[0].y))/shadowRes; +PV0f.y /= 2.0; +R127f.w = intBitsToFloat(uf_remappedVS[0].y)/shadowRes; +R127f.w /= 2.0; +PV0f.w = R127f.w; // 1 -R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, PV0f.z); -PV1f.z = R127f.z; -PV1f.w = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, PV0f.z); +R0f.xyz = vec3(R2f.x,R2f.y,R2f.x) + vec3(PV0f.y,PV0f.y,PV0f.x); +R3f.w = R2f.x + PV0f.y; +R3f.y = R2f.y + PV0f.w; +PS1f = R3f.y; // 2 -PV0f.x = R2f.y + PV1f.z; -PV0f.y = R2f.x + PV1f.w; -R0f.x = R2f.x + -(PV1f.w); -PS0f = R0f.x; -// 3 -R0f.y = R2f.y + -(R127f.z); -R0f.z = PV0f.y; -R0f.w = PV0f.x; +R3f.z = R2f.x + R127f.w; // export gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); // export -passParameterSem137 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); +passParameterSem130 = vec4(R0f.x, R0f.y, R0f.z, R0f.y); // export -passParameterSem136 = vec4(R3f.x, R3f.y, R3f.z, R3f.z); +passParameterSem131 = vec4(R3f.w, R3f.y, R3f.z, R3f.y); +// 0 } diff --git a/Enhancements/SuperSmashBros_Shadows/rules.txt b/Enhancements/SuperSmashBros_Shadows/rules.txt new file mode 100644 index 00000000..a19ff6d0 --- /dev/null +++ b/Enhancements/SuperSmashBros_Shadows/rules.txt @@ -0,0 +1,40 @@ +[Definition] +titleIds = 0005000010110E00,0005000010145000,0005000010144F00 +name = Shadow Resolution +path = "Super Smash Bros. for Wii U/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this increases performance but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows +width = 1024 +height = 1024 +formats = 0x5 +overwriteWidth = $shadowRes * 1024 +overwriteHeight = $shadowRes * 1024 + +[TextureRedefine] # Performance Shadows, Blur Pass +width = 512 +height = 512 +formats = 0xb,0xf +overwriteWidth = $shadowRes * 512 +overwriteHeight = $shadowRes * 512 diff --git a/Enhancements/TokyoMirage_NegLod/rules.txt b/Enhancements/TokyoMirage_NegLod/rules.txt new file mode 100644 index 00000000..bd171d98 --- /dev/null +++ b/Enhancements/TokyoMirage_NegLod/rules.txt @@ -0,0 +1,40 @@ +[Definition] +titleIds = 00050000101ED700,00050000101ED800,0005000010131D00 +name = Negative texture LOD bias +path = "Tokyo Mirage Sessions FE/Graphics/Negative Texture LOD" +description = Texture LOD override, possible shimmer but sharper textures +version = 3 + +[Preset] +name = LOD -4 +$LOD = 4 + +[Preset] +name = LOD -1 +$LOD = 1 + +[Preset] +name = LOD -2 +$LOD = 2 + +[Preset] +name = LOD -3 +$LOD = 3 + +[Preset] +name = LOD -4 +$LOD = 4 + +[Preset] +name = LOD -8 +$LOD = 8 + +[Preset] +name = LOD -16 +$LOD = 16 + + +[TextureRedefine] +formats = 0x01a,0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435 +overwriteRelativeLodBias = - $LOD + diff --git a/Enhancement/WindWakerHD-GC_colour/04dcbf2655f94e03_00000000000007f9_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/04dcbf2655f94e03_00000000000007f9_ps.txt similarity index 100% rename from Enhancement/WindWakerHD-GC_colour/04dcbf2655f94e03_00000000000007f9_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/04dcbf2655f94e03_00000000000007f9_ps.txt diff --git a/Enhancement/WindWakerHD-GC_colour/53141a02b3f78921_00000000000000ff_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/53141a02b3f78921_00000000000000ff_ps.txt similarity index 100% rename from Enhancement/WindWakerHD-GC_colour/53141a02b3f78921_00000000000000ff_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/53141a02b3f78921_00000000000000ff_ps.txt diff --git a/Enhancement/WindWakerHD-GC_colour/8a763b05908ba4e8_00000000000000ff_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/8a763b05908ba4e8_00000000000000ff_ps.txt similarity index 100% rename from Enhancement/WindWakerHD-GC_colour/8a763b05908ba4e8_00000000000000ff_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/8a763b05908ba4e8_00000000000000ff_ps.txt diff --git a/Enhancement/WindWakerHD-GC_colour/90ed656e9c17616b_00000000000000ff_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/90ed656e9c17616b_00000000000000ff_ps.txt similarity index 100% rename from Enhancement/WindWakerHD-GC_colour/90ed656e9c17616b_00000000000000ff_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/90ed656e9c17616b_00000000000000ff_ps.txt diff --git a/Enhancement/WindWakerHD-GC_colour/960d3ef6662043c7_0000000000000079_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/960d3ef6662043c7_0000000000000079_ps.txt similarity index 100% rename from Enhancement/WindWakerHD-GC_colour/960d3ef6662043c7_0000000000000079_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/960d3ef6662043c7_0000000000000079_ps.txt diff --git a/Enhancement/WindWakerHD-GC_colour/b77c717f243c0b08_00000000007f9249_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/b77c717f243c0b08_00000000007f9249_ps.txt similarity index 100% rename from Enhancement/WindWakerHD-GC_colour/b77c717f243c0b08_00000000007f9249_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/b77c717f243c0b08_00000000007f9249_ps.txt diff --git a/Enhancement/WindWakerHD-GC_colour/e1ea1127489fd281_0000000000003fc9_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/e1ea1127489fd281_0000000000003fc9_ps.txt similarity index 100% rename from Enhancement/WindWakerHD-GC_colour/e1ea1127489fd281_0000000000003fc9_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/e1ea1127489fd281_0000000000003fc9_ps.txt diff --git a/Enhancement/WindWakerHD-GC_colour/f1a49f43d95bec30_00000000000000ff_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/f1a49f43d95bec30_00000000000000ff_ps.txt similarity index 95% rename from Enhancement/WindWakerHD-GC_colour/f1a49f43d95bec30_00000000000000ff_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/f1a49f43d95bec30_00000000000000ff_ps.txt index 1a0e1f2c..e1840804 100644 --- a/Enhancement/WindWakerHD-GC_colour/f1a49f43d95bec30_00000000000000ff_ps.txt +++ b/Enhancements/WindWakerHD_GameCubeColor/f1a49f43d95bec30_00000000000000ff_ps.txt @@ -47,6 +47,6 @@ R2f.w = R0f.w; R3f.xyz = vec3(R1f.x,R1f.y,R1f.y); R3f.w = R1f.z; // export -passPixelColor0 = vec4(R2f.x*0.9, R2f.y*0.9, R2f.z*1.2, R2f.w)*0.75; +passPixelColor0 = vec4(R2f.x*0.92, R2f.y*0.9, R2f.z*1.1, R2f.w)*0.75; passPixelColor1 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); } diff --git a/Enhancement/WindWakerHD-GC_colour/ff71dcd2ad4defdc_00000000000003c9_ps.txt b/Enhancements/WindWakerHD_GameCubeColor/ff71dcd2ad4defdc_00000000000003c9_ps.txt similarity index 99% rename from Enhancement/WindWakerHD-GC_colour/ff71dcd2ad4defdc_00000000000003c9_ps.txt rename to Enhancements/WindWakerHD_GameCubeColor/ff71dcd2ad4defdc_00000000000003c9_ps.txt index d80cffd6..0e66983d 100644 --- a/Enhancement/WindWakerHD-GC_colour/ff71dcd2ad4defdc_00000000000003c9_ps.txt +++ b/Enhancements/WindWakerHD_GameCubeColor/ff71dcd2ad4defdc_00000000000003c9_ps.txt @@ -2,7 +2,7 @@ #extension GL_ARB_texture_gather : enable // shader ff71dcd2ad4defdc //AA ps -const float resScale = 4.0; +const float resScale = 2.0; //old contrasty, or just copy paste clarity const float gamma = 0.85; // 1.0 is neutral Botw is already colour graded at this stage diff --git a/Enhancements/WindWakerHD_GameCubeColor/rules.txt b/Enhancements/WindWakerHD_GameCubeColor/rules.txt new file mode 100644 index 00000000..4e15d6c4 --- /dev/null +++ b/Enhancements/WindWakerHD_GameCubeColor/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010143400,0005000010143600,0005000010143500 +name = "GC colour grading" +path = "The Legend of Zelda: The Wind Waker HD/Graphics/Colour Tweaks" +description = More blue instead of teal, slight contrast increase +version = 3 \ No newline at end of file diff --git a/Enhancements/YoshisWoollyWorld_Shadows/rules.txt b/Enhancements/YoshisWoollyWorld_Shadows/rules.txt new file mode 100644 index 00000000..7b2eb49e --- /dev/null +++ b/Enhancements/YoshisWoollyWorld_Shadows/rules.txt @@ -0,0 +1,33 @@ +[Definition] +titleIds = 0005000010131F00,0005000010184E00,0005000010184D00 +name = Shadow Resolution +path = "Yoshi's Woolly World/Graphics/Shadow Resolution" +description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this increases performance but makes shadows blockier. Medium is the original resolution. +version = 3 + +[Preset] +name = Medium (1.00x, Default) +$shadowRes = 1 + +[Preset] +name = Low (0.50x) +$shadowRes = 0.5 + +[Preset] +name = High (2.00x) +$shadowRes = 2 + +[Preset] +name = Ultra (4.00x) +$shadowRes = 4 + +[Preset] +name = Extreme (8.00x) +$shadowRes = 8 + +[TextureRedefine] # Shadows +width = 1024 +height = 1024 +formats = 0x5 +overwriteWidth = $shadowRes * 1024 +overwriteHeight = $shadowRes * 1024 diff --git a/Modifications/BreathOfTheWild_!Monochromia/069a6cb3b78b94dd_00003cd249549249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/069a6cb3b78b94dd_00003cd249549249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/069a6cb3b78b94dd_00003cd249549249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/069a6cb3b78b94dd_00003cd249549249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/07d4d8363600f2d4_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/07d4d8363600f2d4_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/07d4d8363600f2d4_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/07d4d8363600f2d4_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/0831c7ebf9279cdb_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/0831c7ebf9279cdb_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/0831c7ebf9279cdb_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/0831c7ebf9279cdb_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/0a042cc751c546b2_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/0a042cc751c546b2_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/0a042cc751c546b2_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/0a042cc751c546b2_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/10a2a18d2a9a02d8_000000007924d249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/10a2a18d2a9a02d8_000000007924d249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/10a2a18d2a9a02d8_000000007924d249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/10a2a18d2a9a02d8_000000007924d249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/1bd1c50969e7e4ac_000000000f249a49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/1bd1c50969e7e4ac_000000000f249a49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/1bd1c50969e7e4ac_000000000f249a49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/1bd1c50969e7e4ac_000000000f249a49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/1cf7d93fabd9e8e3_000000007924d249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/1cf7d93fabd9e8e3_000000007924d249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/1cf7d93fabd9e8e3_000000007924d249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/1cf7d93fabd9e8e3_000000007924d249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/1f8a651427ddb2a8_000000000f249a49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/1f8a651427ddb2a8_000000000f249a49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/1f8a651427ddb2a8_000000000f249a49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/1f8a651427ddb2a8_000000000f249a49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/235ae454992c4a92_00003cd249549249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/235ae454992c4a92_00003cd249549249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/235ae454992c4a92_00003cd249549249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/235ae454992c4a92_00003cd249549249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/2e2543216c04766d_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/2e2543216c04766d_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/2e2543216c04766d_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/2e2543216c04766d_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/3179b85d41bfb80d_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/3179b85d41bfb80d_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/3179b85d41bfb80d_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/3179b85d41bfb80d_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/32b2c2ae76175d0d_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/32b2c2ae76175d0d_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/32b2c2ae76175d0d_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/32b2c2ae76175d0d_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/3c49f88069390494_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/3c49f88069390494_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/3c49f88069390494_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/3c49f88069390494_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/49ce4bf04a654e80_00000003c9249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/49ce4bf04a654e80_00000003c9249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/49ce4bf04a654e80_00000003c9249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/49ce4bf04a654e80_00000003c9249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/4a5e64d284788a47_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/4a5e64d284788a47_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/4a5e64d284788a47_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/4a5e64d284788a47_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/4c324d20f5b6de3b_000000007924d249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/4c324d20f5b6de3b_000000007924d249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/4c324d20f5b6de3b_000000007924d249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/4c324d20f5b6de3b_000000007924d249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/53422d4f43914447_0000000000000079_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/53422d4f43914447_0000000000000079_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/53422d4f43914447_0000000000000079_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/53422d4f43914447_0000000000000079_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/5648500869d5db39_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/5648500869d5db39_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/5648500869d5db39_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/5648500869d5db39_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/5dc89e690f6b0726_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/5dc89e690f6b0726_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/5dc89e690f6b0726_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/5dc89e690f6b0726_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/7c6e02daf538f23e_000000000f249a49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/7c6e02daf538f23e_000000000f249a49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/7c6e02daf538f23e_000000000f249a49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/7c6e02daf538f23e_000000000f249a49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/7f33027db819f935_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/7f33027db819f935_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/7f33027db819f935_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/7f33027db819f935_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/81bbc347eb4b6dbc_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/81bbc347eb4b6dbc_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/81bbc347eb4b6dbc_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/81bbc347eb4b6dbc_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/8d24f32f18e6de47_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/8d24f32f18e6de47_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/8d24f32f18e6de47_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/8d24f32f18e6de47_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/8daf3642d5942233_000000007924d249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/8daf3642d5942233_000000007924d249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/8daf3642d5942233_000000007924d249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/8daf3642d5942233_000000007924d249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/8ff2cf86e789335f_00000003c9249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/8ff2cf86e789335f_00000003c9249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/8ff2cf86e789335f_00000003c9249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/8ff2cf86e789335f_00000003c9249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/910884d799c555ff_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/910884d799c555ff_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/910884d799c555ff_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/910884d799c555ff_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/9a39c7a4d12c3b4e_00003cd249549249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/9a39c7a4d12c3b4e_00003cd249549249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/9a39c7a4d12c3b4e_00003cd249549249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/9a39c7a4d12c3b4e_00003cd249549249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/a2986482c342660f_000000007924d249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/a2986482c342660f_000000007924d249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/a2986482c342660f_000000007924d249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/a2986482c342660f_000000007924d249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/a5b3a5e5ab2938bc_0000000000001e49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/a5b3a5e5ab2938bc_0000000000001e49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/a5b3a5e5ab2938bc_0000000000001e49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/a5b3a5e5ab2938bc_0000000000001e49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/a84b5bc90f635eb4_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/a84b5bc90f635eb4_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/a84b5bc90f635eb4_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/a84b5bc90f635eb4_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/ac099496a4733213_000000007924d249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/ac099496a4733213_000000007924d249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/ac099496a4733213_000000007924d249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/ac099496a4733213_000000007924d249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/accb5c78c5e346b5_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/accb5c78c5e346b5_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/accb5c78c5e346b5_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/accb5c78c5e346b5_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/ad50629df039e45f_0000001e6924aa49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/ad50629df039e45f_0000001e6924aa49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/ad50629df039e45f_0000001e6924aa49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/ad50629df039e45f_0000001e6924aa49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/b2e61dfb5275f27d_000000000f249a49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/b2e61dfb5275f27d_000000000f249a49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/b2e61dfb5275f27d_000000000f249a49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/b2e61dfb5275f27d_000000000f249a49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/bd8bba59e2149449_00000000000003c9_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/bd8bba59e2149449_00000000000003c9_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/bd8bba59e2149449_00000000000003c9_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/bd8bba59e2149449_00000000000003c9_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/bdc96b6928e88c78_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/bdc96b6928e88c78_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/bdc96b6928e88c78_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/bdc96b6928e88c78_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/bff17056bfac28dd_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/bff17056bfac28dd_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/bff17056bfac28dd_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/bff17056bfac28dd_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/c580a12764680547_000000000f249a49_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/c580a12764680547_000000000f249a49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/c580a12764680547_000000000f249a49_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/c580a12764680547_000000000f249a49_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/de2bafbeb363afb3_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/de2bafbeb363afb3_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/de2bafbeb363afb3_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/de2bafbeb363afb3_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/dee484f174698fba_000000007924d249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/dee484f174698fba_000000007924d249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/dee484f174698fba_000000007924d249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/dee484f174698fba_000000007924d249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/eabf1e8268c0acf2_0000000079249749_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/eabf1e8268c0acf2_0000000079249749_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/eabf1e8268c0acf2_0000000079249749_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/eabf1e8268c0acf2_0000000079249749_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/ead71c09d523378c_000000f349255249_ps.txt b/Modifications/!BreathOfTheWild_Monochromia/ead71c09d523378c_000000f349255249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/ead71c09d523378c_000000f349255249_ps.txt rename to Modifications/!BreathOfTheWild_Monochromia/ead71c09d523378c_000000f349255249_ps.txt diff --git a/Modifications/BreathOfTheWild_!Monochromia/readMe.txt b/Modifications/!BreathOfTheWild_Monochromia/readme.txt similarity index 100% rename from Modifications/BreathOfTheWild_!Monochromia/readMe.txt rename to Modifications/!BreathOfTheWild_Monochromia/readme.txt diff --git a/Modifications/!BreathOfTheWild_Monochromia/rules.txt b/Modifications/!BreathOfTheWild_Monochromia/rules.txt new file mode 100644 index 00000000..8f462e4a --- /dev/null +++ b/Modifications/!BreathOfTheWild_Monochromia/rules.txt @@ -0,0 +1,11 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "Monochromia (NOT COMPATIBLE WITH CLARITY)" +path = "The Legend of Zelda: Breath of the Wild/Modifications/Monochromia (Incompatible with Clarity)" +description = "NOT COMPATIBLE WITH CLARITY! Inspired by Sin City, this turns the game black and white." +version = 3 + +# Shaders dumped from Cemu 1.11.0b and BotW 1.3.1 +# Pack made by Kiri +# Check the readMe file for info on how to customize +# Have fun with it diff --git a/Modifications/BreathOfTheWild_!Monochromia/rules.txt b/Modifications/BreathOfTheWild_!Monochromia/rules.txt deleted file mode 100644 index 89f94301..00000000 --- a/Modifications/BreathOfTheWild_!Monochromia/rules.txt +++ /dev/null @@ -1,9 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Monochromia - Sin City inspired Mod" -version = 2 - -# Shaders dumped from Cemu 1.11.0b and BotW 1.3.1 -# Pack made by Kiri -# Check the readMe file for info on how to customize -# Have fun with it \ No newline at end of file diff --git a/Modifications/BreathOfTheWild_Cheats/rules.txt b/Modifications/BreathOfTheWild_Cheats/rules.txt index 5ae8eaf5..eae1f4a7 100644 --- a/Modifications/BreathOfTheWild_Cheats/rules.txt +++ b/Modifications/BreathOfTheWild_Cheats/rules.txt @@ -1,4 +1,6 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Cheats (view readme)" -version = 2 +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = Cheats +path = "The Legend of Zelda: Breath of the Wild/Modifications/Cheats" +description = "By default, every cheat is enabled. To specify the cheat you want and look at the specifics, please read the readme.txt in the "BreathOftheWild_Cheats" folder." +version = 3 \ No newline at end of file diff --git a/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/6fa2baef8a4ece42_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/6fa2baef8a4ece42_0000000000000709_ps.txt index c42a3920..f3aa0ad7 100644 --- a/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/6fa2baef8a4ece42_0000000000000709_ps.txt +++ b/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/6fa2baef8a4ece42_0000000000000709_ps.txt @@ -5,10 +5,10 @@ // Credit for hsv functions below // http://lolengine.net/blog/2013/07/27/rgb-to-hsv-in-glsl -#define RAINBOW_EFFECT 0 // [0 or 1] set it to 1 to enable rainbow beams effect. in that case, HUE_ROTATION is ignored -#define DISABLE_BEAMS 1 // [0 or 1] set it to 1 to hide the lasers completely -#define HUE_ROTATION 0 //[0, 360] where 0 and 360 is unchanged Hue and 180 is completely opposite Hue. Check http://dba.med.sc.edu/price/irf/Adobe_tg/models/images/hsl_top.JPG -#define SATURATION_FACTOR 1.1 //[0.0, 1.0] 1.0 means unchanged Saturation, 0.0 means completely desaturated. Values above 1.0 are accepted, but they may cause clipping +#define RAINBOW_EFFECT $rainbow // [0 or 1] set it to 1 to enable rainbow beams effect. in that case, HUE_ROTATION is ignored +#define DISABLE_BEAMS $disableBeams // [0 or 1] set it to 1 to hide the lasers completely +#define HUE_ROTATION $hue //[0, 360] where 0 and 360 is unchanged Hue and 180 is completely opposite Hue. Check http://i.imgur.com/5UpyIGh.png +#define SATURATION_FACTOR 1.0 //[0.0, 1.0] 1.0 means unchanged Saturation, 0.0 means completely desaturated. Values above 1.0 are accepted, but they may cause clipping #define VALUE_FACTOR 1.0 //same as above; applies to Value #define ALPHA_FACTOR 1.0 //same as above; applies to Transparency diff --git a/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/de960d36a997b34d_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/de960d36a997b34d_0000000000000709_ps.txt index 80b5a661..85310437 100644 --- a/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/de960d36a997b34d_0000000000000709_ps.txt +++ b/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/de960d36a997b34d_0000000000000709_ps.txt @@ -5,10 +5,10 @@ // Credit for hsv functions below // http://lolengine.net/blog/2013/07/27/rgb-to-hsv-in-glsl -#define RAINBOW_EFFECT 0 // [0 or 1] set it to 1 to enable rainbow beams effect. in that case, HUE_ROTATION is ignored -#define DISABLE_BEAMS 1 // [0 or 1] set it to 1 to hide the lasers completely -#define HUE_ROTATION 0 //[0, 360] where 0 and 360 is unchanged Hue and 180 is completely opposite Hue. Check http://dba.med.sc.edu/price/irf/Adobe_tg/models/images/hsl_top.JPG -#define SATURATION_FACTOR 1.1 //[0.0, 1.0] 1.0 means unchanged Saturation, 0.0 means completely desaturated. Values above 1.0 are accepted, but they may cause clipping +#define RAINBOW_EFFECT $rainbow // [0 or 1] set it to 1 to enable rainbow beams effect. in that case, HUE_ROTATION is ignored +#define DISABLE_BEAMS $disableBeams // [0 or 1] set it to 1 to hide the lasers completely +#define HUE_ROTATION $hue //[0, 360] where 0 and 360 is unchanged Hue and 180 is completely opposite Hue. Check http://i.imgur.com/5UpyIGh.png +#define SATURATION_FACTOR 1.0 //[0.0, 1.0] 1.0 means unchanged Saturation, 0.0 means completely desaturated. Values above 1.0 are accepted, but they may cause clipping #define VALUE_FACTOR 1.0 //same as above; applies to Value #define ALPHA_FACTOR 1.0 //same as above; applies to Transparency diff --git a/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/rules.txt b/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/rules.txt index 1ab90b9f..345136b2 100644 --- a/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/rules.txt +++ b/Modifications/BreathOfTheWild_DivineLaserBeamCustomizer/rules.txt @@ -1,6 +1,48 @@ [Definition] titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Divine Laser Beam Customizer" -version = 2 -# Allows customization of the color of the Divine Beasts's Laser Beam -# Laser Beams can also be completely hidden +name = Divine Laser Beams Customizer +path = "The Legend of Zelda: Breath of the Wild/Modifications/Divine Laser Beams Customizer" +description = Allows customization of the color of the Divine Beasts's Laser Beams. They can also be completely hidden. Inside the shader you can find other options like saturation and transparency. +version = 3 + +[Preset] +name = Red (Default) +$hue:int = 0 +$rainbow:int = 0 +$disableBeams:int = 0 + +[Preset] +name = Blue +$hue:int = 225 +$rainbow:int = 0 +$disableBeams:int = 0 + +[Preset] +name = Green +$hue:int = 120 +$rainbow:int = 0 +$disableBeams:int = 0 + +[Preset] +name = Yellow +$hue:int = 45 +$rainbow:int = 0 +$disableBeams:int = 0 + +[Preset] +name = Purple +$hue:int = 300 +$rainbow:int = 0 +$disableBeams:int = 0 + +[Preset] +name = Disabled +$hue:int = 0 +$rainbow:int = 0 +$disableBeams:int = 1 + +[Preset] +name = Rainbow +$hue:int = 0 +$rainbow:int = 1 +$disableBeams:int = 0 diff --git a/Modifications/BreathOfTheWild_FPS++/patches.txt b/Modifications/BreathOfTheWild_FPS++/patches.txt index 5c56e076..f75de1f3 100644 --- a/Modifications/BreathOfTheWild_FPS++/patches.txt +++ b/Modifications/BreathOfTheWild_FPS++/patches.txt @@ -1,398 +1,398 @@ -[BotwFPSV208] -moduleMatches = 0x6267BFD0 - -#rodata constants -_float1 = 0x10000670 -_float30 = 0x101E7964 -_convSub = 0x10000BB0 - -#TestCave -codeCaveSize = 0x9C - -_fpsCalc = 0x00000010 -0x00000000 = .float 3 ; Don't edit me! -_lowlimit = 0x00000000 -0x00000004 = .float 62156250 -_busSpeed = 0x00000004 -_currentFPS = 0x00000008 -_speedDiv = 0x0000000C - -0x00000010 = stw r0, 0x78(r30) -0x00000014 = xoris r12, r12, 0x8000 -0x00000018 = stw r12, 0x12C(r30) -0x0000001C = lis r12, 0x4330 -0x00000020 = stw r12, 0x128(r30) -0x00000024 = lfd f10, 0x128(r30) -0x00000028 = lis r12, _convSub@ha -0x0000002C = lfd f12, _convSub@l(r12) -0x00000030 = fsub f10, f10, f12 -0x00000034 = frsp f10, f10 -0x00000038 = lis r12, _float1@ha -0x0000003C = lfs f12, _float1@l(r12) -0x00000040 = fdivs f10, f12, f10 -0x00000044 = lis r12, _busSpeed@ha -0x00000048 = lfs f12, _busSpeed@l(r12) -0x0000004C = fmuls f10, f12, f10 -0x00000050 = lis r12, _currentFPS@ha -0x00000054 = stfs f10, _currentFPS@l(r12) - -0x00000058 = lis r12, _float30@ha -0x0000005C = lfs f12, _float30@l(r12) -0x00000060 = fdivs f7, f12, f10 -0x00000064 = lis r12, _lowlimit@ha -0x00000068 = lfs f12, _lowlimit@l(r12) -0x0000006C = lis r12, _speedDiv@ha -0x00000070 = fcmpu cr0, f7, f12 -0x00000074 = bge .+0x0C - -0x00000078 = stfs f7, _speedDiv@l(r12) -0x0000007C = blr -0x00000080 = stfs f12, _speedDiv@l(r12) -0x00000084 = blr - -_fenceNeg1 = 0x00000084 -0x00000088 = add r6, r12, r0 #orig instruction we are replacing -0x0000008C = cmpwi r6, 500 #check if less than 500 (full sync on those first frames to prevent milk water) -0x00000090 = blt .+0x08 #skip subtract if less than -0x00000094 = subi r6, r6, 1 #do the subtract -0x00000098 = blr #return - -#codeChanges -0x031FA97C = bla _fpsCalc -0x03793328 = nop -0x03793334 = nop -0x03793378 = lis r29, _speedDiv@ha -0x03793380 = lfs f0, _speedDiv@L(r29) -0x0379338C = nop -0x03415C1C = lis r12, _speedDiv@ha -0x03415C24 = lfs f0, _speedDiv@l(r12) -0x03415C2C = nop -0x02D90D2C = lis r10, _currentFPS@ha -0x02D90D30 = lfs f11, _currentFPS@l(r10) -0x02D90D88 = lis r10, _currentFPS@ha -0x02D90D8C = lfs f11, _currentFPS@l(r10) - - -#break all forms of frame limiting -0x031FAAFC = bla _fenceNeg1 ;Best fence (make sure GPU is never more than 1 frame ahead) -;0x031FAAE8 = li r0, 1 ;Better fence (make sure GPU is never more than 1 second? ahead) -;0x031FAB00 = nop ; skip fence (no waiting on GPU) -0x031FACD0 = nop ; disable vsync -0x031FACF4 = nop ; disable vsync loop - -#Cheats -;0x02D90CC0 = fmr f29, f1 ;inf stamina -;0x02D452A4 = nop ;inf hearts -;0x02EB6758 = nop ;inf arrows - -[BotwFPSv176V192] -moduleMatches = 0xFD091F9F,0xD472D8A5 - -#rodata constants -_float1 = 0x10000670 -_float30 = 0x101E78F4 -_convSub = 0x10000BB0 - -#TestCave -codeCaveSize = 0x9C - -_fpsCalc = 0x00000010 -0x00000000 = .float 3 ; Don't edit me! -_lowlimit = 0x00000000 -0x00000004 = .float 62156250 -_busSpeed = 0x00000004 -_currentFPS = 0x00000008 -_speedDiv = 0x0000000C - -0x00000010 = stw r0, 0x78(r30) -0x00000014 = xoris r12, r12, 0x8000 -0x00000018 = stw r12, 0x12C(r30) -0x0000001C = lis r12, 0x4330 -0x00000020 = stw r12, 0x128(r30) -0x00000024 = lfd f10, 0x128(r30) -0x00000028 = lis r12, _convSub@ha -0x0000002C = lfd f12, _convSub@l(r12) -0x00000030 = fsub f10, f10, f12 -0x00000034 = frsp f10, f10 -0x00000038 = lis r12, _float1@ha -0x0000003C = lfs f12, _float1@l(r12) -0x00000040 = fdivs f10, f12, f10 -0x00000044 = lis r12, _busSpeed@ha -0x00000048 = lfs f12, _busSpeed@l(r12) -0x0000004C = fmuls f10, f12, f10 -0x00000050 = lis r12, _currentFPS@ha -0x00000054 = stfs f10, _currentFPS@l(r12) - -0x00000058 = lis r12, _float30@ha -0x0000005C = lfs f12, _float30@l(r12) -0x00000060 = fdivs f7, f12, f10 -0x00000064 = lis r12, _lowlimit@ha -0x00000068 = lfs f12, _lowlimit@l(r12) -0x0000006C = lis r12, _speedDiv@ha -0x00000070 = fcmpu cr0, f7, f12 -0x00000074 = bge .+0x0C - -0x00000078 = stfs f7, _speedDiv@l(r12) -0x0000007C = blr -0x00000080 = stfs f12, _speedDiv@l(r12) -0x00000084 = blr - -_fenceNeg1 = 0x00000084 -0x00000088 = add r6, r12, r0 #orig instruction we are replacing -0x0000008C = cmpwi r6, 500 #check if less than 500 (full sync on those first frames to prevent milk water) -0x00000090 = blt .+0x08 #skip subtract if less than -0x00000094 = subi r6, r6, 1 #do the subtract -0x00000098 = blr #return - -#codeChanges -0x031F9E80 = bla _fpsCalc -0x03792620 = nop -0x0379262C = nop -0x03792670 = lis r29, _speedDiv@ha -0x03792678 = lfs f0, _speedDiv@L(r29) -0x03792684 = nop -0x03414EF8 = lis r12, _speedDiv@ha -0x03414F00 = lfs f0, _speedDiv@l(r12) -0x03414F08 = nop -0x02D90790 = lis r10, _currentFPS@ha -0x02D90794 = lfs f11, _currentFPS@l(r10) -0x02D907EC = lis r10, _currentFPS@ha -0x02D907F0 = lfs f11, _currentFPS@l(r10) - - -#break all forms of frame limiting -0x031FA000 = bla _fenceNeg1 ;Best fence (make sure GPU is never more than 1 frame ahead) -;0x031F9FEC = li r0, 1 ;Better fence (make sure GPU is never more than 1 second? ahead) -;0x031FA004 = nop ; skip fence (no waiting on GPU) -0x031FA1D4 = nop ; disable vsync -0x031FA1F8 = nop ; disable vsync loop - -#Cheats -;0x02D90724 = fmr f29, f1 ;inf stamina -;0x02D44D44 = nop ;inf hearts -;0x02EB61BC = nop ;inf arrows - -[Botw60fpsv144] -moduleMatches = 0x9A2CA0C7 - -#rodata constants - -_float1 = 0x1027AB80 -_float3 = 0x100005DC - -#TestCave -codeCaveSize = 0x9C - -_fpsCalc = 0x00000008 -0x00000000 = .float 3 ;edit me -_lowlimit = 0x00000000 -0x00000004 = .float 6294724 -_busSpeed = 0x00000004 -0x00000008 = stw r0, 0x78(r30) -0x0000000C = xoris r12, r12, 0x8000 -0x00000010 = stw r12, 0x12C(r30) -0x00000014 = lis r12, 0x4330 -0x00000018 = stw r12, 0x128(r30) -0x0000001C = lfd f10, 0x128(r30) -0x00000020 = stw r12, 0x138(r30) -0x00000024 = lis r12, 0x8000 -0x00000028 = stw r12, 0x13C(r30) -0x0000002C = lfd f12, 0x138(r30) -0x00000030 = fsub f10, f10, f12 -0x00000034 = frsp f10, f10 -0x00000038 = lis r12, _float1@ha -0x0000003C = lfs f12, _float1@l(r12) -0x00000040 = fdivs f10, f12, f10 -0x00000048 = lis r12, _busSpeed@ha -0x0000004C = lfs f12, _busSpeed@l(r12) -0x00000050 = fmuls f10, f12, f10 -0x00000054 = lis r12, _float3@ha -0x00000058 = lfs f12, _float3@l(r12) -0x0000005C = fdivs f7, f12, f10 -0x00000060 = lis r12, _lowlimit@ha -0x00000064 = lfs f12, _lowlimit@l(r12) -0x00000068 = fcmpu cr0, f7, f12 -0x0000006C = bge .+0x0C -0x00000070 = stfs f7, 0x130(r30) -0x00000074 = blr -0x00000078 = stfs f12, 0x130(r30) -0x0000007C = blr - -_fullspeed = 0x00000080 -0x00000080 = lis r3, 0x112A -0x00000084 = lis r12, 0xF634 -0x00000088 = srawi r12, r12, 0x10 -0x0000008c = xoris r12, r12, 0xFFFF -0x00000090 = or r3, r3, r12 -0x00000094 = lfs f0, 0x0(r3) -0x00000098 = blr - -#Branch -0x03102688 = bla _fpsCalc -0x03686FA0 = nop -0x03686FAC = nop -0x03686FF0 = bla _fullspeed -0x03313C4C = bla _fullspeed - -#break all forms of frame limiting -0x03102808 = nop ;disables gx2 fence -0x031029DC = nop ;disables wait for vsync -0x03102A00 = nop ;same -0x03102E10 = li r0, 1;the original 60FPS hack -0x03102DCC = li r0, 1; same - -#experimental -;0x02FAA8E4 = li r3, 0 ;sets swap interval to 0 -;0x02FAA98C = li r3, 0 ;same -;0x02FB2E50 = li r7, 1 ;sets GX2SetTVBuffer to 1 -;0x02FB30A0 = li r7, 1 ;same - -[Botw60fpsv112] -moduleMatches = 0x6FD41A61 - -#rodata constants - -_float1 = 0x1026E518 -_float3 = 0x100005D4 - -#TestCave -codeCaveSize = 0x9C - -_fpsCalc = 0x00000008 -0x00000000 = .float 3 ;edit me -_lowlimit = 0x00000000 -0x00000004 = .float 6294724 -_busSpeed = 0x00000004 -0x00000008 = stw r0, 0x78(r30) -0x0000000C = xoris r12, r12, 0x8000 -0x00000010 = stw r12, 0x12C(r30) -0x00000014 = lis r12, 0x4330 -0x00000018 = stw r12, 0x128(r30) -0x0000001C = lfd f10, 0x128(r30) -0x00000020 = stw r12, 0x138(r30) -0x00000024 = lis r12, 0x8000 -0x00000028 = stw r12, 0x13C(r30) -0x0000002C = lfd f12, 0x138(r30) -0x00000030 = fsub f10, f10, f12 -0x00000034 = frsp f10, f10 -0x00000038 = lis r12, _float1@ha -0x0000003C = lfs f12, _float1@l(r12) -0x00000040 = fdivs f10, f12, f10 -0x00000048 = lis r12, _busSpeed@ha -0x0000004C = lfs f12, _busSpeed@l(r12) -0x00000050 = fmuls f10, f12, f10 -0x00000054 = lis r12, _float3@ha -0x00000058 = lfs f12, _float3@l(r12) -0x0000005C = fdivs f7, f12, f10 -0x00000060 = lis r12, _lowlimit@ha -0x00000064 = lfs f12, _lowlimit@l(r12) -0x00000068 = fcmpu cr0, f7, f12 -0x0000006C = bge .+0x0C -0x00000070 = stfs f7, 0x130(r30) -0x00000074 = blr -0x00000078 = stfs f12, 0x130(r30) -0x0000007C = blr - -_fullspeed = 0x00000080 -0x00000080 = lis r3, 0x1126 -0x00000084 = lis r12, 0xB42C -0x00000088 = srawi r12, r12, 0x10 -0x0000008c = xoris r12, r12, 0xFFFF -0x00000090 = or r3, r3, r12 -0x00000094 = lfs f0, 0x0(r3) -0x00000098 = blr - -#Branch -0x030D5080 = bla _fpsCalc -0x03653634 = nop -0x03653640 = nop -0x03653684 = bla _fullspeed -0x032E4130 = bla _fullspeed - -#break all forms of frame limiting -0x030D5200 = nop ;comment out this line with ';' at the beginning to disable gpufenceskip -0x030D53D4 = nop -0x030D53f8 = nop -0x030D5808 = li r0, 1 -0x030D57C4 = li r0, 1 - -#experimental -;0x02F7ECB8 = li r3, 0 -;0x02F7ED60 = li r3, 0 -;0x02F87224 = li r7, 1 -;0x02F87474 = li r7, 1 - -[Botw60fpsv97] -moduleMatches = 0xD71D859D - -#rodata constants - -_float1 = 0x10000660 -_float3 = 0x100031fC - -#TestCave -codeCaveSize = 0x9C - -_fpsCalc = 0x00000008 -0x00000000 = .float 3 ;edit me -_lowlimit = 0x00000000 -0x00000004 = .float 6294724 -_busSpeed = 0x00000004 -0x00000008 = stw r0, 0x78(r30) -0x0000000C = xoris r12, r12, 0x8000 -0x00000010 = stw r12, 0x12C(r30) -0x00000014 = lis r12, 0x4330 -0x00000018 = stw r12, 0x128(r30) -0x0000001C = lfd f10, 0x128(r30) -0x00000020 = stw r12, 0x138(r30) -0x00000024 = lis r12, 0x8000 -0x00000028 = stw r12, 0x13C(r30) -0x0000002C = lfd f12, 0x138(r30) -0x00000030 = fsub f10, f10, f12 -0x00000034 = frsp f10, f10 -0x00000038 = lis r12, _float1@ha -0x0000003C = lfs f12, _float1@l(r12) -0x00000040 = fdivs f10, f12, f10 -0x00000048 = lis r12, _busSpeed@ha -0x0000004C = lfs f12, _busSpeed@l(r12) -0x00000050 = fmuls f10, f12, f10 -0x00000054 = lis r12, _float3@ha -0x00000058 = lfs f12, _float3@l(r12) -0x0000005C = fdivs f7, f12, f10 -0x00000060 = lis r12, _lowlimit@ha -0x00000064 = lfs f12, _lowlimit@l(r12) -0x00000068 = fcmpu cr0, f7, f12 -0x0000006C = bge .+0x0C -0x00000070 = stfs f7, 0x130(r30) -0x00000074 = blr -0x00000078 = stfs f12, 0x130(r30) -0x0000007C = blr - -_fullspeed = 0x00000080 -0x00000080 = lis r3, 0x1126 -0x00000084 = lis r12, 0xA824 -0x00000088 = srawi r12, r12, 0x10 -0x0000008c = xoris r12, r12, 0xFFFF -0x00000090 = or r3, r3, r12 -0x00000094 = lfs f0, 0x0(r3) -0x00000098 = blr - -#Branch -0x030D4120 = bla _fpsCalc -0x03652620 = nop -0x0365262C = nop -0x03652670 = bla _fullspeed -0x032E31D0 = bla _fullspeed - -#break all forms of frame limiting -0x030D42A0 = nop ;comment out this line with ';' at the beginning to disable gpufenceskip -0x030D4474 = nop -0x030D4498 = nop -0x030D48A8 = li r0, 1 -0x030D4864 = li r0, 1 - -#experimental -;0x02F7DD58 = li r3, 0 -;0x02F7DE00 = li r3, 0 -;0x02F862C4 = li r7, 1 -;0x02F86514 = li r7, 1 +[BotwFPSV208] +moduleMatches = 0x6267BFD0 + +#rodata constants +_float1 = 0x10000670 +_float30 = 0x101E7964 +_convSub = 0x10000BB0 + +#TestCave +codeCaveSize = 0x9C + +_fpsCalc = 0x00000010 +0x00000000 = .float 3 ; Don't edit me! +_lowlimit = 0x00000000 +0x00000004 = .float 62156250 +_busSpeed = 0x00000004 +_currentFPS = 0x00000008 +_speedDiv = 0x0000000C + +0x00000010 = stw r0, 0x78(r30) +0x00000014 = xoris r12, r12, 0x8000 +0x00000018 = stw r12, 0x12C(r30) +0x0000001C = lis r12, 0x4330 +0x00000020 = stw r12, 0x128(r30) +0x00000024 = lfd f10, 0x128(r30) +0x00000028 = lis r12, _convSub@ha +0x0000002C = lfd f12, _convSub@l(r12) +0x00000030 = fsub f10, f10, f12 +0x00000034 = frsp f10, f10 +0x00000038 = lis r12, _float1@ha +0x0000003C = lfs f12, _float1@l(r12) +0x00000040 = fdivs f10, f12, f10 +0x00000044 = lis r12, _busSpeed@ha +0x00000048 = lfs f12, _busSpeed@l(r12) +0x0000004C = fmuls f10, f12, f10 +0x00000050 = lis r12, _currentFPS@ha +0x00000054 = stfs f10, _currentFPS@l(r12) + +0x00000058 = lis r12, _float30@ha +0x0000005C = lfs f12, _float30@l(r12) +0x00000060 = fdivs f7, f12, f10 +0x00000064 = lis r12, _lowlimit@ha +0x00000068 = lfs f12, _lowlimit@l(r12) +0x0000006C = lis r12, _speedDiv@ha +0x00000070 = fcmpu cr0, f7, f12 +0x00000074 = bge .+0x0C + +0x00000078 = stfs f7, _speedDiv@l(r12) +0x0000007C = blr +0x00000080 = stfs f12, _speedDiv@l(r12) +0x00000084 = blr + +_fenceNeg1 = 0x00000084 +0x00000088 = add r6, r12, r0 #orig instruction we are replacing +0x0000008C = cmpwi r6, 500 #check if less than 500 (full sync on those first frames to prevent milk water) +0x00000090 = blt .+0x08 #skip subtract if less than +0x00000094 = subi r6, r6, 1 #do the subtract +0x00000098 = blr #return + +#codeChanges +0x031FA97C = bla _fpsCalc +0x03793328 = nop +0x03793334 = nop +0x03793378 = lis r29, _speedDiv@ha +0x03793380 = lfs f0, _speedDiv@L(r29) +0x0379338C = nop +0x03415C1C = lis r12, _speedDiv@ha +0x03415C24 = lfs f0, _speedDiv@l(r12) +0x03415C2C = nop +0x02D90D2C = lis r10, _currentFPS@ha +0x02D90D30 = lfs f11, _currentFPS@l(r10) +0x02D90D88 = lis r10, _currentFPS@ha +0x02D90D8C = lfs f11, _currentFPS@l(r10) + + +#break all forms of frame limiting +0x031FAAFC = bla _fenceNeg1 ;Best fence (make sure GPU is never more than 1 frame ahead) +;0x031FAAE8 = li r0, 1 ;Better fence (make sure GPU is never more than 1 second? ahead) +;0x031FAB00 = nop ; skip fence (no waiting on GPU) +0x031FACD0 = nop ; disable vsync +0x031FACF4 = nop ; disable vsync loop + +#Cheats +;0x02D90CC0 = fmr f29, f1 ;inf stamina +;0x02D452A4 = nop ;inf hearts +;0x02EB6758 = nop ;inf arrows + +[BotwFPSv176V192] +moduleMatches = 0xFD091F9F,0xD472D8A5 + +#rodata constants +_float1 = 0x10000670 +_float30 = 0x101E78F4 +_convSub = 0x10000BB0 + +#TestCave +codeCaveSize = 0x9C + +_fpsCalc = 0x00000010 +0x00000000 = .float 3 ; Don't edit me! +_lowlimit = 0x00000000 +0x00000004 = .float 62156250 +_busSpeed = 0x00000004 +_currentFPS = 0x00000008 +_speedDiv = 0x0000000C + +0x00000010 = stw r0, 0x78(r30) +0x00000014 = xoris r12, r12, 0x8000 +0x00000018 = stw r12, 0x12C(r30) +0x0000001C = lis r12, 0x4330 +0x00000020 = stw r12, 0x128(r30) +0x00000024 = lfd f10, 0x128(r30) +0x00000028 = lis r12, _convSub@ha +0x0000002C = lfd f12, _convSub@l(r12) +0x00000030 = fsub f10, f10, f12 +0x00000034 = frsp f10, f10 +0x00000038 = lis r12, _float1@ha +0x0000003C = lfs f12, _float1@l(r12) +0x00000040 = fdivs f10, f12, f10 +0x00000044 = lis r12, _busSpeed@ha +0x00000048 = lfs f12, _busSpeed@l(r12) +0x0000004C = fmuls f10, f12, f10 +0x00000050 = lis r12, _currentFPS@ha +0x00000054 = stfs f10, _currentFPS@l(r12) + +0x00000058 = lis r12, _float30@ha +0x0000005C = lfs f12, _float30@l(r12) +0x00000060 = fdivs f7, f12, f10 +0x00000064 = lis r12, _lowlimit@ha +0x00000068 = lfs f12, _lowlimit@l(r12) +0x0000006C = lis r12, _speedDiv@ha +0x00000070 = fcmpu cr0, f7, f12 +0x00000074 = bge .+0x0C + +0x00000078 = stfs f7, _speedDiv@l(r12) +0x0000007C = blr +0x00000080 = stfs f12, _speedDiv@l(r12) +0x00000084 = blr + +_fenceNeg1 = 0x00000084 +0x00000088 = add r6, r12, r0 #orig instruction we are replacing +0x0000008C = cmpwi r6, 500 #check if less than 500 (full sync on those first frames to prevent milk water) +0x00000090 = blt .+0x08 #skip subtract if less than +0x00000094 = subi r6, r6, 1 #do the subtract +0x00000098 = blr #return + +#codeChanges +0x031F9E80 = bla _fpsCalc +0x03792620 = nop +0x0379262C = nop +0x03792670 = lis r29, _speedDiv@ha +0x03792678 = lfs f0, _speedDiv@L(r29) +0x03792684 = nop +0x03414EF8 = lis r12, _speedDiv@ha +0x03414F00 = lfs f0, _speedDiv@l(r12) +0x03414F08 = nop +0x02D90790 = lis r10, _currentFPS@ha +0x02D90794 = lfs f11, _currentFPS@l(r10) +0x02D907EC = lis r10, _currentFPS@ha +0x02D907F0 = lfs f11, _currentFPS@l(r10) + + +#break all forms of frame limiting +0x031FA000 = bla _fenceNeg1 ;Best fence (make sure GPU is never more than 1 frame ahead) +;0x031F9FEC = li r0, 1 ;Better fence (make sure GPU is never more than 1 second? ahead) +;0x031FA004 = nop ; skip fence (no waiting on GPU) +0x031FA1D4 = nop ; disable vsync +0x031FA1F8 = nop ; disable vsync loop + +#Cheats +;0x02D90724 = fmr f29, f1 ;inf stamina +;0x02D44D44 = nop ;inf hearts +;0x02EB61BC = nop ;inf arrows + +[Botw60fpsv144] +moduleMatches = 0x9A2CA0C7 + +#rodata constants + +_float1 = 0x1027AB80 +_float3 = 0x100005DC + +#TestCave +codeCaveSize = 0x9C + +_fpsCalc = 0x00000008 +0x00000000 = .float 3 ;edit me +_lowlimit = 0x00000000 +0x00000004 = .float 6294724 +_busSpeed = 0x00000004 +0x00000008 = stw r0, 0x78(r30) +0x0000000C = xoris r12, r12, 0x8000 +0x00000010 = stw r12, 0x12C(r30) +0x00000014 = lis r12, 0x4330 +0x00000018 = stw r12, 0x128(r30) +0x0000001C = lfd f10, 0x128(r30) +0x00000020 = stw r12, 0x138(r30) +0x00000024 = lis r12, 0x8000 +0x00000028 = stw r12, 0x13C(r30) +0x0000002C = lfd f12, 0x138(r30) +0x00000030 = fsub f10, f10, f12 +0x00000034 = frsp f10, f10 +0x00000038 = lis r12, _float1@ha +0x0000003C = lfs f12, _float1@l(r12) +0x00000040 = fdivs f10, f12, f10 +0x00000048 = lis r12, _busSpeed@ha +0x0000004C = lfs f12, _busSpeed@l(r12) +0x00000050 = fmuls f10, f12, f10 +0x00000054 = lis r12, _float3@ha +0x00000058 = lfs f12, _float3@l(r12) +0x0000005C = fdivs f7, f12, f10 +0x00000060 = lis r12, _lowlimit@ha +0x00000064 = lfs f12, _lowlimit@l(r12) +0x00000068 = fcmpu cr0, f7, f12 +0x0000006C = bge .+0x0C +0x00000070 = stfs f7, 0x130(r30) +0x00000074 = blr +0x00000078 = stfs f12, 0x130(r30) +0x0000007C = blr + +_fullspeed = 0x00000080 +0x00000080 = lis r3, 0x112A +0x00000084 = lis r12, 0xF634 +0x00000088 = srawi r12, r12, 0x10 +0x0000008c = xoris r12, r12, 0xFFFF +0x00000090 = or r3, r3, r12 +0x00000094 = lfs f0, 0x0(r3) +0x00000098 = blr + +#Branch +0x03102688 = bla _fpsCalc +0x03686FA0 = nop +0x03686FAC = nop +0x03686FF0 = bla _fullspeed +0x03313C4C = bla _fullspeed + +#break all forms of frame limiting +0x03102808 = nop ;disables gx2 fence +0x031029DC = nop ;disables wait for vsync +0x03102A00 = nop ;same +0x03102E10 = li r0, 1;the original 60FPS hack +0x03102DCC = li r0, 1; same + +#experimental +;0x02FAA8E4 = li r3, 0 ;sets swap interval to 0 +;0x02FAA98C = li r3, 0 ;same +;0x02FB2E50 = li r7, 1 ;sets GX2SetTVBuffer to 1 +;0x02FB30A0 = li r7, 1 ;same + +[Botw60fpsv112] +moduleMatches = 0x6FD41A61 + +#rodata constants + +_float1 = 0x1026E518 +_float3 = 0x100005D4 + +#TestCave +codeCaveSize = 0x9C + +_fpsCalc = 0x00000008 +0x00000000 = .float 3 ;edit me +_lowlimit = 0x00000000 +0x00000004 = .float 6294724 +_busSpeed = 0x00000004 +0x00000008 = stw r0, 0x78(r30) +0x0000000C = xoris r12, r12, 0x8000 +0x00000010 = stw r12, 0x12C(r30) +0x00000014 = lis r12, 0x4330 +0x00000018 = stw r12, 0x128(r30) +0x0000001C = lfd f10, 0x128(r30) +0x00000020 = stw r12, 0x138(r30) +0x00000024 = lis r12, 0x8000 +0x00000028 = stw r12, 0x13C(r30) +0x0000002C = lfd f12, 0x138(r30) +0x00000030 = fsub f10, f10, f12 +0x00000034 = frsp f10, f10 +0x00000038 = lis r12, _float1@ha +0x0000003C = lfs f12, _float1@l(r12) +0x00000040 = fdivs f10, f12, f10 +0x00000048 = lis r12, _busSpeed@ha +0x0000004C = lfs f12, _busSpeed@l(r12) +0x00000050 = fmuls f10, f12, f10 +0x00000054 = lis r12, _float3@ha +0x00000058 = lfs f12, _float3@l(r12) +0x0000005C = fdivs f7, f12, f10 +0x00000060 = lis r12, _lowlimit@ha +0x00000064 = lfs f12, _lowlimit@l(r12) +0x00000068 = fcmpu cr0, f7, f12 +0x0000006C = bge .+0x0C +0x00000070 = stfs f7, 0x130(r30) +0x00000074 = blr +0x00000078 = stfs f12, 0x130(r30) +0x0000007C = blr + +_fullspeed = 0x00000080 +0x00000080 = lis r3, 0x1126 +0x00000084 = lis r12, 0xB42C +0x00000088 = srawi r12, r12, 0x10 +0x0000008c = xoris r12, r12, 0xFFFF +0x00000090 = or r3, r3, r12 +0x00000094 = lfs f0, 0x0(r3) +0x00000098 = blr + +#Branch +0x030D5080 = bla _fpsCalc +0x03653634 = nop +0x03653640 = nop +0x03653684 = bla _fullspeed +0x032E4130 = bla _fullspeed + +#break all forms of frame limiting +0x030D5200 = nop ;comment out this line with ';' at the beginning to disable gpufenceskip +0x030D53D4 = nop +0x030D53f8 = nop +0x030D5808 = li r0, 1 +0x030D57C4 = li r0, 1 + +#experimental +;0x02F7ECB8 = li r3, 0 +;0x02F7ED60 = li r3, 0 +;0x02F87224 = li r7, 1 +;0x02F87474 = li r7, 1 + +[Botw60fpsv97] +moduleMatches = 0xD71D859D + +#rodata constants + +_float1 = 0x10000660 +_float3 = 0x100031fC + +#TestCave +codeCaveSize = 0x9C + +_fpsCalc = 0x00000008 +0x00000000 = .float 3 ;edit me +_lowlimit = 0x00000000 +0x00000004 = .float 6294724 +_busSpeed = 0x00000004 +0x00000008 = stw r0, 0x78(r30) +0x0000000C = xoris r12, r12, 0x8000 +0x00000010 = stw r12, 0x12C(r30) +0x00000014 = lis r12, 0x4330 +0x00000018 = stw r12, 0x128(r30) +0x0000001C = lfd f10, 0x128(r30) +0x00000020 = stw r12, 0x138(r30) +0x00000024 = lis r12, 0x8000 +0x00000028 = stw r12, 0x13C(r30) +0x0000002C = lfd f12, 0x138(r30) +0x00000030 = fsub f10, f10, f12 +0x00000034 = frsp f10, f10 +0x00000038 = lis r12, _float1@ha +0x0000003C = lfs f12, _float1@l(r12) +0x00000040 = fdivs f10, f12, f10 +0x00000048 = lis r12, _busSpeed@ha +0x0000004C = lfs f12, _busSpeed@l(r12) +0x00000050 = fmuls f10, f12, f10 +0x00000054 = lis r12, _float3@ha +0x00000058 = lfs f12, _float3@l(r12) +0x0000005C = fdivs f7, f12, f10 +0x00000060 = lis r12, _lowlimit@ha +0x00000064 = lfs f12, _lowlimit@l(r12) +0x00000068 = fcmpu cr0, f7, f12 +0x0000006C = bge .+0x0C +0x00000070 = stfs f7, 0x130(r30) +0x00000074 = blr +0x00000078 = stfs f12, 0x130(r30) +0x0000007C = blr + +_fullspeed = 0x00000080 +0x00000080 = lis r3, 0x1126 +0x00000084 = lis r12, 0xA824 +0x00000088 = srawi r12, r12, 0x10 +0x0000008c = xoris r12, r12, 0xFFFF +0x00000090 = or r3, r3, r12 +0x00000094 = lfs f0, 0x0(r3) +0x00000098 = blr + +#Branch +0x030D4120 = bla _fpsCalc +0x03652620 = nop +0x0365262C = nop +0x03652670 = bla _fullspeed +0x032E31D0 = bla _fullspeed + +#break all forms of frame limiting +0x030D42A0 = nop ;comment out this line with ';' at the beginning to disable gpufenceskip +0x030D4474 = nop +0x030D4498 = nop +0x030D48A8 = li r0, 1 +0x030D4864 = li r0, 1 + +#experimental +;0x02F7DD58 = li r3, 0 +;0x02F7DE00 = li r3, 0 +;0x02F862C4 = li r7, 1 +;0x02F86514 = li r7, 1 diff --git a/Modifications/BreathOfTheWild_FPS++/rules.txt b/Modifications/BreathOfTheWild_FPS++/rules.txt index 9f34e1dd..57866654 100644 --- a/Modifications/BreathOfTheWild_FPS++/rules.txt +++ b/Modifications/BreathOfTheWild_FPS++/rules.txt @@ -1,4 +1,6 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - FPS++" -version = 2 +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = Dynamic (FPS++) +path = "The Legend of Zelda: Breath of the Wild/Modifications/Dynamic (FPS++)" +description = "Important: Don't enable Static FPS while having FPS++ also enabled! This pack won't work without Cemuhook, make sure to install that! This pack only works when you've properly updated your game (we always recommend the latest updates). Keep in mind that going above 30fps will bring game bugs. Use Static FPS if you've got a stable framerate and want to get rid of some FPS++ related bugs like arrow distance and some other animation issues." +version = 3 \ No newline at end of file diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/rules.txt b/Modifications/BreathOfTheWild_GlowLightsColorMod/rules.txt deleted file mode 100644 index 9736c2c3..00000000 --- a/Modifications/BreathOfTheWild_GlowLightsColorMod/rules.txt +++ /dev/null @@ -1,22 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Glow Lights Color Mod" -version = 2 - -# This pack can be used to change the color of (most) glowing objects in the game, including the Sheikah Towers, Shrines (inside and outside), bombs, and others. -# The pack is designed to take advantage of the duality of the main colors. It is intended to be customizable. -# On each and every shader you will find values you can adjust. My suggestion is to use any tool that can search and replace in multiple files and use the same parameters in all files. -# Be aware that some shaders affect both the "On" and the "Off" color of some objects (ex: the open/closed chests in shrines) -# Also be aware that this pack changes the color of most lights as well, including orange lights that are not affiliated with the "Off" concept. This is unintended, but I can't do anything about it. -# The default configuration uses a red/green combination of colors. -# Here are some other example values for HUE_ROTATION, with the respective result -# 0 blue/orange -# 60 pink/lime -# 135 red/green -# 200 yellow/cyan -# 270 green/magenta -# 330 cyan/pink -# -# Shaders dumped from Cemu 1.11.0b and BotW 1.3.1 -# Pack made by Kiri -# Have fun with it \ No newline at end of file diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/0453fb7ad9cc0f79_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/0453fb7ad9cc0f79_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/0453fb7ad9cc0f79_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/0453fb7ad9cc0f79_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/097eac672c26b4a4_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/097eac672c26b4a4_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/097eac672c26b4a4_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/097eac672c26b4a4_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/0ce5fca5c70640d1_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/0ce5fca5c70640d1_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/0ce5fca5c70640d1_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/0ce5fca5c70640d1_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/12fe44a2273b452c_000000000000001c_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/12fe44a2273b452c_000000000000001c_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/12fe44a2273b452c_000000000000001c_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/12fe44a2273b452c_000000000000001c_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/146164991e2929e2_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/146164991e2929e2_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/146164991e2929e2_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/146164991e2929e2_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/14f5a7cf99f2904a_00000000000000f1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/14f5a7cf99f2904a_00000000000000f1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/14f5a7cf99f2904a_00000000000000f1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/14f5a7cf99f2904a_00000000000000f1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/15e2d4f74a5e8445_000000000000001c_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/15e2d4f74a5e8445_000000000000001c_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/15e2d4f74a5e8445_000000000000001c_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/15e2d4f74a5e8445_000000000000001c_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/1dd8be9054c94f4e_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/1dd8be9054c94f4e_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/1dd8be9054c94f4e_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/1dd8be9054c94f4e_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/233a000439032e75_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/233a000439032e75_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/233a000439032e75_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/233a000439032e75_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/266a0d760fe1ddfc_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/266a0d760fe1ddfc_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/266a0d760fe1ddfc_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/266a0d760fe1ddfc_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/2a045e62b99640b5_00000001e1e21c49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/2a045e62b99640b5_00000001e1e21c49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/2a045e62b99640b5_00000001e1e21c49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/2a045e62b99640b5_00000001e1e21c49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/2a87149b7154c69d_000000000001c24b_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/2a87149b7154c69d_000000000001c24b_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/2a87149b7154c69d_000000000001c24b_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/2a87149b7154c69d_000000000001c24b_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/2f64af19b1835ab0_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/2f64af19b1835ab0_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/2f64af19b1835ab0_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/2f64af19b1835ab0_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/319e60116b59ceec_00000001e1e1fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/319e60116b59ceec_00000001e1e1fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/319e60116b59ceec_00000001e1e1fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/319e60116b59ceec_00000001e1e1fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/38d70ed9280bb3bc_0000000000000079_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/38d70ed9280bb3bc_0000000000000079_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/38d70ed9280bb3bc_0000000000000079_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/38d70ed9280bb3bc_0000000000000079_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/3d383d2d61500c9c_0000000f0f0ff249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/3d383d2d61500c9c_0000000f0f0ff249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/3d383d2d61500c9c_0000000f0f0ff249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/3d383d2d61500c9c_0000000f0f0ff249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/42c9208b54ad72ca_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/42c9208b54ad72ca_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/42c9208b54ad72ca_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/42c9208b54ad72ca_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/458dd826bd589332_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/458dd826bd589332_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/458dd826bd589332_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/458dd826bd589332_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/48a94cda336d2976_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/48a94cda336d2976_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/48a94cda336d2976_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/48a94cda336d2976_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/4af8a4670205be4c_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/4af8a4670205be4c_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/4af8a4670205be4c_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/4af8a4670205be4c_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/4bdac25bb98f5804_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/4bdac25bb98f5804_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/4bdac25bb98f5804_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/4bdac25bb98f5804_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/5219277e990fe5ba_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/5219277e990fe5ba_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/5219277e990fe5ba_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/5219277e990fe5ba_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/5b04d28f319a1d6d_0000000f0f0ff249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/5b04d28f319a1d6d_0000000f0f0ff249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/5b04d28f319a1d6d_0000000f0f0ff249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/5b04d28f319a1d6d_0000000f0f0ff249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/5b9b7727ca24e22b_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/5b9b7727ca24e22b_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/5b9b7727ca24e22b_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/5b9b7727ca24e22b_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/5f4e60117b59cf65_00000001e1e1fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/5f4e60117b59cf65_00000001e1e1fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/5f4e60117b59cf65_00000001e1e1fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/5f4e60117b59cf65_00000001e1e1fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/603d7ad06d86617e_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/603d7ad06d86617e_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/603d7ad06d86617e_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/603d7ad06d86617e_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/6240983542445009_00000001e1e21c49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/6240983542445009_00000001e1e21c49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/6240983542445009_00000001e1e21c49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/6240983542445009_00000001e1e21c49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/64342503518ca97a_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/64342503518ca97a_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/64342503518ca97a_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/64342503518ca97a_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/6832b00344c32a71_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/6832b00344c32a71_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/6832b00344c32a71_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/6832b00344c32a71_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/687da8c1b555b262_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/687da8c1b555b262_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/687da8c1b555b262_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/687da8c1b555b262_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/68aa37ce58db094d_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/68aa37ce58db094d_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/68aa37ce58db094d_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/68aa37ce58db094d_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/70a79265ab7d498a_0000000f0f10e249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/70a79265ab7d498a_0000000f0f10e249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/70a79265ab7d498a_0000000f0f10e249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/70a79265ab7d498a_0000000f0f10e249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/70d96b85a0ce93ef_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/70d96b85a0ce93ef_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/70d96b85a0ce93ef_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/70d96b85a0ce93ef_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/751393d6cbcd0c76_000003c3c3fc9249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/751393d6cbcd0c76_000003c3c3fc9249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/751393d6cbcd0c76_000003c3c3fc9249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/751393d6cbcd0c76_000003c3c3fc9249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/80b87385a0d2942f_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/80b87385a0d2942f_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/80b87385a0d2942f_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/80b87385a0d2942f_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/81adf9797e4661a7_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/81adf9797e4661a7_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/81adf9797e4661a7_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/81adf9797e4661a7_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/8438998c284fe428_000000000000001c_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/8438998c284fe428_000000000000001c_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/8438998c284fe428_000000000000001c_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/8438998c284fe428_000000000000001c_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/87790fa17c847fea_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/87790fa17c847fea_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/87790fa17c847fea_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/87790fa17c847fea_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/8798144a6f066e7c_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/8798144a6f066e7c_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/8798144a6f066e7c_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/8798144a6f066e7c_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/87babe7569572ff5_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/87babe7569572ff5_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/87babe7569572ff5_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/87babe7569572ff5_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/8836c3a20b053cf0_000000000000001c_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/8836c3a20b053cf0_000000000000001c_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/8836c3a20b053cf0_000000000000001c_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/8836c3a20b053cf0_000000000000001c_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/8d0a18894dd0c9cb_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/8d0a18894dd0c9cb_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/8d0a18894dd0c9cb_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/8d0a18894dd0c9cb_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/8e9e804a3cd384c3_00000000000ff259_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/8e9e804a3cd384c3_00000000000ff259_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/8e9e804a3cd384c3_00000000000ff259_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/8e9e804a3cd384c3_00000000000ff259_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/8fe014235f134ac1_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/8fe014235f134ac1_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/8fe014235f134ac1_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/8fe014235f134ac1_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/99122c964b6a1a19_000000000001fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/99122c964b6a1a19_000000000001fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/99122c964b6a1a19_000000000001fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/99122c964b6a1a19_000000000001fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/99fc7f42b65ca284_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/99fc7f42b65ca284_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/99fc7f42b65ca284_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/99fc7f42b65ca284_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/9aacad682248145f_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/9aacad682248145f_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/9aacad682248145f_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/9aacad682248145f_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/9c9c75d87bb9b4ef_0000000f0f10e249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/9c9c75d87bb9b4ef_0000000f0f10e249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/9c9c75d87bb9b4ef_0000000f0f10e249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/9c9c75d87bb9b4ef_0000000f0f10e249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColors/Readme.txt b/Modifications/BreathOfTheWild_GlowLightsColors/Readme.txt new file mode 100644 index 00000000..16256a88 --- /dev/null +++ b/Modifications/BreathOfTheWild_GlowLightsColors/Readme.txt @@ -0,0 +1,17 @@ +This pack can be used to change the color of (most) glowing objects in the game, including the Sheikah Towers, Shrines (inside and outside), bombs, and others. +The pack is designed to take advantage of the duality of the main colors. It is intended to be customizable. +On each and every shader you will find values you can adjust. My suggestion is to use any tool that can search and replace in multiple files and use the same parameters in all files. +Be aware that some shaders affect both the "On" and the "Off" color of some objects (ex: the open/closed chests in shrines) +Also be aware that this pack changes the color of most lights as well, including orange lights that are not affiliated with the "Off" concept. This is unintended, but I can't do anything about it. +The default configuration uses a red/green combination of colors. +Here are some other example values for HUE_ROTATION, with the respective result + 0 blue/orange + 60 pink/lime + 135 red/green + 200 yellow/cyan + 270 green/magenta + 330 cyan/pink + +Shaders dumped from Cemu 1.11.0b and BotW 1.3.1 +Pack made by Kiri +Have fun with it \ No newline at end of file diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/a02a462f9ba59f2e_000000003c3c4389_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/a02a462f9ba59f2e_000000003c3c4389_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/a02a462f9ba59f2e_000000003c3c4389_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/a02a462f9ba59f2e_000000003c3c4389_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/a11251f0bffe8631_000000000000001c_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/a11251f0bffe8631_000000000000001c_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/a11251f0bffe8631_000000000000001c_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/a11251f0bffe8631_000000000000001c_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/a54bdb88a57b9be9_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/a54bdb88a57b9be9_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/a54bdb88a57b9be9_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/a54bdb88a57b9be9_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/a6ea718e4c60e157_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/a6ea718e4c60e157_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/a6ea718e4c60e157_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/a6ea718e4c60e157_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/a6eb708e4b616557_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/a6eb708e4b616557_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/a6eb708e4b616557_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/a6eb708e4b616557_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/a95fbb49ae2c8f46_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/a95fbb49ae2c8f46_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/a95fbb49ae2c8f46_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/a95fbb49ae2c8f46_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/b2cf5924b04ea6a4_0000000f0f0ff249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/b2cf5924b04ea6a4_0000000f0f0ff249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/b2cf5924b04ea6a4_0000000f0f0ff249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/b2cf5924b04ea6a4_0000000f0f0ff249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/b2e1c9ce2f160aab_000000003c3c4389_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/b2e1c9ce2f160aab_000000003c3c4389_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/b2e1c9ce2f160aab_000000003c3c4389_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/b2e1c9ce2f160aab_000000003c3c4389_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/b5b53042daaad65c_00000001e1e21c49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/b5b53042daaad65c_00000001e1e21c49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/b5b53042daaad65c_00000001e1e21c49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/b5b53042daaad65c_00000001e1e21c49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/bc9529a682410603_00000001e1e1fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/bc9529a682410603_00000001e1e1fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/bc9529a682410603_00000001e1e1fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/bc9529a682410603_00000001e1e1fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/beb15cab79e5ca5d_000000000000001c_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/beb15cab79e5ca5d_000000000000001c_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/beb15cab79e5ca5d_000000000000001c_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/beb15cab79e5ca5d_000000000000001c_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/bee298edc2f7e315_00000001e1e1fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/bee298edc2f7e315_00000001e1e1fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/bee298edc2f7e315_00000001e1e1fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/bee298edc2f7e315_00000001e1e1fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/bf72a1fd35401be2_0000079749255249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/bf72a1fd35401be2_0000079749255249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/bf72a1fd35401be2_0000079749255249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/bf72a1fd35401be2_0000079749255249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/c36b10f0e410def8_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/c36b10f0e410def8_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/c36b10f0e410def8_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/c36b10f0e410def8_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/cb27783c5e10df0e_000000000000001c_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/cb27783c5e10df0e_000000000000001c_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/cb27783c5e10df0e_000000000000001c_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/cb27783c5e10df0e_000000000000001c_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/cc9529ae1a492d03_00000001e1e1fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/cc9529ae1a492d03_00000001e1e1fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/cc9529ae1a492d03_00000001e1e1fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/cc9529ae1a492d03_00000001e1e1fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/cd1eba6802df67f7_0000000f0f0ff249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/cd1eba6802df67f7_0000000f0f0ff249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/cd1eba6802df67f7_0000000f0f0ff249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/cd1eba6802df67f7_0000000f0f0ff249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/ce76f7a67517c0b2_000000003c3c4389_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/ce76f7a67517c0b2_000000003c3c4389_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/ce76f7a67517c0b2_000000003c3c4389_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/ce76f7a67517c0b2_000000003c3c4389_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/cf2e9b7aab93e342_000000000001fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/cf2e9b7aab93e342_000000000001fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/cf2e9b7aab93e342_000000000001fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/cf2e9b7aab93e342_000000000001fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/d178de668517df1e_000000003c3c4389_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/d178de668517df1e_000000003c3c4389_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/d178de668517df1e_000000003c3c4389_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/d178de668517df1e_000000003c3c4389_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/d3ac3a61f7749326_000000000000001c_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/d3ac3a61f7749326_000000000000001c_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/d3ac3a61f7749326_000000000000001c_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/d3ac3a61f7749326_000000000000001c_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/d48de6ada1e9ad03_00000001e1e1fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/d48de6ada1e9ad03_00000001e1e1fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/d48de6ada1e9ad03_00000001e1e1fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/d48de6ada1e9ad03_00000001e1e1fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/db8bc69330c08206_0000000000003849_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/db8bc69330c08206_0000000000003849_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/db8bc69330c08206_0000000000003849_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/db8bc69330c08206_0000000000003849_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/e53233e53de8434f_0000000000000709_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/e53233e53de8434f_0000000000000709_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/e53233e53de8434f_0000000000000709_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/e53233e53de8434f_0000000000000709_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/e95d54571be1c0a9_000000000001fe49_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/e95d54571be1c0a9_000000000001fe49_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/e95d54571be1c0a9_000000000001fe49_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/e95d54571be1c0a9_000000000001fe49_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/f62be0d03546ec39_00000000000000e1_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/f62be0d03546ec39_00000000000000e1_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/f62be0d03546ec39_00000000000000e1_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/f62be0d03546ec39_00000000000000e1_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColorMod/fb135efcb4540fb1_00000078787f9249_ps.txt b/Modifications/BreathOfTheWild_GlowLightsColors/fb135efcb4540fb1_00000078787f9249_ps.txt similarity index 100% rename from Modifications/BreathOfTheWild_GlowLightsColorMod/fb135efcb4540fb1_00000078787f9249_ps.txt rename to Modifications/BreathOfTheWild_GlowLightsColors/fb135efcb4540fb1_00000078787f9249_ps.txt diff --git a/Modifications/BreathOfTheWild_GlowLightsColors/rules.txt b/Modifications/BreathOfTheWild_GlowLightsColors/rules.txt new file mode 100644 index 00000000..d8e327d0 --- /dev/null +++ b/Modifications/BreathOfTheWild_GlowLightsColors/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "Glow Lights Colors" +path = "The Legend of Zelda: Breath of the Wild/Modifications/Glow Lights Colors" +description = "Changes the color of objects that glow in game, view the readme for more info." +version = 3 diff --git a/Source/BreathOfTheWild_StaticFPS/patches.txt b/Modifications/BreathOfTheWild_StaticFPS/patches.txt similarity index 79% rename from Source/BreathOfTheWild_StaticFPS/patches.txt rename to Modifications/BreathOfTheWild_StaticFPS/patches.txt index 4d2b28fd..6f4f0891 100644 --- a/Source/BreathOfTheWild_StaticFPS/patches.txt +++ b/Modifications/BreathOfTheWild_StaticFPS/patches.txt @@ -1,23 +1,17 @@ - [BotwFPSV208] #i.e. v1.5.0 moduleMatches = 0x6267BFD0 #Cave codeCaveSize = 0x1C -_divisor = 0x0 # edit the next line to change the divisor -0x00000000 = .float # = 30FPS / TARGET FPS, e.g. 30FPS / 18FPS = 1.66667 -_targetfps = 0x18 # edit the next line to change the target fps -0x18 = .float +_divisor = 0x0 # the divisor is set at the next line +0x0 = .float (30 / $targetFPS) # e.g. 30FPS / 18FPS = 1.66667 +_targetfps = 0x18 # the target fps is set at the next line +0x18 = .float $targetFPS #Arrows by Epigramx -0x1001CCAC = .float # = 30 * divisor -0x1001CB18 = .float # = 0.5 / divisor +0x1001CCAC = .float (30 * (30 / $targetFPS)) # = 30 * divisor +0x1001CB18 = .float (0.5 / (30 / $targetFPS)) # = 0.5 / divisor #"Best fence" by Rajkosto _fenceNeg1 = 0x00000004 @@ -69,14 +63,14 @@ moduleMatches = 0xFD091F9F,0xD472D8A5 #Cave codeCaveSize = 0x1C -_divisor = 0x0 # edit the next line to change the divisor -0x00000000 = .float # = 30FPS / TARGET FPS, e.g. 30FPS / 18FPS = 1.66667 -_targetfps = 0x18 # edit the next line to change the target fps -0x18 = .float +_divisor = 0x0 # the divisor is set at the next line +0x0 = .float (30 / $targetFPS) # e.g. 30FPS / 18FPS = 1.66667 +_targetfps = 0x18 # the target fps is set at the next line +0x18 = .float $targetFPS #Arrows by Epigramx -0x1001CCAC = .float # = 30 * divisor -0x1001CB18 = .float # = 0.5 / divisor +0x1001CCAC = .float (30 * (30 / $targetFPS)) # = 30 * divisor +0x1001CB18 = .float (0.5 / (30 / $targetFPS)) # = 0.5 / divisor #"Best fence" by Rajkosto _fenceNeg1 = 0x00000004 diff --git a/Modifications/BreathOfTheWild_StaticFPS/readme.txt b/Modifications/BreathOfTheWild_StaticFPS/readme.txt new file mode 100644 index 00000000..5235ef00 --- /dev/null +++ b/Modifications/BreathOfTheWild_StaticFPS/readme.txt @@ -0,0 +1,16 @@ +This mod is based on a simplification of the fps++ mod by Xalphenos; it drops +dynamic FPS to prevent graphics judder. The Rajkosto "best fence" method +is also included for performance and stability. Judder was easily noticeable +when Link paraglides; the caveat is that one must pick a target FPS which +they can maintain. + +It improves over previous static mods in that it allows ANY positive integer +as a static fps target and it includes the stamina fix. I've also figured out +a fix for the physics of arrow projectiles. + +To use it enable the graphic pack and choose a preset fps target, or edit +the rules.txt file to add a new preset. + +Original forum thread at https://forum.cemu.info/showthread.php/421 + + epigramx diff --git a/Modifications/BreathOfTheWild_StaticFPS/rules.txt b/Modifications/BreathOfTheWild_StaticFPS/rules.txt new file mode 100644 index 00000000..fbac53fe --- /dev/null +++ b/Modifications/BreathOfTheWild_StaticFPS/rules.txt @@ -0,0 +1,97 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = Static FPS +path = "The Legend of Zelda: Breath of the Wild/Modifications/Static FPS" +description = "Simplified FPS++ to prevent graphics judder and fixed arrow physics at non-30FPS; don't mix FPS++ with static; it requires updated Cemuhook and game; it requires that you can maintain the target FPS; more at readme.txt" +version = 3 + +[Preset] +name = Static 30FPS (most stable; ideal for 240/120/60Hz displays) +$targetFPS:int = 30 + +[Preset] +name = Static 60FPS (ideal for 240/120/60Hz displays) +$targetFPS:int = 60 + +[Preset] +name = Static 45FPS +$targetFPS:int = 45 + +[Preset] +name = Static 144FPS (ideal for 144Hz displays) +$targetFPS:int = 144 + +[Preset] +name = Static 120FPS (ideal for 240/120/60Hz displays) +$targetFPS:int = 120 + +[Preset] +name = Static 100FPS (ideal for 200/100Hz displays) +$targetFPS:int = 100 + +[Preset] +name = Static 85FPS (ideal for 85Hz displays) +$targetFPS:int = 85 + +[Preset] +name = Static 75FPS (ideal for 75Hz displays) +$targetFPS:int = 75 + +[Preset] +name = Static 72FPS (ideal for 144Hz displays) +$targetFPS:int = 72 + +[Preset] +name = Static 50FPS (ideal for 200/100Hz displays) +$targetFPS:int = 50 + +[Preset] +name = Static 48FPS (ideal for 144Hz displays) +$targetFPS:int = 48 + +[Preset] +name = Static 40FPS (ideal for 240/120/60Hz displays) +$targetFPS:int = 40 + +[Preset] +name = Static 36FPS (ideal for 144Hz displays) +$targetFPS:int = 36 + +[Preset] +name = Static 25FPS (ideal for 75Hz displays) +$targetFPS:int = 25 + +[Preset] +name = Static 24FPS (ideal for 144Hz displays) +$targetFPS:int = 24 + +[Preset] +name = Static 20FPS (ideal for 240/120/60Hz displays) +$targetFPS:int = 20 + +[Preset] +name = Static 18FPS (ideal for 144Hz displays) +$targetFPS:int = 18 + +[Preset] +name = Static 17FPS (ideal for 85Hz displays) +$targetFPS:int = 17 + +[Preset] +name = Static 16FPS (ideal for 144Hz displays) +$targetFPS:int = 16 + +[Preset] +name = Static 15FPS (ideal for 240/120/60Hz displays) +$targetFPS:int = 15 + +[Preset] +name = Static 12FPS (ideal for 144Hz displays) +$targetFPS:int = 12 + +[Preset] +name = Static 10FPS (ideal for 240/120/60Hz displays) +$targetFPS:int = 10 + +[Control] +vsyncFrequency = $targetFPS diff --git a/Modifications/HyruleWarriors_60FPS/rules.txt b/Modifications/HyruleWarriors_60FPS/rules.txt index d1d3fd35..877fd4ea 100644 --- a/Modifications/HyruleWarriors_60FPS/rules.txt +++ b/Modifications/HyruleWarriors_60FPS/rules.txt @@ -1,4 +1,6 @@ [Definition] titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - 60FPS Fixes (requires stable 60FPS!)" -version = 2 +name = 60FPS Fix +path = "Hyrule Warriors/Modifications/60FPS Fix" +description = "Important: This patches the gameplay to be in 60fps. Getting under 60fps will slow down the game's speed." +version = 3 \ No newline at end of file diff --git a/Modifications/HyruleWarriors_CharacterSwap/patches.txt b/Modifications/HyruleWarriors_CharacterSwap/patches.txt new file mode 100644 index 00000000..c6e942fc --- /dev/null +++ b/Modifications/HyruleWarriors_CharacterSwap/patches.txt @@ -0,0 +1,5 @@ +[HWPlayAsCuccov208] +moduleMatches = 0xE159AE91 + +0x020EBF10 = li r11, $character; +0x020EBF10 = li r11, $character; diff --git a/Modifications/HyruleWarriors_CharacterSwap/rules.txt b/Modifications/HyruleWarriors_CharacterSwap/rules.txt new file mode 100644 index 00000000..e4d29043 --- /dev/null +++ b/Modifications/HyruleWarriors_CharacterSwap/rules.txt @@ -0,0 +1,45 @@ +[Definition] +titleIds = 000500001017D800,000500001017D900,000500001017CD00 +name = "Hyrule Warriors - Character Swap" +version = 3 + +[Preset] +name = Cucco +$character:int = 50 + +[Preset] +name = Ganon +$character:int = 51 + + +# Link = 0 +# Zelda = 1 +# Sheik = 2 +# Impa = 3 +# Ganondorf = 4 +# Darunia = 5 +# Ruto = 6 +# Agitha = 7 +# Midna = 8 +# Fi = 9 +# Ghirahim = 10 +# Zant = 11 +# Lana = 13 +# Cia = 44 +# Volga = 45 +# Wizzro = 46 +# Twilight Midna = 47 +# Young Link = 48 +# Tingle = 49 +# Linkle = 50 +# Skull Kid = 51 +# Toon Link = 52 +# Tetra = 53 +# King Daphnes 54 +# Medli = 55 +# Marin = 56 +# Toon Zelda = 57 +# Ravio = 58 +# Yuga = 59 + +https://github.com/Dekirai/HyruleWarriors-Trainer/blob/23a42b4ad580dfb847d6ef4ebcaa4c7a30df3eea/Hyrule%20Warriors/Form1.cs#L382 \ No newline at end of file diff --git a/Modifications/HyruleWarriors_PlayAsCucco/patches.txt b/Modifications/HyruleWarriors_PlayAsCucco/patches.txt deleted file mode 100644 index 1d353f70..00000000 --- a/Modifications/HyruleWarriors_PlayAsCucco/patches.txt +++ /dev/null @@ -1,4 +0,0 @@ -[HWPlayAsCuccov208] -moduleMatches = 0xE159AE91 - -0x020EBF10 = li r11, 51 ; diff --git a/Modifications/HyruleWarriors_PlayAsCucco/rules.txt b/Modifications/HyruleWarriors_PlayAsCucco/rules.txt deleted file mode 100644 index 03b7ac34..00000000 --- a/Modifications/HyruleWarriors_PlayAsCucco/rules.txt +++ /dev/null @@ -1,5 +0,0 @@ -#Huge thanks to Crementif for helping me! -[Definition] -titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - Play as Cucco" -version = 2 diff --git a/Modifications/HyruleWarriors_PlayAsGanon/patches.txt b/Modifications/HyruleWarriors_PlayAsGanon/patches.txt deleted file mode 100644 index fdf22c40..00000000 --- a/Modifications/HyruleWarriors_PlayAsGanon/patches.txt +++ /dev/null @@ -1,4 +0,0 @@ -[HWPlayAsGanonv208] -moduleMatches = 0xE159AE91 - -0x020EBF10 = li r11, 50 ; diff --git a/Modifications/HyruleWarriors_PlayAsGanon/rules.txt b/Modifications/HyruleWarriors_PlayAsGanon/rules.txt deleted file mode 100644 index 5af487d2..00000000 --- a/Modifications/HyruleWarriors_PlayAsGanon/rules.txt +++ /dev/null @@ -1,5 +0,0 @@ -#Huge thanks to Crementif for helping me! -[Definition] -titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - Play as Ganon" -version = 2 diff --git a/Modifications/MarioKart8_Speed/rules.txt b/Modifications/MarioKart8_Speed/rules.txt new file mode 100644 index 00000000..75997fe3 --- /dev/null +++ b/Modifications/MarioKart8_Speed/rules.txt @@ -0,0 +1,33 @@ +[Definition] +titleIds = 000500001010ec00,000500001010ed00,000500001010eb00 +name = Speed Adjustment +path = "Mario Kart 8/Modifications/Speed Adjustment" +description = Allows you to adjust the game speed. Please note that the ability to consistently reach the speed will depend on your specs. +version = 3 + +[Preset] +name = 100% Speed (Default) +$FPS = 60 + +[Preset] +name = 59FPS (Online Compatability) +$FPS = 59 + +[Preset] +name = 125% Speed +$FPS = 75 + +[Preset] +name = 150% Speed +$FPS = 90 + +[Preset] +name = 200% Speed +$FPS = 120 + +[Preset] +name = Unlimited Speed +$FPS = 65535 + +[Control] +vsyncFrequency = $FPS diff --git a/Modifications/PokkenTournament_AprilFools/3e385c973f99f97f_0000000000000000_vs.txt b/Modifications/PokkenTournament_AprilFools/3e385c973f99f97f_0000000000000000_vs.txt deleted file mode 100644 index c39815f6..00000000 --- a/Modifications/PokkenTournament_AprilFools/3e385c973f99f97f_0000000000000000_vs.txt +++ /dev/null @@ -1,31 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 3e385c973f99f97f -uniform ivec4 uf_remappedVS[4]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem6; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_000000000000000f_ps.txt b/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_000000000000000f_ps.txt deleted file mode 100644 index 0ce67fef..00000000 --- a/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_000000000000000f_ps.txt +++ /dev/null @@ -1,19 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 7caa82f23221199f -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_6000000000000003_ps.txt b/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_6000000000000003_ps.txt deleted file mode 100644 index a9897905..00000000 --- a/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_6000000000000003_ps.txt +++ /dev/null @@ -1,20 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 7caa82f23221199f -uniform float uf_alphaTestRef; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_a000000000000003_ps.txt b/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_a000000000000003_ps.txt deleted file mode 100644 index a9897905..00000000 --- a/Modifications/PokkenTournament_AprilFools/7caa82f23221199f_a000000000000003_ps.txt +++ /dev/null @@ -1,20 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 7caa82f23221199f -uniform float uf_alphaTestRef; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_0000000000040309_ps.txt b/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_0000000000040309_ps.txt deleted file mode 100644 index 08eef630..00000000 --- a/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_0000000000040309_ps.txt +++ /dev/null @@ -1,30 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 826f5c3cbb703c6e -uniform ivec4 uf_remappedPS[2]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x2fb8a000 res 256x128x1 dim 1 tm: 4 format 0033 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x2fb98000 res 256x128x1 dim 1 tm: 4 format 0033 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x30844000 res 128x128x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(location = 0) in vec4 passParameterSem130; -layout(location = 1) in vec4 passParameterSem131; -layout(location = 2) in vec4 passParameterSem132; -layout(location = 3) in vec4 passParameterSem133; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_0000000000040389_ps.txt b/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_0000000000040389_ps.txt deleted file mode 100644 index a06a9540..00000000 --- a/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_0000000000040389_ps.txt +++ /dev/null @@ -1,30 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 826f5c3cbb703c6e -uniform ivec4 uf_remappedPS[2]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1d6f8000 res 1024x1024x1 dim 1 tm: 4 format 0033 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x1d5f6000 res 1024x1024x1 dim 1 tm: 4 format 0033 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x2985f000 res 256x256x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(location = 0) in vec4 passParameterSem130; -layout(location = 1) in vec4 passParameterSem131; -layout(location = 2) in vec4 passParameterSem132; -layout(location = 3) in vec4 passParameterSem133; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_00000000001ffe49_ps.txt b/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_00000000001ffe49_ps.txt deleted file mode 100644 index e776feb8..00000000 --- a/Modifications/PokkenTournament_AprilFools/826f5c3cbb703c6e_00000000001ffe49_ps.txt +++ /dev/null @@ -1,29 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 826f5c3cbb703c6e -uniform ivec4 uf_remappedPS[2]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x30797000 res 1024x1024x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x2e9dc000 res 1024x1024x1 dim 1 tm: 4 format 0033 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x1d19f000 res 1024x1024x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem130; -layout(location = 1) in vec4 passParameterSem131; -layout(location = 2) in vec4 passParameterSem132; -layout(location = 3) in vec4 passParameterSem133; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/PokkenTournament_AprilFools/a76d3742c770ac3c_0000000000000000_vs.txt b/Modifications/PokkenTournament_AprilFools/a76d3742c770ac3c_0000000000000000_vs.txt deleted file mode 100644 index 100b2987..00000000 --- a/Modifications/PokkenTournament_AprilFools/a76d3742c770ac3c_0000000000000000_vs.txt +++ /dev/null @@ -1,35 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader a76d3742c770ac3c -uniform ivec4 uf_remappedVS[7]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem6; -layout(location = 5) in uvec4 attrDataSem7; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem130; -layout(location = 3) out vec4 passParameterSem133; -layout(location = 1) out vec4 passParameterSem131; -layout(location = 2) out vec4 passParameterSem132; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/PokkenTournament_AprilFools/rules.txt b/Modifications/PokkenTournament_AprilFools/rules.txt deleted file mode 100644 index 15f463b6..00000000 --- a/Modifications/PokkenTournament_AprilFools/rules.txt +++ /dev/null @@ -1,11 +0,0 @@ -[Definition] -titleIds = 00050000101DF400,00050002101DF401,00050000101DF500 -name = "Pokken Tournament - April Fools" -version = 2 - -#Characters-826f5c3cbb703c6e (VS: a76d3742c770ac3c) -#Shadows-7caa82f23221199f (VS: 3e385c973f99f97f) - -#What was done: -#-Removed shaders for arena and characters -#-Attempted to remove shadow shaders but that failed \ No newline at end of file diff --git a/Modifications/ProjectZero_NoFilmGrain/5e20002e68736ff6_0000000001e49249_ps.txt b/Modifications/ProjectZero_NoFilmGrain/5e20002e68736ff6_0000000001e49249_ps.txt deleted file mode 100644 index ee84d787..00000000 --- a/Modifications/ProjectZero_NoFilmGrain/5e20002e68736ff6_0000000001e49249_ps.txt +++ /dev/null @@ -1,296 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 5e20002e68736ff6 -// disable film grain effect -uniform ivec4 uf_remappedPS[10]; -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x31705000 res 1x1x1 dim 1 tm: 2 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0xf47be800 res 160x90x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0xf5798800 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 4) uniform sampler2D textureUnitPS4;// Tex4 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler4 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0xf5b1c800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 6) uniform sampler2D textureUnitPS6;// Tex6 addr 0xf4e13000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler6 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0xf5196800 res 320x180x1 dim 1 tm: 4 format 0806 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 0 0 2 border: 0 -layout(location = 0) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem128); -R3i.zw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R0i.xy)).zw); -R2i.xyz = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R0i.xy)).xyz); -R1i.xyz = floatBitsToInt(texture(textureUnitPS4, intBitsToFloat(R0i.xy)).xyz); -R5i.xyzw = floatBitsToInt(texture(textureUnitPS6, intBitsToFloat(R0i.xy)).xyzw); -R6i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R0i.xy)).xyz); -// 0 -R3i.x = 0x3f000000; -PV0i.y = uf_remappedPS[0].y; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = uf_remappedPS[0].x; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = ((intBitsToFloat(R3i.z) > 0.0)?int(0xFFFFFFFF):int(0x0)); -R0i.z = 0; -PS0i = R0i.z; -// 1 -R127i.x = ((PV0i.w == 0)?(R2i.x):(R1i.x)); -PV1i.x = R127i.x; -R3i.y = ((PV0i.w == 0)?(R2i.y):(R1i.y)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(PV0i.y)) + -(intBitsToFloat(uf_remappedPS[0].y)))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.z)) + -(intBitsToFloat(uf_remappedPS[0].x)))); -PV1i.w = R123i.w; -R4i.y = ((PV0i.w == 0)?(R2i.z):(R1i.z)); -PS1i = R4i.y; -// 2 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)) + vec3(intBitsToFloat(uf_remappedPS[1].x),intBitsToFloat(uf_remappedPS[1].y),0.5)); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + 0.5); -PS0i = floatBitsToInt(intBitsToFloat(R2i.x) + -(intBitsToFloat(PV1i.x))); -// 3 -backupReg0i = R2i.z; -backupReg1i = R2i.y; -R2i.x = floatBitsToInt(intBitsToFloat(R0i.x) + -(0.5)); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R3i.w)) + intBitsToFloat(R127i.x))); -R2i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R4i.y))); -R0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + -(intBitsToFloat(R3i.y))); -R4i.w = 0x3f800000; -PS1i = R4i.w; -R7i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R3i.xx)).xxx); -//R2i.w = floatBitsToInt(textureLod(textureUnitPS7, intBitsToFloat(R1i.xy),0.0).x); -//R1i.x = floatBitsToInt(textureLod(textureUnitPS7, intBitsToFloat(R1i.zw),0.0).x); -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.y))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R1i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + -(intBitsToFloat(R2i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(R3i.w)) + intBitsToFloat(R4i.y))); -PV0i.w = R127i.w; -R124i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + 1.0); -R124i.y = floatBitsToInt(intBitsToFloat(R124i.y) * 2.0); -PS0i = R124i.y; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.z) + -(intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(R5i.y) + -(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(0.5)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R5i.w)) + intBitsToFloat(R2i.y))); -PV1i.w = R123i.w; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedPS[0].w)) + intBitsToFloat(uf_remappedPS[0].z))); -PS1i = R125i.y; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R5i.w)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R5i.w)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedPS[4].z))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.z))); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(0xbb83126f))); -PV1i.y = R127i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R124i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].y)) + 1.0); -R124i.x = floatBitsToInt(intBitsToFloat(R124i.x) * 2.0); -PS1i = R124i.x; -// 4 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R7i.z)) + intBitsToFloat(0xbb83126f))); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(PV1i.x))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x40c66666) + intBitsToFloat(0x3fd9999a))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R7i.y)) + intBitsToFloat(0xbb83126f))); -PV0i.w = R126i.w; -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x40c66666) + 0.5)); -PS0i = R127i.w; -// 5 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(0x3d75c28f))); -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(0x40c66666) + intBitsToFloat(0x3fd9999a))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(0x40c66666) + 0.5)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c66666) + intBitsToFloat(0x3fd9999a))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c66666) + 0.5)); -PS1i = R122i.x; -// 6 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV1i.w)) + intBitsToFloat(0x3d75c28f))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(0x3d75c28f))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV1i.z))); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PS0i = R125i.x; -// 7 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[2].x)) * 2.0 + 1.0)); -R7i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[2].z)) * 2.0 + 1.0)); -R126i.z = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[2].y)) * 2.0 + 1.0)); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].z)) + 1.0); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 8 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -R127i.x = clampFI32(R127i.x); -R6i.y = uf_remappedPS[2].y; -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) * 2.0); -R125i.z = uf_remappedPS[2].x; -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R5i.w = uf_remappedPS[2].z; -R5i.w = floatBitsToInt(intBitsToFloat(R5i.w) * 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -// 9 -backupReg0i = R127i.y; -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) * 2.0 + -(1.0))); -R127i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].z) * 2.0 + -(1.0))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R127i.z = clampFI32(R127i.z); -R124i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].y) * 2.0 + -(1.0))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 10 -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS1i))); -R127i.w = clampFI32(R127i.w); -PS0i = floatBitsToInt(sqrt(intBitsToFloat(R126i.y))); -// 11 -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PS0i)),intBitsToFloat(uf_remappedPS[5].w)) + intBitsToFloat(uf_remappedPS[5].z))); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 12 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R7i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -PV0i.y = R126i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.w))); -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].z), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 14 -backupReg0i = R126i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedPS[4].w)) + intBitsToFloat(PV1i.w))); -R127i.x = clampFI32(R127i.x); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedPS[4].w)) + intBitsToFloat(PV1i.z))); -R126i.y = clampFI32(R126i.y); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedPS[4].w)) + intBitsToFloat(PV1i.y))); -R127i.z = clampFI32(R127i.z); -PV0i.z = R127i.z; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.x))); -PS0i = R6i.x; -// 15 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -PS0i = R125i.x; -// 17 -backupReg0i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -// 18 -backupReg0i = R126i.x; -backupReg1i = R124i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R125i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg1i))); -PS0i = floatBitsToInt(sqrt(intBitsToFloat(R5i.x))); -// 19 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R124i.x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R126i.w))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(sqrt(intBitsToFloat(R125i.w))); -// 20 -backupReg0i = R126i.x; -backupReg1i = R125i.z; -backupReg2i = R124i.y; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(R6i.y)) + intBitsToFloat(backupReg0i))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(R124i.w)) + intBitsToFloat(PV1i.x))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R5i.w)) + intBitsToFloat(PV1i.w))); -PS0i = floatBitsToInt(sqrt(intBitsToFloat(R127i.z))); -// 21 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(R126i.y))); -PV1i.x = R123i.x; -PV1i.y = ((intBitsToFloat(R127i.z) >= 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = ((intBitsToFloat(R125i.w) >= 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(R5i.x) >= 0.5)?int(0xFFFFFFFF):int(0x0)); -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(R7i.x)) + intBitsToFloat(R6i.x))); -PS1i = R6i.w; -// 22 -R123i.x = ((PV1i.w == 0)?(R125i.z):(R126i.z)); -PV0i.x = R123i.x; -R123i.z = ((PV1i.y == 0)?(R124i.w):(PV1i.x)); -PV0i.z = R123i.z; -R123i.w = ((PV1i.z == 0)?(R126i.x):(R124i.y)); -PV0i.w = R123i.w; -// 23 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 24 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(R5i.x))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(R125i.w))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(R127i.z))); -// export -passPixelColor0 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Modifications/ProjectZero_NoFilmGrain/rules.txt b/Modifications/ProjectZero_NoFilmGrain/rules.txt deleted file mode 100644 index 7498898c..00000000 --- a/Modifications/ProjectZero_NoFilmGrain/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101D0300,00050000101D0600,000500001014D200,00050000101D3F00 -name = "Project Zero Maiden of Black Water - No film grain" -version = 2 \ No newline at end of file diff --git a/Modifications/RiseOfLyric_60FPS/rules.txt b/Modifications/RiseOfLyric_60FPS/rules.txt deleted file mode 100644 index 7f036585..00000000 --- a/Modifications/RiseOfLyric_60FPS/rules.txt +++ /dev/null @@ -1,13 +0,0 @@ -[Definition] -titleIds = 0005000010175B00,0005000010177800,0005000010191F00 -name = "Sonic Boom: Rise of Lyric - 60FPS" -version = 2 - -#Windows 10 64-bit -#GeForce GTX 1060 6GB -#i5-7600k -#16GB RAM - -#I can get to 60fps on my PC using: -#Dual-core recompiler -#GPU buffer cache accuracy at low/2 \ No newline at end of file diff --git a/Modifications/RiseOfLyric_60FPS/patches.txt b/Modifications/RiseOfLyric_Uncapped/patches.txt similarity index 99% rename from Modifications/RiseOfLyric_60FPS/patches.txt rename to Modifications/RiseOfLyric_Uncapped/patches.txt index 8d9c325e..12d67d4c 100644 --- a/Modifications/RiseOfLyric_60FPS/patches.txt +++ b/Modifications/RiseOfLyric_Uncapped/patches.txt @@ -135,6 +135,5 @@ moduleMatches = 0x113CC316 [WiiULauncher0] moduleMatches = 0x90DAC5CE - 0x02E47174 = nop 0x02E471E0 = nop diff --git a/Modifications/RiseOfLyric_Uncapped/rules.txt b/Modifications/RiseOfLyric_Uncapped/rules.txt new file mode 100644 index 00000000..a6e4d6b9 --- /dev/null +++ b/Modifications/RiseOfLyric_Uncapped/rules.txt @@ -0,0 +1,15 @@ +[Definition] +titleIds = 0005000010175B00,0005000010177800,0005000010191F00 +name = "Uncapped Framerate" +path = "Sonic Boom: Rise of Lyric/Modifications/Uncapped Framerate" +description = "This patches out the framerate locker that the game has in place. For maximum performance, use dual-core recompiler and low GPU buffer cache. However, this can cause random flashing to appear." +version = 3 + +#Windows 10 64-bit +#GeForce GTX 1060 6GB +#i5-7600k +#16GB RAM + +#I can get to 60fps on my PC using: +#Dual-core recompiler +#GPU buffer cache accuracy at low/2 diff --git a/Modifications/Splatoon_AprilFools/5589940158f30db3_0000000000000079_ps.txt b/Modifications/Splatoon_AprilFools/5589940158f30db3_0000000000000079_ps.txt deleted file mode 100644 index 38a1a634..00000000 --- a/Modifications/Splatoon_AprilFools/5589940158f30db3_0000000000000079_ps.txt +++ /dev/null @@ -1,22 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 5589940158f30db3 -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x156f2000 res 256x256x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/62d887aeff99f5a3_0000000000000000_vs.txt b/Modifications/Splatoon_AprilFools/62d887aeff99f5a3_0000000000000000_vs.txt deleted file mode 100644 index 06c4021e..00000000 --- a/Modifications/Splatoon_AprilFools/62d887aeff99f5a3_0000000000000000_vs.txt +++ /dev/null @@ -1,51 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 62d887aeff99f5a3 -uniform ivec4 uf_remappedVS[78]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(binding = 42) uniform sampler2D textureUnitVS10;// Tex10 addr 0x1c997000 res 2048x2048x1 dim 1 tm: 4 format 081e compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler28 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 43) uniform sampler2DArrayShadow textureUnitVS11;// Tex11 addr 0xf494a800 res 1024x1024x2 dim 5 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x2) Sampler29 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 44) uniform sampler1DShadow textureUnitVS12;layout(binding = 45) uniform sampler2D textureUnitVS13;// Tex13 addr 0x39c73000 res 64x64x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 0 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler31 ClampX/Y/Z: 0 0 0 border: 1 -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -layout(location = 11) in uvec4 attrDataSem11; -layout(location = 12) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem4; -layout(location = 2) out vec4 passParameterSem5; -layout(location = 3) out vec4 passParameterSem6; -layout(location = 5) out vec4 passParameterSem8; -layout(location = 6) out vec4 passParameterSem9; -layout(location = 7) out vec4 passParameterSem11; -layout(location = 4) out vec4 passParameterSem7; -layout(location = 8) out vec4 passParameterSem12; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/68357a3eaf8b29a8_000000007bac9249_ps.txt b/Modifications/Splatoon_AprilFools/68357a3eaf8b29a8_000000007bac9249_ps.txt deleted file mode 100644 index 61ea6e26..00000000 --- a/Modifications/Splatoon_AprilFools/68357a3eaf8b29a8_000000007bac9249_ps.txt +++ /dev/null @@ -1,123 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 68357a3eaf8b29a8 -uniform ivec4 uf_remappedPS[18]; -layout(binding = 0) uniform samplerCubeArray textureUnitPS0;// Tex0 addr 0x17f2e800 res 4x4x1 dim 3 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x6) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2DArrayShadow textureUnitPS1;// Tex1 addr 0x17f2f800 res 4x4x1 dim 5 tm: 2 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 2) uniform samplerCubeArray textureUnitPS2;// Tex2 addr 0x1c778800 res 32x32x1 dim 3 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x2) sliceView: 0x0 (num 0x6) Sampler2 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x17f2b000 res 4x4x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 4) uniform sampler2D textureUnitPS4;// Tex4 addr 0x21e2e000 res 2048x1024x1 dim 1 tm: 4 format 0035 compSel: 0 1 4 4 mipView: 0x0 (num 0xc) sliceView: 0x0 (num 0x1) Sampler4 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x220da000 res 512x256x1 dim 1 tm: 4 format 0033 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 6) uniform sampler2D textureUnitPS6;// Tex6 addr 0x23f9c000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler6 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0x22e8e000 res 256x256x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x23fa0000 res 256x256x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 0 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 2) in vec4 passParameterSem2; -layout(location = 3) in vec4 passParameterSem3; -layout(location = 4) in vec4 passParameterSem4; -layout(location = 5) in vec4 passParameterSem7; -layout(location = 6) in vec4 passParameterSem5; -layout(location = 7) in vec4 passParameterSem6; -layout(location = 8) in vec4 passParameterSem8; -layout(location = 9) in vec4 passParameterSem9; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/69b5b934d877bac0_0000000000000000_vs.txt b/Modifications/Splatoon_AprilFools/69b5b934d877bac0_0000000000000000_vs.txt deleted file mode 100644 index 42a2bded..00000000 --- a/Modifications/Splatoon_AprilFools/69b5b934d877bac0_0000000000000000_vs.txt +++ /dev/null @@ -1,48 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 69b5b934d877bac0 -uniform ivec4 uf_remappedVS[75]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(binding = 42) uniform sampler2D textureUnitVS10;// Tex10 addr 0x1c997000 res 2048x2048x1 dim 1 tm: 4 format 081e compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler28 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 43) uniform sampler2DArrayShadow textureUnitVS11;// Tex11 addr 0xf494a800 res 1024x1024x2 dim 5 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x2) Sampler29 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 44) uniform sampler1DShadow textureUnitVS12;layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem4; -layout(location = 3) out vec4 passParameterSem5; -layout(location = 4) out vec4 passParameterSem6; -layout(location = 6) out vec4 passParameterSem8; -layout(location = 7) out vec4 passParameterSem9; -layout(location = 8) out vec4 passParameterSem11; -layout(location = 5) out vec4 passParameterSem7; -layout(location = 9) out vec4 passParameterSem12; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/71a7179980cfe114_000000000000007b_ps.txt b/Modifications/Splatoon_AprilFools/71a7179980cfe114_000000000000007b_ps.txt deleted file mode 100644 index 4a2d88d4..00000000 --- a/Modifications/Splatoon_AprilFools/71a7179980cfe114_000000000000007b_ps.txt +++ /dev/null @@ -1,108 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 71a7179980cfe114 -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform samplerCubeArray textureUnitPS0;// Tex0 addr 0xf4241000 res 256x256x1 dim 3 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x6) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 2) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/733ee69ec9dd5e30_0000000000001e69_ps.txt b/Modifications/Splatoon_AprilFools/733ee69ec9dd5e30_0000000000001e69_ps.txt deleted file mode 100644 index 2f5f73c7..00000000 --- a/Modifications/Splatoon_AprilFools/733ee69ec9dd5e30_0000000000001e69_ps.txt +++ /dev/null @@ -1,25 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 733ee69ec9dd5e30 - some kind of shading? -uniform ivec4 uf_remappedPS[21]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4240800 res 1280x720x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2DArrayShadow textureUnitPS1;// Tex1 addr 0xf494a800 res 1024x1024x2 dim 5 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x2) Sampler1 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x1cb17000 res 2048x2048x1 dim 1 tm: 4 format 081e compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) noperspective in vec4 passParameterSem0; -layout(location = 1) noperspective in vec4 passParameterSem4; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/89371aa2435ecc7c_0000000000000000_vs.txt b/Modifications/Splatoon_AprilFools/89371aa2435ecc7c_0000000000000000_vs.txt deleted file mode 100644 index 2f90425f..00000000 --- a/Modifications/Splatoon_AprilFools/89371aa2435ecc7c_0000000000000000_vs.txt +++ /dev/null @@ -1,31 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 89371aa2435ecc7c -uniform ivec4 uf_remappedVS[17]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/acdc2cc298f22eed_0000000000000000_vs.txt b/Modifications/Splatoon_AprilFools/acdc2cc298f22eed_0000000000000000_vs.txt deleted file mode 100644 index a8056965..00000000 --- a/Modifications/Splatoon_AprilFools/acdc2cc298f22eed_0000000000000000_vs.txt +++ /dev/null @@ -1,41 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader acdc2cc298f22eed -uniform ivec4 uf_remappedVS[37]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem9; -layout(location = 5) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 6) out vec4 passParameterSem5; -layout(location = 7) out vec4 passParameterSem6; -layout(location = 8) out vec4 passParameterSem8; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 5) out vec4 passParameterSem7; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 9) out vec4 passParameterSem9; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/b1951b6b76aa5c84_0000000000000000_vs.txt b/Modifications/Splatoon_AprilFools/b1951b6b76aa5c84_0000000000000000_vs.txt deleted file mode 100644 index 6e13bd6b..00000000 --- a/Modifications/Splatoon_AprilFools/b1951b6b76aa5c84_0000000000000000_vs.txt +++ /dev/null @@ -1,28 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader b1951b6b76aa5c84 - some kind of shading? -uniform ivec4 uf_remappedVS[3]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) noperspective out vec4 passParameterSem0; -layout(location = 1) noperspective out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/b997476498552b16_0000000000000079_ps.txt b/Modifications/Splatoon_AprilFools/b997476498552b16_0000000000000079_ps.txt deleted file mode 100644 index 6099df6e..00000000 --- a/Modifications/Splatoon_AprilFools/b997476498552b16_0000000000000079_ps.txt +++ /dev/null @@ -1,22 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader b997476498552b16 -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x156f2000 res 64x64x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/d61363e0854c74ad_00000000000003d9_ps.txt b/Modifications/Splatoon_AprilFools/d61363e0854c74ad_00000000000003d9_ps.txt deleted file mode 100644 index c1f68182..00000000 --- a/Modifications/Splatoon_AprilFools/d61363e0854c74ad_00000000000003d9_ps.txt +++ /dev/null @@ -1,109 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader d61363e0854c74ad -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform samplerCubeArray textureUnitPS0;// Tex0 addr 0x1c778800 res 32x32x1 dim 3 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x2) sliceView: 0x0 (num 0x6) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x221ea000 res 2048x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xc) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 2) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/d92fe9087a495dcb_0000000000000000_vs.txt b/Modifications/Splatoon_AprilFools/d92fe9087a495dcb_0000000000000000_vs.txt deleted file mode 100644 index 705a408c..00000000 --- a/Modifications/Splatoon_AprilFools/d92fe9087a495dcb_0000000000000000_vs.txt +++ /dev/null @@ -1,45 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader d92fe9087a495dcb -uniform ivec4 uf_remappedVS[86]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(binding = 42) uniform sampler2D textureUnitVS10;// Tex10 addr 0x1cb21000 res 2048x2048x1 dim 1 tm: 4 format 081e compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler28 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 43) uniform sampler2DArrayShadow textureUnitVS11;// Tex11 addr 0xf494a800 res 1024x1024x2 dim 5 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x2) Sampler29 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 44) uniform sampler1DShadow textureUnitVS12;layout(binding = 45) uniform sampler2D textureUnitVS13;// Tex13 addr 0x39084000 res 1024x1024x1 dim 1 tm: 4 format 0035 compSel: 0 0 0 1 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler31 ClampX/Y/Z: 0 0 0 border: 1 -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem3; -layout(location = 3) out vec4 passParameterSem4; -layout(location = 4) out vec4 passParameterSem5; -layout(location = 5) out vec4 passParameterSem8; -layout(location = 6) out vec4 passParameterSem11; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -} diff --git a/Modifications/Splatoon_AprilFools/rules.txt b/Modifications/Splatoon_AprilFools/rules.txt deleted file mode 100644 index 3b0a061c..00000000 --- a/Modifications/Splatoon_AprilFools/rules.txt +++ /dev/null @@ -1,17 +0,0 @@ -[Definition] -titleIds = 0005000010176900,0005000010176A00,0005000010162B00 -name = "Splatoon - April Fools" -version = 2 - -#some kind of shading? -#733ee69ec9dd5e30 - b1951b6b76aa5c84 -#glass -#acdc2cc298f22eed - 68357a3eaf8b29a8 -#bg -#d61363e0854c74ad - 89371aa2435ecc7c - -#What was done: -#-Removed shadows -#-Removed some shading -#-Removed some background objects -#-Removed some glass shaders \ No newline at end of file diff --git a/Modifications/Splatoon_UltrawideFixes219/rules.txt b/Modifications/Splatoon_UltrawideFixes219/rules.txt deleted file mode 100644 index b3ee94c6..00000000 --- a/Modifications/Splatoon_UltrawideFixes219/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010176900,0005000010176A00,0005000010162B00 -name = "Splatoon - 21:9 Ultrawide fixes" -version = 2 \ No newline at end of file diff --git a/Modifications/SuperSmashBros_NoBoxingRingScreen/rules.txt b/Modifications/SuperSmashBros_NoBoxingRingScreen/rules.txt deleted file mode 100644 index 7a9cf33a..00000000 --- a/Modifications/SuperSmashBros_NoBoxingRingScreen/rules.txt +++ /dev/null @@ -1,10 +0,0 @@ -[Definition] -titleIds = 0005000010110E00,0005000010145000,0005000010144F00 -name = "Super Smash Bros. for Wii U - No Boxing Ring Screen" -version = 2 - -[TextureRedefine] # boxing ring screen -width = 220 -height = 124 -overwriteWidth = 1 -overwriteHeight = 1 \ No newline at end of file diff --git a/Modifications/TokyoMirage_21_9_Gui/61b51be479ffa5dc_0000000000000000_vs.txt b/Modifications/TokyoMirage_21_9_Gui/61b51be479ffa5dc_0000000000000000_vs.txt deleted file mode 100644 index 80226523..00000000 --- a/Modifications/TokyoMirage_21_9_Gui/61b51be479ffa5dc_0000000000000000_vs.txt +++ /dev/null @@ -1,110 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 61b51be479ffa5dc -uniform ivec4 uf_remappedVS[4]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem3; -layout(location = 2) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem131; -layout(location = 1) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem8.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R1i.w))); -R127i.y = ((0.0 > intBitsToFloat(R2i.z))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + -(1.0)); -R127i.w = 0x3f800000; -PV0i.w = R127i.w; -// 1 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w)))); -PV1i.x = R0i.x; -PV1i.y = R0i.x; -PV1i.z = R0i.x; -PV1i.w = R0i.x; -R4i.w = ((PV0i.y == 0)?(R1i.w):(PV0i.x)); -PS1i = R4i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.y = tempi.x; -R5i.z = ((R127i.y == 0)?(R2i.z):(R127i.z)); -PS0i = R5i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = tempi.x; -R4i.x = ((R127i.y == 0)?(R1i.x):(R1i.x)); -PS1i = R4i.x; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.w = tempi.x; -R4i.y = ((R127i.y == 0)?(R1i.y):(R1i.y)); -PS0i = R4i.y; -// 5 -R5i.x = ((R127i.y == 0)?(R2i.x):(R2i.x)); -R5i.y = ((R127i.y == 0)?(R2i.y):(R2i.y)); -R4i.z = ((R127i.y == 0)?(R1i.z):(R1i.z)); -// export -gl_Position = vec4(intBitsToFloat(R0i.x)*0.75, intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem136 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -} diff --git a/Modifications/TokyoMirage_21_9_Gui/94986f08df872394_0000000000000000_vs.txt b/Modifications/TokyoMirage_21_9_Gui/94986f08df872394_0000000000000000_vs.txt deleted file mode 100644 index 74338470..00000000 --- a/Modifications/TokyoMirage_21_9_Gui/94986f08df872394_0000000000000000_vs.txt +++ /dev/null @@ -1,131 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 94986f08df872394 -uniform ivec4 uf_remappedVS[9]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem3; -layout(location = 2) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem131; -layout(location = 1) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder = attrDataSem3; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = dot(vec4(R2f.x,R2f.y,R2f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w))); -PV0f.x = R127f.x; -PV0f.y = R127f.x; -PV0f.z = R127f.x; -PV0f.w = R127f.x; -R0f.x = R3f.x; -PS0f = R0f.x; -// 1 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R127f.y = tempf.x; -R0f.y = R3f.y; -PS1f = R0f.y; -// 2 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R127f.z = tempf.x; -// 3 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R127f.w = tempf.x; -// 4 -R2f.x = dot(vec4(R127f.x,R127f.y,R127f.z,PV1f.x),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = R2f.x; -PV0f.y = R2f.x; -PV0f.z = R2f.x; -PV0f.w = R2f.x; -// 5 -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R2f.y = tempf.x; -// 6 -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R2f.z = tempf.x; -// 7 -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R2f.w = tempf.x; -// 8 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -backupReg2f = R1f.z; -backupReg3f = R1f.w; -R1f.x = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedVS[8].x)); -R1f.y = mul_nonIEEE(backupReg1f, intBitsToFloat(uf_remappedVS[8].y)); -R1f.z = mul_nonIEEE(backupReg2f, intBitsToFloat(uf_remappedVS[8].z)); -R1f.w = mul_nonIEEE(backupReg3f, intBitsToFloat(uf_remappedVS[8].w)); -// export -gl_Position = vec4(R2f.x*0.75, R2f.y, R2f.z, R2f.w); -// export -passParameterSem131 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem136 = vec4(R0f.x, R0f.y, R0f.z, R0f.z); -} diff --git a/Modifications/TokyoMirage_21_9_Gui/dda6656146476243_0000000000000000_vs.txt b/Modifications/TokyoMirage_21_9_Gui/dda6656146476243_0000000000000000_vs.txt deleted file mode 100644 index 2dd05f5b..00000000 --- a/Modifications/TokyoMirage_21_9_Gui/dda6656146476243_0000000000000000_vs.txt +++ /dev/null @@ -1,93 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader dda6656146476243 -uniform ivec4 uf_remappedVS[5]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem131; -layout(location = 1) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,R1f.w),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w))); -PV0f.x = R0f.x; -PV0f.y = R0f.x; -PV0f.z = R0f.x; -PV0f.w = R0f.x; -R3f.x = R2f.x; -PS0f = R3f.x; -// 1 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R1f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.y = tempf.x; -R3f.y = R2f.y; -PS1f = R3f.y; -// 2 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R1f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.z = tempf.x; -// 3 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R1f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.w = tempf.x; -// 4 -R1f.xyz = vec3(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z)); -R1f.w = intBitsToFloat(uf_remappedVS[4].w); -// export -gl_Position = vec4(R0f.x*0.75, R0f.y, R0f.z, R0f.w); -// export -passParameterSem131 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem136 = vec4(R3f.x, R3f.y, R3f.z, R3f.z); -} diff --git a/Modifications/TokyoMirage_21_9_Gui/rules.txt b/Modifications/TokyoMirage_21_9_Gui/rules.txt deleted file mode 100644 index e2754a6a..00000000 --- a/Modifications/TokyoMirage_21_9_Gui/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101ED700,00050000101ED800,0005000010131D00 -name = "Tokyo Mirage Sessions FE - 21:9 GUI" -version = 2 \ No newline at end of file diff --git a/Modifications/TokyoMirage_ScaleToonShader/7fc14eb425c76088_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/7fc14eb425c76088_0000000000000000_vs.txt deleted file mode 100644 index f9be679c..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/7fc14eb425c76088_0000000000000000_vs.txt +++ /dev/null @@ -1,262 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 7fc14eb425c76088 -uniform ivec4 uf_remappedVS[15]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem8; -layout(location = 5) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = R4f.x; -R126f.y = R4f.y; -R127f.z = R4f.z; -R0f.w = 1.0; -R127f.y = mul_nonIEEE(R2f.x, intBitsToFloat(uf_remappedVS[0].z)); -PS0f = R127f.y; -// 1 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = 0.0; -PS1f = R0f.z; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R2f.x = PV1f.x; -PS0f = R2f.x; -// 3 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R4f.y = PV0f.x; -PS1f = R4f.y; -// 4 -backupReg0f = R0f.w; -R4f.x = dot(vec4(R127f.x,R126f.y,R127f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = R4f.x; -PV0f.y = R4f.x; -PV0f.z = R4f.x; -PV0f.w = R4f.x; -R4f.z = PV1f.x; -PS0f = R4f.z; -// 5 -backupReg0f = R0f.w; -tempf.x = dot(vec4(R127f.x,R126f.y,R127f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.y = tempf.x; -R126f.x = R127f.y * intBitsToFloat(0x447a0000) * toonScale; -PS1f = R126f.x; -// 6 -backupReg0f = R0f.w; -tempf.x = dot(vec4(R127f.x,R126f.y,R127f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R5f.z = tempf.x; -R6f.z = intBitsToFloat(0x3b449ba6); -PS0f = R6f.z; -// 7 -tempf.x = dot(vec4(R127f.x,R126f.y,R127f.z,R0f.w),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R2f.w = tempf.x; -tempResultf = log2(R1f.x); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 8 -backupReg0f = R126f.x; -R126f.x = PS1f * intBitsToFloat(0x400ccccd); -R2f.z = intBitsToFloat(uf_remappedVS[0].w) + backupReg0f; -R3f.w = R1f.w; -tempResultf = log2(R1f.y); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0f = tempResultf; -// 9 -R127f.x = PS0f * intBitsToFloat(0x400ccccd); -tempResultf = log2(R1f.z); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 10 -R127f.z = PS1f * intBitsToFloat(0x400ccccd); -R3f.x = exp2(R126f.x); -PS0f = R3f.x; -// 11 -R3f.y = exp2(R127f.x); -PS1f = R3f.y; -// 12 -R3f.z = exp2(R127f.z); -PS0f = R3f.z; -// export -passParameterSem131 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// 0 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R4f.x,backupReg0f,R5f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R3f.w = tempf.x; -// 1 -backupReg0f = R0f.w; -R127f.x = dot(vec4(R2f.x,R4f.y,R4f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w))); -PV1f.x = R127f.x; -PV1f.y = R127f.x; -PV1f.z = R127f.x; -PV1f.w = R127f.x; -tempResultf = log2(PV0f.x); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 2 -backupReg0f = R0f.w; -tempf.x = dot(vec4(R2f.x,R4f.y,R4f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R126f.y = tempf.x; -R126f.x = PS1f * intBitsToFloat(0x3f400000); -PS0f = R126f.x; -// 3 -backupReg0f = R0f.z; -backupReg0f = R0f.z; -tempf.x = dot(vec4(R127f.x,PV0f.x,backupReg0f,-0.0),vec4(R127f.x,PV0f.x,backupReg0f,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -PS1f = 1.0 / intBitsToFloat(uf_remappedVS[11].x); -// 4 -R127f.z = mul_nonIEEE(R2f.z, PS1f); -tempResultf = 1.0 / sqrt(PV1f.x); -PS0f = tempResultf; -// 5 -backupReg0f = R127f.x; -R127f.x = mul_nonIEEE(R126f.y, PS0f); -PV1f.y = mul_nonIEEE(backupReg0f, PS0f); -PS1f = 1.0 / intBitsToFloat(uf_remappedVS[11].y); -// 6 -R126f.y = mul_nonIEEE(PV1f.y, R127f.z); -PV0f.w = mul_nonIEEE(R2f.z, PS1f); -PS0f = exp2(R126f.x); -// 7 -PV1f.z = max(PS0f, 2.0); -R127f.w = mul_nonIEEE(R127f.x, PV0f.w); -// 8 -R127f.y = min(PV1f.z, intBitsToFloat(0x41f00000)); -PV0f.y = R127f.y; -// 9 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R4f.x,backupReg0f,R5f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R127f.z = tempf.x; -R127f.x = mul_nonIEEE(R126f.y, PV0f.y); -PS1f = R127f.x; -// 10 -backupReg0f = R127f.w; -backupReg1f = R127f.y; -tempf.x = dot(vec4(R4f.x,R0f.y,R5f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R127f.y = tempf.x; -R127f.w = mul_nonIEEE(backupReg0f, backupReg1f); -PS0f = R127f.w; -// 11 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R4f.x,backupReg0f,R5f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[14].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.x = R127f.z + R127f.x; -PS1f = R3f.x; -// 12 -R3f.y = R127f.y + R127f.w; -R3f.z = PV1f.x + R6f.z; -// export -gl_Position = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/7fc256b425c76088_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/7fc256b425c76088_0000000000000000_vs.txt deleted file mode 100644 index 1e34bb86..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/7fc256b425c76088_0000000000000000_vs.txt +++ /dev/null @@ -1,262 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 7fc256b425c76088 -uniform ivec4 uf_remappedVS[15]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem8; -layout(location = 5) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = R4f.x; -R126f.y = R4f.y; -R127f.z = R4f.z; -R0f.w = 1.0; -R127f.y = mul_nonIEEE(R2f.x, intBitsToFloat(uf_remappedVS[0].z)); -PS0f = R127f.y; -// 1 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = 0.0; -PS1f = R0f.z; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R2f.x = PV1f.x; -PS0f = R2f.x; -// 3 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R4f.y = PV0f.x; -PS1f = R4f.y; -// 4 -backupReg0f = R0f.w; -R4f.x = dot(vec4(R127f.x,R126f.y,R127f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = R4f.x; -PV0f.y = R4f.x; -PV0f.z = R4f.x; -PV0f.w = R4f.x; -R4f.z = PV1f.x; -PS0f = R4f.z; -// 5 -backupReg0f = R0f.w; -tempf.x = dot(vec4(R127f.x,R126f.y,R127f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.y = tempf.x; -R126f.x = R127f.y * intBitsToFloat(0x447a0000) * toonScale; -PS1f = R126f.x; -// 6 -backupReg0f = R0f.w; -tempf.x = dot(vec4(R127f.x,R126f.y,R127f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R5f.z = tempf.x; -R6f.z = intBitsToFloat(0x3b449ba6); -PS0f = R6f.z; -// 7 -tempf.x = dot(vec4(R127f.x,R126f.y,R127f.z,R0f.w),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R2f.w = tempf.x; -tempResultf = log2(R1f.x); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 8 -backupReg0f = R126f.x; -R126f.x = PS1f * intBitsToFloat(0x400ccccd); -R2f.z = intBitsToFloat(uf_remappedVS[0].w) + backupReg0f; -R3f.w = R1f.w; -tempResultf = log2(R1f.y); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0f = tempResultf; -// 9 -R127f.x = PS0f * intBitsToFloat(0x400ccccd); -tempResultf = log2(R1f.z); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 10 -R127f.z = PS1f * intBitsToFloat(0x400ccccd); -R3f.x = exp2(R126f.x); -PS0f = R3f.x; -// 11 -R3f.y = exp2(R127f.x); -PS1f = R3f.y; -// 12 -R3f.z = exp2(R127f.z); -PS0f = R3f.z; -// export -passParameterSem131 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// 0 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R4f.x,backupReg0f,R5f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R3f.w = tempf.x; -// 1 -backupReg0f = R0f.w; -R127f.x = dot(vec4(R2f.x,R4f.y,R4f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w))); -PV1f.x = R127f.x; -PV1f.y = R127f.x; -PV1f.z = R127f.x; -PV1f.w = R127f.x; -tempResultf = log2(PV0f.x); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 2 -backupReg0f = R0f.w; -tempf.x = dot(vec4(R2f.x,R4f.y,R4f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R126f.y = tempf.x; -R126f.x = PS1f * intBitsToFloat(0x3f400000); -PS0f = R126f.x; -// 3 -backupReg0f = R0f.z; -backupReg0f = R0f.z; -tempf.x = dot(vec4(R127f.x,PV0f.x,backupReg0f,-0.0),vec4(R127f.x,PV0f.x,backupReg0f,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -PS1f = 1.0 / intBitsToFloat(uf_remappedVS[11].x); -// 4 -R127f.z = mul_nonIEEE(R2f.z, PS1f); -tempResultf = 1.0 / sqrt(PV1f.x); -PS0f = tempResultf; -// 5 -backupReg0f = R127f.x; -R127f.x = mul_nonIEEE(R126f.y, PS0f); -PV1f.y = mul_nonIEEE(backupReg0f, PS0f); -PS1f = 1.0 / intBitsToFloat(uf_remappedVS[11].y); -// 6 -R126f.y = mul_nonIEEE(PV1f.y, R127f.z); -PV0f.w = mul_nonIEEE(R2f.z, PS1f); -PS0f = exp2(R126f.x); -// 7 -PV1f.z = max(PS0f, 2.0); -R127f.w = mul_nonIEEE(R127f.x, PV0f.w); -// 8 -R127f.y = min(PV1f.z, intBitsToFloat(0x41f00000)); -PV0f.y = R127f.y; -// 9 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R4f.x,backupReg0f,R5f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R127f.z = tempf.x; -R127f.x = mul_nonIEEE(R126f.y, PV0f.y); -PS1f = R127f.x; -// 10 -backupReg0f = R127f.w; -backupReg1f = R127f.y; -tempf.x = dot(vec4(R4f.x,R0f.y,R5f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R127f.y = tempf.x; -R127f.w = mul_nonIEEE(backupReg0f, backupReg1f); -PS0f = R127f.w; -// 11 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R4f.x,backupReg0f,R5f.z,R2f.w),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[14].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.x = R127f.z + R127f.x; -PS1f = R3f.x; -// 12 -R3f.y = R127f.y + R127f.w; -R3f.z = PV1f.x + R6f.z; -// export -gl_Position = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8ed3fdc12b05f168_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8ed3fdc12b05f168_0000000000000000_vs.txt deleted file mode 100644 index 556b1c91..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8ed3fdc12b05f168_0000000000000000_vs.txt +++ /dev/null @@ -1,677 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8ed3fdc12b05f168 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8ed40dc12b05f168_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8ed40dc12b05f168_0000000000000000_vs.txt deleted file mode 100644 index ffae63a7..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8ed40dc12b05f168_0000000000000000_vs.txt +++ /dev/null @@ -1,677 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8ed40dc12b05f168 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8ed505c12b05f168_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8ed505c12b05f168_0000000000000000_vs.txt deleted file mode 100644 index c693d75c..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8ed505c12b05f168_0000000000000000_vs.txt +++ /dev/null @@ -1,677 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8ed505c12b05f168 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8f2424ec8315e884_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8f2424ec8315e884_0000000000000000_vs.txt deleted file mode 100644 index 92ce0950..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8f2424ec8315e884_0000000000000000_vs.txt +++ /dev/null @@ -1,673 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8f2424ec8315e884 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8f2434ec8315e884_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8f2434ec8315e884_0000000000000000_vs.txt deleted file mode 100644 index fd01b0fa..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8f2434ec8315e884_0000000000000000_vs.txt +++ /dev/null @@ -1,673 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8f2434ec8315e884 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8f252cec8315e884_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8f252cec8315e884_0000000000000000_vs.txt deleted file mode 100644 index 82fafa07..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8f252cec8315e884_0000000000000000_vs.txt +++ /dev/null @@ -1,673 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8f252cec8315e884 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8f6c001eaafbe968_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8f6c001eaafbe968_0000000000000000_vs.txt deleted file mode 100644 index 1b3e292a..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8f6c001eaafbe968_0000000000000000_vs.txt +++ /dev/null @@ -1,676 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8f6c001eaafbe968 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8f6c001eab4ee968_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8f6c001eab4ee968_0000000000000000_vs.txt deleted file mode 100644 index e35954a0..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8f6c001eab4ee968_0000000000000000_vs.txt +++ /dev/null @@ -1,678 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8f6c001eab4ee968 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = attrDataSem3.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8f6c00334afbe968_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8f6c00334afbe968_0000000000000000_vs.txt deleted file mode 100644 index cde97a0b..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8f6c00334afbe968_0000000000000000_vs.txt +++ /dev/null @@ -1,674 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8f6c00334afbe968 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8f6c101eaafbe968_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8f6c101eaafbe968_0000000000000000_vs.txt deleted file mode 100644 index 74a3817e..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8f6c101eaafbe968_0000000000000000_vs.txt +++ /dev/null @@ -1,676 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8f6c101eaafbe968 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/8f6d081eaafbe968_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/8f6d081eaafbe968_0000000000000000_vs.txt deleted file mode 100644 index ba466235..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/8f6d081eaafbe968_0000000000000000_vs.txt +++ /dev/null @@ -1,676 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 8f6d081eaafbe968 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9773fd0a6739e762_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9773fd0a6739e762_0000000000000000_vs.txt deleted file mode 100644 index bae6051f..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9773fd0a6739e762_0000000000000000_vs.txt +++ /dev/null @@ -1,674 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9773fd0a6739e762 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9773fd0aaf39e76a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9773fd0aaf39e76a_0000000000000000_vs.txt deleted file mode 100644 index 6d0b1029..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9773fd0aaf39e76a_0000000000000000_vs.txt +++ /dev/null @@ -1,674 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9773fd0aaf39e76a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9773fd0aaf8ce76a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9773fd0aaf8ce76a_0000000000000000_vs.txt deleted file mode 100644 index 17307138..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9773fd0aaf8ce76a_0000000000000000_vs.txt +++ /dev/null @@ -1,676 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9773fd0aaf8ce76a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = attrDataSem3.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/97740d0aaf39e76a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/97740d0aaf39e76a_0000000000000000_vs.txt deleted file mode 100644 index 9c608183..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/97740d0aaf39e76a_0000000000000000_vs.txt +++ /dev/null @@ -1,674 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 97740d0aaf39e76a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/97740d0aaf8ce76a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/97740d0aaf8ce76a_0000000000000000_vs.txt deleted file mode 100644 index 0d4c667d..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/97740d0aaf8ce76a_0000000000000000_vs.txt +++ /dev/null @@ -1,676 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 97740d0aaf8ce76a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = attrDataSem3.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9775050a6739e762_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9775050a6739e762_0000000000000000_vs.txt deleted file mode 100644 index dda8b12b..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9775050a6739e762_0000000000000000_vs.txt +++ /dev/null @@ -1,674 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9775050a6739e762 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9775050aaf39e76a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9775050aaf39e76a_0000000000000000_vs.txt deleted file mode 100644 index 4dadc6c2..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9775050aaf39e76a_0000000000000000_vs.txt +++ /dev/null @@ -1,674 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9775050aaf39e76a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/978fbd0a6739e762_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/978fbd0a6739e762_0000000000000000_vs.txt deleted file mode 100644 index aa2d0e95..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/978fbd0a6739e762_0000000000000000_vs.txt +++ /dev/null @@ -1,674 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 978fbd0a6739e762 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/978fbd0aaf39e76a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/978fbd0aaf39e76a_0000000000000000_vs.txt deleted file mode 100644 index 8f04da05..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/978fbd0aaf39e76a_0000000000000000_vs.txt +++ /dev/null @@ -1,674 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 978fbd0aaf39e76a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem4; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9b03fe2a1c028702_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9b03fe2a1c028702_0000000000000000_vs.txt deleted file mode 100644 index f4f34b15..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9b03fe2a1c028702_0000000000000000_vs.txt +++ /dev/null @@ -1,677 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9b03fe2a1c028702 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9b03fe2a1c558702_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9b03fe2a1c558702_0000000000000000_vs.txt deleted file mode 100644 index 2c18d671..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9b03fe2a1c558702_0000000000000000_vs.txt +++ /dev/null @@ -1,679 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9b03fe2a1c558702 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = attrDataSem3.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9b040e2a1c028702_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9b040e2a1c028702_0000000000000000_vs.txt deleted file mode 100644 index 651a5494..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9b040e2a1c028702_0000000000000000_vs.txt +++ /dev/null @@ -1,677 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9b040e2a1c028702 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9b05062a1c028702_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9b05062a1c028702_0000000000000000_vs.txt deleted file mode 100644 index 46ebdc15..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9b05062a1c028702_0000000000000000_vs.txt +++ /dev/null @@ -1,677 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9b05062a1c028702 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9b05062a1c558702_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9b05062a1c558702_0000000000000000_vs.txt deleted file mode 100644 index 7565e107..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9b05062a1c558702_0000000000000000_vs.txt +++ /dev/null @@ -1,679 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9b05062a1c558702 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = attrDataSem3.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/9b1fbe2a1c028702_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/9b1fbe2a1c028702_0000000000000000_vs.txt deleted file mode 100644 index c4307451..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/9b1fbe2a1c028702_0000000000000000_vs.txt +++ /dev/null @@ -1,677 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader 9b1fbe2a1c028702 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/ToonScale.png b/Modifications/TokyoMirage_ScaleToonShader/ToonScale.png deleted file mode 100644 index 3f8b6cec..00000000 Binary files a/Modifications/TokyoMirage_ScaleToonShader/ToonScale.png and /dev/null differ diff --git a/Modifications/TokyoMirage_ScaleToonShader/bb03fbca128c872a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/bb03fbca128c872a_0000000000000000_vs.txt deleted file mode 100644 index 896be382..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/bb03fbca128c872a_0000000000000000_vs.txt +++ /dev/null @@ -1,678 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader bb03fbca128c872a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/bb040bca128c872a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/bb040bca128c872a_0000000000000000_vs.txt deleted file mode 100644 index 1698c513..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/bb040bca128c872a_0000000000000000_vs.txt +++ /dev/null @@ -1,678 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader bb040bca128c872a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/bb0503ca128c872a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/bb0503ca128c872a_0000000000000000_vs.txt deleted file mode 100644 index c50e8c4f..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/bb0503ca128c872a_0000000000000000_vs.txt +++ /dev/null @@ -1,678 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader bb0503ca128c872a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/bb1fbbca128c872a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/bb1fbbca128c872a_0000000000000000_vs.txt deleted file mode 100644 index 72f8421f..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/bb1fbbca128c872a_0000000000000000_vs.txt +++ /dev/null @@ -1,678 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader bb1fbbca128c872a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem7; -layout(location = 6) in uvec4 attrDataSem8; -layout(location = 7) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = floatBitsToUint(float(attrDataSem4.x)/255.0); -attrDecoder.yzw = uvec3(0); -R4i = ivec4(int(attrDecoder.x), floatBitsToInt(0.0), floatBitsToInt(0.0), floatBitsToInt(1.0)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R4i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R12i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R10i.x = 0; -PS0i = R10i.x; -// 1 -R12i.x = 0; -R10i.yzw = ivec3(0,0,0); -R12i.y = 0; -PS1i = R12i.y; -// 2 -R13i.x = 0; -R12i.z = 0; -R12i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R13i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R13i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R13i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R13i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R13i.x; -PV0i.w = R0i.w; -R127i.y = ((R13i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R13i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R13i.x = backupReg0i + int(1); -PS0i = R13i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R7i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R7i.xyzw = floatBitsToInt(uf_blockVS6[R7i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R9i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R10i.z; -R10i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R10i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R10i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R10i.z; -// 4 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R10i.w; -backupReg4i = R12i.w; -R12i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R12i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R12i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R12i.w)) + uf_blockVS5[0].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[0].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R12i.w)) + uf_blockVS5[1].w)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[1].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[2].z)); -PS1i = R125i.w; -// 2 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R12i.w)) + uf_blockVS5[2].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[2].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), uf_blockVS5[3].z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), uf_blockVS5[3].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), uf_blockVS5[3].z)); -PS0i = R124i.y; -// 3 -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R12i.w)) + uf_blockVS5[3].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockVS3[14].z)); -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS1i = R0i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -backupReg4i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R126i.z; -// 5 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R125i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg4i))); -PS1i = R125i.w; -// 6 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R124i.z; -backupReg3i = R124i.w; -backupReg4i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg2i))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.y)) + intBitsToFloat(backupReg3i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.z)) + intBitsToFloat(backupReg4i))); -PS0i = R124i.y; -// 7 -backupReg0i = R124i.x; -backupReg1i = R0i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R10i.w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x447a0000) * toonScale); -R0i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(0x400ccccd)); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -PS1i = R8i.x; -// 8 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.w))); -PS0i = R8i.y; -// 9 -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R125i.z))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.w))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.y))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.x))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.y))); -PS1i = R10i.z; -// 10 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.x))); -R8i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.x))); -PS0i = R8i.w; -// 11 -R11i.z = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R124i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(R0i.w))); -PS1i = R12i.x; -// 14 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R124i.z))); -PS0i = R12i.y; -// 15 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.w))); -PS1i = R12i.z; -// 16 -predResult = (R4i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R4i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R6i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R7i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(1.0 / uf_blockVS1[0].y); -PS0i = R126i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R10i.z),intBitsToFloat(R5i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R7i.z),intBitsToFloat(R8i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.x))); -PS0i = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0x3b449ba6; -PS1i = R6i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R127i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R127i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R127i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/d197a7aa2d4a9878_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/d197a7aa2d4a9878_0000000000000000_vs.txt deleted file mode 100644 index 0f0e6ad8..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/d197a7aa2d4a9878_0000000000000000_vs.txt +++ /dev/null @@ -1,250 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader d197a7aa2d4a9878 -uniform ivec4 uf_remappedVS[15]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xy = floatBitsToUint(vec2(float(attrDecoder.x), float(attrDecoder.y))/65535.0); -attrDecoder.zw = uvec2(0); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.xyz = vec3(R3f.x,R3f.y,R3f.z); -R127f.w = 1.0; -R124f.z = 0.0; -PS0f = R124f.z; -// 1 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.z = intBitsToFloat(0x3b449ba6); -PS1f = R3f.z; -// 2 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R126f.x = PV1f.x; -PS0f = R126f.x; -// 3 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R126f.y = PV0f.x; -PS1f = R126f.y; -// 4 -R124f.x = dot(vec4(R127f.x,R127f.y,R127f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = R124f.x; -PV0f.y = R124f.x; -PV0f.z = R124f.x; -PV0f.w = R124f.x; -R125f.z = PV1f.x; -PS0f = R125f.z; -// 5 -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R125f.y = tempf.x; -tempResultf = log2(R1f.x); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126f.z = tempResultf; -PS1f = R126f.z; -// 6 -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R2f.z = tempf.x; -tempResultf = log2(R1f.y); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R125f.x = tempResultf; -PS0f = R125f.x; -// 7 -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R126f.w = tempf.x; -tempResultf = log2(R1f.z); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127f.z = tempResultf; -PS1f = R127f.z; -// 8 -tempf.x = dot(vec4(R124f.x,R125f.y,R2f.z,PV1f.x),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R4f.w = tempf.x; -R127f.y = R126f.z * intBitsToFloat(0x400ccccd); -PS0f = R127f.y; -// 9 -R127f.x = dot(vec4(R126f.x,R126f.y,R125f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w))); -PV1f.x = R127f.x; -PV1f.y = R127f.x; -PV1f.z = R127f.x; -PV1f.w = R127f.x; -tempResultf = log2(PV0f.x); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 10 -backupReg0f = R126f.y; -tempf.x = dot(vec4(R126f.x,backupReg0f,R125f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R126f.y = tempf.x; -R126f.x = PS1f * intBitsToFloat(0x3f400000); -PS0f = R126f.x; -// 11 -tempf.x = dot(vec4(R127f.x,PV0f.x,R124f.z,-0.0),vec4(R127f.x,PV0f.x,R124f.z,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.w = 1.0 / intBitsToFloat(uf_remappedVS[10].x); -PS1f = R0f.w; -// 12 -tempf.x = dot(vec4(R124f.x,R125f.y,R2f.z,R126f.w),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.z = tempf.x; -tempResultf = 1.0 / sqrt(PV1f.x); -PS0f = tempResultf; -// 13 -backupReg0f = R127f.z; -R3f.x = mul_nonIEEE(R126f.y, PS0f); -R2f.y = mul_nonIEEE(R127f.x, PS0f); -R127f.z = backupReg0f * intBitsToFloat(0x400ccccd); -R127f.w = R125f.x * intBitsToFloat(0x400ccccd); -R2f.x = 1.0 / intBitsToFloat(uf_remappedVS[10].y); -PS1f = R2f.x; -// 14 -tempf.x = dot(vec4(R124f.x,R125f.y,R2f.z,R126f.w),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -PS0f = exp2(R126f.x); -// 15 -backupReg0f = R1f.w; -PV1f.z = max(PS0f, 2.0); -R1f.w = backupReg0f; -R1f.x = exp2(R127f.y); -PS1f = R1f.x; -// 16 -R3f.y = min(PV1f.z, intBitsToFloat(0x41f00000)); -R1f.y = exp2(R127f.w); -PS0f = R1f.y; -// 17 -tempf.x = dot(vec4(R124f.x,R125f.y,R2f.z,R126f.w),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R1f.z = exp2(R127f.z); -PS1f = R1f.z; -// 18 -R4f.z = PV1f.x + R3f.z; -// export -passParameterSem131 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// 0 -PV0f.x = intBitsToFloat(uf_remappedVS[14].z) * intBitsToFloat(0x447a0000) * toonScale; -// 1 -PV1f.z = intBitsToFloat(uf_remappedVS[14].w) + PV0f.x; -// 2 -PV0f.z = mul_nonIEEE(PV1f.z, R0f.w); -PV0f.w = mul_nonIEEE(PV1f.z, R2f.x); -// 3 -PV1f.y = mul_nonIEEE(R2f.y, PV0f.z); -PV1f.w = mul_nonIEEE(R3f.x, PV0f.w); -// 4 -PV0f.x = mul_nonIEEE(PV1f.y, R3f.y); -PV0f.w = mul_nonIEEE(PV1f.w, R3f.y); -// 5 -R4f.x = R0f.z + PV0f.x; -R4f.y = R0f.y + PV0f.w; -// export -gl_Position = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/d486965b736e9bf0_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/d486965b736e9bf0_0000000000000000_vs.txt deleted file mode 100644 index 2db4d27f..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/d486965b736e9bf0_0000000000000000_vs.txt +++ /dev/null @@ -1,673 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader d486965b736e9bf0 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/d48ad65b736e9bf0_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/d48ad65b736e9bf0_0000000000000000_vs.txt deleted file mode 100644 index 2fda6840..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/d48ad65b736e9bf0_0000000000000000_vs.txt +++ /dev/null @@ -1,673 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader d48ad65b736e9bf0 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/d4d6ab86cb7c930c_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/d4d6ab86cb7c930c_0000000000000000_vs.txt deleted file mode 100644 index 335e45e7..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/d4d6ab86cb7c930c_0000000000000000_vs.txt +++ /dev/null @@ -1,669 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader d4d6ab86cb7c930c -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem7; -layout(location = 4) in uvec4 attrDataSem8; -layout(location = 5) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/d4dafd86cb7e930c_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/d4dafd86cb7e930c_0000000000000000_vs.txt deleted file mode 100644 index 57877f20..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/d4dafd86cb7e930c_0000000000000000_vs.txt +++ /dev/null @@ -1,669 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader d4dafd86cb7e930c -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem7; -layout(location = 4) in uvec4 attrDataSem8; -layout(location = 5) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/d5089c79cdfe10e4_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/d5089c79cdfe10e4_0000000000000000_vs.txt deleted file mode 100644 index 9f8cde90..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/d5089c79cdfe10e4_0000000000000000_vs.txt +++ /dev/null @@ -1,672 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader d5089c79cdfe10e4 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.xy,0,0); -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), 0, 1); -attrDecoder.xy = floatBitsToUint(vec2(attrDataSem1.xy)/255.0); -attrDecoder.zw = uvec2(0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/d522d8b8f36493f0_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/d522d8b8f36493f0_0000000000000000_vs.txt deleted file mode 100644 index 0ff57fc7..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/d522d8b8f36493f0_0000000000000000_vs.txt +++ /dev/null @@ -1,672 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader d522d8b8f36493f0 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -layout(location = 6) in uvec4 attrDataSem14; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/d59ffc774bfe110a_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/d59ffc774bfe110a_0000000000000000_vs.txt deleted file mode 100644 index cb806614..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/d59ffc774bfe110a_0000000000000000_vs.txt +++ /dev/null @@ -1,671 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader d59ffc774bfe110a -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem7; -layout(location = 5) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = attrDataSem7.xyzw; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem1.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/da53727d4bc510f8_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/da53727d4bc510f8_0000000000000000_vs.txt deleted file mode 100644 index a3d4e72c..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/da53727d4bc510f8_0000000000000000_vs.txt +++ /dev/null @@ -1,668 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader da53727d4bc510f8 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem7; -layout(location = 4) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/decf327dcbc510f8_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/decf327dcbc510f8_0000000000000000_vs.txt deleted file mode 100644 index c4da2638..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/decf327dcbc510f8_0000000000000000_vs.txt +++ /dev/null @@ -1,668 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader decf327dcbc510f8 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem7; -layout(location = 4) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/ded3727dcbc510f8_0000000000000000_vs.txt b/Modifications/TokyoMirage_ScaleToonShader/ded3727dcbc510f8_0000000000000000_vs.txt deleted file mode 100644 index ae9a1152..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/ded3727dcbc510f8_0000000000000000_vs.txt +++ /dev/null @@ -1,668 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -const float toonScale = 0.75; -// shader ded3727dcbc510f8 -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 3, std140) uniform uniformBlockVS3 -{ -vec4 uf_blockVS3[1024]; -}; - -layout(binding = 5, std140) uniform uniformBlockVS5 -{ -vec4 uf_blockVS5[1024]; -}; - -layout(binding = 6, std140) uniform uniformBlockVS6 -{ -vec4 uf_blockVS6[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem2; -layout(location = 2) in uvec4 attrDataSem3; -layout(location = 3) in uvec4 attrDataSem7; -layout(location = 4) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem131; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = uvec4(attrDataSem7.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -attrDecoder.x = attrDataSem2.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.w = (floatBitsToInt(uf_blockVS5[22].x) == int(1))?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS6[R0i.x].xyzw); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.xyz = ivec3(0,0,0); -R11i.w = 0; -R9i.x = 0; -PS0i = R9i.x; -// 1 -R10i.x = 0; -R9i.yzw = ivec3(0,0,0); -R10i.y = 0; -PS1i = R10i.y; -// 2 -R12i.x = 0; -R10i.z = 0; -R10i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R12i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R12i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R12i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R12i.x; -PV0i.z = R0i.z; -R4i.w = 0xfffffffd + R12i.x; -PV0i.w = R4i.w; -R127i.y = ((R12i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.w = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.w; -// 2 -backupReg0i = R12i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R4i.w == 0)?(R2i.w):(0)); -R12i.x = backupReg0i + int(1); -PS0i = R12i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV0i.x)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.y = PS1i + 0x00000002; -R6i.z = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(uf_blockVS6[R0i.z].xyzw); -R6i.xyzw = floatBitsToInt(uf_blockVS6[R6i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS6[R0i.y].xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R7i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.x))); -PS0i = R126i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.y))); -PS1i = R125i.w; -// 2 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R127i.y; -R11i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R8i.z))); -R11i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i)); -PS0i = R11i.y; -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R11i.z; -backupReg3i = R11i.w; -backupReg4i = R9i.z; -R9i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.y)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R126i.x)); -R11i.z = floatBitsToInt(intBitsToFloat(backupReg2i) + intBitsToFloat(R127i.x)); -R11i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R127i.w)); -R9i.z = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R126i.w)); -PS1i = R9i.z; -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.w; -backupReg4i = R10i.w; -R10i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + vec3(intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),intBitsToFloat(R127i.z))); -R9i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + intBitsToFloat(R126i.z)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg4i) + intBitsToFloat(R127i.y)); -PS0i = R10i.w; -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[0].z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[0].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[0].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].z,intBitsToFloat(R10i.w)) + uf_blockVS5[0].w)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[1].z)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[1].z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[1].z)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[2].z)); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].z,intBitsToFloat(R10i.w)) + uf_blockVS5[1].w)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[2].z)); -PS1i = R125i.y; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[2].z)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), uf_blockVS5[3].z)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), uf_blockVS5[3].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].z,intBitsToFloat(R10i.w)) + uf_blockVS5[2].w)); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), uf_blockVS5[3].z)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -backupReg3i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].z,intBitsToFloat(R10i.w)) + uf_blockVS5[3].w)); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.w; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -backupReg4i = R125i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg2i))); -R126i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg3i))); -R125i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.x)) + intBitsToFloat(backupReg4i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -backupReg3i = R124i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.x)) + intBitsToFloat(R124i.z))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg2i))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg3i))); -PS1i = R124i.y; -// 6 -backupReg0i = R124i.x; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.z)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt(uf_blockVS3[14].z * intBitsToFloat(0x447a0000) * toonScale); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].y,intBitsToFloat(R9i.w)) + intBitsToFloat(backupReg1i))); -R8i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R8i.x; -// 7 -R9i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R127i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R127i.y))); -R8i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R127i.x))); -R5i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[0].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R124i.w))); -R10i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.x)) + intBitsToFloat(R126i.z))); -PS1i = R10i.x; -// 8 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R126i.y))); -R9i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R126i.x))); -R6i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[1].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R126i.w))); -R9i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R125i.y))); -PS0i = R9i.y; -// 9 -R10i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.y)) + intBitsToFloat(R124i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R125i.x))); -R7i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[2].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R125i.w))); -R10i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.z)) + intBitsToFloat(R124i.x))); -PS1i = R10i.z; -// 10 -R4i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS5[3].x,intBitsToFloat(R11i.w)) + intBitsToFloat(R127i.w))); -R8i.w = floatBitsToInt(uf_blockVS3[14].w + intBitsToFloat(R0i.y)); -PS0i = R8i.w; -// 11 -tempResultf = log2(intBitsToFloat(R3i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x400ccccd)); -tempResultf = log2(intBitsToFloat(R3i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R124i.y; -R124i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x400ccccd)); -R12i.x = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -PS0i = R12i.x; -// 15 -R12i.y = floatBitsToInt(exp2(intBitsToFloat(R125i.x))); -PS1i = R12i.y; -// 16 -R12i.w = R3i.w; -R12i.z = floatBitsToInt(exp2(intBitsToFloat(R124i.y))); -PS0i = R12i.z; -// 17 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = R1i.x * 0x00000003; -PS0i = R1i.w; -// 1 -R1i.x = PS0i + int(1); -R0i.w = PS0i + 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(uf_blockVS6[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockVS6[R1i.x].xyz); -R2i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R14i.x = 0; -R13i.yzx = ivec3(0,0,0); -PS0i = R13i.x; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -predResult = (floatBitsToInt(uf_blockVS5[22].x) > R14i.x); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = ((R14i.x == 0)?(R1i.x):(0)); -R0i.y = int(-1) + R14i.x; -PV0i.y = R0i.y; -R0i.z = 0xfffffffe + R14i.x; -PV0i.z = R0i.z; -R0i.w = 0xfffffffd + R14i.x; -PV0i.w = R0i.w; -R127i.y = ((R14i.x == 0)?(R2i.x):(0)); -PS0i = R127i.y; -// 1 -R123i.x = ((PV0i.y == 0)?(R1i.y):(0)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.y == 0)?(R2i.y):(0)); -PV1i.y = R123i.y; -R127i.z = ((PV0i.w == 0)?(R1i.w):(0)); -R127i.w = ((PV0i.z == 0)?(R1i.z):(0)); -R126i.x = ((PV0i.z == 0)?(R2i.z):(0)); -PS1i = R126i.x; -// 2 -backupReg0i = R14i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R127i.x + PV1i.x; -R126i.z = ((R0i.w == 0)?(R2i.w):(0)); -R14i.x = backupReg0i + int(1); -PS0i = R14i.x; -// 3 -PV1i.x = R127i.w + PV0i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV0i.x)); -// 4 -R7i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.w = R127i.z + PV1i.x; -// 5 -R0i.z = PV0i.w * 0x00000003; -PS1i = R0i.z; -// 6 -R0i.x = PS1i + 0x00000002; -R0i.w = PS1i + int(1); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(uf_blockVS6[R0i.z].xyz); -R6i.xyz = floatBitsToInt(uf_blockVS6[R0i.w].xyz); -R0i.xyz = floatBitsToInt(uf_blockVS6[R0i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R7i.x))); -// 3 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.z)); -R13i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R7i.x))); -// 4 -backupReg0i = R13i.z; -R13i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R126i.w = 0x3f800000; -PV0i.w = R126i.w; -R126i.z = 0; -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),intBitsToFloat(R5i.w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.w = floatBitsToInt(1.0 / uf_blockVS1[0].x); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R8i.y),intBitsToFloat(R9i.z),intBitsToFloat(R6i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = floatBitsToInt(1.0 / uf_blockVS1[0].y); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS0i))); -PS1i = R125i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R5i.z = 0x3b449ba6; -PS0i = R5i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[8].x,uf_blockVS5[8].y,uf_blockVS5[8].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R127i.w))); -PS1i = R125i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[9].x,uf_blockVS5[9].y,uf_blockVS5[9].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = PV1i.x; -PS0i = R127i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(uf_blockVS5[10].x,uf_blockVS5[10].y,uf_blockVS5[10].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = PV0i.x; -PS1i = R127i.y; -// 8 -R127i.z = PV1i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[25].x,uf_blockVS1[25].y,uf_blockVS1[25].z,uf_blockVS1[25].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.w = tempi.x; -// 10 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[11].x,uf_blockVS1[11].y,uf_blockVS1[11].z,uf_blockVS1[11].w))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),intBitsToFloat(R126i.w)),vec4(uf_blockVS1[12].x,uf_blockVS1[12].y,uf_blockVS1[12].z,uf_blockVS1[12].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3f400000)); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PS1i))); -// 13 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 2.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x41f00000))); -// 15 -backupReg0i = R125i.w; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[22].x,uf_blockVS1[22].y,uf_blockVS1[22].z,uf_blockVS1[22].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[23].x,uf_blockVS1[23].y,uf_blockVS1[23].z,uf_blockVS1[23].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.z))); -PS1i = R125i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),intBitsToFloat(R124i.w)),vec4(uf_blockVS1[24].x,uf_blockVS1[24].y,uf_blockVS1[24].z,uf_blockVS1[24].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R126i.x)); -PS0i = R0i.x; -// 19 -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.w)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R5i.z)); -} -// export -gl_Position = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem131 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -} diff --git a/Modifications/TokyoMirage_ScaleToonShader/rules.txt b/Modifications/TokyoMirage_ScaleToonShader/rules.txt deleted file mode 100644 index 6fabba44..00000000 --- a/Modifications/TokyoMirage_ScaleToonShader/rules.txt +++ /dev/null @@ -1,6 +0,0 @@ -[Definition] -titleIds = 00050000101ED700,00050000101ED800,0005000010131D00 -name = "Tokyo Mirage Sessions FE - Scale toon shader" -version = 2 - -# defaults to 0.75, search replace "const float toonScale = 0.75;" in shaders for preference diff --git a/Modifications/XenobladeX_21_9_gui/patches.txt b/Modifications/XenobladeX_21_9_gui/patches.txt deleted file mode 100644 index 8d72926a..00000000 --- a/Modifications/XenobladeX_21_9_gui/patches.txt +++ /dev/null @@ -1,27 +0,0 @@ -[XCX219GUIV102J] -moduleMatches = 0x7672271D -0x10185C7C = .float 0.75345999 -_34th = 0x1018607C - -0x02D3BC74 = lis r7, _34th@h # Aspect -0x02D3BC80 = lfs f29, _34th@l(r7) # Aspect - - -[XCX219GUIV100E_V101E] -moduleMatches = 0x218F6E07, 0xF882D5CF -0x1018607C = .float 0.75345999 -_34th = 0x1018607C - -0x02D407AC = lis r7, _34th@h # Aspect -0x02D407B8 = lfs f29, _34th@l(r7) # Aspect - - -[XCX219GUIV102U] -moduleMatches = 0x30B6E091 -0x1018607C = .float 0.75345999 -_34th = 0x1018607C - -#0x02D3EB74 = lis r12, _34th@h # Transparency -#0x02D3EB7C = lfs f0, _34th@l(r12) # Transparency -0x02D4074C = lis r7, _34th@h # Aspect -0x02D40758 = lfs f29, _34th@l(r7) # Aspect \ No newline at end of file diff --git a/Modifications/XenobladeX_21_9_gui/rules.txt b/Modifications/XenobladeX_21_9_gui/rules.txt deleted file mode 100644 index 4a4c9df0..00000000 --- a/Modifications/XenobladeX_21_9_gui/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Xenoblade Chronicles X 21:9 GUI patch" -version = 2 \ No newline at end of file diff --git a/Source/AdventureTimeEtDBIDK/rules.txt b/Source/AdventureTimeEtDBIDK/rules.txt deleted file mode 100644 index dae0b731..00000000 --- a/Source/AdventureTimeEtDBIDK/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 0005000010144000,000500001014E100 -name = "Adventure Time Explore the Dungeon Because I DON'T KNOW - " -version = 2 - -[TextureRedefine] # tv -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = diff --git a/Source/AdventureTimeFJI/rules.txt b/Source/AdventureTimeFJI/rules.txt deleted file mode 100644 index c953a171..00000000 --- a/Source/AdventureTimeFJI/rules.txt +++ /dev/null @@ -1,30 +0,0 @@ - -[Definition] -titleIds = 00050000101AC700,00050000101AFE00 -name = "Adventure Time Finn And Jake Investigations - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/AmiiboFestival/rules.txt b/Source/AmiiboFestival/rules.txt deleted file mode 100644 index 4d6e06be..00000000 --- a/Source/AmiiboFestival/rules.txt +++ /dev/null @@ -1,83 +0,0 @@ - -[Definition] -titleIds = 00050000101C6400,00050000101C6500,0005000010190100 -name = "Animal Crossing: amiibo Festival - " -version = 2 - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 2048 -#height = 2048 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 2046 -#height = 2046 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 720 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 800 -height = 250 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 640 -height = 360 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 320 -height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 80 -height = 45 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 40 -height = 22 -#formatsExcluded = -overwriteWidth = -overwriteHeight = diff --git a/Source/AquaTV/rules.txt b/Source/AquaTV/rules.txt deleted file mode 100644 index 5fe533ad..00000000 --- a/Source/AquaTV/rules.txt +++ /dev/null @@ -1,30 +0,0 @@ - -[Definition] -titleIds = 0005000010205F00 -name = "Aqua TV - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv 2 -width = 1280 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = diff --git a/Source/BatmanArkham/rules.txt b/Source/BatmanArkham/rules.txt deleted file mode 100644 index 1a3d3d12..00000000 --- a/Source/BatmanArkham/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - -[Definition] -titleIds = 0005000010112900,0005000010111300,000500001010AB00 -name = "Batman Arkham City Armored Edition - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x41A # exclude the intro background texture -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/Bayonetta/117889891fd19c30_000000000000001e_ps.txt b/Source/Bayonetta/117889891fd19c30_000000000000001e_ps.txt deleted file mode 100644 index 53d67a24..00000000 --- a/Source/Bayonetta/117889891fd19c30_000000000000001e_ps.txt +++ /dev/null @@ -1,132 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 117889891fd19c30 -//menu -const float resScale = ; -uniform ivec4 uf_remappedPS[1]; -uniform float uf_alphaTestRef; -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem129; -layout(location = 1) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem129; -R1f = passParameterSem128; -// 0 -backupReg0f = R0f.w; -R7f.x = intBitsToFloat(uf_remappedPS[0].z) * intBitsToFloat(0x3e124925); -PV0f.w = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedPS[0].w)); -PV0f.w *= 2.0; -PS0f = 1.0 / R1f.w; -PS0f /= 2.0; -// 1 -R127f.x = PV0f.w * intBitsToFloat(0x3a4ccccd)/ resScale; -R127f.y = PV0f.w * intBitsToFloat(0x3acccccd)/ resScale; -PV1f.z = mul_nonIEEE(R1f.x, PS0f); -PV1f.w = mul_nonIEEE(-(R1f.y), PS0f); -R127f.w = PV0f.w * intBitsToFloat(0x3b19999a)/ resScale; -PS1f = R127f.w; -// 2 -R6f.x = PV1f.z + 0.5; -PV0f.x = R6f.x; -R6f.y = PV1f.w + 0.5; -PV0f.y = R6f.y; -R8f.w = 1.0; -// 3 -R1f.x = PV0f.x + -(R127f.x); -R1f.y = PV0f.y; -R0f.z = PV0f.y; -R0f.x = PV0f.x + R127f.x; -PS1f = R0f.x; -// 4 -R2f.x = R6f.x + -(R127f.y); -R2f.y = R6f.y; -R3f.z = R6f.y; -R3f.x = R6f.x + R127f.y; -PS0f = R3f.x; -// 5 -R4f.x = R6f.x + -(R127f.w); -R4f.y = R6f.y; -R5f.z = R6f.y; -R5f.x = R6f.x + R127f.w; -PS1f = R5f.x; -R1f.xyz = (texture(textureUnitPS1, R1f.xy).xyz); -R0f.xyz = (texture(textureUnitPS1, R0f.xz).xyz); -R2f.xyz = (texture(textureUnitPS1, R2f.xy).xyz); -R3f.xyz = (texture(textureUnitPS1, R3f.xz).xyz); -R4f.xyz = (texture(textureUnitPS1, R4f.xy).xyz); -R5f.xyz = (texture(textureUnitPS1, R5f.xz).xyz); -R6f.xyz = (texture(textureUnitPS1, R6f.xy).xyz); -// 0 -backupReg0f = R0f.x; -PV0f.x = R1f.x + backupReg0f; -R127f.z = R1f.z + R0f.z; -PV0f.w = R1f.y + R0f.y; -// 1 -R127f.x = R6f.x + PV0f.x; -R127f.y = R2f.x + R3f.x; -R126f.z = R2f.z + R3f.z; -R127f.w = R2f.y + R3f.y; -R126f.w = R6f.y + PV0f.w; -PS1f = R126f.w; -// 2 -PV0f.x = R4f.y + R5f.y; -PV0f.y = R4f.x + R5f.x; -PV0f.w = R4f.z + R5f.z; -// 3 -PV1f.x = PV0f.y + R127f.y; -PV1f.y = PV0f.x + R127f.w; -PV1f.z = R6f.z + R127f.z; -PV1f.w = PV0f.w + R126f.z; -// 4 -PV0f.y = PV1f.z + PV1f.w; -PV0f.z = R126f.w + PV1f.y; -PV0f.w = R127f.x + PV1f.x; -// 5 -R8f.x = mul_nonIEEE(PV0f.w, R7f.x); -R8f.y = mul_nonIEEE(PV0f.z, R7f.x); -R8f.z = mul_nonIEEE(PV0f.y, R7f.x); -// export -if( ((vec4(R8f.x, R8f.y, R8f.z, R8f.w)).a >= uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(R8f.x, R8f.y, R8f.z, R8f.w); -} diff --git a/Source/Bayonetta/212e4514290f2693_0000000000000079_ps.txt b/Source/Bayonetta/212e4514290f2693_0000000000000079_ps.txt deleted file mode 100644 index 76e8af0d..00000000 --- a/Source/Bayonetta/212e4514290f2693_0000000000000079_ps.txt +++ /dev/null @@ -1,114 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 212e4514290f2693 -const float resScale = ; -uniform ivec4 uf_remappedPS[1]; -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4e48800 res 320x176x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R123f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem128; -R4f.xyzw = (texture(textureUnitPS1, R0f.xy).xyzw); -// 0 -R1f.x = R0f.x + intBitsToFloat(0x3c400000)/ resScale; -R1f.y = R0f.y; -R2f.z = R0f.y; -R5f.w = intBitsToFloat(uf_remappedPS[0].w); -R2f.x = R0f.x + intBitsToFloat(0x3bc00000)/ resScale; -PS0f = R2f.x; -// 1 -R3f.x = R0f.x + -(intBitsToFloat(0x3c400000))/ resScale; -R3f.y = R0f.y; -R0f.z = R0f.x + -(intBitsToFloat(0x3bc00000))/ resScale; -R1f.xyzw = (texture(textureUnitPS1, R1f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS1, R2f.xz).xyzw); -R3f.xyzw = (texture(textureUnitPS1, R3f.xy).xyzw); -R0f.xyzw = (texture(textureUnitPS1, R0f.zy).xyzw); -// 0 -R123f.x = (R1f.x * intBitsToFloat(0x3ee66666) + R4f.x); -PV0f.x = R123f.x; -R123f.y = (R1f.w * intBitsToFloat(0x3ee66666) + R4f.w); -PV0f.y = R123f.y; -R123f.z = (R1f.z * intBitsToFloat(0x3ee66666) + R4f.z); -PV0f.z = R123f.z; -R123f.w = (R1f.y * intBitsToFloat(0x3ee66666) + R4f.y); -PV0f.w = R123f.w; -// 1 -R123f.x = (R2f.w * intBitsToFloat(0x3f4ccccd) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (R2f.z * intBitsToFloat(0x3f4ccccd) + PV0f.z); -PV1f.y = R123f.y; -R123f.z = (R2f.y * intBitsToFloat(0x3f4ccccd) + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (R2f.x * intBitsToFloat(0x3f4ccccd) + PV0f.x); -PV1f.w = R123f.w; -// 2 -R123f.x = (R3f.w * intBitsToFloat(0x3ee66666) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R3f.z * intBitsToFloat(0x3ee66666) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R3f.y * intBitsToFloat(0x3ee66666) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R3f.x * intBitsToFloat(0x3ee66666) + PV1f.w); -PV0f.w = R123f.w; -// 3 -R123f.x = (R0f.z * intBitsToFloat(0x3f4ccccd) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (R0f.y * intBitsToFloat(0x3f4ccccd) + PV0f.z); -PV1f.y = R123f.y; -R123f.z = (R0f.x * intBitsToFloat(0x3f4ccccd) + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (R0f.w * intBitsToFloat(0x3f4ccccd) + PV0f.x); -PV1f.w = R123f.w; -// 4 -PV0f.x = PV1f.x * intBitsToFloat(0x3e924925); -PV0f.y = PV1f.y * intBitsToFloat(0x3e924925); -PV0f.z = PV1f.z * intBitsToFloat(0x3e924925); -PV0f.w = PV1f.w * intBitsToFloat(0x3e924925); -// 5 -PV1f.x = mul_nonIEEE(PV0f.x, PV0f.w); -PV1f.y = mul_nonIEEE(PV0f.y, PV0f.w); -PV1f.z = mul_nonIEEE(PV0f.z, PV0f.w); -// 6 -R5f.x = mul_nonIEEE(PV1f.z, intBitsToFloat(uf_remappedPS[0].x)); -R5f.y = mul_nonIEEE(PV1f.y, intBitsToFloat(uf_remappedPS[0].y)); -R5f.z = mul_nonIEEE(PV1f.x, intBitsToFloat(uf_remappedPS[0].z)); -// export -passPixelColor0 = vec4(R5f.x, R5f.y, R5f.z, R5f.w); -} diff --git a/Source/Bayonetta/51f398ee2e3e18a6_0000000000000079_ps.txt b/Source/Bayonetta/51f398ee2e3e18a6_0000000000000079_ps.txt deleted file mode 100644 index b55e8670..00000000 --- a/Source/Bayonetta/51f398ee2e3e18a6_0000000000000079_ps.txt +++ /dev/null @@ -1,115 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 51f398ee2e3e18a6 -//blur vert -const float resScale = ; -uniform ivec4 uf_remappedPS[1]; -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4e11800 res 320x176x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R123f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem128; -R4f.xyzw = (texture(textureUnitPS1, R0f.xy).xyzw); -// 0 -R1f.x = R0f.x; -R1f.y = R0f.y + intBitsToFloat(0x3c400000) / resScale; -R2f.z = R0f.x; -R5f.w = intBitsToFloat(uf_remappedPS[0].w); -R2f.y = R0f.y + intBitsToFloat(0x3bc00000) / resScale; -PS0f = R2f.y; -// 1 -R3f.x = R0f.x; -R3f.y = R0f.y + -(intBitsToFloat(0x3c400000)) / resScale; -R0f.z = R0f.y + -(intBitsToFloat(0x3bc00000)) / resScale; -R1f.xyzw = (texture(textureUnitPS1, R1f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS1, R2f.zy).xyzw); -R3f.xyzw = (texture(textureUnitPS1, R3f.xy).xyzw); -R0f.xyzw = (texture(textureUnitPS1, R0f.xz).xyzw); -// 0 -R123f.x = (R1f.w * intBitsToFloat(0x3ee66666) + R4f.w); -PV0f.x = R123f.x; -R123f.y = (R1f.x * intBitsToFloat(0x3ee66666) + R4f.x); -PV0f.y = R123f.y; -R123f.z = (R1f.z * intBitsToFloat(0x3ee66666) + R4f.z); -PV0f.z = R123f.z; -R123f.w = (R1f.y * intBitsToFloat(0x3ee66666) + R4f.y); -PV0f.w = R123f.w; -// 1 -R123f.x = (R2f.w * intBitsToFloat(0x3f4ccccd) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R2f.z * intBitsToFloat(0x3f4ccccd) + PV0f.z); -PV1f.y = R123f.y; -R123f.z = (R2f.y * intBitsToFloat(0x3f4ccccd) + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (R2f.x * intBitsToFloat(0x3f4ccccd) + PV0f.y); -PV1f.w = R123f.w; -// 2 -R123f.x = (R3f.z * intBitsToFloat(0x3ee66666) + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (R3f.w * intBitsToFloat(0x3ee66666) + PV1f.x); -PV0f.y = R123f.y; -R123f.z = (R3f.y * intBitsToFloat(0x3ee66666) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R3f.x * intBitsToFloat(0x3ee66666) + PV1f.w); -PV0f.w = R123f.w; -// 3 -R123f.x = (R0f.z * intBitsToFloat(0x3f4ccccd) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R0f.y * intBitsToFloat(0x3f4ccccd) + PV0f.z); -PV1f.y = R123f.y; -R123f.z = (R0f.x * intBitsToFloat(0x3f4ccccd) + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (R0f.w * intBitsToFloat(0x3f4ccccd) + PV0f.y); -PV1f.w = R123f.w; -// 4 -PV0f.x = PV1f.x * intBitsToFloat(0x3e924925); -PV0f.y = PV1f.y * intBitsToFloat(0x3e924925); -PV0f.z = PV1f.z * intBitsToFloat(0x3e924925); -PV0f.w = PV1f.w * intBitsToFloat(0x3e924925); -// 5 -PV1f.x = mul_nonIEEE(PV0f.x, PV0f.w); -PV1f.y = mul_nonIEEE(PV0f.y, PV0f.w); -PV1f.z = mul_nonIEEE(PV0f.z, PV0f.w); -// 6 -R5f.x = mul_nonIEEE(PV1f.z, intBitsToFloat(uf_remappedPS[0].x)); -R5f.y = mul_nonIEEE(PV1f.y, intBitsToFloat(uf_remappedPS[0].y)); -R5f.z = mul_nonIEEE(PV1f.x, intBitsToFloat(uf_remappedPS[0].z)); -// export -passPixelColor0 = vec4(R5f.x, R5f.y, R5f.z, R5f.w); -} diff --git a/Source/Bayonetta/63a0a7de4fdcf0ce_0000000000000079_ps.txt b/Source/Bayonetta/63a0a7de4fdcf0ce_0000000000000079_ps.txt deleted file mode 100644 index bf479132..00000000 --- a/Source/Bayonetta/63a0a7de4fdcf0ce_0000000000000079_ps.txt +++ /dev/null @@ -1,58 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 63a0a7de4fdcf0ce -const float brightness = 0.5; -uniform ivec4 uf_remappedPS[2]; -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem128; -// 0 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -R0f.x = backupReg0f + intBitsToFloat(uf_remappedPS[0].x); -R0f.y = backupReg1f + intBitsToFloat(uf_remappedPS[0].y); -R0f.xyzw = (texture(textureUnitPS1, R0f.xy).xyzw)*brightness; -// 0 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg2f = R0f.z; -backupReg3f = R0f.w; -R0f.x = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedPS[1].x)); -R0f.y = mul_nonIEEE(backupReg1f, intBitsToFloat(uf_remappedPS[1].y)); -R0f.z = mul_nonIEEE(backupReg2f, intBitsToFloat(uf_remappedPS[1].z)); -R0f.w = mul_nonIEEE(backupReg3f, intBitsToFloat(uf_remappedPS[1].w)); -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Source/Bayonetta/6e828da50daedc79_00000000000003c9_ps.txt b/Source/Bayonetta/6e828da50daedc79_00000000000003c9_ps.txt deleted file mode 100644 index d4e8602f..00000000 --- a/Source/Bayonetta/6e828da50daedc79_00000000000003c9_ps.txt +++ /dev/null @@ -1,318 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 6e828da50daedc79 -// cut scene blur -const float resScale = ; -uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5195800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4709800 res 1280x720x1 dim 1 tm: 4 format 080e compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R12f = vec4(0.0); -vec4 R13f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem128; -R9f.xyz = (texture(textureUnitPS0, R0f.xy).xyz); -R10f.x = (texture(textureUnitPS1, R0f.xy).x); -// 0 -PV0f.x = -(1.0) + R0f.z; -R127f.y = intBitsToFloat(0xba4ccccd) / resScale * intBitsToFloat(uf_remappedPS[0].x); -PV0f.y = R127f.y; -R2f.z = intBitsToFloat(0x3a4ccccd) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R2f.w = intBitsToFloat(0xbab60b61) / resScale * intBitsToFloat(uf_remappedPS[0].x); -PV0f.w = R2f.w; -R3f.y = intBitsToFloat(0x3ab60b61) / resScale * intBitsToFloat(uf_remappedPS[0].x); -PS0f = R3f.y; -// 1 -R7f.x = intBitsToFloat(0x3ab60b61) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R1f.y = R0f.y + PV0f.w; -R6f.z = 1.0 + PV0f.x; -R3f.w = intBitsToFloat(0x3a4ccccd) / resScale* intBitsToFloat(uf_remappedPS[0].x); -R1f.x = R0f.x + PV0f.y; -PS1f = R1f.x; -// 2 -R3f.x = -(intBitsToFloat(uf_remappedPS[1].z)) + intBitsToFloat(uf_remappedPS[1].w); -R2f.y = -(intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(uf_remappedPS[1].y); -R1f.z = R0f.x + R127f.y; -R1f.w = R0f.y + R3f.y; -R6f.x = R0f.x + R2f.z; -PS0f = R6f.x; -R5f.xyz = (texture(textureUnitPS0, R1f.xy).xyz); -R1f.x = (texture(textureUnitPS1, R1f.xy).x); -R4f.xyz = (texture(textureUnitPS0, R1f.zw).xyz); -R2f.x = (texture(textureUnitPS1, R1f.zw).x); -// 0 -backupReg0f = R1f.x; -R1f.x = R0f.x + R2f.z; -R127f.y = R2f.x + R6f.z; -PV0f.z = backupReg0f + R6f.z; -R6f.w = R0f.y + R2f.w; -R1f.z = 1.0 / R2f.y; -PS0f = R1f.z; -// 1 -R12f.x = mul_nonIEEE(PS0f, intBitsToFloat(uf_remappedPS[1].x)); -R1f.y = R0f.y + R3f.y; -PS1f = 1.0 / PV0f.z; -// 2 -R127f.w = mul_nonIEEE(R0f.w, PS1f); -PV0f.w = R127f.w; -R7f.z = 1.0 / R3f.x; -PS0f = R7f.z; -// 3 -R13f.x = mul_nonIEEE(PS0f, intBitsToFloat(uf_remappedPS[1].z)); -PV1f.x = R13f.x; -R2f.y = R0f.y + R7f.x; -R2f.z = R0f.x; -R126f.w = (mul_nonIEEE(PV0f.w,R1f.z) + -(R12f.x)); -R126f.w = clamp(R126f.w, 0.0, 1.0); -PS1f = 1.0 / R127f.y; -// 4 -backupReg0f = R0f.w; -R8f.x = R6f.x; -R8f.y = R0f.y; -R123f.z = (mul_nonIEEE(R127f.w,R7f.z) + -(PV1f.x)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV0f.z = R123f.z; -PV0f.w = mul_nonIEEE(backupReg0f, PS1f); -// 5 -backupReg0f = R126f.w; -R123f.y = (mul_nonIEEE(R7f.z,PV0f.w) + -(R13f.x)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R1f.z,PV0f.w) + -(R12f.x)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV1f.z = R123f.z; -R126f.w = max(backupReg0f, PV0f.z); -// 6 -backupReg0f = R0f.x; -PV0f.x = max(PV1f.z, PV1f.y); -R11f.y = R0f.y; -R11f.x = backupReg0f + -(R3f.w); -PS0f = R11f.x; -// 7 -R2f.x = R126f.w + PV0f.x; -PV1f.y = mul_nonIEEE(R4f.z, PV0f.x); -PV1f.z = mul_nonIEEE(R4f.y, PV0f.x); -PV1f.w = mul_nonIEEE(R4f.x, PV0f.x); -// 8 -backupReg0f = R5f.x; -backupReg1f = R5f.z; -R5f.x = (mul_nonIEEE(backupReg0f,R126f.w) + PV1f.w); -R5f.z = (mul_nonIEEE(backupReg1f,R126f.w) + PV1f.y); -R3f.w = (mul_nonIEEE(R5f.y,R126f.w) + PV1f.z); -R4f.xyz = (texture(textureUnitPS0, R6f.xw).xyz); -R6f.x = (texture(textureUnitPS1, R6f.xw).x); -R3f.xyz = (texture(textureUnitPS0, R1f.xy).xyz); -R1f.x = (texture(textureUnitPS1, R1f.xy).x); -// 0 -R127f.x = R1f.x + R6f.z; -PV0f.y = R6f.x + R6f.z; -// 1 -backupReg0f = R0f.y; -R0f.y = backupReg0f + -(R7f.x); -PS1f = 1.0 / PV0f.y; -// 2 -PV0f.x = mul_nonIEEE(R0f.w, PS1f); -PS0f = 1.0 / R127f.x; -// 3 -PV1f.x = mul_nonIEEE(R0f.w, PS0f); -R123f.y = (mul_nonIEEE(R7f.z,PV0f.x) + -(R13f.x)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV1f.y = R123f.y; -R123f.w = (mul_nonIEEE(R1f.z,PV0f.x) + -(R12f.x)); -R123f.w = clamp(R123f.w, 0.0, 1.0); -PV1f.w = R123f.w; -// 4 -R123f.x = (mul_nonIEEE(R1f.z,PV1f.x) + -(R12f.x)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R7f.z,PV1f.x) + -(R13f.x)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV0f.y = R123f.y; -R8f.z = max(PV1f.w, PV1f.y); -PV0f.z = R8f.z; -// 5 -R123f.x = (mul_nonIEEE(R4f.z,PV0f.z) + R5f.z); -PV1f.x = R123f.x; -PV1f.y = max(PV0f.x, PV0f.y); -R123f.z = (mul_nonIEEE(R4f.y,PV0f.z) + R3f.w); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(R4f.x,PV0f.z) + R5f.x); -PV1f.w = R123f.w; -// 6 -backupReg0f = R3f.y; -backupReg1f = R3f.x; -R3f.x = R2f.x + PV1f.y; -R3f.y = (mul_nonIEEE(R3f.z,PV1f.y) + PV1f.x); -R3f.z = (mul_nonIEEE(backupReg0f,PV1f.y) + PV1f.z); -R3f.w = (mul_nonIEEE(backupReg1f,PV1f.y) + PV1f.w); -R5f.xyz = (texture(textureUnitPS0, R8f.xy).xyz); -R8f.x = (texture(textureUnitPS1, R8f.xy).x); -R4f.xyz = (texture(textureUnitPS0, R2f.zy).xyz); -R2f.x = (texture(textureUnitPS1, R2f.zy).x); -// 0 -backupReg0f = R3f.y; -backupReg1f = R2f.x; -R2f.x = R9f.y + R3f.z; -R3f.y = R9f.x + R3f.w; -PV0f.z = R8f.x + R6f.z; -R2f.w = R9f.z + backupReg0f; -R127f.y = backupReg1f + R6f.z; -PS0f = R127f.y; -// 1 -R126f.y = R10f.x + R6f.z; -PS1f = 1.0 / PV0f.z; -// 2 -PV0f.x = mul_nonIEEE(R0f.w, PS1f); -PS0f = 1.0 / R127f.y; -// 3 -PV1f.x = mul_nonIEEE(R0f.w, PS0f); -R123f.z = (mul_nonIEEE(R7f.z,PV0f.x) + -(R13f.x)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(R1f.z,PV0f.x) + -(R12f.x)); -R123f.w = clamp(R123f.w, 0.0, 1.0); -PV1f.w = R123f.w; -PS1f = 1.0 / R126f.y; -// 4 -PV0f.x = mul_nonIEEE(R0f.w, PS1f); -R123f.y = (mul_nonIEEE(R7f.z,PV1f.x) + -(R13f.x)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(R1f.z,PV1f.x) + -(R12f.x)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV0f.z = R123f.z; -R126f.w = max(PV1f.w, PV1f.z); -// 5 -PV1f.x = max(PV0f.z, PV0f.y); -R123f.y = (mul_nonIEEE(R7f.z,PV0f.x) + -(R13f.x)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R1f.z,PV0f.x) + -(R12f.x)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV1f.z = R123f.z; -// 6 -PV0f.x = max(PV1f.z, PV1f.y); -PV0f.y = mul_nonIEEE(R4f.z, PV1f.x); -PV0f.z = mul_nonIEEE(R4f.y, PV1f.x); -PV0f.w = mul_nonIEEE(R4f.x, PV1f.x); -R6f.w = R126f.w + PV1f.x; -PS0f = R6f.w; -// 7 -backupReg0f = R5f.y; -R5f.y = (mul_nonIEEE(R5f.z,R126f.w) + PV0f.y); -R5f.z = (mul_nonIEEE(backupReg0f,R126f.w) + PV0f.z); -R3f.w = (mul_nonIEEE(R5f.x,R126f.w) + PV0f.w); -R9f.w = mul_nonIEEE(PV0f.x, intBitsToFloat(uf_remappedPS[2].w)); -PS1f = R9f.w; -R4f.xyz = (texture(textureUnitPS0, R11f.xy).xyz); -R11f.x = (texture(textureUnitPS1, R11f.xy).x); -R10f.xyz = (texture(textureUnitPS0, R0f.xy).xyz); -R5f.x = (texture(textureUnitPS1, R0f.xy).x); -// 0 -PV0f.x = R11f.x + R6f.z; -R126f.y = R6f.z + R5f.x; -// 1 -PS1f = 1.0 / PV0f.x; -// 2 -backupReg0f = R0f.w; -PV0f.w = mul_nonIEEE(backupReg0f, PS1f); -PS0f = 1.0 / R126f.y; -// 3 -R123f.x = (mul_nonIEEE(R7f.z,PV0f.w) + -(R13f.x)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(R1f.z,PV0f.w) + -(R12f.x)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV1f.y = R123f.y; -PV1f.z = mul_nonIEEE(R0f.w, PS0f); -// 4 -R123f.x = (mul_nonIEEE(R7f.z,PV1f.z) + -(R13f.x)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R1f.z,PV1f.z) + -(R12f.x)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV0f.y = R123f.y; -PV0f.z = max(PV1f.y, PV1f.x); -// 5 -PV1f.x = max(PV0f.y, PV0f.x); -R123f.y = (mul_nonIEEE(R4f.y,PV0f.z) + R5f.z); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R4f.z,PV0f.z) + R5f.y); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(R4f.x,PV0f.z) + R3f.w); -PV1f.w = R123f.w; -PS1f = R6f.w + PV0f.z; -// 6 -R123f.x = (mul_nonIEEE(R10f.z,PV1f.x) + PV1f.z); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R10f.y,PV1f.x) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(R10f.x,PV1f.x) + PV1f.w); -PV0f.z = R123f.z; -R126f.w = PS1f + R8f.z; -PS0f = 1.0 + PV1f.x; -// 7 -R127f.x = PV0f.x + R2f.w; -R126f.y = PV0f.y + R2f.x; -R127f.z = PV0f.z + R3f.y; -PV1f.w = PS0f + R3f.x; -// 8 -PV0f.z = PV1f.w + R126f.w; -// 9 -PS1f = 1.0 / PV0f.z; -// 10 -PV0f.x = mul_nonIEEE(R127f.z, PS1f); -PV0f.z = mul_nonIEEE(R127f.x, PS1f); -PV0f.w = mul_nonIEEE(R126f.y, PS1f); -// 11 -R9f.x = mul_nonIEEE(PV0f.x, intBitsToFloat(uf_remappedPS[2].x)); -R9f.y = mul_nonIEEE(PV0f.w, intBitsToFloat(uf_remappedPS[2].y)); -R9f.z = mul_nonIEEE(PV0f.z, intBitsToFloat(uf_remappedPS[2].z)); -// export -passPixelColor0 = vec4(R9f.x, R9f.y, R9f.z, R9f.w); -} diff --git a/Source/Bayonetta/9d1d7119cc2a1bc5_00000000000003c9_ps.txt b/Source/Bayonetta/9d1d7119cc2a1bc5_00000000000003c9_ps.txt deleted file mode 100644 index 8b528b7a..00000000 --- a/Source/Bayonetta/9d1d7119cc2a1bc5_00000000000003c9_ps.txt +++ /dev/null @@ -1,526 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 9d1d7119cc2a1bc5 -//film simulation blur -const float resScale = 3.0;const float resScale = ;uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5195800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4709800 res 1280x720x1 dim 1 tm: 4 format 080e compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R12f = vec4(0.0); -vec4 R13f = vec4(0.0); -vec4 R14f = vec4(0.0); -vec4 R15f = vec4(0.0); -vec4 R16f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem128; -R9f.xyz = (texture(textureUnitPS0, R0f.xy).xyz); -R13f.x = (texture(textureUnitPS1, R0f.xy).x); -// 0 -backupReg0f = R0f.z; -R5f.x = intBitsToFloat(0xbab60b61)/ resScale * intBitsToFloat(uf_remappedPS[0].x); -R5f.y = intBitsToFloat(0x3b19999a) / resScale * intBitsToFloat(uf_remappedPS[0].x); -PV0f.z = -(1.0) + backupReg0f; -R1f.w = intBitsToFloat(0xbb19999a) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R6f.y = intBitsToFloat(0x3ab60b61) / resScale * intBitsToFloat(uf_remappedPS[0].x); -PS0f = R6f.y; -// 1 -R10f.x = intBitsToFloat(0xbb888889) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R13f.y = 1.0 + PV0f.z; -R5f.z = intBitsToFloat(0x3a4ccccd) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R3f.w = intBitsToFloat(0xba4ccccd) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R11f.y = intBitsToFloat(0x3b888889) / resScale* intBitsToFloat(uf_remappedPS[0].x); -PS1f = R11f.y; -// 2 -R12f.x = intBitsToFloat(0x3b19999a) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R12f.y = intBitsToFloat(0x3b888889) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R6f.z = intBitsToFloat(0xbb888889) / resScale * intBitsToFloat(uf_remappedPS[0].x); -R4f.w = intBitsToFloat(0xbb19999a) / resScale * intBitsToFloat(uf_remappedPS[0].x); -PS0f = -(intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(uf_remappedPS[1].y); -// 3 -R1f.x = R0f.x + intBitsToFloat(0xba4ccccd) / resScale; -R1f.y = R0f.y + intBitsToFloat(0xbab60b61) / resScale; -R2f.z = R0f.x + intBitsToFloat(0xba4ccccd) / resScale; -PV1f.w = -(intBitsToFloat(uf_remappedPS[1].z)) + intBitsToFloat(uf_remappedPS[1].w); -R15f.y = 1.0 / PS0f; -PS1f = R15f.y; -// 4 -R6f.x = R0f.x + intBitsToFloat(0x3a4ccccd) / resScale; -R2f.y = R0f.y + intBitsToFloat(0x3ab60b61) / resScale; -R8f.z = mul_nonIEEE(PS1f, intBitsToFloat(uf_remappedPS[1].x)); -R6f.w = R0f.y + intBitsToFloat(0xbab60b61) / resScale; -R16f.y = 1.0 / PV1f.w; -PS0f = R16f.y; -R4f.xyz = (texture(textureUnitPS0, R1f.xy).xyz); -R1f.x = (texture(textureUnitPS1, R1f.xy).x); -R3f.xyz = (texture(textureUnitPS0, R2f.zy).xyz); -R2f.x = (texture(textureUnitPS1, R2f.zy).x); -// 0 -backupReg0f = R0f.y; -R127f.x = R2f.x + R13f.y; -PV0f.y = R1f.x + R13f.y; -R2f.z = mul_nonIEEE(R16f.y, intBitsToFloat(uf_remappedPS[1].z)); -R2f.w = R0f.x + intBitsToFloat(0x3a4ccccd) / resScale; -R2f.y = backupReg0f + intBitsToFloat(0x3ab60b61) / resScale; -PS0f = R2f.y; -// 1 -R8f.x = R0f.x + R1f.w; -R8f.y = R0f.y + R5f.x; -PS1f = 1.0 / PV0f.y; -// 2 -PV0f.x = mul_nonIEEE(R0f.w, PS1f); -PS0f = 1.0 / R127f.x; -// 3 -R123f.x = (mul_nonIEEE(PV0f.x,R15f.y) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV1f.x = R123f.x; -PV1f.y = mul_nonIEEE(R0f.w, PS0f); -R123f.w = (mul_nonIEEE(PV0f.x,R16f.y) + -(R2f.z)); -R123f.w = clamp(R123f.w, 0.0, 1.0); -PV1f.w = R123f.w; -// 4 -R123f.x = (mul_nonIEEE(R15f.y,PV1f.y) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -R123f.z = (mul_nonIEEE(R16f.y,PV1f.y) + -(R2f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV0f.z = R123f.z; -R127f.w = max(PV1f.x, PV1f.w); -R1f.x = R0f.x + R1f.w; -PS0f = R1f.x; -// 5 -backupReg0f = R0f.y; -PV1f.y = max(PV0f.x, PV0f.z); -R1f.z = backupReg0f + R6f.y; -// 6 -PV0f.x = mul_nonIEEE(R3f.x, PV1f.y); -R1f.y = R127f.w + PV1f.y; -PV0f.z = mul_nonIEEE(R3f.z, PV1f.y); -PV0f.w = mul_nonIEEE(R3f.y, PV1f.y); -// 7 -backupReg0f = R5f.x; -R5f.x = (mul_nonIEEE(R4f.y,R127f.w) + PV0f.w); -R4f.y = (mul_nonIEEE(R4f.x,R127f.w) + PV0f.x); -R10f.z = R0f.x + R5f.y; -R1f.w = (mul_nonIEEE(R4f.z,R127f.w) + PV0f.z); -R10f.y = R0f.y + backupReg0f; -PS1f = R10f.y; -R3f.xyz = (texture(textureUnitPS0, R6f.xw).xyz); -R6f.x = (texture(textureUnitPS1, R6f.xw).x); -R7f.xyz = (texture(textureUnitPS0, R2f.wy).xyz); -R4f.x = (texture(textureUnitPS1, R2f.wy).x); -// 0 -R127f.y = R4f.x + R13f.y; -PV0f.w = R6f.x + R13f.y; -// 1 -PS1f = 1.0 / PV0f.w; -// 2 -PV0f.z = mul_nonIEEE(R0f.w, PS1f); -PS0f = 1.0 / R127f.y; -// 3 -R123f.x = (mul_nonIEEE(R15f.y,PV0f.z) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV1f.x = R123f.x; -PV1f.y = mul_nonIEEE(R0f.w, PS0f); -R123f.w = (mul_nonIEEE(R16f.y,PV0f.z) + -(R2f.z)); -R123f.w = clamp(R123f.w, 0.0, 1.0); -PV1f.w = R123f.w; -// 4 -R123f.x = (mul_nonIEEE(R16f.y,PV1f.y) + -(R2f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -PV0f.y = max(PV1f.x, PV1f.w); -R123f.z = (mul_nonIEEE(R15f.y,PV1f.y) + -(R8f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV0f.z = R123f.z; -R5f.w = R0f.x + R5f.y; -// 5 -R123f.x = (mul_nonIEEE(R3f.z,PV0f.y) + R1f.w); -PV1f.x = R123f.x; -PV1f.y = max(PV0f.z, PV0f.x); -R123f.z = (mul_nonIEEE(R3f.x,PV0f.y) + R4f.y); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(R3f.y,PV0f.y) + R5f.x); -PV1f.w = R123f.w; -PS1f = R1f.y + PV0f.y; -// 6 -backupReg0f = R6f.y; -R2f.x = PS1f + PV1f.y; -R6f.y = (mul_nonIEEE(R7f.z,PV1f.y) + PV1f.x); -R7f.z = (mul_nonIEEE(R7f.y,PV1f.y) + PV1f.w); -R1f.w = (mul_nonIEEE(R7f.x,PV1f.y) + PV1f.z); -R5f.y = R0f.y + backupReg0f; -PS0f = R5f.y; -R4f.xyz = (texture(textureUnitPS0, R8f.xy).xyz); -R8f.x = (texture(textureUnitPS1, R8f.xy).x); -R3f.xyz = (texture(textureUnitPS0, R1f.xz).xyz); -R1f.x = (texture(textureUnitPS1, R1f.xz).x); -// 0 -R7f.x = R9f.y + R7f.z; -R7f.y = R9f.x + R1f.w; -PV0f.z = R8f.x + R13f.y; -R2f.w = R9f.z + R6f.y; -R127f.w = R13f.y + R1f.x; -PS0f = R127f.w; -// 1 -R6f.x = R0f.x + R3f.w; -R6f.y = R0f.y + R10f.x; -PS1f = 1.0 / PV0f.z; -// 2 -backupReg0f = R0f.w; -PV0f.w = mul_nonIEEE(backupReg0f, PS1f); -PS0f = 1.0 / R127f.w; -// 3 -backupReg0f = R0f.x; -PV1f.x = mul_nonIEEE(R0f.w, PS0f); -R123f.y = (mul_nonIEEE(R15f.y,PV0f.w) + -(R8f.z)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R16f.y,PV0f.w) + -(R2f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV1f.z = R123f.z; -R9f.w = backupReg0f + R3f.w; -// 4 -R123f.x = (mul_nonIEEE(R15f.y,PV1f.x) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R16f.y,PV1f.x) + -(R2f.z)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV0f.y = R123f.y; -R127f.w = max(PV1f.y, PV1f.z); -// 5 -R9f.y = R0f.y + R11f.y; -PV1f.z = max(PV0f.x, PV0f.y); -// 6 -backupReg0f = R0f.x; -PV0f.x = mul_nonIEEE(R3f.y, PV1f.z); -PV0f.y = mul_nonIEEE(R3f.x, PV1f.z); -R7f.z = R127f.w + PV1f.z; -PV0f.w = mul_nonIEEE(R3f.z, PV1f.z); -R8f.x = backupReg0f + R5f.z; -PS0f = R8f.x; -// 7 -backupReg0f = R4f.y; -backupReg1f = R4f.z; -R4f.y = (mul_nonIEEE(backupReg0f,R127f.w) + PV0f.x); -R4f.z = (mul_nonIEEE(R4f.x,R127f.w) + PV0f.y); -R3f.w = (mul_nonIEEE(backupReg1f,R127f.w) + PV0f.w); -R8f.y = R0f.y + R10f.x; -PS1f = R8f.y; -R3f.xyz = (texture(textureUnitPS0, R10f.zy).xyz); -R4f.x = (texture(textureUnitPS1, R10f.zy).x); -R1f.xyz = (texture(textureUnitPS0, R5f.wy).xyz); -R10f.x = (texture(textureUnitPS1, R5f.wy).x); -// 0 -PV0f.x = R4f.x + R13f.y; -R127f.z = R10f.x + R13f.y; -// 1 -PS1f = 1.0 / PV0f.x; -// 2 -PV0f.y = mul_nonIEEE(R0f.w, PS1f); -PS0f = 1.0 / R127f.z; -// 3 -R123f.x = (mul_nonIEEE(R16f.y,PV0f.y) + -(R2f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV1f.x = R123f.x; -PV1f.y = mul_nonIEEE(R0f.w, PS0f); -R123f.z = (mul_nonIEEE(R15f.y,PV0f.y) + -(R8f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV1f.z = R123f.z; -R5f.w = R0f.x + R5f.z; -// 4 -R123f.x = (mul_nonIEEE(R15f.y,PV1f.y) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -R123f.z = (mul_nonIEEE(R16f.y,PV1f.y) + -(R2f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV0f.z = R123f.z; -PV0f.w = max(PV1f.z, PV1f.x); -// 5 -R5f.x = max(PV0f.x, PV0f.z); -PV1f.x = R5f.x; -R123f.y = (mul_nonIEEE(R3f.x,PV0f.w) + R4f.z); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R3f.y,PV0f.w) + R4f.y); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(R3f.z,PV0f.w) + R3f.w); -PV1f.w = R123f.w; -R1f.w = R7f.z + PV0f.w; -PS1f = R1f.w; -// 6 -backupReg0f = R1f.z; -R3f.x = (mul_nonIEEE(R1f.x,PV1f.x) + PV1f.y); -R5f.y = R0f.y + R11f.y; -R1f.z = (mul_nonIEEE(backupReg0f,PV1f.x) + PV1f.w); -R3f.w = (mul_nonIEEE(R1f.y,PV1f.x) + PV1f.z); -R10f.x = R0f.x + R4f.w; -PS0f = R10f.x; -R11f.xyz = (texture(textureUnitPS0, R6f.xy).xyz); -R6f.x = (texture(textureUnitPS1, R6f.xy).x); -R4f.xyz = (texture(textureUnitPS0, R9f.wy).xyz); -R1f.x = (texture(textureUnitPS1, R9f.wy).x); -// 0 -R9f.x = R0f.x + R4f.w; -R10f.y = R0f.y + R6f.z; -R127f.z = R1f.x + R13f.y; -PV0f.w = R13f.y + R6f.x; -R9f.y = R0f.y + R12f.y; -PS0f = R9f.y; -// 1 -PS1f = 1.0 / PV0f.w; -// 2 -PV0f.z = mul_nonIEEE(R0f.w, PS1f); -PS0f = 1.0 / R127f.z; -// 3 -R123f.x = (mul_nonIEEE(R15f.y,PV0f.z) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV1f.x = R123f.x; -PV1f.y = mul_nonIEEE(R0f.w, PS0f); -R123f.w = (mul_nonIEEE(R16f.y,PV0f.z) + -(R2f.z)); -R123f.w = clamp(R123f.w, 0.0, 1.0); -PV1f.w = R123f.w; -// 4 -R3f.y = max(PV1f.x, PV1f.w); -PV0f.y = R3f.y; -R123f.z = (mul_nonIEEE(R16f.y,PV1f.y) + -(R2f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(R15f.y,PV1f.y) + -(R8f.z)); -R123f.w = clamp(R123f.w, 0.0, 1.0); -PV0f.w = R123f.w; -// 5 -backupReg0f = R11f.y; -R123f.x = (mul_nonIEEE(R11f.z,PV0f.y) + R1f.z); -PV1f.x = R123f.x; -R11f.y = max(PV0f.w, PV0f.z); -PV1f.y = R11f.y; -R123f.z = (mul_nonIEEE(R11f.x,PV0f.y) + R3f.x); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(backupReg0f,PV0f.y) + R3f.w); -PV1f.w = R123f.w; -// 6 -backupReg0f = R4f.z; -R3f.x = (mul_nonIEEE(R4f.x,PV1f.y) + PV1f.z); -R14f.y = R0f.y + R6f.z; -R4f.z = (mul_nonIEEE(backupReg0f,PV1f.y) + PV1f.x); -R3f.w = (mul_nonIEEE(R4f.y,PV1f.y) + PV1f.w); -R14f.x = R0f.x + R12f.x; -PS0f = R14f.x; -R6f.xyz = (texture(textureUnitPS0, R8f.xy).xyz); -R8f.x = (texture(textureUnitPS1, R8f.xy).x); -R1f.xyz = (texture(textureUnitPS0, R5f.wy).xyz); -R4f.x = (texture(textureUnitPS1, R5f.wy).x); -// 0 -R127f.y = R13f.y + R4f.x; -PV0f.w = R8f.x + R13f.y; -// 1 -PS1f = 1.0 / PV0f.w; -// 2 -PV0f.z = mul_nonIEEE(R0f.w, PS1f); -PS0f = 1.0 / R127f.y; -// 3 -R123f.x = (mul_nonIEEE(R15f.y,PV0f.z) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV1f.x = R123f.x; -PV1f.y = mul_nonIEEE(R0f.w, PS0f); -R123f.w = (mul_nonIEEE(R16f.y,PV0f.z) + -(R2f.z)); -R123f.w = clamp(R123f.w, 0.0, 1.0); -PV1f.w = R123f.w; -// 4 -R123f.x = (mul_nonIEEE(R16f.y,PV1f.y) + -(R2f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -PV0f.y = max(PV1f.x, PV1f.w); -R123f.z = (mul_nonIEEE(R15f.y,PV1f.y) + -(R8f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV0f.z = R123f.z; -R5f.w = R0f.x + R12f.x; -// 5 -backupReg0f = R6f.y; -R123f.x = (mul_nonIEEE(R6f.z,PV0f.y) + R4f.z); -PV1f.x = R123f.x; -R6f.y = max(PV0f.z, PV0f.x); -PV1f.y = R6f.y; -R123f.z = (mul_nonIEEE(R6f.x,PV0f.y) + R3f.x); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(backupReg0f,PV0f.y) + R3f.w); -PV1f.w = R123f.w; -R3f.w = R1f.w + PV0f.y; -PS1f = R3f.w; -// 6 -backupReg0f = R1f.x; -R1f.x = (mul_nonIEEE(R1f.z,PV1f.y) + PV1f.x); -R5f.y = R0f.y + R12f.y; -R1f.z = (mul_nonIEEE(R1f.y,PV1f.y) + PV1f.w); -R1f.w = (mul_nonIEEE(backupReg0f,PV1f.y) + PV1f.z); -R4f.xyz = (texture(textureUnitPS0, R10f.xy).xyz); -R10f.x = (texture(textureUnitPS1, R10f.xy).x); -R12f.xyz = (texture(textureUnitPS0, R9f.xy).xyz); -R9f.x = (texture(textureUnitPS1, R9f.xy).x); -// 0 -backupReg0f = R1f.x; -backupReg1f = R7f.y; -R1f.x = backupReg0f + R2f.w; -R7f.y = R1f.z + R7f.x; -R1f.z = R1f.w + backupReg1f; -PV0f.w = R10f.x + R13f.y; -// 1 -PV1f.x = R9f.x + R13f.y; -PV1f.y = R11f.y + R5f.x; -PS1f = 1.0 / PV0f.w; -// 2 -backupReg0f = R0f.w; -R5f.x = R6f.y + PV1f.y; -PV0f.w = mul_nonIEEE(backupReg0f, PS1f); -PS0f = 1.0 / PV1f.x; -// 3 -PV1f.x = mul_nonIEEE(R0f.w, PS0f); -R123f.y = (mul_nonIEEE(R15f.y,PV0f.w) + -(R8f.z)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R16f.y,PV0f.w) + -(R2f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV1f.z = R123f.z; -// 4 -R123f.x = (mul_nonIEEE(R16f.y,PV1f.x) + -(R2f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R15f.y,PV1f.x) + -(R8f.z)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV0f.y = R123f.y; -R11f.z = R2f.x + R3f.y; -R127f.w = max(PV1f.y, PV1f.z); -// 5 -PV1f.y = R13f.x + R13f.y; -PV1f.w = max(PV0f.y, PV0f.x); -// 6 -PV0f.x = mul_nonIEEE(R12f.z, PV1f.w); -PV0f.y = mul_nonIEEE(R12f.y, PV1f.w); -PV0f.z = mul_nonIEEE(R12f.x, PV1f.w); -R2f.w = R127f.w + PV1f.w; -PS0f = 1.0 / PV1f.y; -// 7 -backupReg0f = R4f.y; -R12f.x = mul_nonIEEE(R0f.w, PS0f); -R4f.y = (mul_nonIEEE(R4f.z,R127f.w) + PV0f.x); -R4f.z = (mul_nonIEEE(backupReg0f,R127f.w) + PV0f.y); -R1f.w = (mul_nonIEEE(R4f.x,R127f.w) + PV0f.z); -R3f.xyz = (texture(textureUnitPS0, R14f.xy).xyz); -R14f.x = (texture(textureUnitPS1, R14f.xy).x); -R6f.xyz = (texture(textureUnitPS0, R5f.wy).xyz); -R4f.x = (texture(textureUnitPS1, R5f.wy).x); -// 0 -R123f.x = (mul_nonIEEE(R15f.y,R12f.x) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R16f.y,R12f.x) + -(R2f.z)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV0f.y = R123f.y; -PV0f.z = R14f.x + R13f.y; -R127f.w = R4f.x + R13f.y; -// 1 -R127f.x = max(PV0f.x, PV0f.y); -PS1f = 1.0 / PV0f.z; -// 2 -backupReg0f = R0f.w; -PV0f.w = mul_nonIEEE(backupReg0f, PS1f); -PS0f = 1.0 / R127f.w; -// 3 -R123f.x = (mul_nonIEEE(R15f.y,PV0f.w) + -(R8f.z)); -R123f.x = clamp(R123f.x, 0.0, 1.0); -PV1f.x = R123f.x; -PV1f.y = mul_nonIEEE(R0f.w, PS0f); -R123f.z = (mul_nonIEEE(R16f.y,PV0f.w) + -(R2f.z)); -R123f.z = clamp(R123f.z, 0.0, 1.0); -PV1f.z = R123f.z; -R0f.w = mul_nonIEEE(R127f.x, intBitsToFloat(uf_remappedPS[2].w)); -// 4 -PV0f.x = max(PV1f.x, PV1f.z); -R123f.y = (mul_nonIEEE(R15f.y,PV1f.y) + -(R8f.z)); -R123f.y = clamp(R123f.y, 0.0, 1.0); -PV0f.y = R123f.y; -R123f.w = (mul_nonIEEE(R16f.y,PV1f.y) + -(R2f.z)); -R123f.w = clamp(R123f.w, 0.0, 1.0); -PV0f.w = R123f.w; -// 5 -PV1f.x = max(PV0f.y, PV0f.w); -R123f.y = (mul_nonIEEE(R3f.y,PV0f.x) + R4f.z); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R3f.z,PV0f.x) + R4f.y); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(R3f.x,PV0f.x) + R1f.w); -PV1f.w = R123f.w; -PS1f = R2f.w + PV0f.x; -// 6 -R123f.x = (mul_nonIEEE(R6f.y,PV1f.x) + PV1f.y); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R6f.x,PV1f.x) + PV1f.w); -PV0f.y = R123f.y; -PV0f.z = PS1f + PV1f.x; -R123f.w = (mul_nonIEEE(R6f.z,PV1f.x) + PV1f.z); -PV0f.w = R123f.w; -// 7 -R127f.xyz = vec3(PV0f.y,PV0f.w,PV0f.x) + vec3(R1f.z,R1f.x,R7f.y); -PV1f.w = PV0f.z + R5f.x; -// 8 -PV0f.z = PV1f.w + 1.0; -// 9 -PV1f.w = R11f.z + PV0f.z; -// 10 -PV0f.z = R3f.w + PV1f.w; -// 11 -PS1f = 1.0 / PV0f.z; -// 12 -PV0f.x = mul_nonIEEE(R127f.x, PS1f); -PV0f.z = mul_nonIEEE(R127f.y, PS1f); -PV0f.w = mul_nonIEEE(R127f.z, PS1f); -// 13 -R0f.x = mul_nonIEEE(PV0f.x, intBitsToFloat(uf_remappedPS[2].x)); -R0f.y = mul_nonIEEE(PV0f.w, intBitsToFloat(uf_remappedPS[2].y)); -R0f.z = mul_nonIEEE(PV0f.z, intBitsToFloat(uf_remappedPS[2].z)); -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Source/Bayonetta/f015876e4c8e82f9_000000000000001e_ps.txt b/Source/Bayonetta/f015876e4c8e82f9_000000000000001e_ps.txt deleted file mode 100644 index f32e9c8c..00000000 --- a/Source/Bayonetta/f015876e4c8e82f9_000000000000001e_ps.txt +++ /dev/null @@ -1,131 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader f015876e4c8e82f9 -//menu 2d blur -const float resScale = ; -uniform ivec4 uf_remappedPS[1]; -uniform float uf_alphaTestRef; -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem129; -layout(location = 1) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem129; -R1f = passParameterSem128; -// 0 -R7f.x = intBitsToFloat(uf_remappedPS[0].z) * intBitsToFloat(0x3e124925); -PV0f.z = mul_nonIEEE(R0f.w, intBitsToFloat(uf_remappedPS[0].w)); -PV0f.z *= 2.0; -R8f.w = 1.0; -PS0f = 1.0 / R1f.w; -PS0f /= 2.0; -// 1 -R127f.x = PV0f.z * intBitsToFloat(0x3ab60b61)/ resScale; -R127f.y = PV0f.z * intBitsToFloat(0x3b360b61)/ resScale; -PV1f.z = mul_nonIEEE(R1f.x, PS0f); -PV1f.w = mul_nonIEEE(-(R1f.y), PS0f); -R127f.w = PV0f.z * intBitsToFloat(0x3b888889)/ resScale; -PS1f = R127f.w; -// 2 -R6f.x = PV1f.z + 0.5; -PV0f.x = R6f.x; -R6f.y = PV1f.w + 0.5; -PV0f.y = R6f.y; -// 3 -R1f.x = PV0f.x; -R1f.y = PV0f.y + -(R127f.x); -R0f.z = PV0f.x; -R0f.y = PV0f.y + R127f.x; -PS1f = R0f.y; -// 4 -R2f.x = R6f.x; -R2f.y = R6f.y + -(R127f.y); -R3f.z = R6f.x; -R3f.y = R6f.y + R127f.y; -PS0f = R3f.y; -// 5 -R4f.x = R6f.x; -R4f.y = R6f.y + -(R127f.w); -R5f.z = R6f.x; -R5f.y = R6f.y + R127f.w; -PS1f = R5f.y; -R1f.xyz = (texture(textureUnitPS1, R1f.xy).xyz); -R0f.xyz = (texture(textureUnitPS1, R0f.zy).xyz); -R2f.xyz = (texture(textureUnitPS1, R2f.xy).xyz); -R3f.xyz = (texture(textureUnitPS1, R3f.zy).xyz); -R4f.xyz = (texture(textureUnitPS1, R4f.xy).xyz); -R5f.xyz = (texture(textureUnitPS1, R5f.zy).xyz); -R6f.xyz = (texture(textureUnitPS1, R6f.xy).xyz); -// 0 -backupReg0f = R0f.x; -PV0f.x = R1f.x + backupReg0f; -R127f.z = R1f.z + R0f.z; -PV0f.w = R1f.y + R0f.y; -// 1 -R127f.x = R2f.x + R3f.x; -R127f.y = R6f.x + PV0f.x; -R126f.z = R2f.z + R3f.z; -R127f.w = R2f.y + R3f.y; -R126f.w = R6f.y + PV0f.w; -PS1f = R126f.w; -// 2 -PV0f.x = R4f.y + R5f.y; -PV0f.y = R4f.x + R5f.x; -PV0f.w = R4f.z + R5f.z; -// 3 -PV1f.x = PV0f.y + R127f.x; -PV1f.y = PV0f.x + R127f.w; -PV1f.z = R6f.z + R127f.z; -PV1f.w = PV0f.w + R126f.z; -// 4 -PV0f.y = PV1f.z + PV1f.w; -PV0f.z = R126f.w + PV1f.y; -PV0f.w = R127f.y + PV1f.x; -// 5 -R8f.x = mul_nonIEEE(PV0f.w, R7f.x); -R8f.y = mul_nonIEEE(PV0f.z, R7f.x); -R8f.z = mul_nonIEEE(PV0f.y, R7f.x); -// export -if( ((vec4(R8f.x, R8f.y, R8f.z, R8f.w)).a >= uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(R8f.x, R8f.y, R8f.z, R8f.w); -} diff --git a/Source/Bayonetta/rules.txt b/Source/Bayonetta/rules.txt deleted file mode 100644 index b0e182b8..00000000 --- a/Source/Bayonetta/rules.txt +++ /dev/null @@ -1,62 +0,0 @@ - -[Definition] -titleIds = 000500001014DB00,0005000010157E00,0005000010157F00 -name = "Bayonetta - " -version = 2 - -[TextureRedefine] # game rendering resolution. #Change this value -width = 1280 -height = 720 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] # No gamepad view found in B, uncommented -#width = 854 -#height = 480 -#overwriteWidth = 2560 -#overwriteHeight = 1440 - -[TextureRedefine] # FMV, bloom/blur initial step -width = 640 -height = 360 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom/blur pyaramid -width = 320 -height = 176 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Bloom/blur pyaramid -width = 160 -height = 80 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom/blur pyaramid -width = 80 -height = 48 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom/blur pyaramid -width = 48 -height = 32 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom/blur pyaramid -width = 32 -height = 16 -overwriteWidth = -overwriteHeight = \ No newline at end of file diff --git a/Source/Bayonetta2/00fed4f92a49e851_0000000000000079_ps.txt b/Source/Bayonetta2/00fed4f92a49e851_0000000000000079_ps.txt index 38ff2884..c0354185 100644 --- a/Source/Bayonetta2/00fed4f92a49e851_0000000000000079_ps.txt +++ b/Source/Bayonetta2/00fed4f92a49e851_0000000000000079_ps.txt @@ -1,17 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 00fed4f92a49e851 //cut scen blur pass 2 a -const float resScale = ; -//const float resScale = 3.0; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x462bd800 res 320x180x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem133; diff --git a/Source/Bayonetta2/43a2239f07af804e_0000000000000079_ps.txt b/Source/Bayonetta2/43a2239f07af804e_0000000000000079_ps.txt index f79ada48..3d5938b5 100644 --- a/Source/Bayonetta2/43a2239f07af804e_0000000000000079_ps.txt +++ b/Source/Bayonetta2/43a2239f07af804e_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 43a2239f07af804e //horizontal blur -const float resScale = ; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[3]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf53f9800 res 320x176x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem133; diff --git a/Source/Bayonetta2/73ac09c3fff4b657_0000000000000079_ps.txt b/Source/Bayonetta2/73ac09c3fff4b657_0000000000000079_ps.txt index 926b094f..e72d9a7f 100644 --- a/Source/Bayonetta2/73ac09c3fff4b657_0000000000000079_ps.txt +++ b/Source/Bayonetta2/73ac09c3fff4b657_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 73ac09c3fff4b657 //cut scene vert blur //redundant? -const float resScale = ; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x462fa000 res 320x180x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem133; diff --git a/Source/Bayonetta2/75387173950c1793_0000000000000079_ps.txt b/Source/Bayonetta2/75387173950c1793_0000000000000079_ps.txt index 5dbd82fc..37cd5ec3 100644 --- a/Source/Bayonetta2/75387173950c1793_0000000000000079_ps.txt +++ b/Source/Bayonetta2/75387173950c1793_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 75387173950c1793 //vert blur -const float resScale = ; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[1]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf536f000 res 320x176x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem133; diff --git a/Source/Bayonetta2/8a0efcdc3f556942_0000000000000079_ps.txt b/Source/Bayonetta2/8a0efcdc3f556942_0000000000000079_ps.txt index edaee607..85fda717 100644 --- a/Source/Bayonetta2/8a0efcdc3f556942_0000000000000079_ps.txt +++ b/Source/Bayonetta2/8a0efcdc3f556942_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 8a0efcdc3f556942 //halfres, pyarmid start -const float resScale = ; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf451b000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem133; diff --git a/Source/Bayonetta2/rules.txt b/Source/Bayonetta2/rules.txt index 8cc9380b..2a3d20b4 100644 --- a/Source/Bayonetta2/rules.txt +++ b/Source/Bayonetta2/rules.txt @@ -1,69 +1,180 @@ - [Definition] titleIds = 0005000010172600,0005000010172700,000500001011B900 -name = "Bayonetta 2 - " -version = 2 +name = Resolution +path = "Bayonetta 2/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] # game rendering resolution. #Change this value -width = 1280 +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution +width = 1280 height = 720 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] # No gamepad view found in B, uncommented -#width = 854 -#height = 480 -#overwriteWidth = 2560 -#overwriteHeight = 1440 - -[TextureRedefine] # FMV, bloom/blur initial step -width = 640 -height = 360 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 -[TextureRedefine] # Bloom/blur pyaramid -width = 320 +[TextureRedefine] # Blur Map +width = 640 +height = 368 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 368 + +[TextureRedefine] # Blur Map +width = 640 +height = 360 +tileModesExcluded = 0x001 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 360 + +[TextureRedefine] # Motion Blur Map +width = 320 +height = 192 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 + +[TextureRedefine] # Motion Blur Map +width = 320 height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom/blur pyaramid -width = 320 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 180 + +[TextureRedefine] # Bloom Map +width = 320 height = 176 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Bloom/blur pyaramid -width = 160 -height = 80 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom/blur pyaramid -width = 80 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 176 + +[TextureRedefine] # Bloom Mip +width = 96 height = 48 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom/blur pyaramid -width = 48 +overwriteWidth = ($width / $gameWidth) * 96 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] # Bloom Mip +width = 80 +height = 48 +overwriteWidth = ($width / $gameWidth) * 80 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] # Bloom Mip +width = 64 height = 32 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom/blur pyaramid -width = 32 -height = 16 -overwriteWidth = -overwriteHeight = \ No newline at end of file +formats = 0x1a +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 32 + +[TextureRedefine] # Bloom Mip +width = 48 +height = 32 +overwriteWidth = ($width / $gameWidth) * 48 +overwriteHeight = ($height / $gameHeight) * 32 diff --git a/Source/Ben10Omniverse/rules.txt b/Source/Ben10Omniverse/rules.txt deleted file mode 100644 index e5a20a25..00000000 --- a/Source/Ben10Omniverse/rules.txt +++ /dev/null @@ -1,42 +0,0 @@ - -[Definition] -titleIds = 000500001010AC00,0005000010111000 -name = "Ben 10 Omniverse - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #o-res -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/BreathOfTheWild/01ba1a725af9facf_0000000000000000_vs.txt b/Source/BreathOfTheWild/01ba1a725af9facf_0000000000000000_vs.txt index 2ef50f10..49d93c18 100644 --- a/Source/BreathOfTheWild/01ba1a725af9facf_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/01ba1a725af9facf_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 01ba1a725af9facf // Used for: Creating randomly sized stars (only on > Cemu 1.12.1) like the original game has. // Shader made by Kiri -const float resScale = ; +const float resScale = $width/720; layout(binding = 1, std140) uniform uniformBlockVS1 { diff --git a/Source/BreathOfTheWild/01bef64ec0cccd53_0000000000000000_vs.txt b/Source/BreathOfTheWild/01bef64ec0cccd53_0000000000000000_vs.txt index 7bb06371..a2a12330 100644 --- a/Source/BreathOfTheWild/01bef64ec0cccd53_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/01bef64ec0cccd53_0000000000000000_vs.txt @@ -1,16 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable -// shader 01bef64ec0cccd53 // cloud vs -const float resXScale = ; -const float resYScale = ; +// shader 01bef64ec0cccd53 +// Used for: Fixing clouds in non-updated versions +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt b/Source/BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt index 3c03f763..3b893f75 100644 --- a/Source/BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 0b9b8f5dfa16ad58 -// Fixed radius blur -// main menu h -const float resXScale = ; -const float resYScale = ; +// Used For: Horizontal Menu Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; @@ -63,7 +55,7 @@ R127f.z = (0.0 > R1f.x)?1.0:0.0; R127f.z /= 2.0; R127f.w = 1.0; PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].z) / resXScale * intBitsToFloat(0x3fae8a72); +R126f.x = intBitsToFloat(uf_remappedVS[0].z) * (intBitsToFloat(0x3fae8a72)/resXScale); PS0f = R126f.x; // 1 R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); diff --git a/Source/BreathOfTheWild/0bcd653c18367d59_0000000000000000_vs.txt b/Source/BreathOfTheWild/0bcd653c18367d59_0000000000000000_vs.txt index 2c05199f..73aef62a 100644 --- a/Source/BreathOfTheWild/0bcd653c18367d59_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/0bcd653c18367d59_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 0bcd653c18367d59 -// AARestore v2 - restores native aa in game -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt b/Source/BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt index cac4d263..fea2504c 100644 --- a/Source/BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 0d6127fbed646d2b -// AO Fix -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Fixing Ambient-Occlusion +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/0f2b9ee517917425_00000000000003c9_ps.txt b/Source/BreathOfTheWild/0f2b9ee517917425_00000000000003c9_ps.txt index ed8e31f9..f1cf6880 100644 --- a/Source/BreathOfTheWild/0f2b9ee517917425_00000000000003c9_ps.txt +++ b/Source/BreathOfTheWild/0f2b9ee517917425_00000000000003c9_ps.txt @@ -1,17 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 0f2b9ee517917425 -// AARestore - restores native fxaa in inventory screen -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation in inventory screen +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf49b1800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/BreathOfTheWild/141f484aff9b9f5a_0000000000000000_vs.txt b/Source/BreathOfTheWild/141f484aff9b9f5a_0000000000000000_vs.txt index d52f001d..5f0f3a7d 100644 --- a/Source/BreathOfTheWild/141f484aff9b9f5a_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/141f484aff9b9f5a_0000000000000000_vs.txt @@ -1,17 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable -// shader 141f484aff9b9f5a // in-game aa color mix +// shader 141f484aff9b9f5a +// Used for: Anti-Aliasing Color Mix -const float resXScale = ; -const float resYScale = ; +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[3]; uniform vec2 uf_windowSpaceToClipSpaceTransform; layout(location = 0) in uvec4 attrDataSem0; diff --git a/Source/BreathOfTheWild/15afdae4307b9a3d_0000000000000000_vs.txt b/Source/BreathOfTheWild/15afdae4307b9a3d_0000000000000000_vs.txt index 3b0a0cae..9e67689f 100644 --- a/Source/BreathOfTheWild/15afdae4307b9a3d_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/15afdae4307b9a3d_0000000000000000_vs.txt @@ -1,17 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 15afdae4307b9a3d -// AO blur vertical -const float resXScale = ; -const float resYScale = ; +// Used for: Vertical Ambient-Occlusion Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; + uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; layout(location = 0) in uvec4 attrDataSem0; diff --git a/Source/BreathOfTheWild/1a14de8e58d5b30a_0000000000000000_vs.txt b/Source/BreathOfTheWild/1a14de8e58d5b30a_0000000000000000_vs.txt index a6280c07..0e1def16 100644 --- a/Source/BreathOfTheWild/1a14de8e58d5b30a_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/1a14de8e58d5b30a_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 1a14de8e58d5b30a -// AARestore v2 - restores native aa in game -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/381d034349896360_0000000000000000_vs.txt b/Source/BreathOfTheWild/381d034349896360_0000000000000000_vs.txt index a48ca0db..caa482fd 100644 --- a/Source/BreathOfTheWild/381d034349896360_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/381d034349896360_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 381d034349896360 -// Fixed radius blur -// volumetric light blur h -const float resXScale = ; -const float resYScale = ; +// Used for: Horizontal Volumetric Light Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/44b73ce02e05c2e6_0000000000000000_vs.txt b/Source/BreathOfTheWild/44b73ce02e05c2e6_0000000000000000_vs.txt index 7095485e..0685003d 100644 --- a/Source/BreathOfTheWild/44b73ce02e05c2e6_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/44b73ce02e05c2e6_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 44b73ce02e05c2e6 -// Self shadowing mask fix - v blur -const float resXScale = ; -const float resYScale = ; +// Used for: Vertical Self-Shadowing Mask Fix Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/4721609a424e9a1f_0000000000000000_vs.txt b/Source/BreathOfTheWild/4721609a424e9a1f_0000000000000000_vs.txt index 64cc6292..b714a67e 100644 --- a/Source/BreathOfTheWild/4721609a424e9a1f_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/4721609a424e9a1f_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 4721609a424e9a1f -// AARestore v2 - restores native aa in game -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/5307d14d04250e61_000000000000000f_ps.txt b/Source/BreathOfTheWild/5307d14d04250e61_000000000000000f_ps.txt index b612c4fc..5f70c148 100644 --- a/Source/BreathOfTheWild/5307d14d04250e61_000000000000000f_ps.txt +++ b/Source/BreathOfTheWild/5307d14d04250e61_000000000000000f_ps.txt @@ -1,8 +1,8 @@ #version 420 #extension GL_ARB_texture_gather : enable // shader 5307d14d04250e61 -// Stars -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 +// Used for: Make stars visible + uniform ivec4 uf_remappedPS[4]; layout(location = 0) in vec4 passParameterSem1; layout(location = 1) in vec4 passParameterSem2; diff --git a/Source/BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt b/Source/BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt index e16f6c6b..c4478e3a 100644 --- a/Source/BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 5c1761d13feccdff -// Fixed radius blur -// fullscreen blur 1-pass h+v -const float resXScale = ; -const float resYScale = ; +// Used for: Vertical+Horizontal Fullscreen Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/5c975b0e3dac0562_0000000000000000_vs.txt b/Source/BreathOfTheWild/5c975b0e3dac0562_0000000000000000_vs.txt index 257abf40..0f3dbadb 100644 --- a/Source/BreathOfTheWild/5c975b0e3dac0562_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/5c975b0e3dac0562_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 5c975b0e3dac0562 -// Fixed radius blur -// bloom blur h -const float resXScale = ; -const float resYScale = ; +// Used for: Horizontal Bloom Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/75a85b0cbcab764b_0000000000000000_vs.txt b/Source/BreathOfTheWild/75a85b0cbcab764b_0000000000000000_vs.txt index d76cf955..35930351 100644 --- a/Source/BreathOfTheWild/75a85b0cbcab764b_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/75a85b0cbcab764b_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 75a85b0cbcab764b -// Fixed radius blur -// reflection blur h -const float resXScale = ; -const float resYScale = ; +// Used for: Horizontal Reflection Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/771e24915acbb074_0000000000000000_vs.txt b/Source/BreathOfTheWild/771e24915acbb074_0000000000000000_vs.txt index 69ad6045..ae841b51 100644 --- a/Source/BreathOfTheWild/771e24915acbb074_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/771e24915acbb074_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 771e24915acbb074 -// Fixed radius blur -// reflection blur v -const float resXScale = ; -const float resYScale = ; +// Used for: Vertical Reflection Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/7cd338ce4c6ea935_0000000000000079_ps.txt b/Source/BreathOfTheWild/7cd338ce4c6ea935_0000000000000079_ps.txt deleted file mode 100644 index 70dc1c89..00000000 --- a/Source/BreathOfTheWild/7cd338ce4c6ea935_0000000000000079_ps.txt +++ /dev/null @@ -1,75 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 7cd338ce4c6ea935 // cutscene ps -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xac200800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R1f = passParameterSem0; -R1f.x = (R1f.x - 0.5)*1.3125+0.5; - -if (R1f.x>0.0 && R1f.x<1.0) R0f.xyzw = (texture(textureUnitPS0, R1f.xy).xyzw); -// 0 -backupReg0f = R0f.x; -tempResultf = log2(backupReg0f); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0f = tempResultf; -// 1 -R127f.z = mul_nonIEEE(PS0f, intBitsToFloat(uf_remappedPS[0].x)); -tempResultf = log2(R0f.y); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 2 -R127f.w = mul_nonIEEE(PS1f, intBitsToFloat(uf_remappedPS[0].x)); -tempResultf = log2(R0f.z); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0f = tempResultf; -// 3 -R127f.x = mul_nonIEEE(PS0f, intBitsToFloat(uf_remappedPS[0].x)); -PS1f = exp2(R127f.z); -// 4 -R0f.x = PS1f; -PS0f = exp2(R127f.w); -// 5 -R0f.y = PS0f; -PS1f = exp2(R127f.x); -// 6 -R0f.z = PS1f; -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Source/BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt b/Source/BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt index 8f4c085f..e22e30e8 100644 --- a/Source/BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 81eb264a750163d9 -// Fixed radius blur +// Used for: Vertical Volumetric Light Blur // volumetric light blur v -const float resXScale = ; -const float resYScale = ; +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt b/Source/BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt index 8c436eb4..101aeee1 100644 --- a/Source/BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 8cab2ed476b991ea -// AARestore v2 -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/93f16bf1d083933b_0000000000000000_vs.txt b/Source/BreathOfTheWild/93f16bf1d083933b_0000000000000000_vs.txt index 7570f81d..c305fa32 100644 --- a/Source/BreathOfTheWild/93f16bf1d083933b_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/93f16bf1d083933b_0000000000000000_vs.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 93f16bf1d083933b +// Used for: Horizontal Self-Shadowing Mask Fix Blur // Self shadowing mask fix - h blur -// original shader dumped using cemu 1.11.0, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/a1cb9f79d093badb_0000f0f0ff34db6d_ps.txt b/Source/BreathOfTheWild/a1cb9f79d093badb_0000f0f0ff34db6d_ps.txt index d1471b72..8d7cb821 100644 --- a/Source/BreathOfTheWild/a1cb9f79d093badb_0000f0f0ff34db6d_ps.txt +++ b/Source/BreathOfTheWild/a1cb9f79d093badb_0000f0f0ff34db6d_ps.txt @@ -1,17 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader a1cb9f79d093badb -// AARestore v2 - water edge -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation from water edges +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedPS[20]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e91800 res 1280x720x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/BreathOfTheWild/a5b3a5e5ab2938bc_0000000000001e49_ps.txt b/Source/BreathOfTheWild/a5b3a5e5ab2938bc_0000000000001e49_ps.txt index 8d6eb2e9..c5935393 100644 --- a/Source/BreathOfTheWild/a5b3a5e5ab2938bc_0000000000001e49_ps.txt +++ b/Source/BreathOfTheWild/a5b3a5e5ab2938bc_0000000000001e49_ps.txt @@ -1,17 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader a5b3a5e5ab2938bc -// AARestore v2 -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedPS[3]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf46ad000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/BreathOfTheWild/b4a729584b6188ea_0000000000001e49_ps.txt b/Source/BreathOfTheWild/b4a729584b6188ea_0000000000001e49_ps.txt index 75f2b887..12cddb66 100644 --- a/Source/BreathOfTheWild/b4a729584b6188ea_0000000000001e49_ps.txt +++ b/Source/BreathOfTheWild/b4a729584b6188ea_0000000000001e49_ps.txt @@ -1,17 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader b4a729584b6188ea -// AA restore for distant trees -// shader dumped from BotW v1.4.0, using Cemu 1.11.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation for distant trees +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedPS[3]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf46ad000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/BreathOfTheWild/bb50d2ee4fa87bc2_0000000000000000_vs.txt b/Source/BreathOfTheWild/bb50d2ee4fa87bc2_0000000000000000_vs.txt index 06ecc61d..e463e3b4 100644 --- a/Source/BreathOfTheWild/bb50d2ee4fa87bc2_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/bb50d2ee4fa87bc2_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader bb50d2ee4fa87bc2 -// Fixed radius blur -// in multi target scene - not sure 2 - h+v -const float resXScale = ; -const float resYScale = ; +// Used for: Horizontal+Vertical Combat Targeting Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/c92c1c4c0a2fb839_0000000000001e49_ps.txt b/Source/BreathOfTheWild/c92c1c4c0a2fb839_0000000000001e49_ps.txt index ae9ac361..478a54e0 100644 --- a/Source/BreathOfTheWild/c92c1c4c0a2fb839_0000000000001e49_ps.txt +++ b/Source/BreathOfTheWild/c92c1c4c0a2fb839_0000000000001e49_ps.txt @@ -1,17 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader c92c1c4c0a2fb839 -// Fixed radius blur -// in camera dof, samples from 2 mips -const float resXScale = ; -const float resYScale = ; +// Used for: Camera Depth of Field Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedPS[5]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e91800 res 1280x720x1 dim 1 tm: 4 format 0806 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/BreathOfTheWild/c9f2fd37115b0ee1_0000000000000000_vs.txt b/Source/BreathOfTheWild/c9f2fd37115b0ee1_0000000000000000_vs.txt index 9af4065e..c406b752 100644 --- a/Source/BreathOfTheWild/c9f2fd37115b0ee1_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/c9f2fd37115b0ee1_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader c9f2fd37115b0ee1 -// Fixed radius blur -// in multi target scene - not sure - h+v -const float resXScale = ; -const float resYScale = ; +// Used for: Horizontal+Vertical Combat Targeting Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/cb0e6e8cbec4502a_0000000000000079_ps.txt b/Source/BreathOfTheWild/cb0e6e8cbec4502a_0000000000000079_ps.txt index d8f39fcc..b8de56d6 100644 --- a/Source/BreathOfTheWild/cb0e6e8cbec4502a_0000000000000079_ps.txt +++ b/Source/BreathOfTheWild/cb0e6e8cbec4502a_0000000000000079_ps.txt @@ -1,19 +1,15 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_arrays_of_arrays : enable // shader cb0e6e8cbec4502a -// DoF blur effect - Battle, Camera, Scope +// Used for: Horizontal+Vertical Battle, Camera and Scope Depth of Field Blur + layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5c7b800 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 layout(location = 0) in vec4 passParameterSem3; layout(location = 0) out vec4 passPixelColor0; uniform vec2 uf_fragCoordScale; -const float resScale = ; +const float resScale = $height/720; const int radius = int(2*resScale); void main() { diff --git a/Source/BreathOfTheWild/d1cf6920c3d5b194_0000000000000000_vs.txt b/Source/BreathOfTheWild/d1cf6920c3d5b194_0000000000000000_vs.txt index 07d13f7e..bfc4670a 100644 --- a/Source/BreathOfTheWild/d1cf6920c3d5b194_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/d1cf6920c3d5b194_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader d1cf6920c3d5b194 -// AA restore for distant trees -// shader dumped from BotW v1.4.0, using Cemu 1.11.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation for distant trees +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/e06e20b2efe87a84_0000000000000000_vs.txt b/Source/BreathOfTheWild/e06e20b2efe87a84_0000000000000000_vs.txt index 5ec77962..6038648b 100644 --- a/Source/BreathOfTheWild/e06e20b2efe87a84_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/e06e20b2efe87a84_0000000000000000_vs.txt @@ -1,17 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader e06e20b2efe87a84 -// AO blur horizontal -const float resXScale = ; -const float resYScale = ; +// Used for: Horizontal Ambient-Occlusion Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; + uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; layout(location = 0) in uvec4 attrDataSem0; diff --git a/Source/BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt b/Source/BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt index 75abc69e..861ac9f8 100644 --- a/Source/BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader ea9a49a6185cf1e5 -// Reflections - corrects the incorrectly scaled reflection -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Fix Reflection +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[2]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/f14bb57cd5c9cb77_00000000000003c9_ps.txt b/Source/BreathOfTheWild/f14bb57cd5c9cb77_00000000000003c9_ps.txt index 57d77076..c80d7113 100644 --- a/Source/BreathOfTheWild/f14bb57cd5c9cb77_00000000000003c9_ps.txt +++ b/Source/BreathOfTheWild/f14bb57cd5c9cb77_00000000000003c9_ps.txt @@ -1,17 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader f14bb57cd5c9cb77 -// AARestore - restores native aa in game -// original shader dumped using cemu 1.10.0f, BotW 1.3.1 -const float resXScale = ; -const float resYScale = ; +// Used for: Restoring the native BotW Anti-Aliasing implementation +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedPS[4]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4713800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt b/Source/BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt index 9b23500b..90b27ace 100644 --- a/Source/BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader f69e84515ae56e70 -// Fixed radius blur +// Used for: Vertical Bloom Blur // bloom blur v -const float resXScale = ; -const float resYScale = ; +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt b/Source/BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt index b55ca267..b63b2cdc 100644 --- a/Source/BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader fc3e63a2007625f8 -// Fixed radius blur -// main menu v -const float resXScale = ; -const float resYScale = ; +// Used For: Vertical Menu Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; @@ -63,7 +55,7 @@ R126f.z = (0.0 > R1f.x)?1.0:0.0; R126f.z /= 2.0; R127f.w = 1.0; PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].w) / resYScale * intBitsToFloat(0x3fae8a72); +R126f.x = intBitsToFloat(uf_remappedVS[0].w) * (intBitsToFloat(0x3fae8a72)/resYScale); PS0f = R126f.x; // 1 R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); @@ -112,4 +104,4 @@ R1f.w = PV1f.y; gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); // export passParameterSem0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -} +} \ No newline at end of file diff --git a/Source/BreathOfTheWild/patches.txt b/Source/BreathOfTheWild/patches.txt index 357c7eee..082900ea 100644 --- a/Source/BreathOfTheWild/patches.txt +++ b/Source/BreathOfTheWild/patches.txt @@ -1,20 +1,9 @@ - [BotwAspectsV33] moduleMatches = 0xD91A406D # rodata constants -0x10197FC0 = .float -0x102CCFC0 = .float -0x10331374 = .float +0x10197FC0 = .float $width/$height +0x102CCFC0 = .float $width/$height +0x10331374 = .float $width/$height _aspectAddr = 0x10197FC0 # menu link aspect (calculated every load) @@ -28,9 +17,9 @@ _aspectAddr = 0x10197FC0 [BotwAspectsV48] moduleMatches = 0x0F748D9C # rodata constants -0x10197FC0 = .float -0x102CCFC8 = .float -0x103313A4 = .float +0x10197FC0 = .float $width/$height +0x102CCFC8 = .float $width/$height +0x103313A4 = .float $width/$height _aspectAddr = 0x10197FC0 # menu link aspect (calculated every load) @@ -44,9 +33,9 @@ _aspectAddr = 0x10197FC0 [BotwAspectsV64] moduleMatches = 0x9A61FF4C # rodata constants -0x10198250 = .float -0x102CD450 = .float -0x1033182C = .float +0x10198250 = .float $width/$height +0x102CD450 = .float $width/$height +0x1033182C = .float $width/$height _aspectAddr = 0x10198250 # menu link aspect (calculated every load) @@ -60,9 +49,9 @@ _aspectAddr = 0x10198250 [BotwAspectsV80] moduleMatches = 0x8E3324A9 # rodata constants -0x1019A5A8 = .float -0x102D4E30 = .float -0x103391B4 = .float +0x1019A5A8 = .float $width/$height +0x102D4E30 = .float $width/$height +0x103391B4 = .float $width/$height _aspectAddr = 0x1019A5A8 # menu link aspect (calculated every load) @@ -76,9 +65,9 @@ _aspectAddr = 0x1019A5A8 [BotwAspectsV97] moduleMatches = 0xD71D859D # rodata constants -0x1019F980 = .float -0x102DF8A0 = .float -0x1034122C = .float +0x1019F980 = .float $width/$height +0x102DF8A0 = .float $width/$height +0x1034122C = .float $width/$height _aspectAddr = 0x1019F980 # menu link aspect (calculated every load) @@ -92,9 +81,9 @@ _aspectAddr = 0x1019F980 [BotwAspectsV112] moduleMatches = 0x6FD41A61 # rodata constants -0x1019F9A8 = .float -0x102DFB38 = .float -0x103414D4 = .float +0x1019F9A8 = .float $width/$height +0x102DFB38 = .float $width/$height +0x103414D4 = .float $width/$height _aspectAddr = 0x1019F9A8 # menu link aspect (calculated every load) @@ -108,9 +97,9 @@ _aspectAddr = 0x1019F9A8 [BotwAspectsV144] moduleMatches = 0x9A2CA0C7 # rodata constants -0x101A8A70 = .float -0x102ECFD0 = .float -0x1034F6CC = .float +0x101A8A70 = .float $width/$height +0x102ECFD0 = .float $width/$height +0x1034F6CC = .float $width/$height _aspectAddr = 0x101A8A70 # menu link aspect (calculated every load) @@ -124,9 +113,9 @@ _aspectAddr = 0x101A8A70 [BotwAspectsV160] moduleMatches = 0x29DBB52A # rodata constants -0x101A8A70 = .float -0x102ECF88 = .float -0x1034F684 = .float +0x101A8A70 = .float $width/$height +0x102ECF88 = .float $width/$height +0x1034F684 = .float $width/$height _aspectAddr = 0x101A8A70 # menu link aspect (calculated every load) @@ -140,9 +129,9 @@ _aspectAddr = 0x101A8A70 [BotwAspectsV176V192] moduleMatches = 0xFD091F9F,0xD472D8A5 # rodata constants -0x101BF878 = .float -0x1030A3F4 = .float -0x1036DBDC = .float +0x101BF878 = .float $width/$height +0x1030A3F4 = .float $width/$height +0x1036DBDC = .float $width/$height _aspectAddr = 0x101BF878 # menu link aspect (calculated every load) @@ -156,9 +145,9 @@ _aspectAddr = 0x101BF878 [BotwAspectsV208] moduleMatches = 0x6267BFD0 # rodata constants -0x101BF8E8 = .float -0x1030A57C = .float -0x1036DD4C = .float +0x101BF8E8 = .float $width/$height +0x1030A57C = .float $width/$height +0x1036DD4C = .float $width/$height _aspectAddr = 0x101BF8E8 # menu link aspect (calculated every load) diff --git a/Source/BreathOfTheWild/rules.txt b/Source/BreathOfTheWild/rules.txt index a0cec236..2291e779 100644 --- a/Source/BreathOfTheWild/rules.txt +++ b/Source/BreathOfTheWild/rules.txt @@ -1,262 +1,593 @@ - [Definition] titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - " -version = 2 +name = Resolution +path = "The Legend of Zelda: Breath of the Wild/Graphics/Resolution" +description = Changes the games resolution. You cannot change resolutions on the fly. +version = 3 -[TextureRedefine] #TV +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// For [4:3] resolutions that are multiples of 320x180 +// Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + + +// For [21:9] resolutions that are multiples of 420x180 +// Performance + +[Preset] +name = (21:9) 1260x540 +$width = 1260 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 1680x720 +$width = 1680 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2100x900 +$width = 2100 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = (21:9) 2520x1080 +$width = 2520 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 3360x1440 +$width = 3360 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 5040x2160 +$width = 5040 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 6720x2880 +$width = 6720 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiats + +[Preset] +name = (21:9) 10080x4320 +$width = 10080 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 13440x5760 +$width = 13440 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + + +# All 720p textures: +# - 0x001=World Lighting Red8 +# - 0x005=Link and Objects Depth +# - 0x007=World Lighting Red-Green Texture +# - 0x019=Menu Interface/GUI +# - 0x01a=Normals +# - 0x41a=Geometry rendering +# - 0x806=World Fog +# - 0x80e=Depth stencil buffer +# - 0x816=Weapon and Objects Bloom +# - 0x820=Fog/Wind + +# Depth/Geometry/Shading Rendering +[TextureRedefine] width = 1280 height = 720 -formats = 0x19,0x1a -overwriteFormat = 0x1f -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +formats = 0x001,0x005,0x007,0x019,0x01a,0x41a,0x80e,0x806,0x816,0x820 +formatsExcluded = 0x008 # Game Load Opening Background Image +tileModesExcluded = 0x001 # For Video Playback +overwriteWidth = ($width/$gameWidth)* 1280 +overwriteHeight = ($height/$gameHeight)* 720 -[TextureRedefine] #TV -width = 1280 -height = 720 -formatsExcluded = 0x008,0x19,0x1a,0x431 # exclude the intro background texture, champions' photo -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #TV2 -width = 1280 -height = 721 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #TV3 -width = 1280 -height = 608 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #TV4 #Scale to TV, not performance target -width = 1152 -height = 648 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #half-res1 -width = 640 -height = 360 -formatsExcluded = 0x431 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #half-res2 -width = 640 -height = 290 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #half-res3 -width = 640 -height = 288 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #half-res4 -width = 640 -height = 361 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #q-res1, main bloom, AO -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #q-res2 -#width = 320 -#height = 145 -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #q-res3 -#width = 320 -#height = 144 -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] #o-res1 -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # O -width = 80 -height = 45 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # M -width = 80 -height = 44 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # G -width = 40 -height = 22 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #fog -width = 720 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #dyeing inventory -width = 1280 -height = 400 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #blur behind stable and shop menu -width = 960 -height = 540 -tileModesExcluded = 0x001 #for 1080p video -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #dialog box -width = 612 -height = 128 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #campfire ui box -width = 564 -height = 128 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #selection boxes -width = 247 -height = 52 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #new item box -width = 566 -height = 216 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #some blur related shit -width = 480 -height = 270 -formatsExcluded = 0x431 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #divine beast 3d minimap -width = 512 -height = 288 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #minimap -width = 192 -height = 192 +# Gamepad - background +[TextureRedefine] +width = 864 +height = 480 formats = 0x019 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #map -width = 1500 -height = 720 -overwriteWidth = -overwriteHeight = +formatsExcluded = 0x034 # Exclude 0x034 which is used for large album thumbnails +overwriteWidth = ($width/$gameWidth)* 864 +overwriteHeight = ($height/$gameHeight)* 480 -[TextureRedefine] #hero mode path -width = 1920 -height = 912 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #open inventory and use weapon boxes -width = 495 -height = 355 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #choose weapon box -width = 555 -height = 355 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #choose bow box -width = 675 -height = 355 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #action blur -width = 416 -height = 233 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #inventory background blur -width = 320 -height = 180 -formats = 0x19 -overwriteFormat = 0x823 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #title menu background bloom -width = 320 -height = 180 -formats = 0x1a -overwriteFormat = 0x823 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #horse customization screen -width = 480 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #lines on map -width = 13 -height = 305 -#overwriteFormat = 0x234 - -[TextureRedefine] #shadows -width = 360 -height = 360 -formats = 0x005 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #shadows -width = 720 -height = 720 -formats = 0x005 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #gamepad. optional +# Gamepad - game render size +[TextureRedefine] width = 854 height = 480 -#overwriteWidth = -#overwriteHeight = +formats = 0x019 +formatsExcluded = 0x034 # Exclude 0x034 which is used for large album thumbnails +overwriteWidth = ($width/$gameWidth)* 854 +overwriteHeight = ($height/$gameHeight)* 480 + + +# All 1/2, 1/4 textures: +# - 0x001=World Lighting - Red +# - 0x005=Depth for Link and Objects +# - 0x019=GUI +# - 0x01a=Blurs and Normals +# - 0x80e=World and Objects Depth 32bit +# - 0x806=World Fog +# - 0x816=World & Weapon Bloom +# - 0x820=Fog/Wind? + +# Required 1/2 resolutions +[TextureRedefine] +width = 640 +height = 368 +formats = 0x001,0x005,0x019,0x01a,0x80e,0x806,0x816,0x820 +formatsExcluded = 0x431 # Exclude 0x431 which is used for adventure log images +overwriteWidth = ($width/$gameWidth)* 640 +overwriteHeight = ($height/$gameHeight)* 368 + +# Required 1/2 resolutions +[TextureRedefine] +width = 640 +height = 360 +formats = 0x001,0x005,0x019,0x01a,0x80e,0x806,0x816,0x820 +formatsExcluded = 0x431 +tileModesExcluded = 0x001 # For Video Playback +overwriteWidth = ($width/$gameWidth)* 640 +overwriteHeight = ($height/$gameHeight)* 360 + +# Required 1/3 resolutions +[TextureRedefine] +width = 384 +height = 192 +formats = 0x001 # World lighting - Red +overwriteWidth = ($width/$gameWidth)* 384 +overwriteHeight = ($height/$gameHeight)* 192 + +# Required 1/4 resolutions +[TextureRedefine] +width = 320 +height = 192 +formats = 0x001,0x005,0x019,0x01a,0x80e,0x816,0x806 +overwriteWidth = ($width/$gameWidth)* 320 +overwriteHeight = ($height/$gameHeight)* 192 + +# Required 1/4 resolutions +[TextureRedefine] +width = 320 +height = 180 +formats = 0x001,0x005,0x019,0x01a,0x80e,0x816,0x806 +overwriteWidth = ($width/$gameWidth)* 320 +overwriteHeight = ($height/$gameHeight)* 180 + +# Required 1/6 resolution +[TextureRedefine] +width = 192 +height = 96 +formats = 0x007,0x806 # Used for Fog +overwriteWidth = ($width/$gameWidth) * 192 +overwriteHeight = ($height/$gameHeight) * 96 + +# Required 1/8 resolution +[TextureRedefine] +width = 160 +height = 96 +formats = 0x007,0x806,0x80e,0x816 # Used for Fog/Depth/Bloom +overwriteWidth = ($width/$gameWidth)* 160 +overwriteHeight = ($height/$gameHeight)* 96 + +# Required 1/8 resolution +[TextureRedefine] +width = 160 +height = 90 +formats = 0x007,0x806,0x80e,0x816 +overwriteWidth = ($width/$gameWidth)* 160 +overwriteHeight = ($height/$gameHeight)* 90 + +# Required 1/13 resolution +[TextureRedefine] +width = 96 +height = 48 +formats = 0x816,0x80e # Used for bloom/depth +overwriteWidth = ($width/$gameWidth)* 96 +overwriteHeight = ($height/$gameHeight)* 48 + +# Required 1/16 resolution +[TextureRedefine] +width = 80 +height = 45 +formats = 0x816,0x806 # Used for bloom/fog +overwriteWidth = ($width/$gameWidth)* 80 +overwriteHeight = ($height/$gameHeight)* 45 + +# 0x01a - Blurs + +# Start Menu Screen "Complete" blur +[TextureRedefine] +width = 160 +height = 64 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 64 + +# Start Menu Screen "Complete" blur +[TextureRedefine] +width = 160 +height = 50 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 50 + +# Select Screen - Time and Temp Blur +[TextureRedefine] +width = 128 +height = 64 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 64 + +# Select Screen - Time and Temp Blur +[TextureRedefine] +width = 128 +height = 50 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 50 + +# Select Screen - Time and Temp Blur +[TextureRedefine] +width = 64 +height = 32 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 32 + +# Select Screen - Time and Temp Blur +[TextureRedefine] +width = 64 +height = 25 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 25 + +# Select Screen - Shrine Locator Blur +[TextureRedefine] +width = 288 +height = 64 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 288 +overwriteHeight = ($height/$gameHeight) * 64 + +# Select Screen - Shrine Locator Blur +[TextureRedefine] +width = 266 +height = 50 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 266 +overwriteHeight = ($height/$gameHeight) * 50 + +# Select Screen - Shrine Locator Blur +[TextureRedefine] +width = 160 +height = 32 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 32 + +# Select Screen - Shrine Locator Blur +[TextureRedefine] +width = 133 +height = 25 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 133 +overwriteHeight = ($height/$gameHeight) * 25 + +# Main menu BOTW logo blur +[TextureRedefine] +width = 120 +height = 80 +formats = 0x01a +overwriteWidth = ($width/$gameWidth)* 120 +overwriteHeight = ($height/$gameHeight)* 80 + +# Main menu BOTW logo blur +[TextureRedefine] +width = 120 +height = 75 +formats = 0x01a +overwriteWidth = ($width/$gameWidth)* 120 +overwriteHeight = ($height/$gameHeight)* 75 + +# 0x806 - Fogs and Dust +# Required +[TextureRedefine] +width = 128 +height = 48 +formats = 0x806 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 48 + + +# 0x816 - Blooms & Effects + +# Heat wave effect +[TextureRedefine] +width = 1024 +height = 512 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 1024 +overwriteHeight = ($height/$gameHeight)* 512 + +# Sheikah slate scope +[TextureRedefine] +width = 512 +height = 256 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 512 +overwriteHeight = ($height/$gameHeight)* 256 + +# World bloom + +[TextureRedefine] +width = 256 +height = 128 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 256 +overwriteHeight = ($height/$gameHeight)* 128 + +[TextureRedefine] +width = 128 +height = 64 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 128 +overwriteHeight = ($height/$gameHeight)* 64 + +[TextureRedefine] +width = 64 +height = 32 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 64 +overwriteHeight = ($height/$gameHeight)* 32 + +[TextureRedefine] +width = 32 +height = 16 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 32 +overwriteHeight = ($height/$gameHeight)* 16 + +[TextureRedefine] +width = 40 +height = 22 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 40 +overwriteHeight = ($height/$gameHeight)* 22 + +[TextureRedefine] +width = 24 +height = 16 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 24 +overwriteHeight = ($height/$gameHeight)* 16 + +[TextureRedefine] +width = 20 +height = 11 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth)* 20 +overwriteHeight = ($height/$gameHeight)* 11 + +# Great Fairy / Stable / Stores Viewports + +# Required, Great Fairy Full Resolution Viewports +[TextureRedefine] +width = 960 +height = 540 +formats = 0x816,0x005,0x007,0x019,0x01a,0x41a,0x80e,0x806 +tileModesExcluded = 0x001 # For Video Playback +overwriteWidth = ($width/$gameWidth) * 960 +overwriteHeight = ($height/$gameHeight) * 540 + +# Required, Great Fairy Full Resolution Viewports +[TextureRedefine] +width = 960 +height = 544 +formats = 0x816,0x005,0x007,0x019,0x01a,0x41a,0x80e,0x806 +overwriteWidth = ($width/$gameWidth) * 960 +overwriteHeight = ($height/$gameHeight) * 544 + +# Required Great Fairy Red Viewport and Depth port of the same size +[TextureRedefine] +width = 512 +height = 272 +depth = 1 +formats = 0x001,0x005 # Red Viewport / Depth +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 272 + +# Required, Great Fairy Half Resolution Viewports +[TextureRedefine] +width = 480 +height = 272 +formats = 0x816,0x01a,0x820,0x001,0x80e,0x820 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 272 + +# Required, Great Fairy Half Resolution Viewports +[TextureRedefine] +width = 480 +height = 270 +formats = 0x816,0x01a,0x820,0x001,0x80e,0x820 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 270 + +# Required - Great Fairy background heatwave effect +[TextureRedefine] +width = 512 +height = 512 +depth = 1 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 512 + +# Depth +[TextureRedefine] # Top-view to bottom Depth +width = 2048 +height = 2048 +formats = 0x005 +overwriteWidth = ($width/$gameWidth) * 2048 +overwriteHeight = ($height/$gameHeight) * 2048 + +# Disabled since they break stuff + +# Minimap +#[TextureRedefine] +#width = 560 +#height = 560 +#formats = 0x431 +#overwriteWidth = 560 +#overwriteHeight = 560 + +# Album images +#[TextureRedefine] +#width = 854 +#height = 480 +#formats = 0x034 +#overwriteWidth = ($width/$gameWidth) * 854 +#overwriteHeight = ($height/$gameHeight) * 480 + +# Start Menu Controller Mapping Screen Controller Image - Top +#[TextureRedefine] +#width = 480 +#height = 250 +#formats = 0x007 +#overwriteWidth = ($width/$gameWidth) * 480 +#overwriteHeight = ($height/$gameHeight) * 250 + +# Start Menu Controller Mapping Screen Controller Image - Bottom +#[TextureRedefine] +#width = 480 +#height = 125 +#formats = 0x007 +#overwriteWidth = ($width/$gameWidth) * 480 +#overwriteHeight = ($height/$gameHeight) * 125 + +# Save images +#[TextureRedefine] +#width = 256 +#height = 144 +#formats = 0x01a,0x41a +#overwriteWidth = ($width/$gameWidth) * 256 +#overwriteHeight = ($height/$gameHeight) * 144 + +# Scope interface; already scaled +#[TextureRedefine] +#width = 1280 +#height = 608 +#formats = 0x019 +#overwriteWidth = ($width/$gameWidth) * 1280 +#overwriteHeight = ($height/$gameHeight) * 608 diff --git a/Source/BreathOfTheWild_StaticFPS/readme.txt b/Source/BreathOfTheWild_StaticFPS/readme.txt deleted file mode 100644 index 6634d1a7..00000000 --- a/Source/BreathOfTheWild_StaticFPS/readme.txt +++ /dev/null @@ -1,19 +0,0 @@ -This is based on an extreme simplification of the fps++ mod by Xalphenos; it -drops dynamic FPS to prevent graphics judder. The Rajkosto "best fence" method -is also included for performance and stability. Judder was easily noticeable -when Link paraglides; the caveat is that the user must pick a target FPS that -they can maintain. - -It improves over previous static mods in that it allows ANY value as a -static fps target and it includes the stamina fix. Now it also features a fix -for the physics of arrow projectiles. - -To use it simply grab one of the provided versions or edit one with these -changes: a) rules.txt frequency and name b) divide 30 by the target FPS c) use -the result of that calculation and the target fps in patches.txt. - -This readme was derived from a static FPS mod. Additional FPS targets -and discussion are at https://forum.cemu.info/showthread.php/421. If you do -know how to use build.sh at Slashie's repo, it supports arbitrary targets. - - epigramx diff --git a/Source/BreathOfTheWild_StaticFPS/rules.txt b/Source/BreathOfTheWild_StaticFPS/rules.txt deleted file mode 100644 index e36a17a8..00000000 --- a/Source/BreathOfTheWild_StaticFPS/rules.txt +++ /dev/null @@ -1,7 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - static FPS mod" -version = 2 - -[Control] -vsyncFrequency = diff --git a/Source/Brunswick/rules.txt b/Source/Brunswick/rules.txt deleted file mode 100644 index 6d951550..00000000 --- a/Source/Brunswick/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 00050000101D4200 -name = "Brunswick Pro Bowling - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/CaptainToad/37a4ec1a7dbc7391_00000000000003c9_ps.txt b/Source/CaptainToad/37a4ec1a7dbc7391_00000000000003c9_ps.txt index 463355e1..af78a53a 100644 --- a/Source/CaptainToad/37a4ec1a7dbc7391_00000000000003c9_ps.txt +++ b/Source/CaptainToad/37a4ec1a7dbc7391_00000000000003c9_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 37a4ec1a7dbc7391 //AA fix -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[4]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5800800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x159db800 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/CaptainToad/5c1761d13feccdff_0000000000000000_vs.txt b/Source/CaptainToad/5c1761d13feccdff_0000000000000000_vs.txt index 65bdedf4..a74fbc43 100644 --- a/Source/CaptainToad/5c1761d13feccdff_0000000000000000_vs.txt +++ b/Source/CaptainToad/5c1761d13feccdff_0000000000000000_vs.txt @@ -1,19 +1,11 @@ - - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader 5c1761d13feccdff //Bloom fix heat haze -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/CaptainToad/6f5412f28bd716e8_0000000000000000_vs.txt b/Source/CaptainToad/6f5412f28bd716e8_0000000000000000_vs.txt index 4433fb79..30ab0fa2 100644 --- a/Source/CaptainToad/6f5412f28bd716e8_0000000000000000_vs.txt +++ b/Source/CaptainToad/6f5412f28bd716e8_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 6f5412f28bd716e8 // Used for: Horizontal blur -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/CaptainToad/83f42767ee584d5a_000000000007fffd_ps.txt b/Source/CaptainToad/83f42767ee584d5a_000000000007fffd_ps.txt index ddd44acc..2e1f446d 100644 --- a/Source/CaptainToad/83f42767ee584d5a_000000000007fffd_ps.txt +++ b/Source/CaptainToad/83f42767ee584d5a_000000000007fffd_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 83f42767ee584d5a // Used for: Third glitter bloom pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[5]; layout(binding = 1) uniform sampler2DArray textureUnitPS1;// Tex1 addr 0xf4fb1000 res 320x180x6 dim 5 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x6) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/CaptainToad/a0bda935c83e6f2a_0000000000000000_vs.txt b/Source/CaptainToad/a0bda935c83e6f2a_0000000000000000_vs.txt index 67aaa8ca..183147b6 100644 --- a/Source/CaptainToad/a0bda935c83e6f2a_0000000000000000_vs.txt +++ b/Source/CaptainToad/a0bda935c83e6f2a_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader a0bda935c83e6f2a // Used for: Vertical blur -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/CaptainToad/cc5b29e8cb801fb8_000000000007fff9_ps.txt b/Source/CaptainToad/cc5b29e8cb801fb8_000000000007fff9_ps.txt index 3f036e7e..6cdaed49 100644 --- a/Source/CaptainToad/cc5b29e8cb801fb8_000000000007fff9_ps.txt +++ b/Source/CaptainToad/cc5b29e8cb801fb8_000000000007fff9_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader cc5b29e8cb801fb8 // Used for: First glitter bloom pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[5]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e0c000 res 320x180x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/CaptainToad/d6228044a83341ca_000000000007fffd_ps.txt b/Source/CaptainToad/d6228044a83341ca_000000000007fffd_ps.txt index 9adb1876..6c0bcf41 100644 --- a/Source/CaptainToad/d6228044a83341ca_000000000007fffd_ps.txt +++ b/Source/CaptainToad/d6228044a83341ca_000000000007fffd_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader d6228044a83341ca // Used for: Second glitter bloom pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[8]; layout(binding = 1) uniform sampler2DArray textureUnitPS1;// Tex1 addr 0xf4e48800 res 320x180x6 dim 5 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x6) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/CaptainToad/patches.txt b/Source/CaptainToad/patches.txt index d13533d6..9f2f7312 100644 --- a/Source/CaptainToad/patches.txt +++ b/Source/CaptainToad/patches.txt @@ -1,20 +1,9 @@ - [KinopioAspectUW] moduleMatches = 0x43781F76, 0xC64B0A12, 0xD80AD9B4 #rodata constants -0x100A0EE0 = .float -0x100BE2EC = .float -0x100D79B4 = .float +0x100A0EE0 = .float $width/$height +0x100BE2EC = .float $width/$height +0x100D79B4 = .float $width/$height _aspectAddr = 0x100A0EE0 #Aspect Calculation @@ -24,9 +13,9 @@ _aspectAddr = 0x100A0EE0 [KinopioAspectUWv16] moduleMatches = 0x9E0461E7, 0x1B377483, 0x0576A725 #rodata constants -0x0100A2D38 = .float -0x0100C0164 = .float -0x0100D982C = .float +0x0100A2D38 = .float $width/$height +0x0100C0164 = .float $width/$height +0x0100D982C = .float $width/$height _aspectAddr = 0x0100A2D38 #Aspect Calculation diff --git a/Source/CaptainToad/rules.txt b/Source/CaptainToad/rules.txt index 70e5ea98..d4a62cb8 100644 --- a/Source/CaptainToad/rules.txt +++ b/Source/CaptainToad/rules.txt @@ -1,115 +1,637 @@ - [Definition] titleIds = 0005000010180600,0005000010180700,0005000010180500 -name = "Captain Toad: Treasure Tracker - " -version = 2 +name = Resolution +path = "Captain Toad: Treasure Tracker/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] # tv +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +// 21:9 + +[Preset] +name = (21:9) 1280x540 +$width = 1280 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2100x900 +$width = 2560 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2560x1080 +$width = 2560 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 3440x1440 +$width = 3440 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 4200x1800 +$width = 4200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 5120x2160 +$width = 5120 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 10240x5320 +$width = 10240 +$height = 5320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 13760x5760 +$width = 13760 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +// 48:9 + +[Preset] +name = (48:9) 1920x360 +$width = 1920 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 3840x720 +$width = 3840 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 4800x900 +$width = 4800 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 11520x2160 +$width = 11520 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 15360x2880 +$width = 15360 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 23040x4320 +$width = 23040 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 30720x5760 +$width = 30720 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] width = 1280 height = 720 -formatsExcluded = 0x008,0x41A,0x034,0x035 # exclude obvious textures -overwriteWidth = -overwriteHeight = +formatsExcluded = 0x008,0x41A,0x034,0x035 0x008 +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] # zoomed in +[TextureRedefine] #heat haze +width = 1152 +height = 720 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 1152 +overwriteHeight = ($height/$gameHeight) * 720 + +[TextureRedefine] #heat haze width = 1128 height = 720 -overwriteWidth = -overwriteHeight = +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 1128 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] # zoom transition -width = 1000 -height = 600 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # zoom transition 2 -width = 1000 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha -width = 640 -height = 360 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res (zoomed in) -width = 564 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res (zoom transition) -width = 500 -height = 300 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res (zoom transition 2) -width = 500 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # quarter-res alpha -width = 320 -height = 180 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res (zoomed in) -width = 282 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res (zoom transition) -width = 250 -height = 150 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res (zoom transition 2) -width = 250 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res (gamepad) -width = 427 -height = 240 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res (gamepad) -width = 214 -height = 120 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # shadows +[TextureRedefine] #shadow width = 1024 height = 1024 formats = 0x005 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 1024 +overwriteHeight = ($height/$gameHeight) * 1024 + +[TextureRedefine] #Zoom +width = 1024 +height = 608 +#formats = 0x80e,0x810 +overwriteWidth = ($width/$gameWidth) * 1024 +overwriteHeight = ($height/$gameHeight) * 608 + +[TextureRedefine] #Heat haze +width = 1024 +height = 512 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 1024 +overwriteHeight = ($height/$gameHeight) * 512 + +[TextureRedefine] #Zoom +width = 1000 +height = 600 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 1000 +overwriteHeight = ($height/$gameHeight) * 600 + +[TextureRedefine] #sparkly mine +width = 896 +height = 480 +overwriteWidth = ($width/$gameWidth) * 896 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] +width = 864 +height = 480 +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] +width = 854 +height = 480 +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 +##672x405 +[TextureRedefine] #Depth 8 +width = 640 +height = 368 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] #Depth +width = 640 +height = 360 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 + +[TextureRedefine] #heat haze zoomed +width = 576 +height = 368 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 576 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] #816 fire transition, ? +width = 512 +height = 512 +formats = 0x816 # #0x431,0x235,0x034 +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 512 + +[TextureRedefine] +width = 512 +height = 304 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 304 + +[TextureRedefine] +width = 512 +height = 256 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 256 + +[TextureRedefine] +width = 500 +height = 300 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 500 +overwriteHeight = ($height/$gameHeight) * 300 + +[TextureRedefine] # +width = 480 +height = 272 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 272 + +[TextureRedefine] +width = 480 +height = 270 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 270 + +[TextureRedefine] +width = 320 +height = 192 +#formats = +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] +width = 320 +height = 180 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 + +[TextureRedefine] #heat haze +width = 288 +height = 192 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 288 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] #Transition fire +width = 282 +height = 180 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 282 +overwriteHeight = ($height/$gameHeight) * 180 + + +[TextureRedefine] +width = 256 +height = 256 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 256 + +[TextureRedefine] +width = 256 +height = 160 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 160 + +[TextureRedefine] +width = 256 +height = 144 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 144 + +[TextureRedefine] +width = 256 +height = 128 +formats = 0x816,0x806 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 128 + +[TextureRedefine] +width = 250 +height = 150 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 250 +overwriteHeight = ($height/$gameHeight) * 150 + +[TextureRedefine] +width = 240 +height = 135 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 240 +overwriteHeight = ($height/$gameHeight) * 135 + +[TextureRedefine] # mine sparkles +width = 224 +height = 128 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 224 +overwriteHeight = ($height/$gameHeight) * 128 + +[TextureRedefine] # mine sparkles +width = 213 +height = 120 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 213 +overwriteHeight = ($height/$gameHeight) * 120 + +[TextureRedefine] +width = 160 +height = 96 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 96 + +[TextureRedefine] +width = 160 +height = 90 +#formats = +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 90 + +[TextureRedefine] +width = 128 +height = 128 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 128 + +[TextureRedefine] #Transition fire +width = 141 +height = 90 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 141 +overwriteHeight = ($height/$gameHeight) * 90 + +[TextureRedefine] +width = 128 +height = 80 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 80 + +[TextureRedefine] +width = 128 +height = 64 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 64 + +#[TextureRedefine] #haze +#width = 128 +#height = 16 +#formats = 0x823 +#overwriteWidth = ($width/$gameWidth) * 128 +#overwriteHeight = ($height/$gameHeight) * 16 + +[TextureRedefine] +width = 125 +height = 75 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 125 +overwriteHeight = ($height/$gameHeight) * 75 + +[TextureRedefine] +width = 120 +height = 67 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 120 +overwriteHeight = ($height/$gameHeight) * 67 + +[TextureRedefine] +width = 96 +height = 48 +#formats = +overwriteWidth = ($width/$gameWidth) * 96 +overwriteHeight = ($height/$gameHeight) * 48 + +[TextureRedefine] +width = 80 +height = 45 +#formats = +overwriteWidth = ($width/$gameWidth) * 80 +overwriteHeight = ($height/$gameHeight) * 45 + +[TextureRedefine] # Transition fire +width = 70 +height = 45 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 70 +overwriteHeight = ($height/$gameHeight) * 45 + +[TextureRedefine] +width = 64 +height = 64 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 64 + +[TextureRedefine] +width = 64 +height = 48 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 48 + +[TextureRedefine] +width = 64 +height = 32 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 32 + +[TextureRedefine] +width = 62 +height = 37 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 60 +overwriteHeight = ($height/$gameHeight) * 37 + +[TextureRedefine] +width = 60 +height = 33 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 60 +overwriteHeight = ($height/$gameHeight) * 33 + +[TextureRedefine] #transition fire +width = 40 +height = 22 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 40 +overwriteHeight = ($height/$gameHeight) * 22 + +[TextureRedefine] +width = 35 +height = 22 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 35 +overwriteHeight = ($height/$gameHeight) * 22 + +[TextureRedefine] +width = 32 +height = 32 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 32 +overwriteHeight = ($height/$gameHeight) * 32 + +[TextureRedefine] +width = 32 +height = 16 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 32 +overwriteHeight = ($height/$gameHeight) * 16 + +[TextureRedefine] +width = 31 +height = 18 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 31 +overwriteHeight = ($height/$gameHeight) * 18 + +[TextureRedefine] +width = 24 +height = 16 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 24 +overwriteHeight = ($height/$gameHeight) * 16 + +[TextureRedefine] +width = 20 +height = 11 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 20 +overwriteHeight = ($height/$gameHeight) * 11 + +[TextureRedefine] #Transition fire +width = 17 +height = 11 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 17 +overwriteHeight = ($height/$gameHeight) * 11 + +[TextureRedefine] +width = 16 +height = 16 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 16 +overwriteHeight = ($height/$gameHeight) * 16 + +[TextureRedefine] +width = 15 +height = 9 +formats = 0x816,0x823 +overwriteWidth = ($width/$gameWidth) * 15 +overwriteHeight = ($height/$gameHeight) * 9 + +#[TextureRedefine]# +#width = 8 +#height = 8 +#formats = 0x816 #,0x823 +#overwriteWidth = ($width/$gameWidth) * 8 +#overwriteHeight = ($height/$gameHeight) * 8 \ No newline at end of file diff --git a/Source/Chariot/rules.txt b/Source/Chariot/rules.txt deleted file mode 100644 index 54d96990..00000000 --- a/Source/Chariot/rules.txt +++ /dev/null @@ -1,57 +0,0 @@ - -[Definition] -titleIds = 0005000010179900, 000500001017AC00, 00050000101B4400 -name = "Chariot - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x008,0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha -width = 640 -height = 360 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 128 -height = 128 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 256 -height = 256 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 64 -height = 64 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 12 -height = 12 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 512 -height = 1024 -overwriteWidth = -overwriteHeight = diff --git a/Source/ChimpuzzlePro/rules.txt b/Source/ChimpuzzlePro/rules.txt deleted file mode 100644 index 02c07ccc..00000000 --- a/Source/ChimpuzzlePro/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 000500001014DD00 -name = "Chimpuzzle Pro - " -version = 2 - -[TextureRedefine] # tv -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = diff --git a/Source/ChompyChompChompParty/rules.txt b/Source/ChompyChompChompParty/rules.txt deleted file mode 100644 index 8843b486..00000000 --- a/Source/ChompyChompChompParty/rules.txt +++ /dev/null @@ -1,36 +0,0 @@ - -[Definition] -titleIds = 00050000101A9E00,00050000101A9C00 -name = "Chompy Chomp Chomp Party - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/CitizensOfEarth/rules.txt b/Source/CitizensOfEarth/rules.txt deleted file mode 100644 index 294dd669..00000000 --- a/Source/CitizensOfEarth/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 0005000010180B00,0005000010177200 -name = "Citizens Of Earth - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/ColorSplash/5019118560a66950_0000000000000000_vs.txt b/Source/ColorSplash/5019118560a66950_0000000000000000_vs.txt deleted file mode 100644 index a4ce7a8b..00000000 --- a/Source/ColorSplash/5019118560a66950_0000000000000000_vs.txt +++ /dev/null @@ -1,71 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 5019118560a66950 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R123f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * intBitsToFloat(0x3f400000) + R2f.y); -PV0f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * intBitsToFloat(0x3f400000) + R2f.x); -PV0f.y = R123f.y; -R1f.w = 1.0; -// 1 -R2f.z = PV0f.y; -R2f.w = PV0f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Source/ColorSplash/88a193c7d4d2c9bc_0000000000000079_ps.txt b/Source/ColorSplash/88a193c7d4d2c9bc_0000000000000079_ps.txt deleted file mode 100644 index 63ae1e7b..00000000 --- a/Source/ColorSplash/88a193c7d4d2c9bc_0000000000000079_ps.txt +++ /dev/null @@ -1,82 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 88a193c7d4d2c9bc -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4fa7000 res 640x360x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -// 0 -PV0f.x = intBitsToFloat(uf_remappedPS[0].y) * intBitsToFloat(0x3b5a740f) / resXScale; -R2f.y = intBitsToFloat(uf_remappedPS[0].z) * 0.5; -PV0f.z = intBitsToFloat(uf_remappedPS[0].y) * intBitsToFloat(0xbb5a740f) / resYScale; -PV0f.w = 0.0; -// 1 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg0f = R0f.x; -backupReg1f = R0f.y; -R0f.xyz = vec3(PV0f.w,PV0f.z,PV0f.w) + vec3(backupReg0f,backupReg1f,backupReg0f); -R0f.w = PV0f.x + backupReg1f; -R1f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -// 0 -backupReg0f = R0f.w; -R127f.x = R1f.z + R0f.z; -R127f.x /= 2.0; -PV0f.x = R127f.x; -R127f.y = R1f.y + R0f.y; -R127f.y /= 2.0; -PV0f.y = R127f.y; -R127f.z = R1f.x + R0f.x; -R127f.z /= 2.0; -PV0f.z = R127f.z; -R0f.w = R1f.w + backupReg0f; -R0f.w /= 2.0; -// 1 -PV1f.x = -(PV0f.y) + 0.0; -PV1f.y = -(PV0f.z) + 0.0; -PV1f.w = -(PV0f.x) + 0.0; -// 2 -R0f.x = (mul_nonIEEE(PV1f.y,R2f.y) + R127f.z); -R0f.y = (mul_nonIEEE(PV1f.x,R2f.y) + R127f.y); -R0f.z = (mul_nonIEEE(PV1f.w,R2f.y) + R127f.x); -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Source/ColorSplash/deceb5ab7cca5140_0000000000000079_ps.txt b/Source/ColorSplash/deceb5ab7cca5140_0000000000000079_ps.txt deleted file mode 100644 index d0068ea6..00000000 --- a/Source/ColorSplash/deceb5ab7cca5140_0000000000000079_ps.txt +++ /dev/null @@ -1,82 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader deceb5ab7cca5140 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4c23000 res 640x360x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -// 0 -PV0f.x = intBitsToFloat(uf_remappedPS[0].y) * intBitsToFloat(0x3af5c290) / resXScale; -R2f.y = intBitsToFloat(uf_remappedPS[0].z) * 0.5; -PV0f.z = intBitsToFloat(uf_remappedPS[0].y) * intBitsToFloat(0xbaf5c290) / resYScale; -PV0f.w = 0.0; -// 1 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg0f = R0f.x; -backupReg1f = R0f.y; -R0f.xyz = vec3(backupReg0f,backupReg1f,backupReg0f) + vec3(PV0f.z,PV0f.w,PV0f.x); -R0f.w = backupReg1f + PV0f.w; -R1f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -// 0 -backupReg0f = R0f.w; -R127f.x = R1f.z + R0f.z; -R127f.x /= 2.0; -PV0f.x = R127f.x; -R127f.y = R1f.y + R0f.y; -R127f.y /= 2.0; -PV0f.y = R127f.y; -R127f.z = R1f.x + R0f.x; -R127f.z /= 2.0; -PV0f.z = R127f.z; -R0f.w = R1f.w + backupReg0f; -R0f.w /= 2.0; -// 1 -PV1f.x = -(PV0f.y) + 0.0; -PV1f.y = -(PV0f.z) + 0.0; -PV1f.w = -(PV0f.x) + 0.0; -// 2 -R0f.x = (mul_nonIEEE(PV1f.y,R2f.y) + R127f.z); -R0f.y = (mul_nonIEEE(PV1f.x,R2f.y) + R127f.y); -R0f.z = (mul_nonIEEE(PV1f.w,R2f.y) + R127f.x); -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Source/ColorSplash/rules.txt b/Source/ColorSplash/rules.txt deleted file mode 100644 index 9be22c35..00000000 --- a/Source/ColorSplash/rules.txt +++ /dev/null @@ -1,84 +0,0 @@ - -[Definition] -titleIds = 000500001F600900,000500001F600A00,000500001F600B00 -name = "Paper Mario: Color Splash - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -formatsExcluded = 0x431 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1024 -#height = 1024 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 640 -height = 360 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 512 -#height = 512 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 320 -height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 256 -#height = 256 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 64 -#height = 64 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 32 -height = 18 -#formatsExcluded = -overwriteWidth = -overwriteHeight = diff --git a/Source/DevilsThird/rules.txt b/Source/DevilsThird/rules.txt deleted file mode 100644 index d8a4f93a..00000000 --- a/Source/DevilsThird/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - -[Definition] -titleIds = 0005000010177700, 0005000010177600, 0005000010138F00 -name = "Devil's Third - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/DuckTalesRemastered/rules.txt b/Source/DuckTalesRemastered/rules.txt deleted file mode 100644 index 59e13d14..00000000 --- a/Source/DuckTalesRemastered/rules.txt +++ /dev/null @@ -1,30 +0,0 @@ - -[Definition] -titleIds = 0005000010129000,0005000010129200 -name = "DuckTales Remastered - " -version = 2 - -[TextureRedefine] # tv -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res -width = 480 -height = 270 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/ElectronicSuperJoyGrooveCity/rules.txt b/Source/ElectronicSuperJoyGrooveCity/rules.txt deleted file mode 100644 index 277cd063..00000000 --- a/Source/ElectronicSuperJoyGrooveCity/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 0005000010197300 -name = "Electronic Super Joy Groove City - " -version = 2 - -[TextureRedefine] # tv -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/FASTRacingNEO/0f53b10e26382ad1_00000000003db249_ps.txt b/Source/FASTRacingNEO/0f53b10e26382ad1_00000000003db249_ps.txt deleted file mode 100644 index 7c1ffd16..00000000 --- a/Source/FASTRacingNEO/0f53b10e26382ad1_00000000003db249_ps.txt +++ /dev/null @@ -1,705 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 0f53b10e26382ad1 -const float resScale = ; -uniform ivec4 uf_remappedPS[20]; -layout(binding = 0) uniform samplerCubeArray textureUnitPS0;// Tex0 addr 0x29119000 res 256x256x1 dim 3 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x6) Sampler0 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 1) uniform samplerCubeArray textureUnitPS1;// Tex1 addr 0x29119000 res 256x256x1 dim 3 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x6) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 041a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0xf4385000 res 1280x720x1 dim 1 tm: 4 format 021f compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 4) uniform sampler2D textureUnitPS4;// Tex4 addr 0xf4a8d000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler4 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0xf4e11000 res 1280x720x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex0 = 0.0; -float cubeMapArrayIndex1 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw) * resScale); -if( activeMaskStackC[1] == true ) { -R0i.w = floatBitsToInt(texelFetch(textureUnitPS5, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(uf_remappedPS[0].y))); -R127i.y = floatBitsToInt((intBitsToFloat(R0i.w) * 2.0 + -(1.0))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedPS[0].x))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].w)); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(PS0i)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].w) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].z) * 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].z)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].x) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].y) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R126i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(PV1i.z))); -PS0i = R127i.z; -// 3 -backupReg0i = R127i.y; -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + -(1.0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[2].y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[2].z)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(uf_remappedPS[3].w)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 5 -backupReg0i = R127i.y; -backupReg0i = R127i.y; -backupReg0i = R127i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(PV0i.y))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].w)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].z)) + intBitsToFloat(PV0i.w))); -// 6 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 7 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R126i.w) * intBitsToFloat(PS0i)); -PV1i.z = R127i.z; -// 8 -R3i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(uf_remappedPS[5].x)); -PV0i.x = R3i.x; -R4i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(uf_remappedPS[5].y)); -PV0i.y = R4i.y; -R6i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[5].z)); -PV0i.z = R6i.z; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(PV1i.z)); -// 9 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R127i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -R123i.w = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R127i.x) + intBitsToFloat(PS1i))); -PV0i.w = R123i.w; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R3i.x)), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R4i.y)), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R6i.z)), intBitsToFloat(PS0i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.w)); -R126i.y = floatBitsToInt(tempResultf); -PS1i = R126i.y; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.w = tempi.x; -R4i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R127i.x)), intBitsToFloat(PS1i))); -PS0i = R4i.x; -// 13 -if( (intBitsToFloat(uf_remappedPS[7].y) >= intBitsToFloat(PV0i.x))) discard; -R3i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R127i.y)), intBitsToFloat(R126i.y))); -R4i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R127i.z)), intBitsToFloat(R126i.y))); -} -if( activeMaskStackC[1] == true ) { -R1i.xy = floatBitsToInt(texelFetch(textureUnitPS3, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xy); -R2i.xyz = floatBitsToInt(texelFetch(textureUnitPS4, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xyz); -R5i.xyzw = floatBitsToInt(texelFetch(textureUnitPS2, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(0x437f0000)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.x)),intBitsToFloat(R1i.x)) + intBitsToFloat(0x3f800347))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(sqrt(intBitsToFloat(R2i.y))); -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedPS[8].z)) + intBitsToFloat(R2i.y))); -PV1i.z = R123i.z; -PS1i = int(intBitsToFloat(PV0i.z)); -// 2 -R127i.x = PS1i & 0x00000004; -PV0i.x = R127i.x; -R127i.y = PS1i & 0x00000002; -R0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = R0i.z; -R127i.z = floatBitsToInt(sqrt(intBitsToFloat(PV1i.y))); -PS0i = R127i.z; -// 3 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x41300000)); -R0i.y = ((PV0i.x == 0)?(R1i.y):(R1i.y)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i))); -R0i.x = ((PV0i.x == 0)?(R1i.x):(R1i.x)); -PS1i = R0i.x; -// 4 -R1i.z = ((R127i.x == 0)?(R127i.z):(PV1i.w)); -R2i.w = floatBitsToInt(float(R127i.y)); -R2i.w = clampFI32(R2i.w); -PS0i = R2i.w; -// 5 -R1i.x = floatBitsToInt(exp2(intBitsToFloat(R126i.x))); -PS1i = R1i.x; -// 6 -predResult = (intBitsToFloat(uf_remappedPS[7].y) != intBitsToFloat(uf_remappedPS[7].z)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[7].y)) + intBitsToFloat(uf_remappedPS[7].z)); -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(uf_remappedPS[7].y))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(PS1i)); -// 3 -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[7].w), intBitsToFloat(PS1i))); -// 5 -R3i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R3i.z; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = floatBitsToInt(1.0); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[5].w)); -PS0i = R127i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -PV0i.z = R125i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(0x41000000)); -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -backupReg0i = R127i.x; -R127i.xyz = floatBitsToInt(vec3(intBitsToFloat(R4i.x),intBitsToFloat(R3i.y),intBitsToFloat(R4i.z)) + vec3(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z))); -PV1i.x = R127i.x; -PV1i.y = R127i.y; -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(backupReg0i)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + 1.0); -PS1i = R126i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R126i.z = clampFI32(R126i.z); -PS0i = R126i.z; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R3i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -tempResultf = log2(intBitsToFloat(R126i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 8 -R125i.x = floatBitsToInt(min(intBitsToFloat(R0i.z), intBitsToFloat(R126i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R125i.z))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[7].x), intBitsToFloat(R127i.y))); -tempResultf = log2(intBitsToFloat(PS1i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.x = floatBitsToInt(tempResultf); -PS0i = R127i.x; -// 9 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.y),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R2i.y = PV1i.x; -R2i.y = clampFI32(R2i.y); -R125i.z = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x40a00000)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R4i.z))); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(R127i.w))); -PS0i = R3i.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R3i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.x)); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(R125i.z))); -PS0i = R126i.w; -// 13 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3d22f983)); -R125i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(backupReg0i)) + intBitsToFloat(R4i.x))); -R125i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R1i.z)) + intBitsToFloat(R4i.z))); -PV1i.w = R127i.w; -// 14 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R125i.x)) + intBitsToFloat(R2i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R2i.y))); -PV0i.w = R126i.w; -PS0i = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(PV1i.w)), intBitsToFloat(uf_remappedPS[9].z))); -// 15 -R1i.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R125i.y)),-(intBitsToFloat(R125i.z)),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),1.0,0.0))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[10].x))); -PS1i = R4i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R125i.y)),-(intBitsToFloat(R125i.z)),-(intBitsToFloat(R127i.w)),-0.0),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R125i.y)),-(intBitsToFloat(R125i.z)),-(intBitsToFloat(R127i.w)),-0.0),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.z = tempi.x; -// 18 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedPS[10].y))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedPS[10].z))); -// 19 -predResult = (uf_remappedPS[8].w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + 1.0); -PS0i = R127i.y; -// 1 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -// 3 -backupReg0i = R127i.y; -redcCUBE(vec4(intBitsToFloat(R7i.z),intBitsToFloat(R7i.z),intBitsToFloat(R1i.x),intBitsToFloat(R1i.y)),vec4(intBitsToFloat(R1i.y),intBitsToFloat(R1i.x),intBitsToFloat(R7i.z),intBitsToFloat(R7i.z)),cubeMapSTM,cubeMapFaceId); -R127i.x = floatBitsToInt(cubeMapSTM.x); -R127i.y = floatBitsToInt(cubeMapSTM.y); -R127i.z = floatBitsToInt(cubeMapSTM.z); -R127i.w = cubeMapFaceId; -PV1i.x = R127i.x; -PV1i.y = R127i.y; -PV1i.z = R127i.z; -PV1i.w = R127i.w; -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[16].y))); -PS1i = R0i.w; -// 4 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg2i = R126i.y; -backupReg1i = R126i.z; -redcCUBE(vec4(intBitsToFloat(R126i.z),intBitsToFloat(R126i.z),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg1i)),cubeMapSTM,cubeMapFaceId); -R126i.x = floatBitsToInt(cubeMapSTM.x); -R126i.y = floatBitsToInt(cubeMapSTM.y); -R126i.z = floatBitsToInt(cubeMapSTM.z); -R126i.w = cubeMapFaceId; -PV0i.x = R126i.x; -PV0i.y = R126i.y; -PV0i.z = R126i.z; -PV0i.w = R126i.w; -R0i.z = PV1i.w; -PS0i = R0i.z; -// 5 -R2i.x = floatBitsToInt((0.0 * intBitsToFloat(uf_remappedPS[8].x) + 1.0)); -R1i.z = PV0i.w; -R1i.w = uf_remappedPS[16].x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(R127i.z))); -// 6 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS1i)) + 1.5)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / abs(intBitsToFloat(R126i.z))); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS0i)) + 1.5)); -PV1i.x = R123i.x; -R0i.y = PV0i.w; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS0i)) + 1.5)); -PV1i.w = R123i.w; -R0i.x = PV0i.z; -PS1i = R0i.x; -// 8 -R1i.x = PV1i.x; -R1i.y = PV1i.w; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(textureLod(textureUnitPS1, vec4(redcCUBEReverse(intBitsToFloat(R0i.xy),R0i.z),cubeMapArrayIndex1),intBitsToFloat(R0i.w)).xyz); -R1i.xyz = floatBitsToInt(textureLod(textureUnitPS0, vec4(redcCUBEReverse(intBitsToFloat(R1i.xy),R1i.z),cubeMapArrayIndex0),intBitsToFloat(R1i.w)).xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[16].w), intBitsToFloat(R0i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[16].w), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[16].w), intBitsToFloat(R0i.z))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedPS[17].x))); -PS0i = R0i.x; -// 1 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(uf_remappedPS[17].y))); -PS1i = R0i.y; -// 2 -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(uf_remappedPS[17].z))); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].y))); -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].z)) * intBitsToFloat(0x3dcccccd)); -// 1 -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].x))); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x3ecccccd))); -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[18].x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[18].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[18].z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(max(intBitsToFloat(R6i.z), 0.0)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R4i.x))); -PV0i.z = R3i.w; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R4i.y))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R4i.z))); -PS0i = R126i.w; -// 1 -R127i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 0.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R0i.w = floatBitsToInt(1.0); -PS1i = R0i.w; -// 2 -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(PV1i.w)) + 1.0)); -PV0i.z = R123i.z; -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.y)),intBitsToFloat(PV0i.z)) + 1.0)); -PV1i.y = R123i.y; -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedPS[18].x)) + -(intBitsToFloat(R0i.x)))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedPS[18].z)) + -(intBitsToFloat(R0i.z)))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedPS[18].y)) + -(intBitsToFloat(R0i.y)))); -PV0i.w = R123i.w; -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R2i.w)) + intBitsToFloat(R0i.y))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R2i.w)) + intBitsToFloat(R0i.x))); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R2i.w)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].y)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].x)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PV0i.z))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.z))); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.y))); -// 11 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV0i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV0i.x))); -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -} diff --git a/Source/FASTRacingNEO/33fa3ac7f0222908_0000000000000079_ps.txt b/Source/FASTRacingNEO/33fa3ac7f0222908_0000000000000079_ps.txt deleted file mode 100644 index 706dc25f..00000000 --- a/Source/FASTRacingNEO/33fa3ac7f0222908_0000000000000079_ps.txt +++ /dev/null @@ -1,180 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 33fa3ac7f0222908 -const float resScale = ; -uniform ivec4 uf_remappedPS[9]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5c2b800 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 1) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw) * resScale; -R1f = passParameterSem0; -R3f.xz = (texelFetch(textureUnitPS0, ivec2(R0f.x, R0f.y), 0).xz); -// 0 -PV0f.x = mul_nonIEEE(R1f.x, R1f.x); -PV0f.y = -(intBitsToFloat(uf_remappedPS[0].w)) + intBitsToFloat(uf_remappedPS[1].x); -R127f.z = mul_nonIEEE(R3f.x, R3f.x); -PV0f.w = mul_nonIEEE(R3f.z, R3f.z); -R4f.w = 1.0; -PS0f = R4f.w; -// 1 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -R0f.x = (mul_nonIEEE(-(R1f.x),intBitsToFloat(uf_remappedPS[2].w)) + backupReg0f); -R0f.y = (intBitsToFloat(uf_remappedPS[2].w) * 0.25 + backupReg1f); -R2f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),PV0f.w) + -(R3f.z)); -R123f.w = (mul_nonIEEE(R1f.y,R1f.y) + PV0f.x); -PV1f.w = R123f.w; -R1f.w = 1.0 / PV0f.y; -PS1f = R1f.w; -// 2 -R1f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].x),R127f.z) + -(R3f.x)); -R0f.z = sqrt(PV1f.w); -PS0f = R0f.z; -R0f.w = (texelFetch(textureUnitPS0, ivec2(R0f.x, R0f.y), 0).y); -// 0 -PV0f.y = -(intBitsToFloat(uf_remappedPS[0].w)) + R0f.z; -R126f.z = R0f.w; -PV0f.z = R126f.z; -// 1 -R127f.x = intBitsToFloat(uf_remappedPS[3].x) + -(intBitsToFloat(uf_remappedPS[4].x)); -PV1f.y = mul_nonIEEE(PV0f.z, PV0f.z); -PV1f.z = PV0f.y * R1f.w; -PV1f.z = clamp(PV1f.z, 0.0, 1.0); -R126f.w = intBitsToFloat(uf_remappedPS[3].y) + -(intBitsToFloat(uf_remappedPS[4].y)); -// 2 -R123f.x = (intBitsToFloat(0xc0000000) * PV1f.z + intBitsToFloat(0x40400000)); -PV0f.x = R123f.x; -PV0f.y = mul_nonIEEE(PV1f.z, PV1f.z); -R127f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),PV1f.y) + -(R126f.z)); -// 3 -R126f.x = intBitsToFloat(uf_remappedPS[3].z) + -(intBitsToFloat(uf_remappedPS[4].z)); -PV1f.w = mul_nonIEEE(PV0f.y, PV0f.x); -// 4 -R127f.w = mul_nonIEEE(PV1f.w, intBitsToFloat(uf_remappedPS[5].x)); -PV0f.w = R127f.w; -// 5 -R125f.x = (mul_nonIEEE(R1f.z,PV0f.w) + R3f.x); -R127f.y = (mul_nonIEEE(R127f.z,PV0f.w) + R126f.z); -// 6 -R127f.z = (mul_nonIEEE(R2f.z,R127f.w) + R3f.z); -PV0f.z = R127f.z; -// 7 -tempf.x = dot(vec4(R125f.x,R127f.y,PV0f.z,-0.0),vec4(intBitsToFloat(0x3e99096c),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -// 8 -R127f.w = min(PV1f.x, 1.0); -PV0f.w = R127f.w; -// 9 -R123f.y = (mul_nonIEEE(R126f.x,PV0f.w) + intBitsToFloat(uf_remappedPS[4].z)); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(R126f.w,PV0f.w) + intBitsToFloat(uf_remappedPS[4].y)); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(R127f.x,PV0f.w) + intBitsToFloat(uf_remappedPS[4].x)); -PV1f.w = R123f.w; -// 10 -PV0f.x = -(R125f.x) + PV1f.w; -PV0f.z = -(R127f.z) + PV1f.y; -PV0f.w = -(R127f.y) + PV1f.z; -// 11 -backupReg0f = R125f.x; -R125f.x = (mul_nonIEEE(PV0f.w,intBitsToFloat(uf_remappedPS[6].y)) + R127f.y); -PV1f.x = R125f.x; -R127f.y = (mul_nonIEEE(PV0f.x,intBitsToFloat(uf_remappedPS[6].x)) + backupReg0f); -PV1f.y = R127f.y; -R126f.w = (mul_nonIEEE(PV0f.z,intBitsToFloat(uf_remappedPS[6].z)) + R127f.z); -PV1f.w = R126f.w; -// 12 -PV0f.x = R127f.w + -(PV1f.w); -PV0f.y = R127f.w + -(PV1f.x); -PV0f.z = R127f.w + -(PV1f.y); -// 13 -R123f.y = (mul_nonIEEE(PV0f.x,-(intBitsToFloat(uf_remappedPS[7].x))) + R126f.w); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(PV0f.y,-(intBitsToFloat(uf_remappedPS[7].x))) + R125f.x); -PV1f.z = R123f.z; -R123f.w = (mul_nonIEEE(PV0f.z,-(intBitsToFloat(uf_remappedPS[7].x))) + R127f.y); -PV1f.w = R123f.w; -// 14 -R125f.x = mul_nonIEEE(intBitsToFloat(uf_remappedPS[8].x), PV1f.w); -PV0f.x = R125f.x; -R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedPS[8].z), PV1f.y); -PV0f.z = R127f.z; -R127f.w = mul_nonIEEE(intBitsToFloat(uf_remappedPS[8].y), PV1f.z); -PV0f.w = R127f.w; -// 15 -PV1f.x = mul_nonIEEE(intBitsToFloat(uf_remappedPS[8].w), PV0f.w); -PV1f.y = mul_nonIEEE(intBitsToFloat(uf_remappedPS[8].w), PV0f.x); -R126f.w = mul_nonIEEE(intBitsToFloat(uf_remappedPS[8].w), PV0f.z); -PV1f.w = R126f.w; -// 16 -PV0f.x = intBitsToFloat(uf_remappedPS[0].y) + PV1f.w; -PV0f.y = intBitsToFloat(uf_remappedPS[0].y) + PV1f.x; -PV0f.z = intBitsToFloat(uf_remappedPS[0].y) + PV1f.y; -PV0f.w = intBitsToFloat(uf_remappedPS[0].x) + PV1f.y; -R125f.w = intBitsToFloat(uf_remappedPS[0].x) + PV1f.x; -PS0f = R125f.w; -// 17 -PV1f.x = intBitsToFloat(uf_remappedPS[0].x) + R126f.w; -R126f.y = (mul_nonIEEE(R127f.z,PV0f.x) + intBitsToFloat(uf_remappedPS[0].z)); -R126f.z = (mul_nonIEEE(R127f.w,PV0f.y) + intBitsToFloat(uf_remappedPS[0].z)); -R123f.w = (mul_nonIEEE(R125f.x,PV0f.z) + intBitsToFloat(uf_remappedPS[0].z)); -PV1f.w = R123f.w; -R127f.y = mul_nonIEEE(R125f.x, PV0f.w); -PS1f = R127f.y; -// 18 -R125f.x = mul_nonIEEE(R127f.w, R125f.w); -R127f.w = mul_nonIEEE(R127f.z, PV1f.x); -PS0f = 1.0 / PV1f.w; -// 19 -R4f.x = R127f.y * PS0f; -PS1f = 1.0 / R126f.z; -// 20 -R4f.y = R125f.x * PS1f; -PS0f = 1.0 / R126f.y; -// 21 -R4f.z = R127f.w * PS0f; -// export -passPixelColor0 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -} diff --git a/Source/FASTRacingNEO/935b8d72d8f53ccc_00000000003c9249_ps.txt b/Source/FASTRacingNEO/935b8d72d8f53ccc_00000000003c9249_ps.txt deleted file mode 100644 index f0ca7aeb..00000000 --- a/Source/FASTRacingNEO/935b8d72d8f53ccc_00000000003c9249_ps.txt +++ /dev/null @@ -1,607 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 935b8d72d8f53ccc -const float resScale = ; -uniform ivec4 uf_remappedPS[21]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x208f7800 res 3072x2048x1 dim 1 tm: 4 format 0035 compSel: 0 1 4 5 mipView: 0x0 (num 0xc) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x211a5800 res 3072x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xc) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 041a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0xf4385000 res 1280x720x1 dim 1 tm: 4 format 021f compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 4) uniform sampler2D textureUnitPS4;// Tex4 addr 0xf4a8d000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler4 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0xf4e11000 res 1280x720x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw) * resScale); -if( activeMaskStackC[1] == true ) { -R0i.w = floatBitsToInt(texelFetch(textureUnitPS5, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).x); -R1i.xy = floatBitsToInt(texelFetch(textureUnitPS3, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xy); -R6i.xyzw = floatBitsToInt(texelFetch(textureUnitPS2, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xyzw); -R4i.xyzw = floatBitsToInt(texelFetch(textureUnitPS4, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt((intBitsToFloat(R0i.w) * 2.0 + -(1.0))); -R127i.y = floatBitsToInt(intBitsToFloat(R0i.x) + -(intBitsToFloat(uf_remappedPS[0].x))); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(uf_remappedPS[0].y))); -R126i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.x)),intBitsToFloat(R1i.x)) + intBitsToFloat(0x3f800347))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].w)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(R6i.w) * intBitsToFloat(0x437f0000)); -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].w) * 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].z) * 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].z)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].y) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].x) * 1.0); -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(PV1i.y))); -PS0i = R127i.y; -// 3 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[2].y)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[2].z)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -R125i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(uf_remappedPS[3].w)) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R125i.w = int(intBitsToFloat(R126i.x)); -PS0i = R125i.w; -// 5 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].w)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(PV0i.z))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].z)) + intBitsToFloat(PV0i.w))); -R127i.y = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R127i.y; -// 6 -backupReg0i = R125i.w; -R126i.x = floatBitsToInt(-(intBitsToFloat(R4i.x)) + 1.0); -R125i.y = R125i.w & 0x00000002; -R126i.z = floatBitsToInt(-(intBitsToFloat(PS1i))); -R125i.w = backupReg0i & 0x00000004; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -R2i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -PV1i.x = R2i.x; -R2i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(PS0i)); -PV1i.y = R2i.y; -R7i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -PV1i.z = R7i.z; -PS1i = floatBitsToInt(sqrt(intBitsToFloat(R4i.y))); -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(uf_remappedPS[5].z)) + intBitsToFloat(R4i.y))); -PS0i = R126i.y; -// 9 -R0i.x = ((R125i.w == 0)?(R1i.x):(R1i.x)); -R0i.y = ((R125i.w == 0)?(R1i.y):(R1i.y)); -R1i.z = ((R125i.w == 0)?(R127i.y):(R126i.z)); -PV1i.z = R1i.z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 10 -R3i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R2i.x)), intBitsToFloat(PS1i))); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R2i.y)), intBitsToFloat(PS1i))); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R7i.z)), intBitsToFloat(PS1i))); -PV0i.z = R3i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[6].z))); -R8i.z = floatBitsToInt(min(intBitsToFloat(R126i.y), 1.0)); -PS0i = R8i.z; -// 11 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedPS[6].x)); -PV1i.x = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(uf_remappedPS[6].y)); -PV1i.y = R126i.y; -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(uf_remappedPS[6].z)); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x41300000)); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(PV0i.w))); -PS1i = R125i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R127i.w; -// 13 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -R125i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(R125i.x))); -PS0i = R3i.w; -// 15 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(0x41000000)); -PS1i = R127i.x; -// 16 -backupReg0i = R125i.y; -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R125i.y = floatBitsToInt(max(intBitsToFloat(R3i.w), 0.0)); -R126i.z = floatBitsToInt(max(intBitsToFloat(R125i.w), 0.0)); -R125i.w = floatBitsToInt(min(intBitsToFloat(R8i.z), intBitsToFloat(R126i.x))); -R5i.w = floatBitsToInt(float(backupReg0i)); -R5i.w = clampFI32(R5i.w); -PS0i = R5i.w; -// 17 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 18 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.z = floatBitsToInt(min(intBitsToFloat(R4i.w), intBitsToFloat(R125i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.x)); -tempResultf = log2(intBitsToFloat(R126i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 19 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x40a00000)); -R1i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(backupReg0i)) + intBitsToFloat(R3i.x))); -R0i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.y))); -R0i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R1i.z)) + intBitsToFloat(R3i.z))); -PV1i.w = R0i.w; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 20 -PV0i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(PV1i.w)), intBitsToFloat(uf_remappedPS[7].z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.x))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 21 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R0i.z)),intBitsToFloat(uf_remappedPS[7].y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3d22f983)); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(R4i.x))); -PS1i = R2i.y; -// 22 -R1i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.y)),intBitsToFloat(uf_remappedPS[7].x)) + intBitsToFloat(PV1i.x))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R2i.z))); -PV0i.w = R1i.w; -PS0i = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R0i.w)), intBitsToFloat(uf_remappedPS[8].z))); -// 23 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R0i.z)),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[9].x))); -PS1i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R0i.z)),-(intBitsToFloat(R0i.w)),-0.0),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.z = tempi.x; -// 1 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[9].y))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[9].z))); -// 2 -predResult = (uf_remappedPS[5].w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + 1.0); -PS0i = R127i.y; -// 1 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R127i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(0x3f400000) + 0.25)); -PS1i = R127i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -PS0i = R127i.w; -// 3 -redcCUBE(vec4(intBitsToFloat(R0i.z),intBitsToFloat(R0i.z),intBitsToFloat(R1i.x),intBitsToFloat(R4i.y)),vec4(intBitsToFloat(R4i.y),intBitsToFloat(R1i.x),intBitsToFloat(R0i.z),intBitsToFloat(R0i.z)),cubeMapSTM,cubeMapFaceId); -R125i.x = floatBitsToInt(cubeMapSTM.x); -R125i.y = floatBitsToInt(cubeMapSTM.y); -R125i.z = floatBitsToInt(cubeMapSTM.z); -R125i.w = cubeMapFaceId; -PV1i.x = R125i.x; -PV1i.y = R125i.y; -PV1i.z = R125i.z; -PV1i.w = R125i.w; -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedPS[14].y))); -PS1i = R0i.w; -// 4 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg2i = R126i.y; -backupReg1i = R126i.z; -redcCUBE(vec4(intBitsToFloat(R126i.z),intBitsToFloat(R126i.z),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg1i)),cubeMapSTM,cubeMapFaceId); -R126i.x = floatBitsToInt(cubeMapSTM.x); -R126i.y = floatBitsToInt(cubeMapSTM.y); -R126i.z = floatBitsToInt(cubeMapSTM.z); -R126i.w = cubeMapFaceId; -PV0i.x = R126i.x; -PV0i.y = R126i.y; -PV0i.z = R126i.z; -PV0i.w = R126i.w; -R0i.z = PV1i.w; -PS0i = R0i.z; -// 5 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(R127i.x))); -R1i.z = PV0i.w; -R1i.w = uf_remappedPS[14].x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(R125i.z))); -// 6 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PS1i)) + 1.5)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / abs(intBitsToFloat(R126i.z))); -// 7 -R0i.x = PV0i.z; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS0i)) + 1.5)); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS0i)) + 1.5)); -PV1i.w = R123i.w; -R0i.y = PV0i.w; -PS1i = R0i.y; -// 8 -R1i.x = PV1i.w; -R1i.y = PV1i.y; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R0i.xy),intBitsToFloat(R0i.w)).xyz); -R1i.xyz = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[14].w), intBitsToFloat(R0i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[14].w), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[14].w), intBitsToFloat(R0i.z))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedPS[15].x))); -PS0i = R0i.x; -// 1 -backupReg0i = R5i.x; -backupReg1i = R5i.y; -backupReg2i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(uf_remappedPS[15].y))); -PS1i = R0i.y; -// 2 -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(uf_remappedPS[15].z))); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].y))); -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].z)) * intBitsToFloat(0x3dcccccd)); -// 1 -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].x))); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x3ecccccd))); -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[16].x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[16].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[16].z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(R5i.y))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(R2i.w), 0.0)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(R5i.x))); -PV0i.w = R3i.w; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(R5i.z))); -PS0i = R126i.x; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 0.0)); -// 2 -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(PV1i.x)) + 1.0)); -PV0i.w = R123i.w; -// 3 -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.w)) + 1.0)); -PV1i.z = R123i.z; -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[16].y)) + -(intBitsToFloat(R0i.y)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[16].x)) + -(intBitsToFloat(R0i.x)))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[16].z)) + -(intBitsToFloat(R0i.z)))); -PV0i.w = R123i.w; -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R5i.w)) + intBitsToFloat(R0i.z))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R5i.w)) + intBitsToFloat(R0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R5i.w)) + intBitsToFloat(R0i.x))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -// 9 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.w))); -// 10 -predResult = (intBitsToFloat(uf_remappedPS[18].z) != 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedPS[18].y)); -R0i.w = 0; -PV0i.w = R0i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z)),-(intBitsToFloat(PV0i.w))),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].z)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[18].z), intBitsToFloat(R127i.y))); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 3 -R126i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].x)) + intBitsToFloat(uf_remappedPS[20].x)); -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].y)) + intBitsToFloat(uf_remappedPS[20].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x41200000)); -// 4 -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(uf_remappedPS[20].z)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedPS[20].w))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(uf_remappedPS[5].y), intBitsToFloat(R127i.x))); -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -// 7 -backupReg0i = R126i.x; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.x)) + intBitsToFloat(uf_remappedPS[19].x))); -PV1i.x = R126i.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(uf_remappedPS[19].z))); -PV1i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.x)) + intBitsToFloat(uf_remappedPS[19].y))); -PV1i.w = R127i.w; -// 8 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.z) + -(intBitsToFloat(PV1i.z))); -// 9 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(R126i.x))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.w))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.w = floatBitsToInt(1.0); -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -} diff --git a/Source/FASTRacingNEO/935b8d72d8f53ccc_00000000003db249_ps.txt b/Source/FASTRacingNEO/935b8d72d8f53ccc_00000000003db249_ps.txt deleted file mode 100644 index 45299552..00000000 --- a/Source/FASTRacingNEO/935b8d72d8f53ccc_00000000003db249_ps.txt +++ /dev/null @@ -1,646 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 935b8d72d8f53ccc -const float resScale = ; -uniform ivec4 uf_remappedPS[21]; -layout(binding = 0) uniform samplerCubeArray textureUnitPS0;// Tex0 addr 0x1b70a000 res 512x512x1 dim 3 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x6) Sampler0 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 1) uniform samplerCubeArray textureUnitPS1;// Tex1 addr 0x1b70a000 res 512x512x1 dim 3 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x6) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 041a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0xf4385000 res 1280x720x1 dim 1 tm: 4 format 021f compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 4) uniform sampler2D textureUnitPS4;// Tex4 addr 0xf4a8d000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler4 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0xf4e11000 res 1280x720x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex0 = 0.0; -float cubeMapArrayIndex1 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw) * resScale); -if( activeMaskStackC[1] == true ) { -R0i.w = floatBitsToInt(texelFetch(textureUnitPS5, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).x); -R1i.xy = floatBitsToInt(texelFetch(textureUnitPS3, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xy); -R6i.xyzw = floatBitsToInt(texelFetch(textureUnitPS2, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xyzw); -R4i.xyzw = floatBitsToInt(texelFetch(textureUnitPS4, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt((intBitsToFloat(R0i.w) * 2.0 + -(1.0))); -R127i.y = floatBitsToInt(intBitsToFloat(R0i.x) + -(intBitsToFloat(uf_remappedPS[0].x))); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(uf_remappedPS[0].y))); -R126i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.x)),intBitsToFloat(R1i.x)) + intBitsToFloat(0x3f800347))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].w)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(R6i.w) * intBitsToFloat(0x437f0000)); -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].w) * 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].z) * 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].z)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].y) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].x) * 1.0); -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(PV1i.y))); -PS0i = R127i.y; -// 3 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[2].y)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[2].z)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -R125i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(uf_remappedPS[3].w)) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R125i.w = int(intBitsToFloat(R126i.x)); -PS0i = R125i.w; -// 5 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].w)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(PV0i.z))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].z)) + intBitsToFloat(PV0i.w))); -R127i.y = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R127i.y; -// 6 -backupReg0i = R125i.w; -R126i.x = floatBitsToInt(-(intBitsToFloat(R4i.x)) + 1.0); -R125i.y = R125i.w & 0x00000002; -R126i.z = floatBitsToInt(-(intBitsToFloat(PS1i))); -R125i.w = backupReg0i & 0x00000004; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -R2i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -PV1i.x = R2i.x; -R2i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(PS0i)); -PV1i.y = R2i.y; -R7i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -PV1i.z = R7i.z; -PS1i = floatBitsToInt(sqrt(intBitsToFloat(R4i.y))); -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(uf_remappedPS[5].z)) + intBitsToFloat(R4i.y))); -PS0i = R126i.y; -// 9 -R0i.x = ((R125i.w == 0)?(R1i.x):(R1i.x)); -R0i.y = ((R125i.w == 0)?(R1i.y):(R1i.y)); -R1i.z = ((R125i.w == 0)?(R127i.y):(R126i.z)); -PV1i.z = R1i.z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 10 -R3i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R2i.x)), intBitsToFloat(PS1i))); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R2i.y)), intBitsToFloat(PS1i))); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R7i.z)), intBitsToFloat(PS1i))); -PV0i.z = R3i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[6].z))); -R8i.z = floatBitsToInt(min(intBitsToFloat(R126i.y), 1.0)); -PS0i = R8i.z; -// 11 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedPS[6].x)); -PV1i.x = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(uf_remappedPS[6].y)); -PV1i.y = R126i.y; -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(uf_remappedPS[6].z)); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x41300000)); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(PV0i.w))); -PS1i = R125i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R127i.w; -// 13 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 14 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -R125i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(R125i.x))); -PS0i = R3i.w; -// 15 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(0x41000000)); -PS1i = R127i.x; -// 16 -backupReg0i = R125i.y; -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R125i.y = floatBitsToInt(max(intBitsToFloat(R3i.w), 0.0)); -R126i.z = floatBitsToInt(max(intBitsToFloat(R125i.w), 0.0)); -R125i.w = floatBitsToInt(min(intBitsToFloat(R8i.z), intBitsToFloat(R126i.x))); -R5i.w = floatBitsToInt(float(backupReg0i)); -R5i.w = clampFI32(R5i.w); -PS0i = R5i.w; -// 17 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 18 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.z = floatBitsToInt(min(intBitsToFloat(R4i.w), intBitsToFloat(R125i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.x)); -tempResultf = log2(intBitsToFloat(R126i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 19 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x40a00000)); -R1i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(backupReg0i)) + intBitsToFloat(R3i.x))); -R0i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.y))); -R0i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R1i.z)) + intBitsToFloat(R3i.z))); -PV1i.w = R0i.w; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 20 -PV0i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(PV1i.w)), intBitsToFloat(uf_remappedPS[7].z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.x))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 21 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R0i.z)),intBitsToFloat(uf_remappedPS[7].y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3d22f983)); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(R4i.x))); -PS1i = R2i.y; -// 22 -R1i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.y)),intBitsToFloat(uf_remappedPS[7].x)) + intBitsToFloat(PV1i.x))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R2i.z))); -PV0i.w = R1i.w; -PS0i = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R0i.w)), intBitsToFloat(uf_remappedPS[8].z))); -// 23 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R0i.z)),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[9].x))); -PS1i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R0i.z)),-(intBitsToFloat(R0i.w)),-0.0),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.z = tempi.x; -// 1 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[9].y))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[9].z))); -// 2 -predResult = (uf_remappedPS[5].w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + 1.0); -PS0i = R127i.y; -// 1 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R127i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(0x3f400000) + 0.25)); -PS1i = R127i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -PS0i = R127i.w; -// 3 -redcCUBE(vec4(intBitsToFloat(R0i.z),intBitsToFloat(R0i.z),intBitsToFloat(R1i.x),intBitsToFloat(R4i.y)),vec4(intBitsToFloat(R4i.y),intBitsToFloat(R1i.x),intBitsToFloat(R0i.z),intBitsToFloat(R0i.z)),cubeMapSTM,cubeMapFaceId); -R125i.x = floatBitsToInt(cubeMapSTM.x); -R125i.y = floatBitsToInt(cubeMapSTM.y); -R125i.z = floatBitsToInt(cubeMapSTM.z); -R125i.w = cubeMapFaceId; -PV1i.x = R125i.x; -PV1i.y = R125i.y; -PV1i.z = R125i.z; -PV1i.w = R125i.w; -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedPS[14].y))); -PS1i = R0i.w; -// 4 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg2i = R126i.y; -backupReg1i = R126i.z; -redcCUBE(vec4(intBitsToFloat(R126i.z),intBitsToFloat(R126i.z),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg1i)),cubeMapSTM,cubeMapFaceId); -R126i.x = floatBitsToInt(cubeMapSTM.x); -R126i.y = floatBitsToInt(cubeMapSTM.y); -R126i.z = floatBitsToInt(cubeMapSTM.z); -R126i.w = cubeMapFaceId; -PV0i.x = R126i.x; -PV0i.y = R126i.y; -PV0i.z = R126i.z; -PV0i.w = R126i.w; -R0i.z = PV1i.w; -PS0i = R0i.z; -// 5 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(R127i.x))); -R1i.z = PV0i.w; -R1i.w = uf_remappedPS[14].x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(R125i.z))); -// 6 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PS1i)) + 1.5)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / abs(intBitsToFloat(R126i.z))); -// 7 -R0i.x = PV0i.z; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS0i)) + 1.5)); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS0i)) + 1.5)); -PV1i.w = R123i.w; -R0i.y = PV0i.w; -PS1i = R0i.y; -// 8 -R1i.x = PV1i.w; -R1i.y = PV1i.y; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(textureLod(textureUnitPS1, vec4(redcCUBEReverse(intBitsToFloat(R0i.xy),R0i.z),cubeMapArrayIndex1),intBitsToFloat(R0i.w)).xyz); -R1i.xyz = floatBitsToInt(textureLod(textureUnitPS0, vec4(redcCUBEReverse(intBitsToFloat(R1i.xy),R1i.z),cubeMapArrayIndex0),intBitsToFloat(R1i.w)).xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[14].w), intBitsToFloat(R0i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[14].w), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[14].w), intBitsToFloat(R0i.z))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedPS[15].x))); -PS0i = R0i.x; -// 1 -backupReg0i = R5i.x; -backupReg1i = R5i.y; -backupReg2i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(uf_remappedPS[15].y))); -PS1i = R0i.y; -// 2 -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(uf_remappedPS[15].z))); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].y))); -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].z)) * intBitsToFloat(0x3dcccccd)); -// 1 -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[6].x))); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x3ecccccd))); -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[16].x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[16].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[16].z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(R5i.y))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(R2i.w), 0.0)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(R5i.x))); -PV0i.w = R3i.w; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(R5i.z))); -PS0i = R126i.x; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 0.0)); -// 2 -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(PV1i.x)) + 1.0)); -PV0i.w = R123i.w; -// 3 -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.w)) + 1.0)); -PV1i.z = R123i.z; -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[16].y)) + -(intBitsToFloat(R0i.y)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[16].x)) + -(intBitsToFloat(R0i.x)))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[16].z)) + -(intBitsToFloat(R0i.z)))); -PV0i.w = R123i.w; -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R5i.w)) + intBitsToFloat(R0i.z))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R5i.w)) + intBitsToFloat(R0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R5i.w)) + intBitsToFloat(R0i.x))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -// 9 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.w))); -// 10 -predResult = (intBitsToFloat(uf_remappedPS[18].z) != 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedPS[18].y)); -R0i.w = 0; -PV0i.w = R0i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z)),-(intBitsToFloat(PV0i.w))),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].z)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[18].z), intBitsToFloat(R127i.y))); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 3 -R126i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].x)) + intBitsToFloat(uf_remappedPS[20].x)); -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].y)) + intBitsToFloat(uf_remappedPS[20].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x41200000)); -// 4 -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(uf_remappedPS[20].z)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedPS[20].w))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(uf_remappedPS[5].y), intBitsToFloat(R127i.x))); -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -// 7 -backupReg0i = R126i.x; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.x)) + intBitsToFloat(uf_remappedPS[19].x))); -PV1i.x = R126i.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(uf_remappedPS[19].z))); -PV1i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.x)) + intBitsToFloat(uf_remappedPS[19].y))); -PV1i.w = R127i.w; -// 8 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.z) + -(intBitsToFloat(PV1i.z))); -// 9 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(R126i.x))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.w))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.w = floatBitsToInt(1.0); -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -} diff --git a/Source/FASTRacingNEO/c64145ed80397137_00000000000003c9_ps.txt b/Source/FASTRacingNEO/c64145ed80397137_00000000000003c9_ps.txt deleted file mode 100644 index 2862035e..00000000 --- a/Source/FASTRacingNEO/c64145ed80397137_00000000000003c9_ps.txt +++ /dev/null @@ -1,221 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader c64145ed80397137 -uniform ivec4 uf_remappedPS[6]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x2a0e3000 res 32x128x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x396e3800 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 2) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem0); -R1i = floatBitsToInt(passParameterSem1); -R2i = floatBitsToInt(passParameterSem2); -R3i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -if( activeMaskStackC[1] == true ) { -R0i.xy = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R1i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -R4i.x = floatBitsToInt(intBitsToFloat(R0i.w) * intBitsToFloat(0x41000000)); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[0].x) + -(0.5)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(R2i.w)); -PS0i = R127i.z; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -// 2 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[1].x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[1].x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z))); -R0i.z = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y))); -// 4 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.w))); -R0i.w = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV1i.w)); -} -if( activeMaskStackC[1] == true ) { -R0i.w = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.zw)).w); -R0i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -backupReg3i = R0i.w; -R0i.x = backupReg0i; -R0i.x = clampFI32(R0i.x); -R0i.y = backupReg1i; -R0i.y = clampFI32(R0i.y); -R0i.z = backupReg2i; -R0i.z = clampFI32(R0i.z); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(backupReg3i))); -R0i.w = clampFI32(R0i.w); -// 1 -predResult = (uf_remappedPS[2].w == int(1)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.xyz = ivec3(uf_remappedPS[3].x,uf_remappedPS[3].y,uf_remappedPS[3].z); -R0i.w = uf_remappedPS[3].w; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.w; -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[2].z))); -// 1 -predResult = (uf_remappedPS[2].w == 0x00000002); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(uf_remappedPS[3].y)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(uf_remappedPS[3].x)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R0i.z)) + intBitsToFloat(uf_remappedPS[3].z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedPS[3].w)) + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedPS[3].w)) + intBitsToFloat(backupReg1i))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedPS[3].w)) + intBitsToFloat(backupReg2i))); -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (uf_remappedPS[2].w == 0x00000003); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -backupReg3i = R0i.w; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[3].x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedPS[3].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(uf_remappedPS[3].z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg3i), intBitsToFloat(uf_remappedPS[3].w))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R1i.w = 0; -// 1 -predResult = (uf_remappedPS[2].y != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = ((intBitsToFloat(uf_remappedPS[4].z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (R1i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(uf_remappedPS[5].y))); -R127i.y = floatBitsToInt(intBitsToFloat(R0i.x) + -(intBitsToFloat(uf_remappedPS[5].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(uf_remappedPS[4].y)); -// 1 -backupReg0i = R0i.z; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[4].z), intBitsToFloat(PV0i.w))); -PV1i.z = clampFI32(PV1i.z); -PV1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedPS[5].z))); -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[5].x))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[5].y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[5].z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -//passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -} diff --git a/Source/FASTRacingNEO/e54c6857324898f3_00000000003db249_ps.txt b/Source/FASTRacingNEO/e54c6857324898f3_00000000003db249_ps.txt deleted file mode 100644 index 05341f65..00000000 --- a/Source/FASTRacingNEO/e54c6857324898f3_00000000003db249_ps.txt +++ /dev/null @@ -1,634 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader e54c6857324898f3 -const float resScale = ; -uniform ivec4 uf_remappedPS[20]; -layout(binding = 0) uniform samplerCubeArray textureUnitPS0;// Tex0 addr 0x29119000 res 256x256x1 dim 3 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x6) Sampler0 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 1) uniform samplerCubeArray textureUnitPS1;// Tex1 addr 0x29119000 res 256x256x1 dim 3 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x6) Sampler1 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 041a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0xf4385000 res 1280x720x1 dim 1 tm: 4 format 021f compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 4) uniform sampler2D textureUnitPS4;// Tex4 addr 0xf4a8d000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler4 ClampX/Y/Z: 2 2 0 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0xf4e11000 res 1280x720x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex0 = 0.0; -float cubeMapArrayIndex1 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw) * resScale); -if( activeMaskStackC[1] == true ) { -R0i.w = floatBitsToInt(texelFetch(textureUnitPS5, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt((intBitsToFloat(R0i.w) * 2.0 + -(1.0))); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(uf_remappedPS[0].y))); -R127i.w = floatBitsToInt(intBitsToFloat(R0i.x) + -(intBitsToFloat(uf_remappedPS[0].x))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].w)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].z) * 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].w) * 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].z)); -// 2 -R125i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].y) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].x) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(PV1i.w))); -PS0i = R127i.w; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedPS[2].y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedPS[2].z)) + intBitsToFloat(R126i.x))); -PV1i.w = R123i.w; -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.x)),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.x)),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.x)),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.x)),intBitsToFloat(uf_remappedPS[3].w)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -// 5 -backupReg0i = R127i.y; -backupReg0i = R127i.y; -backupReg0i = R127i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedPS[4].z)) + intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(PV0i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[4].w)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 6 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 7 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -PV1i.x = R125i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.z = R127i.z; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[5].w)); -PS1i = R127i.y; -// 8 -R1i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(uf_remappedPS[5].x)); -PV0i.x = R1i.x; -R1i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(uf_remappedPS[5].y)); -PV0i.y = R1i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[5].z)); -PV0i.z = R0i.z; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(PV1i.z)); -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -PV0i.x = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R0i.z)); -R123i.y = floatBitsToInt((intBitsToFloat(R125i.x) * intBitsToFloat(R125i.x) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(R127i.y)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(tempResultf); -// 12 -R123i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R1i.x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R4i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R125i.x)), intBitsToFloat(PS1i))); -R1i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R1i.z = clampFI32(R1i.z); -PV0i.z = R1i.z; -R0i.w = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R126i.y)), intBitsToFloat(PS1i))); -R2i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R127i.z)), intBitsToFloat(PS1i))); -PS0i = R2i.z; -// 13 -if( (intBitsToFloat(PV0i.z) == 0.0)) discard; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R2i.y = floatBitsToInt(tempResultf); -PS1i = R2i.y; -} -if( activeMaskStackC[1] == true ) { -R3i.xy = floatBitsToInt(texelFetch(textureUnitPS3, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xy); -R5i.xyzw = floatBitsToInt(texelFetch(textureUnitPS2, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xyzw); -R6i.xyz = floatBitsToInt(texelFetch(textureUnitPS4, ivec2(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y)), 0).xyz); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.y))); -PV0i.x = R1i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.x)),intBitsToFloat(R3i.x)) + intBitsToFloat(0x3f800347))); -PV0i.y = R123i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R2i.y))); -PV0i.z = R125i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R2i.y))); -PV0i.w = R127i.w; -PS0i = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(0x437f0000)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.z = R126i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.y)),intBitsToFloat(R3i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -R127i.z = int(intBitsToFloat(PS0i)); -PS1i = R127i.z; -// 2 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R127i.x = floatBitsToInt(sqrt(intBitsToFloat(PV1i.w))); -PS0i = R127i.x; -// 3 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -R124i.x = floatBitsToInt(-(intBitsToFloat(R6i.x)) + 1.0); -R126i.y = floatBitsToInt(-(intBitsToFloat(PS0i))); -R127i.z = backupReg0i & 0x00000004; -PV1i.z = R127i.z; -R125i.w = backupReg0i & 0x00000002; -PS1i = floatBitsToInt(sqrt(intBitsToFloat(R6i.y))); -// 4 -R0i.x = ((PV1i.z == 0)?(R3i.x):(R3i.x)); -R0i.y = ((PV1i.z == 0)?(R3i.y):(R3i.y)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(R6i.y))); -PV0i.w = R123i.w; -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R0i.z = ((R127i.z == 0)?(R127i.x):(R126i.y)); -PV1i.z = R0i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -R3i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PS1i = R3i.z; -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x41300000)); -// 7 -backupReg0i = R0i.z; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R2i.z))); -R126i.y = floatBitsToInt(min(intBitsToFloat(R3i.z), intBitsToFloat(R124i.x))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PS0i))); -PS1i = R127i.w; -// 8 -backupReg0i = R0i.y; -R3i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R4i.y),intBitsToFloat(R0i.w),1.0,0.0))); -PV0i.x = R3i.x; -PV0i.y = R3i.x; -PV0i.z = R3i.x; -PV0i.w = R3i.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -backupReg0i = R0i.y; -backupReg1i = R125i.z; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R2i.z))); -R125i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(0x41000000)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)) + intBitsToFloat(R126i.w))); -PS1i = R122i.x; -// 10 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R0i.w)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 11 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(R4i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R125i.z))); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 12 -R124i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3d22f983)); -R127i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x40a00000)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.x)); -tempResultf = log2(intBitsToFloat(R1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -R127i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R0i.x)) + intBitsToFloat(R4i.y))); -R2i.y = R2i.w; -R2i.y = clampFI32(R2i.y); -PV1i.y = R2i.y; -R125i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R0i.y)) + intBitsToFloat(R0i.w))); -R124i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R0i.z)) + intBitsToFloat(R2i.z))); -PV1i.w = R124i.w; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[7].x), intBitsToFloat(PS0i))); -PS1i = R126i.w; -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(PV1i.w)), intBitsToFloat(uf_remappedPS[8].z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PV1i.y))); -PV0i.w = R127i.w; -PS0i = floatBitsToInt(exp2(intBitsToFloat(R127i.y))); -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(uf_remappedPS[8].y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[9].y))); -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(R6i.x))); -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[9].x))); -PS1i = R4i.x; -// 16 -R1i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.x)),intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedPS[9].z))); -R3i.w = floatBitsToInt(float(R125i.w)); -R3i.w = clampFI32(R3i.w); -PS0i = R3i.w; -// 17 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R125i.z)),-(intBitsToFloat(R124i.w)),-0.0),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -R3i.y = floatBitsToInt(exp2(intBitsToFloat(R126i.w))); -PS1i = R3i.y; -// 18 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R125i.z)),-(intBitsToFloat(R124i.w)),-0.0),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = tempi.x; -// 19 -predResult = (uf_remappedPS[6].w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),-0.0),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R3i.z)) + 1.0); -PS0i = R127i.y; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),-0.0),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.z),-0.0),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -// 3 -backupReg0i = R127i.y; -redcCUBE(vec4(intBitsToFloat(R1i.z),intBitsToFloat(R1i.z),intBitsToFloat(R1i.x),intBitsToFloat(R1i.y)),vec4(intBitsToFloat(R1i.y),intBitsToFloat(R1i.x),intBitsToFloat(R1i.z),intBitsToFloat(R1i.z)),cubeMapSTM,cubeMapFaceId); -R127i.x = floatBitsToInt(cubeMapSTM.x); -R127i.y = floatBitsToInt(cubeMapSTM.y); -R127i.z = floatBitsToInt(cubeMapSTM.z); -R127i.w = cubeMapFaceId; -PV1i.x = R127i.x; -PV1i.y = R127i.y; -PV1i.z = R127i.z; -PV1i.w = R127i.w; -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[15].y))); -PS1i = R0i.w; -// 4 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg2i = R126i.y; -backupReg1i = R126i.z; -redcCUBE(vec4(intBitsToFloat(R126i.z),intBitsToFloat(R126i.z),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg1i)),cubeMapSTM,cubeMapFaceId); -R126i.x = floatBitsToInt(cubeMapSTM.x); -R126i.y = floatBitsToInt(cubeMapSTM.y); -R126i.z = floatBitsToInt(cubeMapSTM.z); -R126i.w = cubeMapFaceId; -PV0i.x = R126i.x; -PV0i.y = R126i.y; -PV0i.z = R126i.z; -PV0i.w = R126i.w; -R0i.z = PV1i.w; -PS0i = R0i.z; -// 5 -R2i.x = floatBitsToInt((0.0 * intBitsToFloat(uf_remappedPS[6].x) + 1.0)); -R1i.z = PV0i.w; -R1i.w = uf_remappedPS[15].x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(R127i.z))); -// 6 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS1i)) + 1.5)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / abs(intBitsToFloat(R126i.z))); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS0i)) + 1.5)); -PV1i.x = R123i.x; -R0i.y = PV0i.w; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS0i)) + 1.5)); -PV1i.w = R123i.w; -R0i.x = PV0i.z; -PS1i = R0i.x; -// 8 -R1i.x = PV1i.x; -R1i.y = PV1i.w; -} -if( activeMaskStackC[2] == true ) { -R0i.xyz = floatBitsToInt(textureLod(textureUnitPS1, vec4(redcCUBEReverse(intBitsToFloat(R0i.xy),R0i.z),cubeMapArrayIndex1),intBitsToFloat(R0i.w)).xyz); -R1i.xyz = floatBitsToInt(textureLod(textureUnitPS0, vec4(redcCUBEReverse(intBitsToFloat(R1i.xy),R1i.z),cubeMapArrayIndex0),intBitsToFloat(R1i.w)).xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[15].w), intBitsToFloat(R0i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[15].w), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[15].w), intBitsToFloat(R0i.z))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedPS[16].x))); -PS0i = R0i.x; -// 1 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(uf_remappedPS[16].y))); -PS1i = R0i.y; -// 2 -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(uf_remappedPS[16].z))); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].y))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].z)) * intBitsToFloat(0x3dcccccd)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].x))); -PV0i.z = R127i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 4 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 5 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x3ecccccd))); -// 6 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[18].x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[18].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[18].z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(R4i.y))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(R3i.x), 0.0)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(R4i.x))); -PV0i.w = R2i.w; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(R4i.z))); -PS0i = R126i.x; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 0.0)); -R0i.w = floatBitsToInt(1.0); -// 2 -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(PV1i.x)) + 1.0)); -PV0i.w = R123i.w; -// 3 -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.w)) + 1.0)); -PV1i.z = R123i.z; -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[18].y)) + -(intBitsToFloat(R0i.y)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[18].x)) + -(intBitsToFloat(R0i.x)))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[18].z)) + -(intBitsToFloat(R0i.z)))); -PV0i.w = R123i.w; -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R3i.w)) + intBitsToFloat(R0i.z))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.w)) + intBitsToFloat(R0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.w)) + intBitsToFloat(R0i.x))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].y)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].x)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.z))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.z))); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -// 10 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.x))); -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -} diff --git a/Source/FASTRacingNEO/f0d0fb541a9e26ea_0000000000000079_ps.txt b/Source/FASTRacingNEO/f0d0fb541a9e26ea_0000000000000079_ps.txt deleted file mode 100644 index 19bb6f6e..00000000 --- a/Source/FASTRacingNEO/f0d0fb541a9e26ea_0000000000000079_ps.txt +++ /dev/null @@ -1,57 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader f0d0fb541a9e26ea -const float resScale = ; -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3750b000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw) * resScale; -// 0 -R1f.w = 1.0; -PS0f = 1.0 / intBitsToFloat(uf_remappedPS[0].x); -// 1 -backupReg0f = R0f.y; -PV1f.y = R0f.x * PS0f; -PV1f.w = backupReg0f * PS0f; -// 2 -PV0f.x = floor(PV1f.y); -PV0f.z = floor(PV1f.w); -// 3 -R0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].x), PV0f.x); -R0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].x), PV0f.z); -R1f.xyz = (texelFetch(textureUnitPS0, ivec2(R0f.x, R0f.y), 0).xyz); -// export -passPixelColor0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -} diff --git a/Source/FASTRacingNEO/rules.txt b/Source/FASTRacingNEO/rules.txt index 1b0218c0..db073ad2 100644 --- a/Source/FASTRacingNEO/rules.txt +++ b/Source/FASTRacingNEO/rules.txt @@ -1,49 +1,271 @@ - [Definition] titleIds = 000500001012f000,00050000101d6000,00050000101e4100 -name = "FAST Racing NEO - " -version = 2 +name = Resolution +path = "Fast Racing Neo/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] # TV +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution width = 1280 height = 720 -formatsExcluded = 0x433 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 -[TextureRedefine] # Half-width 1 +[TextureRedefine] # Light Shafts Pass +width = 1024 +height = 512 +formats = 0x1 +overwriteWidth = ($width / $gameWidth) * 1024 +overwriteHeight = ($height / $gameHeight) * 512 + +[TextureRedefine] # Light Shafts Pass Mip +width = 512 +height = 256 +formats = 0x1 +overwriteWidth = ($width / $gameWidth) * 512 +overwriteHeight = ($height / $gameHeight) * 256 + +[TextureRedefine] # Bloom Pass width = 640 -height = 720 -overwriteWidth = -overwriteHeight = +height = 368 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 368 -[TextureRedefine] # Half-res +[TextureRedefine] # Bloom Pass width = 640 height = 360 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 360 -[TextureRedefine] # Half-width 2 +[TextureRedefine] # Bloom Pass Mip width = 320 -height = 360 -overwriteWidth = -overwriteHeight = +height = 192 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 -[TextureRedefine] # Q-res -width = 160 +[TextureRedefine] # Bloom Pass Mip +width = 320 height = 180 -overwriteWidth = -overwriteHeight = +formatsExcluded = 0x41a +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 180 -[TextureRedefine] # gamepad +[TextureRedefine] # Bloom Pass Mip +width = 160 +height = 96 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 96 + +[TextureRedefine] # Bloom Pass Mip +width = 160 +height = 90 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 90 + +[TextureRedefine] # Bloom Pass Mip +width = 96 +height = 48 +overwriteWidth = ($width / $gameWidth) * 96 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] # Bloom Pass Mip +width = 80 +height = 45 +overwriteWidth = ($width / $gameWidth) * 80 +overwriteHeight = ($height / $gameHeight) * 45 + +[TextureRedefine] # Bloom Pass Mip +width = 64 +height = 32 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 32 + +[TextureRedefine] # Bloom Pass Mip +width = 40 +height = 22 +overwriteWidth = ($width / $gameWidth) * 40 +overwriteHeight = ($height / $gameHeight) * 22 + +[TextureRedefine] # Gamepad Resolution width = 854 height = 480 -#overwriteWidth = -#overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 854 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] # Game Resolution +width = 1280 +height = 592 +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 592 + +[TextureRedefine] # Game Resolution +width = 1280 +height = 580 +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 580 + +[TextureRedefine] # Bloom Pass +width = 640 +height = 304 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 304 + +[TextureRedefine] # Bloom Pass +width = 640 +height = 290 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 290 + +[TextureRedefine] # Bloom Pass Mip +width = 320 +height = 160 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 160 + +[TextureRedefine] # Bloom Pass Mip +width = 320 +height = 145 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 145 + +[TextureRedefine] # Bloom Pass Mip +width = 160 +height = 80 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 80 + +[TextureRedefine] # Bloom Pass Mip +width = 160 +height = 72 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 72 + +[TextureRedefine] # Bloom Pass Mip +width = 96 +height = 48 +overwriteWidth = ($width / $gameWidth) * 96 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] # Bloom Pass Mip +width = 80 +height = 36 +overwriteWidth = ($width / $gameWidth) * 80 +overwriteHeight = ($height / $gameHeight) * 36 + +[TextureRedefine] # Bloom Pass Mip +width = 40 +height = 18 +overwriteWidth = ($width / $gameWidth) * 40 +overwriteHeight = ($height / $gameHeight) * 18 diff --git a/Source/FamilyTennisSP/rules.txt b/Source/FamilyTennisSP/rules.txt deleted file mode 100644 index d897d752..00000000 --- a/Source/FamilyTennisSP/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 000500001019AE00,00050000101A2C00 -name = "Family Tennis SP - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/FistoftheNorthStar/rules.txt b/Source/FistoftheNorthStar/rules.txt deleted file mode 100644 index a537f1b7..00000000 --- a/Source/FistoftheNorthStar/rules.txt +++ /dev/null @@ -1,49 +0,0 @@ - -[Definition] -titleIds = 0005000010116600,000500001012B800 -name = "Fist of the North Star: Ken's Rage 2 - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res 2 -width = 322 -height = 182 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # o-res -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # o-res 2 -width = 162 -height = 92 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/FrenchyBird/rules.txt b/Source/FrenchyBird/rules.txt deleted file mode 100644 index 168c691f..00000000 --- a/Source/FrenchyBird/rules.txt +++ /dev/null @@ -1,30 +0,0 @@ - -[Definition] -titleIds = 000500001017DC00,0005000010182800 -name = "Frenchy Bird - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/GhostBladeHD/rules.txt b/Source/GhostBladeHD/rules.txt deleted file mode 100644 index d7566eb4..00000000 --- a/Source/GhostBladeHD/rules.txt +++ /dev/null @@ -1,139 +0,0 @@ - - -[Definition] -titleIds = 00050000101FFC00 -name = "Ghost Blade HD - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 220 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 183 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 147 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 109 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 73 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 36 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 576 -height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 435 -height = 293 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 435 -height = 256 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 435 -height = 220 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 435 -height = 183 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 435 -height = 147 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 435 -height = 109 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 435 -height = 73 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 435 -height = 36 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 352 -height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = diff --git a/Source/GhostlyAdventures/rules.txt b/Source/GhostlyAdventures/rules.txt deleted file mode 100644 index ed915ac8..00000000 --- a/Source/GhostlyAdventures/rules.txt +++ /dev/null @@ -1,44 +0,0 @@ - -[Definition] -titleIds = 0005000010146300,0005000010147900 -name = "Pac-Man and the Ghostly Adventures - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x031,0x033 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #o-res -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/GhostlyAdventures2/rules.txt b/Source/GhostlyAdventures2/rules.txt deleted file mode 100644 index 8dc639ea..00000000 --- a/Source/GhostlyAdventures2/rules.txt +++ /dev/null @@ -1,44 +0,0 @@ - -[Definition] -titleIds = 000500001017E600,000500001017E500 -name = "Pac-Man and the Ghostly Adventures 2 - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x031,0x033 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #o-res -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/GianaSistersTwistedDreams/rules.txt b/Source/GianaSistersTwistedDreams/rules.txt deleted file mode 100644 index cd9552b4..00000000 --- a/Source/GianaSistersTwistedDreams/rules.txt +++ /dev/null @@ -1,46 +0,0 @@ - -[Definition] -titleIds = 000500001014c600, 000500001014cb00 -name = "Giana Sisters Twisted Dreams - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x008,0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha -width = 640 -height = 360 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 32 -height = 32 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 64 -height = 64 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -formatsExcluded = 0x33 -width = 128 -height = 128 -overwriteWidth = -overwriteHeight = diff --git a/Source/Guacamelee/rules.txt b/Source/Guacamelee/rules.txt deleted file mode 100644 index 2acbba76..00000000 --- a/Source/Guacamelee/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - -[Definition] -titleIds = 0005000010176800,0005000010179700 -name = "Guacamelee! Super Turbo Championship Edition - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/HyruleWarriors/patches.txt b/Source/HyruleWarriors/patches.txt deleted file mode 100644 index 13bffd16..00000000 --- a/Source/HyruleWarriors/patches.txt +++ /dev/null @@ -1,20 +0,0 @@ - -[HyruleWarriors_219v208] -moduleMatches = 0xE159AE91 - -#rodata constant changes - -0x1009609C = .float -0x10096124 = .float -0x10096948 = .float -0x10096974 = .float diff --git a/Source/HyruleWarriors/rules.txt b/Source/HyruleWarriors/rules.txt deleted file mode 100644 index 5593542a..00000000 --- a/Source/HyruleWarriors/rules.txt +++ /dev/null @@ -1,107 +0,0 @@ - -[Definition] -titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - " -version = 2 - -[TextureRedefine] #Game Resolution -width = 1280 -height = 720 -formatsExcluded = 0x431,0x433 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Game Resolution (Co-Op) -width = 864 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Gamepad (Co-Op) -width = 648 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Only saw depth in Nsight -width = 640 -height = 360 -formatsExcluded = 0x35 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Lighting? -width = 322 -height = 182 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Dupe of Main Game -width = 320 -height = 180 -formatsExcluded = 0x35,0x433 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Lighting Blur? -width = 162 -height = 92 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Lighting Blur? -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Dupe of Main Game? -width = 64 -height = 64 -formats = 0x005 -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] #Dupe of Main Game? -width = 16 -height = 16 -formats = 0x005 -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] #Dupe of Main Game? -width = 4 -height = 4 -formats = 0x005 -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] #Dupe of Main Game? -width = 1 -height = 1 -formats = 0x005 -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] # shadows -width = 1024 -height = 2048 -formats = 0x005 -overwriteWidth = -overwriteHeight = diff --git a/Source/InfinityRunner/rules.txt b/Source/InfinityRunner/rules.txt deleted file mode 100644 index 9a7dba80..00000000 --- a/Source/InfinityRunner/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - -[Definition] -titleIds = 0005000010183C00,0005000010184400 -name = "Infinity Runner - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x031,0x033 #exclude intro/menu background -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/KamenRider/rules.txt b/Source/KamenRider/rules.txt deleted file mode 100644 index f5e788f2..00000000 --- a/Source/KamenRider/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 0005000010170700 -name = "Kamen Rider - Battride War II - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/KickandFennick/rules.txt b/Source/KickandFennick/rules.txt deleted file mode 100644 index 799f6b74..00000000 --- a/Source/KickandFennick/rules.txt +++ /dev/null @@ -1,36 +0,0 @@ - -[Definition] -titleIds = 00050000101DC300,00050000101D9700 -name = "Kick and Fennick - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/KirbyRainbowCurse/rules.txt b/Source/KirbyRainbowCurse/rules.txt deleted file mode 100644 index af31795e..00000000 --- a/Source/KirbyRainbowCurse/rules.txt +++ /dev/null @@ -1,76 +0,0 @@ - -[Definition] -titleIds = 00050000101ABC00 -name = "Kirby and the Rainbow Curse - " -version = 2 - -[TextureRedefine] # tv -width = 1024 -height = 576 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv -width = 1025 -height = 577 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv ui 1 -width = 1280 -height = 720 -formatsExcluded = 0x41a,0x034 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv ui 2 -width = 1281 -height = 721 -formatsExcluded = 0x41a,0x034 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 512 -height = 288 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res -width = 256 -height = 144 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 855 -height = 481 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad half-res -width = 427 -height = 240 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad q-res -width = 213 -height = 120 -overwriteWidth = -overwriteHeight = diff --git a/Source/KungFuPanda/rules.txt b/Source/KungFuPanda/rules.txt deleted file mode 100644 index f9eedd67..00000000 --- a/Source/KungFuPanda/rules.txt +++ /dev/null @@ -1,37 +0,0 @@ - -[Definition] -titleIds = 00050000101A6500,00050000101AA500 -name = "Kung Fu Panda: Showdown of Legendary Legends - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x041a,0x433,0x431 #exclude intro/menu backgrounds -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/LEGOCityUndercover/rules.txt b/Source/LEGOCityUndercover/rules.txt deleted file mode 100644 index 36b4a2d7..00000000 --- a/Source/LEGOCityUndercover/rules.txt +++ /dev/null @@ -1,37 +0,0 @@ - -[Definition] -titleIds = 0005000010101A00,0005000010101B00 -name = "LEGO City Undercover - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/M&SRio2016/rules.txt b/Source/M&SRio2016/rules.txt new file mode 100644 index 00000000..8c7efe03 --- /dev/null +++ b/Source/M&SRio2016/rules.txt @@ -0,0 +1,313 @@ +[Definition] +titleIds = 0005000010190300,00050000101E5300,00050000101E5400 +name = Resolution +path = "Mario & Sonic at the Rio 2016 Olympic Games/Graphics/Resolution" +description = Changes the resolution of the game. Known issues: Lower resolution results in a "deep-fried" look. Depth of field and bloom needs shader edits. +version = 3 + +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution +width = 1280 +height = 720 +formatsExcluded = 0x31,0x33 +tileModesExcluded = 0x001 +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 + +[TextureRedefine] +width = 768 +height = 480 +overwriteWidth = ($width / $gameWidth) * 768 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] +width = 746 +height = 470 +overwriteWidth = ($width / $gameWidth) * 746 +overwriteHeight = ($height / $gameHeight) * 470 + +[TextureRedefine] +width = 768 +height = 432 +overwriteWidth = ($width / $gameWidth) * 768 +overwriteHeight = ($height / $gameHeight) * 432 + +[TextureRedefine] +width = 746 +height = 420 +overwriteWidth = ($width / $gameWidth) * 746 +overwriteHeight = ($height / $gameHeight) * 420 + +[TextureRedefine] +width = 576 +height = 432 +overwriteWidth = ($width / $gameWidth) * 576 +overwriteHeight = ($height / $gameHeight) * 432 + +[TextureRedefine] +width = 570 +height = 420 +overwriteWidth = ($width / $gameWidth) * 570 +overwriteHeight = ($height / $gameHeight) * 420 + +[TextureRedefine] +width = 544 +height = 384 +overwriteWidth = ($width / $gameWidth) * 544 +overwriteHeight = ($height / $gameHeight) * 384 + +[TextureRedefine] +width = 533 +height = 380 +overwriteWidth = ($width / $gameWidth) * 533 +overwriteHeight = ($height / $gameHeight) * 380 + +[TextureRedefine] +width = 512 +height = 480 +overwriteWidth = ($width / $gameWidth) * 512 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] +width = 490 +height = 476 +overwriteWidth = ($width / $gameWidth) * 490 +overwriteHeight = ($height / $gameHeight) * 476 + +[TextureRedefine] +width = 320 +height = 192 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 + +[TextureRedefine] +width = 320 +height = 180 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 180 + +[TextureRedefine] +width = 256 +height = 96 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 96 + +[TextureRedefine] +width = 160 +height = 96 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 96 + +[TextureRedefine] +width = 160 +height = 90 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 90 + +[TextureRedefine] +width = 128 +height = 48 +overwriteWidth = ($width / $gameWidth) * 128 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] +width = 80 +height = 45 +overwriteWidth = ($width / $gameWidth) * 80 +overwriteHeight = ($height / $gameHeight) * 45 + +[TextureRedefine] +width = 64 +height = 64 +formats = 0x80e +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 64 + +[TextureRedefine] +width = 64 +height = 32 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 32 + +[TextureRedefine] +width = 40 +height = 22 +overwriteWidth = ($width / $gameWidth) * 40 +overwriteHeight = ($height / $gameHeight) * 22 + +[TextureRedefine] +width = 32 +height = 16 +formats = 0x816,0x80e +overwriteWidth = ($width / $gameWidth) * 32 +overwriteHeight = ($height / $gameHeight) * 16 + +[TextureRedefine] +width = 20 +height = 11 +overwriteWidth = ($width / $gameWidth) * 20 +overwriteHeight = ($height / $gameHeight) * 11 + +[TextureRedefine] +width = 16 +height = 16 +formats = 0x80e +overwriteWidth = ($width / $gameWidth) * 16 +overwriteHeight = ($height / $gameHeight) * 16 + +[TextureRedefine] +width = 16 +height = 8 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 16 +overwriteHeight = ($height / $gameHeight) * 8 + +[TextureRedefine] +width = 10 +height = 5 +overwriteWidth = ($width / $gameWidth) * 10 +overwriteHeight = ($height / $gameHeight) * 5 + +[TextureRedefine] +width = 8 +height = 8 +formats = 0x816,0x80e +overwriteWidth = ($width / $gameWidth) * 8 +overwriteHeight = ($height / $gameHeight) * 8 + +[TextureRedefine] +width = 5 +height = 2 +overwriteWidth = ($width / $gameWidth) * 5 +overwriteHeight = ($height / $gameHeight) * 2 + +[TextureRedefine] +width = 4 +height = 4 +formats = 0x80e +overwriteWidth = ($width / $gameWidth) * 4 +overwriteHeight = ($height / $gameHeight) * 4 + +[TextureRedefine] +width = 1 +height = 1 +formats = 0x816,0x80e +overwriteWidth = ($width / $gameWidth) * 1 +overwriteHeight = ($height / $gameHeight) * 1 + +[TextureRedefine] # Gamepad Resolution +width = 864 +height = 480 +overwriteWidth = ($width / $gameWidth) * 864 +overwriteHeight = ($height / $gameHeight) * 480 diff --git a/Source/MarioKart8/2e78a0d0a0aa66bb_0000000000000000_vs.txt b/Source/MarioKart8/2e78a0d0a0aa66bb_0000000000000000_vs.txt index 8cd97aa5..f02e0252 100644 --- a/Source/MarioKart8/2e78a0d0a0aa66bb_0000000000000000_vs.txt +++ b/Source/MarioKart8/2e78a0d0a0aa66bb_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader 2e78a0d0a0aa66bb -// horizontal bloom blur texture coordinates -const float resXScale = ; -const float resYScale = ; +// Used for: Horizontal (Menu) Bloom Blur +const float resScale = ($width/$gameWidth); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; @@ -34,7 +26,7 @@ else if( v == 0xFFFFFFFF ) return floatBitsToInt(0.0); return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); } -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} void main() { vec4 R0f = vec4(0.0); @@ -73,11 +65,11 @@ R1f.y = backupReg1f; R1f.y *= 2.0; R1f.z = 0.0; R1f.w = 1.0; -R127f.y = intBitsToFloat(uf_remappedVS[0].x) * intBitsToFloat(0x3fb13a93) / resYScale; +R127f.y = intBitsToFloat(uf_remappedVS[0].x) * (intBitsToFloat(0x3fb13a93)/resScale); PS0f = R127f.y; // 1 -PV1f.x = intBitsToFloat(uf_remappedVS[0].x) * intBitsToFloat(0x404ec4f0) / resXScale; -R126f.y = intBitsToFloat(uf_remappedVS[0].x) * intBitsToFloat(0x40a275f7) / resYScale; +PV1f.x = intBitsToFloat(uf_remappedVS[0].x) * (intBitsToFloat(0x404ec4f0)/resScale); +R126f.y = intBitsToFloat(uf_remappedVS[0].x) * (intBitsToFloat(0x40a275f7)/resScale); R3f.z = R2f.x + PS0f; R3f.w = R2f.x; R3f.x = R2f.y; diff --git a/Source/MarioKart8/74126253134563de_0000000000000000_vs.txt b/Source/MarioKart8/74126253134563de_0000000000000000_vs.txt index 8fc605cd..9c310e84 100644 --- a/Source/MarioKart8/74126253134563de_0000000000000000_vs.txt +++ b/Source/MarioKart8/74126253134563de_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable +#extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader 74126253134563de -// Used for: Background blur Vertical Pass -const float resXScale = ; -const float resYScale = ; +// Used for: Vertical Menu Background Blur +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; @@ -30,7 +23,7 @@ else if( v == 0xFFFFFFFF ) return floatBitsToInt(0.0); return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); } -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} void main() { vec4 R0f = vec4(0.0); @@ -62,7 +55,7 @@ R126f.z = (0.0 > R1f.x)?1.0:0.0; R126f.z /= 2.0; R127f.w = 1.0; PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].w)/resXScale * intBitsToFloat(0x3fae8a72); +R126f.x = intBitsToFloat(uf_remappedVS[0].w) * (intBitsToFloat(0x3fae8a72)/3); PS0f = R126f.x; // 1 R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); diff --git a/Source/MarioKart8/a9bf96a840b38cc8_0000000000000000_vs.txt b/Source/MarioKart8/a9bf96a840b38cc8_0000000000000000_vs.txt deleted file mode 100644 index c0065aed..00000000 --- a/Source/MarioKart8/a9bf96a840b38cc8_0000000000000000_vs.txt +++ /dev/null @@ -1,156 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader a9bf96a840b38cc8 -//Motion blur turbo -const float resScale = ; -uniform ivec4 uf_remappedVS[2]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ - -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R125f.x = mul_nonIEEE(R1f.x, intBitsToFloat(uf_remappedVS[0].x)); -PV0f.x = R125f.x; -R127f.y = intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(0x3e124925)/resScale; -PV0f.y = R127f.y; -R1f.z = intBitsToFloat(uf_remappedVS[1].z); -R127f.w = mul_nonIEEE(R1f.y, intBitsToFloat(uf_remappedVS[0].y)); -PV0f.w = R127f.w; -R1f.w = 1.0; -PS0f = R1f.w; -// 1 -R126f.x = (intBitsToFloat(uf_remappedVS[1].y) * 0.5 + 0.5); -PV1f.x = R126f.x; -PV1f.y = PV0f.w; -PV1f.y *= 2.0; -PV1f.z = PV0f.x; -PV1f.z *= 2.0; -R123f.w = (mul_nonIEEE(PV0f.w,-(PV0f.y)) + PV0f.w); -PV1f.w = R123f.w; -R126f.y = (-(PV0f.y) * 2.0 + 1.0); -PS1f = R126f.y; -// 2 -R1f.x = PV1f.z + intBitsToFloat(uf_remappedVS[1].x); -R1f.y = PV1f.y + intBitsToFloat(uf_remappedVS[1].y); -R126f.z = (-(R127f.y) * intBitsToFloat(0x40400000) + 1.0); -PV0f.z = R126f.z; -PV0f.w = PV1f.x + PV1f.w; -R127f.x = (mul_nonIEEE(R127f.w,PS1f) + PV1f.x); -PS0f = R127f.x; -// 3 -R123f.x = (mul_nonIEEE(R127f.w,PV0f.z) + R126f.x); -PV1f.x = R123f.x; -R125f.y = (intBitsToFloat(uf_remappedVS[1].x) * 0.5 + 0.5); -PV1f.y = R125f.y; -R123f.z = (mul_nonIEEE(R125f.x,-(R127f.y)) + R125f.x); -PV1f.z = R123f.z; -R126f.w = (-(R127f.y) * 4.0 + 1.0); -PV1f.w = R126f.w; -R127f.z = PV0f.w; -PS1f = R127f.z; -// 4 -backupReg0f = R127f.w; -PV0f.x = PV1f.x; -R127f.y = (mul_nonIEEE(R127f.w,PV1f.w) + R126f.x); -PV0f.z = R127f.x; -R127f.w = backupReg0f + R126f.x; -R2f.x = PV1f.y + PV1f.z; -PS0f = R2f.x; -// 5 -backupReg0f = R126f.z; -R3f.x = (mul_nonIEEE(R125f.x,R126f.y) + R125f.y); -R126f.y = -(PV0f.z) + 1.0; -R126f.z = -(PV0f.x) + 1.0; -R125f.w = -(R127f.z) + 1.0; -PV1f.w = R125f.w; -R4f.x = (mul_nonIEEE(R125f.x,backupReg0f) + R125f.y); -PS1f = R4f.x; -// 6 -backupReg0f = R125f.x; -backupReg0f = R125f.x; -R125f.x = R127f.y; -R0f.y = -(R127f.w) + 1.0; -R127f.z = (mul_nonIEEE(backupReg0f,R126f.w) + R125f.y); -R0f.w = PV1f.w; -R0f.x = backupReg0f + R125f.y; -PS0f = R0f.x; -// 7 -R2f.y = R125f.w; -R0f.z = R2f.x; -R2f.w = R126f.y; -R2f.z = R3f.x; -PS1f = R2f.z; -// 8 -R3f.yzw = vec3(R126f.y,R4f.x,R126f.z); -R4f.z = R127f.z; -PS0f = R4f.z; -// 9 -R4f.y = R126f.z; -R4f.w = -(R125f.x) + 1.0; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem1 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -passParameterSem2 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// export -passParameterSem3 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -// 0 -} diff --git a/Source/MarioKart8/ad3014302e0e49bf_0000000000000000_vs.txt b/Source/MarioKart8/ad3014302e0e49bf_0000000000000000_vs.txt index d6c86458..1d752ec3 100644 --- a/Source/MarioKart8/ad3014302e0e49bf_0000000000000000_vs.txt +++ b/Source/MarioKart8/ad3014302e0e49bf_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable +#extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader ad3014302e0e49bf -// Used for: Background blur Horizontal Pass -const float resXScale = ; -const float resYScale = ; +// Used for: Stage Select & Menu Background Horizontal Blur +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; @@ -30,7 +23,7 @@ else if( v == 0xFFFFFFFF ) return floatBitsToInt(0.0); return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); } -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} void main() { vec4 R0f = vec4(0.0); @@ -62,7 +55,7 @@ R127f.z = (0.0 > R1f.x)?1.0:0.0; R127f.z /= 2.0; R127f.w = 1.0; PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].z)/resYScale * intBitsToFloat(0x3fae8a72); +R126f.x = intBitsToFloat(uf_remappedVS[0].z) * (intBitsToFloat(0x3fae8a72)/resScale); PS0f = R126f.x; // 1 R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); diff --git a/Source/MarioKart8/c673c0d44f779fc9_0000000000000000_vs.txt b/Source/MarioKart8/c673c0d44f779fc9_0000000000000000_vs.txt deleted file mode 100644 index 39d3cc13..00000000 --- a/Source/MarioKart8/c673c0d44f779fc9_0000000000000000_vs.txt +++ /dev/null @@ -1,87 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader c673c0d44f779fc9 -// one pass blur for simple dof effect -const float resXScale = ; -const float resYScale = ; - -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = intBitsToFloat(0xbf800000); -R1f.w = 1.0; -PS0f = R2f.x + -(intBitsToFloat(uf_remappedVS[0].x) / resXScale); -// 1 -backupReg0f = R2f.y; -backupReg1f = R2f.x; -PV1f.x = R2f.y + -(intBitsToFloat(uf_remappedVS[0].y) / resYScale); -R2f.y = backupReg0f + intBitsToFloat(uf_remappedVS[0].y) / resYScale; -R2f.z = PS0f; -R2f.x = backupReg1f + intBitsToFloat(uf_remappedVS[0].x) / resXScale; -PS1f = R2f.x; -// 2 -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem3 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// 0 -} diff --git a/Source/MarioKart8/dd7a19be01b7b1aa_0000000000000000_vs.txt b/Source/MarioKart8/dd7a19be01b7b1aa_0000000000000000_vs.txt index 06cba9da..639734ef 100644 --- a/Source/MarioKart8/dd7a19be01b7b1aa_0000000000000000_vs.txt +++ b/Source/MarioKart8/dd7a19be01b7b1aa_0000000000000000_vs.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader dd7a19be01b7b1aa -// vertical bloom blur texture coordinates -const float resXScale = ; -const float resYScale = ; +// Used for: Vertical (Menu) Bloom Blur +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; @@ -34,7 +26,7 @@ else if( v == 0xFFFFFFFF ) return floatBitsToInt(0.0); return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); } -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} void main() { vec4 R0f = vec4(0.0); @@ -73,10 +65,10 @@ R1f.y = backupReg1f; R1f.y *= 2.0; R1f.z = 0.0; R1f.w = 1.0; -PS0f = intBitsToFloat(uf_remappedVS[0].y) * intBitsToFloat(0x3fb13a93) / resYScale; +PS0f = intBitsToFloat(uf_remappedVS[0].y) * (intBitsToFloat(0x3fb13a93)/resScale); // 1 -PV1f.x = intBitsToFloat(uf_remappedVS[0].y) * intBitsToFloat(0x404ec4f0) / resYScale; -R127f.y = intBitsToFloat(uf_remappedVS[0].y) * intBitsToFloat(0x40a275f7) / resYScale; +PV1f.x = intBitsToFloat(uf_remappedVS[0].y) * (intBitsToFloat(0x404ec4f0)/resScale); +R127f.y = intBitsToFloat(uf_remappedVS[0].y) * (intBitsToFloat(0x40a275f7)/resScale); R2f.z = R2f.y + PS0f; PV1f.z = R2f.z; R2f.w = R2f.y; diff --git a/Source/MarioKart8/e02d25abb7529b7f_0000000000000000_vs.txt b/Source/MarioKart8/e02d25abb7529b7f_0000000000000000_vs.txt deleted file mode 100644 index c704f799..00000000 --- a/Source/MarioKart8/e02d25abb7529b7f_0000000000000000_vs.txt +++ /dev/null @@ -1,129 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader e02d25abb7529b7f -//BFA -const float resScale = ; -uniform ivec4 uf_remappedVS[5]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R126f.x = (R1f.x > 0.0)?1.0:0.0; -R126f.x /= 2.0; -R127f.y = -(R1f.y); -PV0f.y = R127f.y; -R127f.z = (0.0 > R1f.x)?1.0:0.0; -R127f.z /= 2.0; -R127f.w = 1.0; -PV0f.w = R127f.w; -R125f.x = intBitsToFloat(uf_remappedVS[0].w) * intBitsToFloat(0x3fb13a93)/resScale; -PS0f = R125f.x; -// 1 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R127f.x = (PV0f.y > 0.0)?1.0:0.0; -R127f.x /= 2.0; -PS1f = R127f.x; -// 2 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -PS0f = (0.0 > R127f.y)?1.0:0.0; -PS0f /= 2.0; -// 3 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R126f.z = R127f.x + -(PS0f); -PS1f = R126f.z; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -PS0f = R126f.x + -(R127f.z); -// 5 -R126f.x = intBitsToFloat(uf_remappedVS[0].w) * intBitsToFloat(0x404ec4f0)/resScale; -PV1f.x = R126f.x; -R127f.y = R126f.z + 0.5; -PV1f.y = R127f.y; -R2f.x = PS0f + 0.5; -PS1f = R2f.x; -// 6 -R1f.x = PS1f; -R2f.y = PV1f.y + -(R125f.x); -R2f.z = PV1f.y + R125f.x; -R2f.w = PV1f.y; -R1f.y = PV1f.y + -(PV1f.x); -PS0f = R1f.y; -// 7 -R1f.z = R127f.y + R126f.x; -R1f.w = R127f.y; -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem1 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// 0 -} diff --git a/Source/MarioKart8/e8266ec81590ed24_0000000000000000_vs.txt b/Source/MarioKart8/e8266ec81590ed24_0000000000000000_vs.txt deleted file mode 100644 index fe0564e9..00000000 --- a/Source/MarioKart8/e8266ec81590ed24_0000000000000000_vs.txt +++ /dev/null @@ -1,130 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader e8266ec81590ed24 -//BFb2 -const float resScale = ; -uniform ivec4 uf_remappedVS[5]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = (0.0 > R1f.x)?1.0:0.0; -R127f.x /= 2.0; -R127f.y = (R1f.x > 0.0)?1.0:0.0; -R127f.y /= 2.0; -R127f.z = -(R1f.y); -PV0f.z = R127f.z; -R127f.w = 1.0; -PV0f.w = R127f.w; -R126f.y = intBitsToFloat(uf_remappedVS[0].z) * intBitsToFloat(0x3fb13a93)/resScale; -PS0f = R126f.y; -// 1 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R126f.w = (PV0f.z > 0.0)?1.0:0.0; -R126f.w /= 2.0; -PS1f = R126f.w; -// 2 -backupReg0f = R127f.z; -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R127f.z = (0.0 > backupReg0f)?1.0:0.0; -R127f.z /= 2.0; -PS0f = R127f.z; -// 3 -backupReg0f = R127f.y; -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R127f.y = backupReg0f + -(R127f.x); -PS1f = R127f.y; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -PS0f = R126f.w + -(R127f.z); -// 5 -R127f.x = intBitsToFloat(uf_remappedVS[0].z) * intBitsToFloat(0x404ec4f0)/resScale; -PV1f.z = PS0f + 0.5; -R127f.w = R127f.y + 0.5; -PV1f.w = R127f.w; -// 6 -R2f.x = PV1f.z; -PV0f.x = R2f.x; -R2f.y = PV1f.w + -(R126f.y); -R2f.z = PV1f.w + R126f.y; -R2f.w = PV1f.w; -// 7 -R1f.x = PV0f.x; -R1f.y = R127f.w + -(R127f.x); -R1f.z = R127f.w + R127f.x; -R1f.w = R127f.w; -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem1 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// 0 -} diff --git a/Source/MarioKart8/patches.txt b/Source/MarioKart8/patches.txt index fb3fed78..21c5ca52 100644 --- a/Source/MarioKart8/patches.txt +++ b/Source/MarioKart8/patches.txt @@ -1,25 +1,13 @@ - [MK8AspectVer1] moduleMatches = 0x2A2DC82C -0x10097D94 = .float -0x100F3430 = .float +0x10097D94 = .float $width/$height +0x100F3430 = .float $width/$height #aspect scaling codeCaveSize = 0x18 _scaleAspect = 0x00000004 -0x00000000 = .float +0x00000000 = .float (($gameHeight/$height)*$width)/$gameWidth _scaleAddr = 0x00000000 0x00000004 = fdivs f9, f13, f12 0x00000008 = lis r7, _scaleAddr@ha @@ -32,14 +20,14 @@ _scaleAddr = 0x00000000 [MK8AspectVer2] moduleMatches = 0x62A5F023 -0x1009E9DC = .float -0x100FC030 = .float +0x1009E9DC = .float $width/$height +0x100FC030 = .float $width/$height #aspect scaling codeCaveSize = 0x18 _scaleAspect = 0x00000004 -0x00000000 = .float +0x00000000 = .float (($gameHeight/$height)*$width)/$gameWidth _scaleAddr = 0x00000000 0x00000004 = fdivs f9, f13, f12 0x00000008 = lis r7, _scaleAddr@ha @@ -52,14 +40,14 @@ _scaleAddr = 0x00000000 [MK8AspectVer3] moduleMatches = 0xBA6B1E20 -0x100AC25C = .float -0x1010A730 = .float +0x100AC25C = .float $width/$height +0x1010A730 = .float $width/$height #aspect scaling codeCaveSize = 0x18 _scaleAspect = 0x00000004 -0x00000000 = .float +0x00000000 = .float (($gameHeight/$height)*$width)/$gameWidth _scaleAddr = 0x00000000 0x00000004 = fdivs f9, f13, f12 0x00000008 = lis r7, _scaleAddr@ha @@ -72,14 +60,14 @@ _scaleAddr = 0x00000000 [MK8AspectVer4] moduleMatches = 0x1D398493 -0x100C359C = .float -0x10121D30 = .float +0x100C359C = .float $width/$height +0x10121D30 = .float $width/$height #aspect scaling codeCaveSize = 0x18 _scaleAspect = 0x00000004 -0x00000000 = .float +0x00000000 = .float (($gameHeight/$height)*$width)/$gameWidth _scaleAddr = 0x00000000 0x00000004 = fdivs f9, f13, f12 0x00000008 = lis r7, _scaleAddr@ha @@ -92,14 +80,14 @@ _scaleAddr = 0x00000000 [MK8AspectVer4_1] moduleMatches = 0xD09700CE -0x100C359C = .float -0x10121E30 = .float +0x100C359C = .float $width/$height +0x10121E30 = .float $width/$height #aspect scaling codeCaveSize = 0x18 _scaleAspect = 0x00000004 -0x00000000 = .float +0x00000000 = .float (($gameHeight/$height)*$width)/$gameWidth _scaleAddr = 0x00000000 0x00000004 = fdivs f9, f13, f12 0x00000008 = lis r7, _scaleAddr@ha diff --git a/Source/MarioKart8/rules.txt b/Source/MarioKart8/rules.txt index 4982d1d6..57e7f5dc 100644 --- a/Source/MarioKart8/rules.txt +++ b/Source/MarioKart8/rules.txt @@ -1,326 +1,403 @@ - [Definition] -titleIds = 000500001010EC00,000500001010ED00,000500001010EB00 -name = "Mario Kart 8 - " -version = 2 +titleIds = 000500001010ec00,000500001010ed00,000500001010eb00 +name = Resolution +path = "Mario Kart 8/Graphics/Resolution" +description = Changes the resolution of the game. Known issues: 3-4P upscaling works but misses shadows. +version = 3 + +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// For [4:3] resolutions that are multiples of 320x180 +// Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 -#[TextureRedefine] # -#width = 2048 -#height = 2048 -#overwriteWidth = -#overwriteHeight = +// For [21:9] resolutions that are multiples of 420x180 +// Performance -#[TextureRedefine] #selection screen shadows -#width = 1536 -#height = 1536 +[Preset] +name = (21:9) 1260x540 +$width = 1260 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 +[Preset] +name = (21:9) 1680x720 +$width = 1680 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 +[Preset] +name = (21:9) 2100x900 +$width = 2100 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = (21:9) 2520x1080 +$width = 2520 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 3360x1440 +$width = 3360 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 5040x2160 +$width = 5040 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 6720x2880 +$width = 6720 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiats + +[Preset] +name = (21:9) 10080x4320 +$width = 10080 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 13440x5760 +$width = 13440 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +// 48:9 + +[Preset] +name = (48:9) 1920x360 +$width = 1920 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 3840x720 +$width = 3840 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 4800x900 +$width = 4800 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 11520x2160 +$width = 11520 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 15360x2880 +$width = 15360 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 23040x4320 +$width = 23040 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 30720x5760 +$width = 30720 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +# Full Res [TextureRedefine] width = 1280 height = 720 formatsExcluded = 0x41A,0x431 # exclude the intro background texture, race end background tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] #MShadows -width = 1024 -height = 1024 -formats = 0x005 #shadows 2 lod slices -overwriteWidth = -overwriteHeight = +# Gamepad +[TextureRedefine] +width = 864 +height = 480 +formats = 0x816,0x019 +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 -#[TextureRedefine] ##gloss, reflections, don't scale -#width = 768 -#width = 768 +# Gamepad +[TextureRedefine] +width = 854 +height = 480 +formats = 0x816,0x019 +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 -[TextureRedefine] # Multiplayer-Mode Resolution (2p) + +# 2P Full Res +[TextureRedefine] width = 640 height = 720 -overwriteWidth = -overwriteHeight = +formats = 0x019,0x816,0x806,0x80e +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 720 +# 3-4P Full Res [TextureRedefine] width = 640 -height = 360 +height = 368 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +formats = 0x019,0x816,0x806,0x80e +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 [TextureRedefine] width = 640 -height = 320 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #selection fmv don't scale -#width = 512 -#height = 608 -#formatsExcluded = 0x001 #selection fmt - -#[TextureRedefine] #shadows multiplayer? -#width = 512 -#height = 512 -#formats = 0x005 # verify later -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 427 -height = 240 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #4P? -width = 320 height = 360 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = +formats = 0x816 +tileModesExcluded = 0x001 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 -[TextureRedefine] # Bloom first mip, motion blur effect +[TextureRedefine] +width = 512 +height = 256 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 256 + + +# Blur in menu's +[TextureRedefine] width = 320 height = 180 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # -width = 256 -height = 256 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 # -overwriteWidth = -overwriteHeight = +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 [TextureRedefine] -width = 199 -height = 116 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = +width = 320 +height = 192 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 +# Blurred backgrounds in menu [TextureRedefine] -width = 160 +width = 320 height = 180 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 -[TextureRedefine] #bloom 2nd mip +[TextureRedefine] +width = 320 +height = 192 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + + +# Particles/highlights +[TextureRedefine] +width = 320 +height = 192 +formats = 0x019 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] +width = 320 +height = 180 +formats = 0x019 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 + +[TextureRedefine] +width = 256 +height = 128 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 128 + +[TextureRedefine] width = 160 height = 90 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 90 [TextureRedefine] width = 160 -height = 80 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # -width = 148 -height = 148 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 133 -height = 77 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = +height = 96 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 96 [TextureRedefine] width = 128 -height = 256 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 -overwriteWidth = -overwriteHeight = - - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 128 -#height = 128 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +height = 64 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 64 [TextureRedefine] -width = 80 -height = 90 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # bloom 3rd mip -width = 80 -height = 45 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 80 -height = 40 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = +width = 40 +height = 22 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 40 +overwriteHeight = ($height/$gameHeight) * 22 [TextureRedefine] width = 64 -height = 128 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] # glossmap breaks 64 cube? -#width = 64 -#height = 64 - - -#[TextureRedefine] #check later -#width = 52 -#height = 52 -#formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -#overwriteWidth = 156 -#overwriteHeight = 156 - -[TextureRedefine] -width = 49 -height = 29 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 40 -height = 45 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #bloom -width = 40 -height = 22 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 40 -height = 20 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 33 -height = 19 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 32 -height = 64 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] # -#width = 32 -#height = 32 -#formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x816,0x01a #0x816 exclude cube -#overwriteWidth = 96 -#overwriteHeight = 96 - -[TextureRedefine] -width = 20 -height = 22 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - - -[TextureRedefine] -width = 20 -height = 10 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -verwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 16 height = 32 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = - - -#[TextureRedefine] #M -#width = 16 -#height = 16 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 32 [TextureRedefine] -width = 8 -height = 16 -formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteWidth = -overwriteHeight = +width = 80 +height = 45 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 80 +overwriteHeight = ($height/$gameHeight) * 45 -###MKTV### -# MKTV screen [TextureRedefine] -width = 960 -height = 540 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = +width = 96 +height = 48 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 96 +overwriteHeight = ($height/$gameHeight) * 48 -# MKTV internal render targets -[TextureRedefine] -width = 960 -height = 536 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = -# MKTV half res alpha -[TextureRedefine] -width = 480 -height = 268 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = +# Underwater effect +[TextureRedefine] # 1P +width = 640 +height = 368 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 -# MKTV quarter res alpha -[TextureRedefine] -width = 240 -height = 134 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = +[TextureRedefine] # 1P +width = 640 +height = 360 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 -[TextureRedefine] #shadows -width = 1024 -height = 1024 -formats = 0x005 -overwriteWidth = -overwriteHeight = +[TextureRedefine] # 2P +width = 320 +height = 368 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] # 2P +width = 320 +height = 360 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 360 \ No newline at end of file diff --git a/Source/MarioParty10/rules.txt b/Source/MarioParty10/rules.txt deleted file mode 100644 index 4702ede4..00000000 --- a/Source/MarioParty10/rules.txt +++ /dev/null @@ -1,188 +0,0 @@ - -[Definition] -titleIds = 0005000010162D00,0005000010162E00,0005000E10161F00 -name = "Mario Party 10 - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -formatsExcluded = 0x41a,0x431 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 1024 -height = 1024 -formatsExcluded = 0x34,0x35,0x431,0x433 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 1022 -height = 1022 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 960 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -formatsExcluded = 0x41a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 838 -height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 716 -height = 538 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 640 -height = 360 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 559 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 552 -height = 414 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 536 -height = 126 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 512 -height = 512 -formatsExcluded = 0x34,0x35,0x235,0x41a,0x431 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 510 -height = 510 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 460 -height = 460 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 370 -height = 370 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 320 -height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 256 -height = 256 -formatsExcluded = 0x1,0x35,0x431,0x433 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 196 -height = 196 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 128 -height = 128 -formatsExcluded = 0x35,0x41a,0x431,0x433 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 80 -height = 45 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 64 -height = 64 -formatsExcluded = 0x34,0x431,0x433 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 40 -height = 22 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 32 -height = 32 -formatsExcluded = 0x1,0x35,0x431 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -width = 16 -height = 16 -formatsExcluded = 0x1,0x35,0x433 -overwriteWidth = -overwriteHeight = diff --git a/Source/MarioSonicRio/rules.txt b/Source/MarioSonicRio/rules.txt deleted file mode 100644 index dff1afe0..00000000 --- a/Source/MarioSonicRio/rules.txt +++ /dev/null @@ -1,294 +0,0 @@ - -[Definition] -titleIds = 0005000010190300,00050000101E5300,00050000101E5400,0005000210190301,00050002101E5401 -name = "Mario & Sonic at the Rio 2016 Olympic Games - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -tileModesExcluded = 0x1 -formatsExcluded = 0x31 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1200 -height = 100 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1040 -height = 60 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1024 -#height = 1024 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 880 -height = 226 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 832 -height = 40 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 784 -height = 130 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 672 -height = 64 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 656 -height = 46 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 640 -height = 80 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 624 -height = 40 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 608 -height = 624 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 570 -height = 420 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 544 -height = 160 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 512 -#height = 512 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 512 -height = 34 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 400 -height = 40 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 336 -height = 60 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 320 -height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 320 -height = 40 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 320 -height = 24 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 280 -height = 76 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 272 -height = 50 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 256 -height = 52 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 224 -height = 52 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 160 -height = 46 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 160 -height = 38 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 128 -height = 58 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 80 -height = 45 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 64 -#height = 64 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 40 -height = 22 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 20 -height = 11 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 16 -#height = 16 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 10 -height = 5 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 5 -height = 2 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 4 -#height = 4 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 2 -height = 1 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1 -#height = 1 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = diff --git a/Source/MarioSonicSochi/rules.txt b/Source/MarioSonicSochi/rules.txt deleted file mode 100644 index b976a3fa..00000000 --- a/Source/MarioSonicSochi/rules.txt +++ /dev/null @@ -1,56 +0,0 @@ - -[Definition] -titleIds = 000500001010C700,000500001010C800 -name = "Mario & Sonic at the Sochi 2014 Olympic Winter Games - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x031 # exclude the intro background texture -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # character select (legends showdown) -width = 708 -height = 624 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # character select (1 character) -width = 601 -height = 624 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # character select (2 characters) -width = 305 -height = 620 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # character select (4 characters) -width = 155 -height = 630 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # mii -width = 192 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/MarioTennis/rules.txt b/Source/MarioTennis/rules.txt deleted file mode 100644 index 654e9a9b..00000000 --- a/Source/MarioTennis/rules.txt +++ /dev/null @@ -1,180 +0,0 @@ - -[Definition] -titleIds = 00050000101A3500,00050000101A3600,0005000010199000 -name = "Mario Tennis: Ultra Smash - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -formatsExcluded = 0x431 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 800 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 640 -height = 360 -formatsExcluded = 0x41a -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 400 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 400 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 100 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 80 -height = 45 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 50 -height = 45 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 40 -height = 22 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 25 -height = 22 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -formatsExcluded = 0x41a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 856 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 428 -height = 240 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 360 -height = 448 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 180 -height = 224 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 90 -height = 112 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 45 -height = 56 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 22 -height = 28 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 11 -height = 14 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 216 -height = 448 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 108 -height = 224 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 54 -height = 112 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 27 -height = 56 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 13 -height = 28 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 6 -height = 14 -overwriteWidth = -overwriteHeight = diff --git a/Source/MemeRun/rules.txt b/Source/MemeRun/rules.txt new file mode 100644 index 00000000..f5dcc65b --- /dev/null +++ b/Source/MemeRun/rules.txt @@ -0,0 +1,102 @@ +[Definition] +titleIds = 0005000010194000 +name = Resolutions +path = "Meme Run/Graphics/Resolution" +description = Changes the games resolution. You cannot change resolutions on the fly. +version = 3 + +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Only works well with resolutions that are multiples of 320x180 +// Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1920x1080 Full HD +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 4K +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 10K +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] +width = 1280 +height = 720 +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 + +[TextureRedefine] +width = 854 +height = 480 +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 \ No newline at end of file diff --git a/Source/Minecraft/rules.txt b/Source/Minecraft/rules.txt deleted file mode 100644 index 497660ed..00000000 --- a/Source/Minecraft/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - - -[Definition] -titleIds = 00050000101DBE00,00050000101D9D00,00050000101D7500 -name = "Minecraft: Wii U Edition - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/MinecraftStory/rules.txt b/Source/MinecraftStory/rules.txt deleted file mode 100644 index 527680da..00000000 --- a/Source/MinecraftStory/rules.txt +++ /dev/null @@ -1,62 +0,0 @@ - - -[Definition] -titleIds = 00050000101E0100,000500001020A200,000500001020A300 -name = "Minecraft: Story Mode - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1024 -#height = 1024 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1022 -#height = 1022 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 640 -height = 360 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 320 -height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 80 -height = 45 -#formatsExcluded = -overwriteWidth = -overwriteHeight = diff --git a/Source/MonsterHunter3Ultimate/rules.txt b/Source/MonsterHunter3Ultimate/rules.txt index 76ee0933..df56b05d 100644 --- a/Source/MonsterHunter3Ultimate/rules.txt +++ b/Source/MonsterHunter3Ultimate/rules.txt @@ -1,32 +1,188 @@ - [Definition] titleIds = 0005000010118300,0005000010117200,0005000010104D00 -name = "Monster Hunter 3 Ultimate - " -version = 2 +name = "Resoluton" +path = "Monster Hunter 3 Ultimate/Graphics/Resolution" +description = Changes the games resolution. +version = 3 -[TextureRedefine] # tv +[Preset] +name = 1920x1080 (Default) +$width = 1920 +$height = 1080 +$gameWidth = 1920 +$gameHeight = 1080 + +// Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1920 +$gameHeight = 1080 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1920 +$gameHeight = 1080 + +# 4K Maintains Aspect Ratio +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1920 +$gameHeight = 1080 + +# New Resoltion Maintains Aspect Ratio +[Preset] +name = 4480x2520 +$width = 4480 +$height = 2520 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1920 +$gameHeight = 1080 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1920 +$gameHeight = 1080 + +# ----------------------------------------------------------------------------------------------------------------------------------------------- +# ----------------------------------------------------------------------------------------------------------------------------------------------- + +# All 1080p Textures - 0x001,0x011,0x01a +# 0x001=(Video Playback) +# 0x011=(Depth Stencil 24 bit) +# 0x01a=(Game Renderer) + +[TextureRedefine] +width = 1920 +height = 1088 +formats = 0x01a,0x011 +tileModesExcluded = 0x001 # For Video Playback +overwriteWidth = ($width / $gameWidth) * 1920 +overwriteHeight = ($height / $gameHeight) * 1088 + +[TextureRedefine] width = 1920 height = 1080 -tileModesExcluded = 0x1 -overwriteWidth = -overwriteHeight = +formats = 0x01a,0x011 +tileModesExcluded = 0x001 # For Video Playback +overwriteWidth = ($width / $gameWidth) * 1920 +overwriteHeight = ($height / $gameHeight) * 1080 -[TextureRedefine] # half scale -width = 960 -height = 540 -tileModesExcluded = 0x1 -overwriteWidth = -overwriteHeight = +# Required - GamePad +[TextureRedefine] +width = 864 +height = 480 +formats = 0x01a,0x011 +overwriteWidth = ($width / $gameWidth) * 864 +overwriteHeight = ($height / $gameHeight) * 480 -[TextureRedefine] # gamepad +# Required - GamePad +[TextureRedefine] width = 854 height = 480 -#overwriteWidth = -#overwriteHeight = +formats = 0x01a,0x011 +overwriteWidth = ($width / $gameWidth) * 854 +overwriteHeight = ($height / $gameHeight) * 480 + +# ----------------------------------------------------------------------------------------------------------------------------------------------- +# ----------------------------------------------------------------------------------------------------------------------------------------------- + +# Top to bottom View depth +[TextureRedefine] +width = 1024 +height = 1024 +formats = 0x80e,0x011 +overwriteWidth = ($width / $gameWidth) * 1024 +overwriteHeight = ($height / $gameHeight) * 1024 + +# Required - Half Res +[TextureRedefine] +width = 960 +height = 544 +formats = 0x01a +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 544 + +# Required - Half Res +[TextureRedefine] +width = 960 +height = 540 +formats = 0x01a +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 540 + +# 1/4 Scale +[TextureRedefine] +width = 480 +height = 272 +formats = 0x01a +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 272 + +# 1/4 Scale +[TextureRedefine] +width = 480 +height = 270 +formats = 0x01a +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 270 diff --git a/Source/NBA2K13/rules.txt b/Source/NBA2K13/rules.txt deleted file mode 100644 index 8da310dc..00000000 --- a/Source/NBA2K13/rules.txt +++ /dev/null @@ -1,30 +0,0 @@ - -[Definition] -titleIds = 000500001010DA00,0005000010112F00 -name = "NBA 2K13 - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine]#half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/NewSuperMarioBrosU/50e29e8929cea348_00000000000003c9_ps.txt b/Source/NewSuperMarioBrosU/50e29e8929cea348_00000000000003c9_ps.txt deleted file mode 100644 index ef773a48..00000000 --- a/Source/NewSuperMarioBrosU/50e29e8929cea348_00000000000003c9_ps.txt +++ /dev/null @@ -1,199 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 50e29e8929cea348 -//AA fix PS -const float resScale = ; -//old contrasty, or just copy paste clarity -const float gamma = 0.95; // 1.0 is neutral -const float exposure = 1.05; // 1.0 is neutral, first lessen to avoid truncation prob around .25 for radeon. -const float vibrance = 0.2175; // 0.0 is neutral -const float crushContrast = 0.000; // 0.0 is neutral. loss of shadow detail -const float postExposure = 1.16; // 1.0 is neutral, then slightly raise exposure back up. - -vec3 contrasty(vec3 colour) { - vec3 fColour = (colour.xyz); - - fColour = clamp(exposure * fColour, 0.0, 1.0); - fColour = pow(fColour, vec3(1.0 / gamma)); - float luminance = fColour.r*0.299 + fColour.g*0.587 + fColour.b*0.114; - float mn = min(min(fColour.r, fColour.g), fColour.b); - float mx = max(max(fColour.r, fColour.g), fColour.b); - float sat = (1.0 - (mx - mn)) * (1.0 - mx) * luminance * 5.0; - vec3 lightness = vec3((mn + mx) / 2.0); - // vibrance - fColour = mix(fColour, mix(fColour, lightness, -vibrance), sat); - fColour = max(vec3(0.0), fColour - vec3(crushContrast)); - return fColour; -} - -uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4240800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf45c5000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem1; -if( activeMaskStackC[1] == true ) { -R1f.xyzw = (textureGather(textureUnitPS1, R0f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0f.x = R1f.z + R1f.w; -PV0f.y = R1f.y + -(R1f.w); -PV0f.z = R1f.x + -(R1f.z); -R127f.w = mul_nonIEEE(R2f.x, intBitsToFloat(uf_remappedPS[0].x)); -R126f.w = min(R1f.z, R1f.w); -PS0f = R126f.w; -// 1 -R126f.x = PV0f.z + PV0f.y; -PV1f.x = R126f.x; -PV1f.y = R1f.x + PV0f.x; -R127f.z = min(R1f.x, R1f.y); -R125f.w = PV0f.z + -(PV0f.y); -PV1f.w = R125f.w; -R127f.y = max(R1f.z, R1f.w); -PS1f = R127f.y; -// 2 -PV0f.x = R1f.y + PV1f.y; -PV0f.y = max(PV1f.w, -(PV1f.w)); -PV0f.z = max(PV1f.x, -(PV1f.x)); -PV0f.w = max(R1f.x, R1f.y); -R127f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedPS[0].y)) + R127f.w); -PS0f = R127f.x; -// 3 -PV1f.x = min(PV0f.z, PV0f.y); -PV1f.y = min(R126f.w, R127f.z); -PV1f.z = max(R127f.y, PV0f.w); -R123f.w = (PV0f.x * intBitsToFloat(0x3d000000) + intBitsToFloat(0x3b800000)); -PV1f.w = R123f.w; -// 4 -PV0f.x = min(R127f.x, PV1f.y); -PV0f.y = max(R127f.x, PV1f.z); -PV0f.w = max(PV1f.w, PV1f.x); -// 5 -R0f.z = -(PV0f.x) + PV0f.y; -PS1f = 1.0 / PV0f.w; -// 6 -PV0f.x = R125f.w * PS1f; -PV0f.y = R126f.x * PS1f; -// 7 -PV1f.z = max(PV0f.x, intBitsToFloat(0xc0400000)); -PV1f.w = max(PV0f.y, intBitsToFloat(0xc0400000)); -// 8 -R1f.x = min(PV1f.w, intBitsToFloat(0x40400000)); -R1f.y = min(PV1f.z, intBitsToFloat(0x40400000)); -// 9 -predResult = (R0f.z > intBitsToFloat(uf_remappedPS[1].y)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3f.x = (mul_nonIEEE(R1f.x,-(intBitsToFloat(uf_remappedPS[2].z)/ resScale)) + R0f.x); -R3f.y = (mul_nonIEEE(R1f.y,-(intBitsToFloat(uf_remappedPS[2].w)/ resScale)) + R0f.y); -R0f.z = (mul_nonIEEE(R1f.x,intBitsToFloat(uf_remappedPS[2].x)/ resScale) + R0f.x); -R0f.w = (mul_nonIEEE(R1f.y,intBitsToFloat(uf_remappedPS[2].y)/ resScale) + R0f.y); -R3f.z = (mul_nonIEEE(R1f.x,intBitsToFloat(uf_remappedPS[2].z)/ resScale) + R0f.x); -PS0f = R3f.z; -// 1 -R4f.x = (mul_nonIEEE(R1f.x,-(intBitsToFloat(uf_remappedPS[2].x)/ resScale)) + R0f.x); -R4f.y = (mul_nonIEEE(R1f.y,-(intBitsToFloat(uf_remappedPS[2].y)/ resScale)) + R0f.y); -R3f.w = (mul_nonIEEE(R1f.y,intBitsToFloat(uf_remappedPS[2].w)/ resScale) + R0f.y); -} -if( activeMaskStackC[2] == true ) { -R1f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R3f.zw).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R4f.xy).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127f.x = R0f.w + R1f.w; -R127f.x /= 2.0; -R127f.y = R0f.z + R1f.z; -R127f.y /= 2.0; -R127f.z = R0f.y + R1f.y; -R127f.z /= 2.0; -R127f.w = R0f.x + R1f.x; -R127f.w /= 2.0; -// 1 -PV1f.x = R2f.w + R3f.w; -PV1f.x /= 2.0; -PV1f.y = R2f.z + R3f.z; -PV1f.y /= 2.0; -PV1f.z = R2f.y + R3f.y; -PV1f.z /= 2.0; -PV1f.w = R2f.x + R3f.x; -PV1f.w /= 2.0; -// 2 -R2f.x = R127f.w + PV1f.w; -R2f.x /= 2.0; -R2f.y = R127f.z + PV1f.z; -R2f.y /= 2.0; -R2f.z = R127f.y + PV1f.y; -R2f.z /= 2.0; -R2f.w = R127f.x + PV1f.x; -R2f.w /= 2.0; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export - - -passPixelColor0 = vec4(contrasty(R2f.xyz), R2f.w); -//passPixelColor0 = vec4(R2f.xyz, R2f.w); - -} diff --git a/Source/NewSuperMarioBrosU/70b82af4d17024d2_0000000000000000_vs.txt b/Source/NewSuperMarioBrosU/70b82af4d17024d2_0000000000000000_vs.txt deleted file mode 100644 index 23f6a1c7..00000000 --- a/Source/NewSuperMarioBrosU/70b82af4d17024d2_0000000000000000_vs.txt +++ /dev/null @@ -1,83 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 70b82af4d17024d2 -//AA fix -const float resScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = 0.0; -R1f.w = 1.0; -R122f.x = (-(intBitsToFloat(uf_remappedVS[0].x)/ resScale) * intBitsToFloat(0x3f266666) + R2f.x); -PS0f = R122f.x; -// 1 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)/ resScale) * intBitsToFloat(0x3f266666) + R2f.y); -PV1f.x = R123f.x; -R2f.z = PS0f; -// 2 -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem1 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// 0 -} diff --git a/Source/NewSuperMarioBrosU/8d638f35cebd14dc_00000000000007f9_ps.txt b/Source/NewSuperMarioBrosU/8d638f35cebd14dc_00000000000007f9_ps.txt deleted file mode 100644 index 98e7efae..00000000 --- a/Source/NewSuperMarioBrosU/8d638f35cebd14dc_00000000000007f9_ps.txt +++ /dev/null @@ -1,109 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 8d638f35cebd14dc -//banding fix -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x48ab0000 res 8x256x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 2) in vec4 passParameterSem2; -layout(location = 3) in vec4 passParameterSem3; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -highp float lineRand(vec2 co) -{ - highp float a = 12.9898; - highp float b = 78.233; - highp float c = 43758.5453; - highp float dt = dot(co.xy, vec2(a, b)); - highp float sn = mod(dt, 3.14); - return fract(sin(sn) * c); -} -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -R1f = passParameterSem1; -R2f = passParameterSem2; -R3f = passParameterSem3; -R3f.xy = R3f.xy - (lineRand(gl_FragCoord.xy)*0.0075); -R3f.xyz = (texture(textureUnitPS0, R3f.xy).xyz); -// 0 -R123f.x = (mul_nonIEEE(R0f.z,R3f.z) + 0.0); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R0f.y,R3f.y) + 0.0); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(R0f.x,R3f.x) + 0.0); -PV0f.z = R123f.z; -R3f.w = R0f.w + 0.0; -R3f.w = clamp(R3f.w, 0.0, 1.0); -R0f.w = 1.0; -PS0f = R0f.w; -// 1 -PV1f.x = R2f.z * R2f.z; -R127f.y = PV0f.x + 0.0; -R127f.y = clamp(R127f.y, 0.0, 1.0); -R127f.z = PV0f.y + 0.0; -R127f.z = clamp(R127f.z, 0.0, 1.0); -R127f.w = PV0f.z + 0.0; -R127f.w = clamp(R127f.w, 0.0, 1.0); -PV1f.w = R127f.w; -// 2 -tempf.x = dot(vec4(R2f.x,R2f.y,PV1f.x,-0.0),vec4(R2f.x,R2f.y,1.0,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -PS0f = R1f.x + -(PV1f.w); -// 3 -R3f.x = (mul_nonIEEE(PS0f,R1f.w) + R127f.w); -PV1f.z = R1f.z + -(R127f.y); -PV1f.w = R1f.y + -(R127f.z); -tempResultf = 1.0 / sqrt(PV0f.x); -R127f.x = tempResultf; -R127f.x /= 2.0; -PS1f = R127f.x; -// 4 -R0f.x = (mul_nonIEEE(R2f.x,PS1f) + 0.5); -R3f.y = (mul_nonIEEE(PV1f.w,R1f.w) + R127f.z); -R3f.z = (mul_nonIEEE(PV1f.z,R1f.w) + R127f.y); -R0f.y = (mul_nonIEEE(R2f.y,PS1f) + 0.5); -PS0f = R0f.y; -// 5 -R0f.z = (mul_nonIEEE(R2f.z,R127f.x) + 0.5); -PV1f.z = R0f.z; -// 6 -R1f.xyz = vec3(R0f.x,R0f.y,PV1f.z); -R1f.w = R0f.w; -// 7 -R0f.xyz = vec3(R3f.x,R3f.y,R3f.z); -R0f.w = R3f.w; -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -passPixelColor1 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -} diff --git a/Source/NewSuperMarioBrosU/ec4a85d51e778437_0000000000000000_vs.txt b/Source/NewSuperMarioBrosU/ec4a85d51e778437_0000000000000000_vs.txt deleted file mode 100644 index 1f13ff6b..00000000 --- a/Source/NewSuperMarioBrosU/ec4a85d51e778437_0000000000000000_vs.txt +++ /dev/null @@ -1,86 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader ec4a85d51e778437 -//box blur fix -const float resScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = intBitsToFloat(0xbf800000); -R1f.w = 1.0; -PS0f = R2f.x + -(intBitsToFloat(uf_remappedVS[0].x) / resScale); -// 1 -backupReg0f = R2f.y; -backupReg1f = R2f.x; -PV1f.x = R2f.y + -(intBitsToFloat(uf_remappedVS[0].y) / resScale); -R2f.y = backupReg0f + intBitsToFloat(uf_remappedVS[0].y)/resScale; -R2f.z = PS0f; -R2f.x = backupReg1f + intBitsToFloat(uf_remappedVS[0].x)/ resScale; -PS1f = R2f.x; -// 2 -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem3 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// 0 -} diff --git a/Source/NewSuperMarioBrosU/rules.txt b/Source/NewSuperMarioBrosU/rules.txt deleted file mode 100644 index eb11363a..00000000 --- a/Source/NewSuperMarioBrosU/rules.txt +++ /dev/null @@ -1,73 +0,0 @@ - - -[Definition] -titleIds = 0005000010101D00,0005000010101E00,000500001014B700,000500001014B800,0005000010101C00,0005000010142300,0005000010142400,0005000010142200 -name = "New Super Mario Bros. U - " -version = 2 - -[TextureRedefine] # increase colour depth, slower but less banding -formats = 0x820 -overwriteFormat = 0x823 - -[TextureRedefine] # -formats = 0x816 -overwriteFormat = 0x820 - -##tilemap don't scale -#width = 2048 -#height = 512 - -[TextureRedefine] -width = 1280 -height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - - -[TextureRedefine] #map shadows -width = 1024 -height = 1024 -formats = 0x005 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 640 -height = 360 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 320 -height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -## Gradient don't scale -#width = 48 -#height = 48 - diff --git a/Source/NinjaGaiden3/7a641a67c4009f7f_0000000000000000_vs.txt b/Source/NinjaGaiden3/7a641a67c4009f7f_0000000000000000_vs.txt new file mode 100644 index 00000000..219ba908 --- /dev/null +++ b/Source/NinjaGaiden3/7a641a67c4009f7f_0000000000000000_vs.txt @@ -0,0 +1,153 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +#extension GL_ARB_separate_shader_objects : enable +#extension GL_ARB_shading_language_packing : enable +// shader 7a641a67c4009f7f //Blur + +const float resXScale = ($width/$gameWidth); +const float resYScale = ($width/$gameWidth); + +uniform ivec4 uf_remappedVS[8]; +uniform vec2 uf_windowSpaceToClipSpaceTransform; +layout(location = 0) in uvec4 attrDataSem0; +layout(location = 1) in uvec4 attrDataSem5; +out gl_PerVertex +{ + vec4 gl_Position; + float gl_PointSize; +}; +layout(location = 0) out vec4 passParameterSem128; +layout(location = 1) out vec4 passParameterSem129; +layout(location = 2) out vec4 passParameterSem130; +layout(location = 3) out vec4 passParameterSem131; +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R1f = vec4(0.0); +vec4 R2f = vec4(0.0); +vec4 R3f = vec4(0.0); +vec4 R4f = vec4(0.0); +vec4 R5f = vec4(0.0); +vec4 R6f = vec4(0.0); +vec4 R7f = vec4(0.0); +vec4 R8f = vec4(0.0); +vec4 R9f = vec4(0.0); +vec4 R10f = vec4(0.0); +vec4 R125f = vec4(0.0); +vec4 R126f = vec4(0.0); +vec4 R127f = vec4(0.0); +uvec4 attrDecoder; +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); +attrDecoder.xy = attrDataSem0.xy; +attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); +attrDecoder.z = 0; +attrDecoder.w = 0; +R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); +attrDecoder.xy = attrDataSem5.xy; +attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); +attrDecoder.z = 0; +attrDecoder.w = 0; +R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); +// 0 +R127f.xyz = vec3(R2f.y,R2f.x,R2f.y) + vec3(-(intBitsToFloat(uf_remappedVS[0].y)/resYScale),-(intBitsToFloat(uf_remappedVS[0].x)/resXScale),-(intBitsToFloat(uf_remappedVS[1].y)/resYScale)); +PV0f.w = R2f.x + -(intBitsToFloat(uf_remappedVS[1].x)/resXScale); +R0f.x = R2f.x + intBitsToFloat(uf_remappedVS[1].x)/resXScale; +PS0f = R0f.x; +// 1 +R126f.xyz = vec3(R2f.y,R2f.x,R2f.y) + vec3(-(intBitsToFloat(uf_remappedVS[2].y)/resYScale),-(intBitsToFloat(uf_remappedVS[2].x)/resXScale),-(intBitsToFloat(uf_remappedVS[3].y)/resYScale)); +R127f.w = R2f.x + -(intBitsToFloat(uf_remappedVS[3].x)/resXScale); +R0f.z = PV0f.w; +PS1f = R0f.z; +// 2 +backupReg0f = R127f.z; +R125f.x = R2f.y + -(intBitsToFloat(uf_remappedVS[4].y)/resXScale); +R125f.y = R2f.x + -(intBitsToFloat(uf_remappedVS[4].x)/resYScale); +R127f.z = R2f.y + -(intBitsToFloat(uf_remappedVS[5].y)/resXScale); +R126f.w = R2f.x + -(intBitsToFloat(uf_remappedVS[5].x)/resYScale); +R0f.w = backupReg0f; +PS0f = R0f.w; +// 3 +R9f.x = R2f.y + -(intBitsToFloat(uf_remappedVS[6].y)/resXScale); +R9f.y = R2f.x + -(intBitsToFloat(uf_remappedVS[6].x)/resYScale); +R125f.z = R2f.y + -(intBitsToFloat(uf_remappedVS[7].y)/resXScale); +R125f.w = R2f.x + -(intBitsToFloat(uf_remappedVS[7].x)/resYScale); +R3f.z = R127f.y; +PS1f = R3f.z; +// 4 +R3f.x = R2f.x + intBitsToFloat(uf_remappedVS[0].x)/resXScale; +R0f.y = R2f.y + intBitsToFloat(uf_remappedVS[1].y)/resYScale; +R4f.z = R127f.w; +R3f.w = R127f.x; +R3f.y = R2f.y + intBitsToFloat(uf_remappedVS[0].y)/resYScale; +PS0f = R3f.y; +// 5 +R4f.x = R2f.x + intBitsToFloat(uf_remappedVS[3].x)/resXScale; +R4f.y = R2f.y + intBitsToFloat(uf_remappedVS[3].y)/resYScale; +R5f.z = R126f.y; +R4f.w = R126f.z; +R5f.x = R2f.x + intBitsToFloat(uf_remappedVS[2].x)/resXScale; +PS1f = R5f.x; +// 6 +R6f.x = R2f.x + intBitsToFloat(uf_remappedVS[5].x)/resXScale; +R5f.y = R2f.y + intBitsToFloat(uf_remappedVS[2].y)/resYScale; +R6f.z = R126f.w; +R5f.w = R126f.x; +R6f.y = R2f.y + intBitsToFloat(uf_remappedVS[5].y)/resYScale; +PS0f = R6f.y; +// 7 +R7f.x = R2f.x + intBitsToFloat(uf_remappedVS[4].x)/resXScale; +R7f.y = R2f.y + intBitsToFloat(uf_remappedVS[4].y)/resYScale; +R7f.z = R125f.y; +R6f.w = R127f.z; +R7f.w = R125f.x; +PS1f = R7f.w; +// 8 +R8f.x = R2f.x + intBitsToFloat(uf_remappedVS[7].x)/resXScale; +R8f.y = R2f.y + intBitsToFloat(uf_remappedVS[7].y)/resYScale; +R8f.z = R125f.w; +R8f.w = R125f.z; +R10f.x = R2f.x + intBitsToFloat(uf_remappedVS[6].x)/resXScale; +PS0f = R10f.x; +// export +gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); +// export +passParameterSem128 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); +// export +passParameterSem129 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); +// export +passParameterSem130 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); +// export +passParameterSem131 = vec4(R5f.x, R5f.y, R5f.z, R5f.w); +// export +// skipped export to semanticId 255 +// export +// skipped export to semanticId 255 +// export +// skipped export to semanticId 255 +// 0 +R10f.y = R2f.y + intBitsToFloat(uf_remappedVS[6].y)/resYScale; //? +R10f.z = R9f.y; +R10f.w = R9f.x; +// export +// skipped export to semanticId 255 +// 0 +} diff --git a/Source/NinjaGaiden3/fd6c2e800481a180_0000000000000000_vs.txt b/Source/NinjaGaiden3/fd6c2e800481a180_0000000000000000_vs.txt new file mode 100644 index 00000000..c20a5e4d --- /dev/null +++ b/Source/NinjaGaiden3/fd6c2e800481a180_0000000000000000_vs.txt @@ -0,0 +1,158 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +#extension GL_ARB_separate_shader_objects : enable +#extension GL_ARB_shading_language_packing : enable +// shader fd6c2e800481a180 //Cinematic bloom + +const float resXScale = ($width/$gameWidth); +const float resYScale = ($width/$gameWidth); + + +uniform ivec4 uf_remappedVS[8]; +uniform vec2 uf_windowSpaceToClipSpaceTransform; +layout(location = 0) in uvec4 attrDataSem0; +layout(location = 1) in uvec4 attrDataSem5; +out gl_PerVertex +{ + vec4 gl_Position; + float gl_PointSize; +}; +layout(location = 0) out vec4 passParameterSem128; +layout(location = 1) out vec4 passParameterSem129; +layout(location = 2) out vec4 passParameterSem130; +layout(location = 3) out vec4 passParameterSem131; +layout(location = 4) out vec4 passParameterSem132; +layout(location = 5) out vec4 passParameterSem133; +layout(location = 6) out vec4 passParameterSem134; +layout(location = 7) out vec4 passParameterSem135; +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R1f = vec4(0.0); +vec4 R2f = vec4(0.0); +vec4 R3f = vec4(0.0); +vec4 R4f = vec4(0.0); +vec4 R5f = vec4(0.0); +vec4 R6f = vec4(0.0); +vec4 R7f = vec4(0.0); +vec4 R8f = vec4(0.0); +vec4 R9f = vec4(0.0); +vec4 R10f = vec4(0.0); +vec4 R125f = vec4(0.0); +vec4 R126f = vec4(0.0); +vec4 R127f = vec4(0.0); +uvec4 attrDecoder; +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); +attrDecoder.xy = attrDataSem0.xy; +attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); +attrDecoder.z = 0; +attrDecoder.w = 0; +R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); +attrDecoder.xy = attrDataSem5.xy; +attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); +attrDecoder.z = 0; +attrDecoder.w = 0; +R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); +// 0 +R127f.xyz = vec3(R2f.y,R2f.x,R2f.y) + vec3(-(intBitsToFloat(uf_remappedVS[0].y)/resYScale),-(intBitsToFloat(uf_remappedVS[0].x)/resXScale),-(intBitsToFloat(uf_remappedVS[1].y)/resYScale)); +PV0f.w = R2f.x + -(intBitsToFloat(uf_remappedVS[1].x)/resXScale); +R0f.x = R2f.x + intBitsToFloat(uf_remappedVS[1].x)/resXScale; +PS0f = R0f.x; +// 1 +R126f.xyz = vec3(R2f.y,R2f.x,R2f.y) + vec3(-(intBitsToFloat(uf_remappedVS[2].y)/resYScale),-(intBitsToFloat(uf_remappedVS[2].x)/resXScale),-(intBitsToFloat(uf_remappedVS[3].y)/resYScale)); +R127f.w = R2f.x + -(intBitsToFloat(uf_remappedVS[3].x)/resXScale); +R0f.z = PV0f.w; +PS1f = R0f.z; +// 2 +backupReg0f = R127f.z; +R125f.x = R2f.y + -(intBitsToFloat(uf_remappedVS[4].y)/resXScale); +R125f.y = R2f.x + -(intBitsToFloat(uf_remappedVS[4].x)/resYScale); +R127f.z = R2f.y + -(intBitsToFloat(uf_remappedVS[5].y)/resXScale); +R126f.w = R2f.x + -(intBitsToFloat(uf_remappedVS[5].x)/resYScale); +R0f.w = backupReg0f; +PS0f = R0f.w; +// 3 +R9f.x = R2f.y + -(intBitsToFloat(uf_remappedVS[6].y)/resXScale); +R9f.y = R2f.x + -(intBitsToFloat(uf_remappedVS[6].x)/resYScale); +R125f.z = R2f.y + -(intBitsToFloat(uf_remappedVS[7].y)/resXScale); +R125f.w = R2f.x + -(intBitsToFloat(uf_remappedVS[7].x)/resYScale); +R3f.z = R127f.y; +PS1f = R3f.z; +// 4 +R3f.x = R2f.x + intBitsToFloat(uf_remappedVS[0].x)/resXScale; +R0f.y = R2f.y + intBitsToFloat(uf_remappedVS[1].y)/resYScale; +R4f.z = R127f.w; +R3f.w = R127f.x; +R3f.y = R2f.y + intBitsToFloat(uf_remappedVS[0].y)/resXScale; +PS0f = R3f.y; +// 5 +R4f.x = R2f.x + intBitsToFloat(uf_remappedVS[3].x)/resXScale; +R4f.y = R2f.y + intBitsToFloat(uf_remappedVS[3].y)/resYScale; +R5f.z = R126f.y; +R4f.w = R126f.z; +R5f.x = R2f.x + intBitsToFloat(uf_remappedVS[2].x)/resXScale; +PS1f = R5f.x; +// 6 +R6f.x = R2f.x + intBitsToFloat(uf_remappedVS[5].x)/resXScale; +R5f.y = R2f.y + intBitsToFloat(uf_remappedVS[2].y)/resYScale; +R6f.z = R126f.w; +R5f.w = R126f.x; +R6f.y = R2f.y + intBitsToFloat(uf_remappedVS[5].y)/resYScale; +PS0f = R6f.y; +// 7 +R7f.x = R2f.x + intBitsToFloat(uf_remappedVS[4].x)/resXScale; +R7f.y = R2f.y + intBitsToFloat(uf_remappedVS[4].y)/resYScale; +R7f.z = R125f.y; +R6f.w = R127f.z; +R7f.w = R125f.x; +PS1f = R7f.w; +// 8 +R8f.x = R2f.x + intBitsToFloat(uf_remappedVS[7].x)/resXScale; +R8f.y = R2f.y + intBitsToFloat(uf_remappedVS[7].y)/resYScale; +R8f.z = R125f.w; +R8f.w = R125f.z; +R10f.x = R2f.x + intBitsToFloat(uf_remappedVS[6].x)/resXScale; +PS0f = R10f.x; +// export +gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); +// export +passParameterSem128 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); +// export +passParameterSem129 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); +// export +passParameterSem130 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); +// export +passParameterSem131 = vec4(R5f.x, R5f.y, R5f.z, R5f.w); +// export +passParameterSem132 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); +// export +passParameterSem133 = vec4(R7f.x, R7f.y, R7f.z, R7f.w); +// export +passParameterSem134 = vec4(R8f.x, R8f.y, R8f.z, R8f.w); +// 0 +R10f.y = R2f.y + intBitsToFloat(uf_remappedVS[6].y)/resYScale; +R10f.z = R9f.y; +R10f.w = R9f.x; +// export +passParameterSem135 = vec4(R10f.x, R10f.y, R10f.z, R10f.w); +// 0 +} diff --git a/Source/NinjaGaiden3/rules.txt b/Source/NinjaGaiden3/rules.txt new file mode 100644 index 00000000..7eb7ff47 --- /dev/null +++ b/Source/NinjaGaiden3/rules.txt @@ -0,0 +1,347 @@ +[Definition] +titleIds = 0005000010110900,0005000010110A00,0005000010110B00 +name = Resolution +path = "Ninja Gaiden 3: Razors Edge/Graphics/Resolution" +description = Changes the resolution of the game. Known issues: Videos are broken, game is unstable, button inputs missing (prob incorrect scaling) +version = 3 + +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1920x1080 (HD) +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 (Native x2) +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 (4k - Native x3) +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] +width = 1280 +height = 720 +#formats = 0x80e,0x001,0x01a +#formatsExcluded = 0x01a # Menu BG, cutscene uses as light +tileModesExcluded = 0x001 # intro fix +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 + +[TextureRedefine] +width = 1070 +height = 250 +#formats = 0x001 # +#tileModesExcluded = 0x001 # intro fix +overwriteWidth = ($width/$gameWidth) * 1070 +overwriteHeight = ($height/$gameHeight) * 250 + +[TextureRedefine] #Shadows +width = 1024 +height = 1024 +formats = 0x005 # 0x031 +overwriteWidth = ($width/$gameWidth) * 1024 +overwriteHeight = ($height/$gameHeight) * 1024 + +[TextureRedefine] +width = 864 +height = 480 +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] +width = 854 +height = 480 +#formats = +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] +width = 640 +height = 368 +#formats = 0x007,0x01a +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] +width = 640 +height = 360 +#tileModesExcluded = 0x001 # intro fix +#formats = 0x007,0x01a +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 + +[TextureRedefine] +width = 512 +height = 512 +formats = 0x01a #0x035,0x033,0x031, +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 512 + +[TextureRedefine] # cinematic blur +width = 448 +height = 240 +#formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 448 +overwriteHeight = ($height/$gameHeight) * 240 + +#[TextureRedefine] # Controller cut-out, not used for depth? +#width = 448 +#height = 224 +#formats = 0x001 +#overwriteWidth = ($width/$gameWidth) * 448 +#overwriteHeight = ($height/$gameHeight) * 224 + +[TextureRedefine] +width = 426 +height = 240 +#formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 426 +overwriteHeight = ($height/$gameHeight) * 240 + +[TextureRedefine] +width = 409 +height = 150 +#formats = 0x001 +overwriteWidth = ($width/$gameWidth) * 409 +overwriteHeight = ($height/$gameHeight) * 150 + +[TextureRedefine] +width = 360 +height = 15 +#formats = +overwriteWidth = ($width/$gameWidth) * 360 +overwriteHeight = ($height/$gameHeight) * 15 + +[TextureRedefine] # bloom pyramid DOF +width = 320 +height = 192 +#formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] +width = 320 +height = 180 +#formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 + +[TextureRedefine] +width = 320 +height = 96 +#formats = +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 96 + +[TextureRedefine] +width = 320 +height = 90 +#formats = +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 90 + +#[TextureRedefine] +#width = 256 +#height = 256 +#formatsExcluded = 0x035,0x033,0x031,0x01a +#overwriteWidth = ($width/$gameWidth) * 256 +#overwriteHeight = ($height/$gameHeight) * 256 + +[TextureRedefine] #cinematic dof +width = 176 +height = 720 +#formats = +overwriteWidth = ($width/$gameWidth) * 176 +overwriteHeight = ($height/$gameHeight) * 720 + +[TextureRedefine] #cinematic dof +width = 176 +height = 703 +#formats = +overwriteWidth = ($width/$gameWidth) * 176 +overwriteHeight = ($height/$gameHeight) * 703 + +[TextureRedefine] +width = 160 +height = 96 +#formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 96 + +[TextureRedefine] +width = 160 +height = 90 +#formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 90 + +#[TextureRedefine] # multi dim +#width = 32 +#height = 32 +#formats = 0x01a #0x033,0x031 +#overwriteWidth = ($width/$gameWidth) * 32 +#overwriteHeight = ($height/$gameHeight) * 32 + +[TextureRedefine] # light +width = 32 +height = 344 +formats = 0x820 #0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 32 +overwriteHeight = ($height/$gameHeight) * 344 + +[TextureRedefine] +width = 32 +height = 144 +formats = 0x820 +overwriteWidth = ($width/$gameWidth) * 32 +overwriteHeight = ($height/$gameHeight) * 144 + +[TextureRedefine] # light +width = 32 +height = 80 +formats = 0x820 #0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 32 +overwriteHeight = ($height/$gameHeight) * 80 + +[TextureRedefine] +width = 24 +height = 576 +#formats = +overwriteWidth = ($width/$gameWidth) * 24 +overwriteHeight = ($height/$gameHeight) * 576 + +#[TextureRedefine] # multi dim +#width = 24 +#height = 24 +#formats = 0x01a #0x033,0x031 +#overwriteWidth = ($width/$gameWidth) * 24 +#overwriteHeight = ($height/$gameHeight) * 24 + +[TextureRedefine] +width = 24 +height = 144 +#formats = +overwriteWidth = ($width/$gameWidth) * 24 +overwriteHeight = ($height/$gameHeight) * 144 + +[TextureRedefine] +width = 15 +height = 9 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 15 +overwriteHeight = ($height/$gameHeight) * 9 + +#[TextureRedefine] # multi dim +#width = 16 +#height = 16 +#formats = 0x01a +#overwriteWidth = ($width/$gameWidth) * 16 +#overwriteHeight = ($height/$gameHeight) * 16 + +[TextureRedefine] #light +width = 12 +height = 72 +formats = 0x820 +overwriteWidth = ($width/$gameWidth) * 12 +overwriteHeight = ($height/$gameHeight) * 72 + + + diff --git a/Source/NinjaGaiden3RE/rules.txt b/Source/NinjaGaiden3RE/rules.txt deleted file mode 100644 index f56cd772..00000000 --- a/Source/NinjaGaiden3RE/rules.txt +++ /dev/null @@ -1,19 +0,0 @@ - -[Definition] -titleIds = 0005000010110900,0005000010110A00,0005000010110B00 -name = "Ninja Gaiden 3: Razor's Edge - " -version = 2 - -[TextureRedefine] #TV -width = 1280 -height = 720 -tileModesExcluded = 0x001 # intro fix -overwriteWidth = -overwriteHeight = diff --git a/Source/NintendoLand/rules.txt b/Source/NintendoLand/rules.txt index 8ef71f4a..965208d7 100644 --- a/Source/NintendoLand/rules.txt +++ b/Source/NintendoLand/rules.txt @@ -1,59 +1,278 @@ - [Definition] titleIds = 0005000010101F00,0005000010102000,0005000010102100 -name = "Nintendo Land - " -version = 2 +name = Resolution +path = "Nintendo Land/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] # tv +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution width = 1280 height = 720 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Blur Map +width = 640 +height = 368 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 368 -[TextureRedefine] # gamepad -width = 848 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha +[TextureRedefine] # Blur Map width = 640 height = 360 -formatsExcluded = 0x41A,0x431 # exclude obvious textures -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 360 -[TextureRedefine] # half-res alpha (gamepad) +[TextureRedefine] # Blur Map +width = 512 +height = 256 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 512 +overwriteHeight = ($height / $gameHeight) * 256 + +[TextureRedefine] # Bloom Map +width = 320 +height = 192 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 + +[TextureRedefine] # Bloom Map +width = 320 +height = 180 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 180 + +[TextureRedefine] # Bloom Mip +width = 256 +height = 128 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 + +[TextureRedefine] # Bloom Mip +width = 160 +height = 96 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 96 + +[TextureRedefine] # Bloom Mip +width = 160 +height = 90 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 90 + +[TextureRedefine] # Bloom Mip +width = 128 +height = 64 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 90 + +[TextureRedefine] # Bloom Mip +width = 96 +height = 48 +overwriteWidth = ($width / $gameWidth) * 96 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] # Bloom Mip +width = 80 +height = 45 +overwriteWidth = ($width / $gameWidth) * 80 +overwriteHeight = ($height / $gameHeight) * 45 + +[TextureRedefine] # Bloom Mip +width = 64 +height = 32 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 32 + +[TextureRedefine] # Bloom Mip +width = 40 +height = 22 +overwriteWidth = ($width / $gameWidth) * 40 +overwriteHeight = ($height / $gameHeight) * 22 + +[TextureRedefine] # Gamepad Resolution +width = 864 +height = 480 +overwriteWidth = ($width / $gameWidth) * 864 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] # Gamepad Resolution +width = 854 +height = 480 +overwriteWidth = ($width / $gameWidth) * 854 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] # Gamepad Resolution +width = 848 +height = 480 +overwriteWidth = ($width / $gameWidth) * 848 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] # Gamepad Blur Map +width = 448 +height = 240 +overwriteWidth = ($width / $gameWidth) * 448 +overwriteHeight = ($height / $gameHeight) * 240 + +[TextureRedefine] # Gamepad Blur Map width = 424 height = 240 -formatsExcluded = 0x41A,0x431 # exclude obvious textures -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 424 +overwriteHeight = ($height / $gameHeight) * 240 -[TextureRedefine] #shadows -width = 856 -height = 856 -formats = 0x005 -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Gamepad Blur Map +width = 213 +height = 120 +overwriteWidth = ($width / $gameWidth) * 213 +overwriteHeight = ($height / $gameHeight) * 120 -[TextureRedefine] #shadows -width = 2048 -height = 2048 -formats = 0x005 -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Gamepad Bloom Map +width = 224 +height = 128 +overwriteWidth = ($width / $gameWidth) * 224 +overwriteHeight = ($height / $gameHeight) * 128 + +[TextureRedefine] # Gamepad Bloom Mip +width = 212 +height = 120 +overwriteWidth = ($width / $gameWidth) * 212 +overwriteHeight = ($height / $gameHeight) * 120 + +[TextureRedefine] # Gamepad Bloom Mip +width = 106 +height = 60 +overwriteWidth = ($width / $gameWidth) * 106 +overwriteHeight = ($height / $gameHeight) * 60 + +[TextureRedefine] # Gamepad Bloom Mip +width = 53 +height = 30 +overwriteWidth = ($width / $gameWidth) * 53 +overwriteHeight = ($height / $gameHeight) * 30 + +[TextureRedefine] # Gamepad Bloom Mip +width = 32 +height = 16 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 32 +overwriteHeight = ($height / $gameHeight) * 16 + +[TextureRedefine] # Gamepad Bloom Mip +width = 26 +height = 15 +overwriteWidth = ($width / $gameWidth) * 26 +overwriteHeight = ($height / $gameHeight) * 15 diff --git a/Source/OnePiece/rules.txt b/Source/OnePiece/rules.txt index e6beccec..4424bdbe 100644 --- a/Source/OnePiece/rules.txt +++ b/Source/OnePiece/rules.txt @@ -1,33 +1,158 @@ - [Definition] -titleIds = 0005000010175C00,0005000010175D00 -name = "ONE PIECE Unlimited World Red - " -version = 2 +titleIds = 0005000010148000,0005000010175C00,0005000010175D00 +name = Resolution +path = "ONE PIECE Unlimited World Red/Graphics/Resolution" +description = Changes the games resolution. You cannot change resolutions on the fly. +version = 3 -[TextureRedefine] # tv +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// For [4:3] resolutions that are multiples of 320x180 +// Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution width = 1280 height = 720 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] # half-res alpha +[TextureRedefine] +width = 640 +height = 368 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] width = 640 height = 360 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 -[TextureRedefine] # gamepad +[TextureRedefine] # Depth of Field Pass +width = 320 +height = 192 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] # Depth of Field Pass +width = 320 +height = 180 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 + +[TextureRedefine] +width = 160 +height = 96 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 96 + +[TextureRedefine] +width = 160 +height = 90 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 90 + +[TextureRedefine] +width = 90 +height = 48 +overwriteWidth = ($width/$gameWidth) * 90 +overwriteHeight = ($height/$gameHeight) * 48 + +[TextureRedefine] +width = 80 +height = 45 +overwriteWidth = ($width/$gameWidth) * 80 +overwriteHeight = ($height/$gameHeight) * 45 + +[TextureRedefine] # Gamepad Resolution +width = 864 +height = 480 +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] # Gamepad Resolution width = 854 height = 480 -#overwriteWidth = -#overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 \ No newline at end of file diff --git a/Source/PaperMonstersRecut/rules.txt b/Source/PaperMonstersRecut/rules.txt deleted file mode 100644 index 18f49196..00000000 --- a/Source/PaperMonstersRecut/rules.txt +++ /dev/null @@ -1,36 +0,0 @@ - -[Definition] -titleIds = 0005000010175400,00050000101A1300 -name = "Paper Monsters Recut - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # TV 2 -width = 960 -height = 540 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # TV 2 half-res -width = 480 -height = 270 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/PhineasFerb/rules.txt b/Source/PhineasFerb/rules.txt deleted file mode 100644 index 63aab24b..00000000 --- a/Source/PhineasFerb/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 0005000010139400 -name = "Phineas & Ferb: Quest for Cool Stuff - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/Pikmin3/rules.txt b/Source/Pikmin3/rules.txt deleted file mode 100644 index 8f1edc12..00000000 --- a/Source/Pikmin3/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - -[Definition] -titleIds = 000500001012BE00,000500001012BD00,000500001012BC00 -name = "Pikmin 3 - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/PokkenTournament/b2fecd8319ee0096_0000000000079249_ps.txt b/Source/PokkenTournament/b2fecd8319ee0096_0000000000079249_ps.txt index 84f4b43b..45f9bc85 100644 --- a/Source/PokkenTournament/b2fecd8319ee0096_0000000000079249_ps.txt +++ b/Source/PokkenTournament/b2fecd8319ee0096_0000000000079249_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader b2fecd8319ee0096 // Used for: DoF In-game -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[4]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4603800 res 960x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/PokkenTournament/fe05aca8e186a5fd_0000000000000079_ps.txt b/Source/PokkenTournament/fe05aca8e186a5fd_0000000000000079_ps.txt index 5c6a382f..c1f21720 100644 --- a/Source/PokkenTournament/fe05aca8e186a5fd_0000000000000079_ps.txt +++ b/Source/PokkenTournament/fe05aca8e186a5fd_0000000000000079_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader fe05aca8e186a5fd // Used for: DoF backgrounds -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); layout(binding = 38, std140) uniform uniformBlockPS6 { diff --git a/Source/PokkenTournament/rules.txt b/Source/PokkenTournament/rules.txt index 41feefc5..694e03bf 100644 --- a/Source/PokkenTournament/rules.txt +++ b/Source/PokkenTournament/rules.txt @@ -1,66 +1,248 @@ - [Definition] titleIds = 00050000101DF400,00050002101DF401,00050000101DF500 -name = "Pokken Tournament - " -version = 2 +name = Resolution +path = "Pokken Tournament/Graphics/Resolution" +description = Changes the resolution of the game. Known issues: Bloom needs shader edits. +version = 3 -[TextureRedefine] # TV +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution width = 1280 height = 720 -formatsExcluded = 0x033 +formatsExcluded = 0x33 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 [TextureRedefine] # In-Game Resolution width = 960 height = 720 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 720 -[TextureRedefine] # Quarter-Res Resolution +[TextureRedefine] # Blur Map +width = 640 +height = 368 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 368 + +[TextureRedefine] # Blur Map width = 640 height = 360 -formatsExcluded = 0x033 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 360 -[TextureRedefine] # Another Resolution -width = 128 -height = 72 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Yet Another Resolution -width = 120 -height = 72 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Dialog Background +[TextureRedefine] # Blur Map width = 480 height = 288 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 288 -[TextureRedefine] # Gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Blur Mip +width = 256 +height = 256 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 256 -[TextureRedefine] #shadows -width = 512 -height = 512 -formats = 0x005 -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Blur Mip +width = 256 +height = 144 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 144 + +[TextureRedefine] # Blur Mip +width = 128 +height = 128 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 128 +overwriteHeight = ($height / $gameHeight) * 128 + +[TextureRedefine] # Bloom Mip +width = 128 +height = 80 +overwriteWidth = ($width / $gameWidth) * 128 +overwriteHeight = ($height / $gameHeight) * 80 + +[TextureRedefine] # Blur Mip +width = 128 +height = 72 +overwriteWidth = ($width / $gameWidth) * 128 +overwriteHeight = ($height / $gameHeight) * 72 + +[TextureRedefine] # Bloom Mip +width = 120 +height = 72 +overwriteWidth = ($width / $gameWidth) * 120 +overwriteHeight = ($height / $gameHeight) * 72 + +[TextureRedefine] # Blur Mip +width = 64 +height = 64 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 64 + +[TextureRedefine] # Blur Mip +width = 64 +height = 36 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 36 + +[TextureRedefine] # Blur Mip +width = 32 +height = 32 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 32 +overwriteHeight = ($height / $gameHeight) * 32 + +[TextureRedefine] # Blur Mip +width = 32 +height = 18 +overwriteWidth = ($width / $gameWidth) * 32 +overwriteHeight = ($height / $gameHeight) * 18 + +[TextureRedefine] # Blur Mip +width = 16 +height = 16 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 16 +overwriteHeight = ($height / $gameHeight) * 16 + +[TextureRedefine] # Blur Mip +width = 16 +height = 9 +overwriteWidth = ($width / $gameWidth) * 16 +overwriteHeight = ($height / $gameHeight) * 9 + +[TextureRedefine] # Blur Mip +width = 8 +height = 8 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 8 +overwriteHeight = ($height / $gameHeight) * 8 + +[TextureRedefine] # Blur Mip +width = 8 +height = 4 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 8 +overwriteHeight = ($height / $gameHeight) * 8 + +[TextureRedefine] # Blur Mip +width = 4 +height = 2 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 8 +overwriteHeight = ($height / $gameHeight) * 8 diff --git a/Source/ProjectZero/rules.txt b/Source/ProjectZero/rules.txt deleted file mode 100644 index cc23b332..00000000 --- a/Source/ProjectZero/rules.txt +++ /dev/null @@ -1,38 +0,0 @@ - -[Definition] -titleIds = 00050000101D0300,00050000101D0600,000500001014D200,00050000101D3F00 -name = "Project Zero Maiden of Black Water - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv -width = 1278 -height = 718 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha -width = 640 -height = 360 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = diff --git a/Source/PuyoPuyoTetris/rules.txt b/Source/PuyoPuyoTetris/rules.txt deleted file mode 100644 index 25a0a6a7..00000000 --- a/Source/PuyoPuyoTetris/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 000500001014d900 -name = "Puyo Puyo Tetris - " -version = 2 - -[TextureRedefine] # tv -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/RiseOfLyric/8fd5069eea66af37_0000000000000000_vs.txt b/Source/RiseOfLyric/8fd5069eea66af37_0000000000000000_vs.txt deleted file mode 100644 index 0fabb343..00000000 --- a/Source/RiseOfLyric/8fd5069eea66af37_0000000000000000_vs.txt +++ /dev/null @@ -1,146 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 8fd5069eea66af37 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[12]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem1; -layout(location = 1) in uvec4 attrDataSem3; -layout(location = 2) in uvec4 attrDataSem7; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem137; -layout(location = 1) out vec4 passParameterSem138; -layout(location = 2) out vec4 passParameterSem139; -layout(location = 3) out vec4 passParameterSem140; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem1.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem7.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,R1f.w),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w))); -PV0f.x = R0f.x; -PV0f.y = R0f.x; -PV0f.z = R0f.x; -PV0f.w = R0f.x; -R5f.z = 0.0; -PS0f = R5f.z; -// 1 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R1f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.y = tempf.x; -R5f.x = R2f.x; -PS1f = R5f.x; -// 2 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R1f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.z = tempf.x; -R5f.y = R2f.y; -PS0f = R5f.y; -// 3 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R1f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.w = tempf.x; -// 4 -R127f.xyz = vec3(R2f.y,R2f.x,R2f.y) + vec3(intBitsToFloat(uf_remappedVS[4].y) / resYScale,intBitsToFloat(uf_remappedVS[4].x) / resXScale,intBitsToFloat(uf_remappedVS[5].y)); -PV0f.w = R2f.x + intBitsToFloat(uf_remappedVS[5].x) / resXScale; -// 5 -R126f.xyz = vec3(R2f.y,R2f.x,R2f.y) + vec3(intBitsToFloat(uf_remappedVS[6].y) / resYScale,intBitsToFloat(uf_remappedVS[6].x) / resXScale,intBitsToFloat(uf_remappedVS[7].y)); -R127f.w = R2f.x + intBitsToFloat(uf_remappedVS[7].x) / resXScale; -R1f.z = PV0f.w; -PS1f = R1f.z; -// 6 -R1f.x = R2f.x + intBitsToFloat(uf_remappedVS[8].x) / resXScale; -R1f.y = R2f.y + intBitsToFloat(uf_remappedVS[8].y) / resYScale; -R3f.z = R127f.y; -R1f.w = R127f.z; -R3f.x = R2f.x + intBitsToFloat(uf_remappedVS[9].x) / resXScale; -PS0f = R3f.x; -// 7 -R4f.x = R2f.x + intBitsToFloat(uf_remappedVS[10].x) / resXScale; -R3f.y = R2f.y + intBitsToFloat(uf_remappedVS[9].y) / resYScale; -R4f.z = R127f.w; -R3f.w = R127f.x; -R4f.y = R2f.y + intBitsToFloat(uf_remappedVS[10].y) / resYScale; -PS1f = R4f.y; -// 8 -backupReg0f = R2f.x; -backupReg1f = R2f.y; -R2f.x = backupReg0f + intBitsToFloat(uf_remappedVS[11].x) / resXScale; -R2f.y = backupReg1f + intBitsToFloat(uf_remappedVS[11].y) / resYScale; -R2f.z = R126f.y; -R4f.w = R126f.z; -R2f.w = R126f.x; -PS0f = R2f.w; -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem137 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem138 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// export -passParameterSem139 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -// export -passParameterSem140 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -// skipped export to semanticId 255 -// 0 -} diff --git a/Source/RiseOfLyric/rules.txt b/Source/RiseOfLyric/rules.txt index bca650c9..dc72f509 100644 --- a/Source/RiseOfLyric/rules.txt +++ b/Source/RiseOfLyric/rules.txt @@ -1,90 +1,187 @@ - [Definition] titleIds = 0005000010175B00,0005000010177800,0005000010191F00 -name = "Sonic Boom: Rise of Lyric - " -version = 2 +name = Resolution +path = "Sonic Boom: Rise of Lyric/Graphics/Resolution" +description = Changes the resolution of the game. " +version = 3 -[TextureRedefine] +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution width = 1280 height = 720 -tileModesExcluded = 0x1 formatsExcluded = 0x31 -overwriteWidth = -overwriteHeight = +tileModesExcluded = 0x001 +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 -[TextureRedefine] -width = 854 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Bloom Resolution +width = 320 +height = 192 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 -[TextureRedefine] -width = 640 -height = 360 -tileModesExcluded = 0x1 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] +[TextureRedefine] # Bloom Resolution width = 320 height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 180 -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 256 -#height = 256 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +[TextureRedefine] # Gamepad Resolution +width = 864 +height = 480 +overwriteWidth = ($width / $gameWidth) * 864 +overwriteHeight = ($height / $gameHeight) * 480 -[TextureRedefine] -width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +[TextureRedefine] # ??? +width = 64 +height = 64 +formats = 0x810 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 64 -[TextureRedefine] -width = 80 -height = 45 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +// scaling causes overbloom -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 64 -#height = 64 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +#[TextureRedefine] +#width = 32 +#height = 16 +#formats = 0x810 +#overwriteWidth = ($width / $gameWidth) * 32 +#overwriteHeight = ($height / $gameHeight) * 16 -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded +#[TextureRedefine] #width = 16 #height = 16 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +#formats = 0x810 +#overwriteWidth = ($width / $gameWidth) * 16 +#overwriteHeight = ($height / $gameHeight) * 16 -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded +#[TextureRedefine] +#width = 8 +#height = 8 +#formats = 0x810 +#overwriteWidth = ($width / $gameWidth) * 8 +#overwriteHeight = ($height / $gameHeight) * 8 + +#[TextureRedefine] #width = 4 #height = 4 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +#formats = 0x810 +#overwriteWidth = ($width / $gameWidth) * 4 +#overwriteHeight = ($height / $gameHeight) * 4 -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded +#[TextureRedefine] #width = 1 #height = 1 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +#formats = 0x810 +#overwriteWidth = ($width / $gameWidth) * 1 +#overwriteHeight = ($height / $gameHeight) * 1 diff --git a/Source/Runner2/4fe1bb2bc0611f15_0000000000000079_ps.txt b/Source/Runner2/4fe1bb2bc0611f15_0000000000000079_ps.txt deleted file mode 100644 index 6a0bae83..00000000 --- a/Source/Runner2/4fe1bb2bc0611f15_0000000000000079_ps.txt +++ /dev/null @@ -1,315 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 4fe1bb2bc0611f15 -// Disable this fucking godforsaken piece of shit blur filter that makes the game look lower res than it actually is -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4000800 res 1280x720x1 dim 1 tm: 4 format 041a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw); -// 0 -PV0f.z = R0f.x + 0.5; -PV0f.w = R0f.y + 0.5; -// 1 -R4f.x = mul_nonIEEE(PV0f.z, intBitsToFloat(uf_remappedPS[0].x)); -PV1f.x = R4f.x; -R4f.y = mul_nonIEEE(PV0f.w, intBitsToFloat(uf_remappedPS[0].y)); -PV1f.y = R4f.y; -// 2 -R0f.xyz = vec3(PV1f.x,PV1f.y,PV1f.x) + vec3(intBitsToFloat(0xba99999a),0.0,0.0); -R0f.w = PV1f.y + intBitsToFloat(0xbb088889); -R1f.x = PV1f.x + intBitsToFloat(0x3a99999a); -PS0f = R1f.x; -// 3 -R2f.x = R4f.x + 0.0; -R1f.y = R4f.y + 0.0; -R2f.zwy = vec3(R4f.y,R4f.x,R4f.y) + vec3(intBitsToFloat(0x3b088889),intBitsToFloat(0xba99999a),intBitsToFloat(0xbb088889)); -PS1f = R2f.y; -// 4 -R3f.x = R4f.x + intBitsToFloat(0xba99999a); -R3f.y = R4f.y + intBitsToFloat(0x3b088889); -R1f.z = R4f.x + intBitsToFloat(0x3a99999a); -R1f.w = R4f.y + intBitsToFloat(0xbb088889); -R6f.x = R4f.x + intBitsToFloat(0x3a99999a); -PS0f = R6f.x; -//R11f.xyzw = (texture(textureUnitPS0, R4f.xy).xyzw); -R11f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R5f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R7f.xyzw = (texture(textureUnitPS0, R1f.xy).xyzw); -R8f.xyzw = (texture(textureUnitPS0, R2f.xz).xyzw); -R9f.xyzw = (texture(textureUnitPS0, R2f.wy).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R10f.xyzw = (texture(textureUnitPS0, R1f.zw).xyzw); -// 0 -R127f.x = -(R11f.x) + R5f.x; -R6f.y = R4f.y + intBitsToFloat(0x3b088889); -R123f.z = (R11f.w * 2.0 + -(1.0)); -PV0f.z = R123f.z; -PV0f.w = R5f.w + intBitsToFloat(0x3c23d70a); -R127f.w = -(R11f.y) + R5f.y; -PS0f = R127f.w; -// 1 -R126f.x = -(R11f.z) + R5f.z; -//PV1f.y = max(PV0f.z, -(PV0f.z)); -PV1f.y = max(PV1f.z, -(PV1f.z)); -PV1f.z = -(R11f.w) + PV0f.w; -R126f.w = -(R11f.w) + R5f.w; -PS1f = R0f.w + intBitsToFloat(0x3c23d70a); -// 2 -backupReg0f = R0f.x; -PV0f.x = -(PV1f.y) + 1.0; -R123f.y = intBitsToFloat(((PV1f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV0f.y = R123f.y; -R127f.z = -(R11f.w) + PS1f; -R5f.w = R7f.w + intBitsToFloat(0x3c23d70a); -R1f.w = -(R11f.x) + backupReg0f; -PS0f = R1f.w; -// 3 -R5f.x = (mul_nonIEEE(R127f.x,PV0f.y) + R11f.x); -R5f.y = (mul_nonIEEE(R127f.w,PV0f.y) + R11f.y); -R5f.z = (mul_nonIEEE(R126f.x,PV0f.y) + R11f.z); -R2f.w = max(PV0f.x, intBitsToFloat(0x3de38e39)); -PV1f.w = R2f.w; -R4f.y = (mul_nonIEEE(R126f.w,PV0f.y) + R11f.w); -PS1f = R4f.y; -// 4 -backupReg0f = R0f.y; -backupReg1f = R0f.z; -backupReg2f = R0f.w; -R4f.x = intBitsToFloat(((R127f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -R0f.yzw = vec3(-(R11f.y),-(PV1f.w),-(R11f.z)) + vec3(backupReg0f,1.0,backupReg1f); -R0f.x = -(R11f.w) + backupReg2f; -PS0f = R0f.x; -R6f.xyzw = (texture(textureUnitPS0, R6f.xy).xyzw); -// 0 -backupReg0f = R0f.y; -R127f.x = R8f.w + intBitsToFloat(0x3c23d70a); -R0f.y = R0f.z * intBitsToFloat(0x3e15f619); -PV0f.y = R0f.y; -R127f.z = -(R11f.w) + R5f.w; -R126f.w = (mul_nonIEEE(backupReg0f,R4f.x) + R11f.y); -R125f.x = (mul_nonIEEE(R0f.x,R4f.x) + R11f.w); -PS0f = R125f.x; -// 1 -PV1f.x = mul_nonIEEE(PV0f.y, R5f.x); -PV1f.y = mul_nonIEEE(PV0f.y, R4f.y); -PV1f.z = mul_nonIEEE(PV0f.y, R5f.z); -PV1f.w = mul_nonIEEE(PV0f.y, R5f.y); -R127f.w = (mul_nonIEEE(R1f.w,R4f.x) + R11f.x); -PS1f = R127f.w; -// 2 -R126f.x = (mul_nonIEEE(R11f.x,R2f.w) + PV1f.x); -R126f.y = (mul_nonIEEE(R11f.w,R2f.w) + PV1f.y); -R126f.z = (mul_nonIEEE(R11f.z,R2f.w) + PV1f.z); -R125f.w = (mul_nonIEEE(R11f.y,R2f.w) + PV1f.w); -R127f.y = (mul_nonIEEE(R0f.w,R4f.x) + R11f.z); -PS0f = R127f.y; -// 3 -R124f.x = -(R11f.x) + R7f.x; -R124f.y = intBitsToFloat(((R127f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -R127f.z = -(R11f.z) + R7f.z; -R124f.w = -(R11f.y) + R7f.y; -R125f.y = -(R11f.w) + R7f.w; -PS1f = R125f.y; -// 4 -backupReg0f = R127f.x; -backupReg1f = R0f.y; -backupReg2f = R126f.z; -backupReg1f = R0f.y; -R127f.x = (mul_nonIEEE(R0f.y,R127f.w) + R126f.x); -PV0f.y = -(R11f.w) + backupReg0f; -R126f.z = (mul_nonIEEE(backupReg1f,R127f.y) + backupReg2f); -R127f.w = R9f.w + intBitsToFloat(0x3c23d70a); -R126f.x = (mul_nonIEEE(backupReg1f,R125f.x) + R126f.y); -PS0f = R126f.x; -// 5 -backupReg0f = R124f.x; -R124f.x = (mul_nonIEEE(backupReg0f,R124f.y) + R11f.x); -R127f.y = (mul_nonIEEE(R127f.z,R124f.y) + R11f.z); -R127f.z = (mul_nonIEEE(R0f.y,R126f.w) + R125f.w); -R126f.w = (mul_nonIEEE(R124f.w,R124f.y) + R11f.y); -R7f.x = intBitsToFloat(((PV0f.y >= 0.0)?(floatBitsToInt(1.0)):(0))); -PS1f = R7f.x; -// 6 -backupReg0f = R127f.w; -R125f.x = -(R11f.z) + R8f.z; -R123f.y = (mul_nonIEEE(R125f.y,R124f.y) + R11f.w); -PV0f.y = R123f.y; -R125f.z = -(R11f.w) + R8f.w; -R127f.w = -(R11f.x) + R8f.x; -R124f.z = -(R11f.w) + backupReg0f; -PS0f = R124f.z; -// 7 -backupReg0f = R127f.x; -backupReg1f = R126f.w; -R127f.x = R3f.w + intBitsToFloat(0x3c23d70a); -R125f.y = (mul_nonIEEE(R0f.y,R124f.x) + backupReg0f); -PV1f.z = -(R11f.y) + R8f.y; -R126f.w = (mul_nonIEEE(R0f.y,backupReg1f) + R127f.z); -R125f.w = (mul_nonIEEE(R0f.y,PV0f.y) + R126f.x); -PS1f = R125f.w; -// 8 -backupReg0f = R125f.x; -backupReg1f = R127f.y; -backupReg2f = R126f.z; -backupReg3f = R127f.w; -R125f.x = (mul_nonIEEE(PV1f.z,R7f.x) + R11f.y); -R127f.y = (mul_nonIEEE(backupReg0f,R7f.x) + R11f.z); -R126f.z = (mul_nonIEEE(R0f.y,backupReg1f) + backupReg2f); -R127f.w = (mul_nonIEEE(backupReg3f,R7f.x) + R11f.x); -R126f.x = (mul_nonIEEE(R125f.z,R7f.x) + R11f.w); -PS0f = R126f.x; -// 9 -R124f.x = -(R11f.x) + R9f.x; -R126f.y = intBitsToFloat(((R124f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -R124f.zwy = vec3(-(R11f.z),-(R11f.y),-(R11f.w)) + vec3(R9f.z,R9f.y,R9f.w); -PS1f = R124f.y; -// 10 -backupReg0f = R127f.x; -backupReg1f = R0f.y; -backupReg2f = R126f.z; -backupReg1f = R0f.y; -R127f.x = (mul_nonIEEE(R0f.y,R127f.w) + R125f.y); -PV0f.y = -(R11f.w) + backupReg0f; -R126f.z = (mul_nonIEEE(backupReg1f,R127f.y) + backupReg2f); -R127f.w = R10f.w + intBitsToFloat(0x3c23d70a); -R9f.x = backupReg1f * intBitsToFloat(0x3f3504f3); -PS0f = R9f.x; -// 11 -backupReg0f = R126f.x; -R126f.x = (mul_nonIEEE(R0f.y,backupReg0f) + R125f.w); -R127f.y = (mul_nonIEEE(R124f.z,R126f.y) + R11f.z); -R124f.z = (mul_nonIEEE(R0f.y,R125f.x) + R126f.w); -R126f.w = (mul_nonIEEE(R124f.w,R126f.y) + R11f.y); -R125f.x = intBitsToFloat(((PV0f.y >= 0.0)?(floatBitsToInt(1.0)):(0))); -PS1f = R125f.x; -// 12 -backupReg0f = R126f.y; -R123f.x = (mul_nonIEEE(R124f.x,R126f.y) + R11f.x); -PV0f.x = R123f.x; -R126f.y = (mul_nonIEEE(R124f.y,backupReg0f) + R11f.w); -R125f.z = -(R11f.z) + R3f.z; -R125f.w = -(R11f.x) + R3f.x; -R124f.x = -(R11f.w) + R3f.w; -PS0f = R124f.x; -// 13 -backupReg0f = R127f.y; -backupReg1f = R126f.z; -PV1f.x = -(R11f.w) + R127f.w; -R127f.y = R6f.w + intBitsToFloat(0x3c23d70a); -PV1f.z = -(R11f.y) + R3f.y; -R127f.w = (mul_nonIEEE(R9f.x,PV0f.x) + R127f.x); -R126f.z = (mul_nonIEEE(R9f.x,backupReg0f) + backupReg1f); -PS1f = R126f.z; -// 14 -backupReg0f = R126f.x; -backupReg1f = R126f.w; -R126f.x = (mul_nonIEEE(R9f.x,R126f.y) + backupReg0f); -R126f.y = (mul_nonIEEE(R125f.z,R125f.x) + R11f.z); -R125f.z = (mul_nonIEEE(PV1f.z,R125f.x) + R11f.y); -R126f.w = (mul_nonIEEE(R9f.x,backupReg1f) + R124f.z); -R3f.y = intBitsToFloat(((PV1f.x >= 0.0)?(floatBitsToInt(1.0)):(0))); -PS0f = R3f.y; -// 15 -backupReg0f = R125f.x; -backupReg0f = R125f.x; -R125f.x = (mul_nonIEEE(R124f.x,backupReg0f) + R11f.w); -R124f.y = -(R11f.y) + R10f.y; -R124f.z = -(R11f.z) + R10f.z; -R123f.w = (mul_nonIEEE(R125f.w,backupReg0f) + R11f.x); -PV1f.w = R123f.w; -R125f.y = -(R11f.w) + R10f.w; -PS1f = R125f.y; -// 16 -backupReg0f = R127f.w; -backupReg1f = R126f.z; -R124f.x = -(R11f.x) + R10f.x; -PV0f.y = -(R11f.w) + R127f.y; -R126f.z = (mul_nonIEEE(R9f.x,R125f.z) + R126f.w); -R127f.w = (mul_nonIEEE(R9f.x,PV1f.w) + backupReg0f); -R127f.y = (mul_nonIEEE(R9f.x,R126f.y) + backupReg1f); -PS0f = R127f.y; -// 17 -backupReg0f = R126f.x; -backupReg1f = R124f.z; -backupReg2f = R124f.y; -R126f.x = (mul_nonIEEE(R9f.x,R125f.x) + backupReg0f); -R124f.y = intBitsToFloat(((PV0f.y >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV1f.y = R124f.y; -R124f.z = (mul_nonIEEE(backupReg1f,R3f.y) + R11f.z); -R126f.w = (mul_nonIEEE(backupReg2f,R3f.y) + R11f.y); -PS1f = -(R11f.z) + R6f.z; -// 18 -R123f.x = (mul_nonIEEE(R124f.x,R3f.y) + R11f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R125f.y,R3f.y) + R11f.w); -PV0f.y = R123f.y; -R125f.z = -(R11f.w) + R6f.w; -R125f.w = -(R11f.x) + R6f.x; -R125f.y = (mul_nonIEEE(PS1f,PV1f.y) + R11f.z); -PS0f = R125f.y; -// 19 -backupReg0f = R126f.x; -R126f.x = (mul_nonIEEE(R9f.x,PV0f.x) + R127f.w); -R123f.y = (mul_nonIEEE(R9f.x,R124f.z) + R127f.y); -PV1f.y = R123f.y; -PV1f.z = -(R11f.y) + R6f.y; -R127f.w = (mul_nonIEEE(R9f.x,R126f.w) + R126f.z); -R126f.w = (mul_nonIEEE(R9f.x,PV0f.y) + backupReg0f); -PS1f = R126f.w; -// 20 -R123f.x = (mul_nonIEEE(R125f.z,R124f.y) + R11f.w); -PV0f.x = R123f.x; -R123f.z = (mul_nonIEEE(PV1f.z,R124f.y) + R11f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(R125f.w,R124f.y) + R11f.x); -PV0f.w = R123f.w; -R11f.z = (mul_nonIEEE(R9f.x,R125f.y) + PV1f.y); -PS0f = R11f.z; -// 21 -R11f.x = (mul_nonIEEE(R9f.x,PV0f.w) + R126f.x); -R11f.y = (mul_nonIEEE(R9f.x,PV0f.z) + R127f.w); -R11f.w = (mul_nonIEEE(R9f.x,PV0f.x) + R126f.w); -// export -passPixelColor0 = vec4(R11f.x, R11f.y, R11f.z, R11f.w); -} diff --git a/Source/Runner2/rules.txt b/Source/Runner2/rules.txt deleted file mode 100644 index 9e81a696..00000000 --- a/Source/Runner2/rules.txt +++ /dev/null @@ -1,26 +0,0 @@ - -[Definition] -titleIds = 00050000101DD600,000500001011AF00,0005000010136300,000500021011AF01 -name = "Runner2 - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -formatsExcluded = 0x431 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] -#width = 854 -#height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/SanatoryHallways/rules.txt b/Source/SanatoryHallways/rules.txt deleted file mode 100644 index e5cb3d6d..00000000 --- a/Source/SanatoryHallways/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 00050000101C5F00 -name = "Sanatory Hallways - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = diff --git a/Source/ScribblenautsUnlimited/rules.txt b/Source/ScribblenautsUnlimited/rules.txt deleted file mode 100644 index 8397a71a..00000000 --- a/Source/ScribblenautsUnlimited/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - -[Definition] -titleIds = 000500001010B200,000500001010F900,0005000010111E00 -name = "Scribblenauts Unlimited - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -tileModesExcluded = 0x001 # FMV -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/ScribblenautsUnmasked/rules.txt b/Source/ScribblenautsUnmasked/rules.txt deleted file mode 100644 index 3209794a..00000000 --- a/Source/ScribblenautsUnmasked/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - -[Definition] -titleIds = 0005000010132D00,0005000010132C00,0005000010132D00 -name = "Scribblenauts Unmasked - " -version = 2 - -[TextureRedefine] -width = 1280 -height = 720 -tileModesExcluded = 0x001 # FMV -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/Severed/rules.txt b/Source/Severed/rules.txt deleted file mode 100644 index 03b7e189..00000000 --- a/Source/Severed/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 00050000101BA000,00050000101BA900 -name = "Severed - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/ShantaeHGH/023831cdf6638473_00000000000003c9_ps.txt b/Source/ShantaeHGH/023831cdf6638473_00000000000003c9_ps.txt deleted file mode 100644 index 175e6c64..00000000 --- a/Source/ShantaeHGH/023831cdf6638473_00000000000003c9_ps.txt +++ /dev/null @@ -1,245 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 023831cdf6638473 -//ps aa restore -const float resScale = ; -uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf531c800 res 1920x1080x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0xf5b14800 res 480x270x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 0 border: 0 -layout(location = 0) in vec4 passParameterSem129; -layout(location = 1) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem129); -R1i = floatBitsToInt(passParameterSem128); -if( activeMaskStackC[1] == true ) { -R2i.w = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.zy),0.0).y); -R2i.z = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.xw),0.0).y); -R2i.y = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.xy),0.0).y); -R0i.x = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.zw),0.0).y); -R3i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R1i.xy),0.0).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R127i.x = floatBitsToInt(max(intBitsToFloat(R2i.z), intBitsToFloat(R2i.y))); -R127i.y = floatBitsToInt(min(intBitsToFloat(R2i.z), intBitsToFloat(R2i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(0x3b2aaaab)); -R0i.y = 0; -PS0i = R0i.y; -// 1 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), intBitsToFloat(backupReg0i))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R2i.z)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), intBitsToFloat(backupReg0i))); -// 2 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(R2i.y))); -R5i.z = floatBitsToInt(min(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.x))); -PV0i.z = R5i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R2i.y)); -R6i.z = floatBitsToInt(max(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.z))); -PS0i = R6i.z; -// 3 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(max(intBitsToFloat(R3i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R3i.y), intBitsToFloat(PV0i.z))); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(backupReg0i))); -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3e000000)); -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg0i)); -PS1i = R0i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), intBitsToFloat(0x3d4ccccd))); -// 5 -PV1i.x = ((intBitsToFloat(PV0i.z) > intBitsToFloat(PV0i.y))?int(0xFFFFFFFF):int(0x0)); -// 6 -R2i.x = ((PV1i.x == 0)?(0):(R3i.x)); -R2i.y = ((PV1i.x == 0)?(0):(R3i.y)); -R2i.z = ((PV1i.x == 0)?(0):(R3i.z)); -R2i.w = ((PV1i.x == 0)?(0):(R3i.w)); -R0i.w = ((PV1i.x == 0)?(0):(0x3f800000)); -PS0i = R0i.w; -// 7 -predResult = (R0i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PS1i))); -PV0i.w = R127i.w; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[0].z) / resScale)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[0].w) / resScale)); -// 4 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(PV1i.z))); -R0i.y = floatBitsToInt(intBitsToFloat(R1i.y) + -(intBitsToFloat(PV1i.w))); -R2i.z = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV1i.w)); -PS0i = R2i.y; -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x41000000)/ resScale); -// 6 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 7 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -// 8 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), intBitsToFloat(0xc0000000) / resScale)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0xc0000000) / resScale)); -// 9 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 2.0)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 2.0)); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[1].x) / resScale)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[1].y) / resScale)); -// 11 -R3i.x = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt(intBitsToFloat(R1i.y) + -(intBitsToFloat(PV0i.w))); -R0i.z = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(PV0i.z)); -R0i.w = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.w)); -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.xy),0.0).xyzw); -R2i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R2i.zy),0.0).xyzw); -R3i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R3i.xy),0.0).xyzw); -R0i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.zw),0.0).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R126i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(R2i.z)); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) / 2.0); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(R2i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R2i.x)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) / 2.0); -R126i.w = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(R2i.w)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) / 2.0); -// 1 -backupReg0i = R0i.y; -backupReg1i = R0i.x; -backupReg2i = R0i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(R0i.z)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) / 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(backupReg0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(backupReg1i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(backupReg2i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) / 2.0); -// 2 -R127i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) / 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(PV1i.y)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) / 2.0); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) / 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) / 2.0); -// 3 -PV1i.y = ((intBitsToFloat(PV0i.y) > intBitsToFloat(R6i.z))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = ((intBitsToFloat(R5i.z) > intBitsToFloat(PV0i.y))?int(0xFFFFFFFF):int(0x0)); -// 4 -R123i.x = ((PV1i.z == 0)?(PV1i.y):(int(-1))); -PV0i.x = R123i.x; -// 5 -R2i.x = ((PV0i.x == 0)?(R127i.z):(R126i.z)); -R2i.y = ((PV0i.x == 0)?(R127i.y):(R126i.y)); -R2i.z = ((PV0i.x == 0)?(R127i.x):(R126i.x)); -R2i.w = ((PV0i.x == 0)?(R127i.w):(R126i.w)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R1i.zw)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R1i.w))); -// 1 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(R2i.x))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(R2i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(R2i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(R2i.w))); -} -// export -passPixelColor0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/ShantaeHGH/24d99fe8b4e5f576_0000000000000000_vs.txt b/Source/ShantaeHGH/24d99fe8b4e5f576_0000000000000000_vs.txt deleted file mode 100644 index 21439855..00000000 --- a/Source/ShantaeHGH/24d99fe8b4e5f576_0000000000000000_vs.txt +++ /dev/null @@ -1,78 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 24d99fe8b4e5f576 -//AA restore -const float resScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem129; -layout(location = 1) out vec4 passParameterSem128; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = R2f.y + intBitsToFloat(uf_remappedVS[0].y)/ resScale; -PV0f.y = R2f.x + intBitsToFloat(uf_remappedVS[0].x)/ resScale; -R1f.w = 1.0; -R0f.x = R2f.x + -(intBitsToFloat(uf_remappedVS[0].x)/ resScale); -PS0f = R0f.x; -// 1 -R0f.y = R2f.y + -(intBitsToFloat(uf_remappedVS[0].y)/ resScale); -R0f.z = PV0f.y; -R0f.w = PV0f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem129 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem128 = vec4(R2f.x, R2f.y, R2f.x, R2f.y); -} diff --git a/Source/ShantaeHGH/294904d1771460cf_0000000000000079_ps.txt b/Source/ShantaeHGH/294904d1771460cf_0000000000000079_ps.txt deleted file mode 100644 index ede915b7..00000000 --- a/Source/ShantaeHGH/294904d1771460cf_0000000000000079_ps.txt +++ /dev/null @@ -1,121 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 294904d1771460cf -//vertical blur -const float resScale = ; -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5b14800 res 480x270x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem128; -R4f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -// 0 -R127f.x = intBitsToFloat(uf_remappedPS[0].x) * intBitsToFloat(0x404ec4ec)/ resScale; -PV0f.x = R127f.x; -PV0f.y = intBitsToFloat(uf_remappedPS[0].x) * intBitsToFloat(0x3fb13b14)/ resScale; -R127f.z = 0.0; -PV0f.z = R127f.z; -// 1 -R1f.x = PV0f.z + R0f.x; -PV1f.y = PV0f.x; -PV1f.z = -(PV0f.y); -PV1f.w = PV0f.y; -R2f.x = PV0f.z + R0f.x; -PS1f = R2f.x; -// 2 -R3f.x = R127f.z + R0f.x; -R1f.y = PV1f.w + R0f.y; -R2f.z = PV1f.z + R0f.y; -R3f.w = PV1f.y + R0f.y; -PS0f = -(R127f.x); -// 3 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -R0f.x = R127f.z + backupReg0f; -R0f.y = PS0f + backupReg1f; -R1f.xyzw = (texture(textureUnitPS0, R1f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R2f.xz).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.xw).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -// 0 -PV0f.x = R1f.z * intBitsToFloat(0x3ea1e718); -PV0f.y = R1f.y * intBitsToFloat(0x3ea1e718); -PV0f.z = R1f.x * intBitsToFloat(0x3ea1e718); -PV0f.w = R1f.w * intBitsToFloat(0x3ea1e718); -// 1 -R123f.x = (R4f.z * intBitsToFloat(0x3e6879c6) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R4f.y * intBitsToFloat(0x3e6879c6) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R4f.x * intBitsToFloat(0x3e6879c6) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R4f.w * intBitsToFloat(0x3e6879c6) + PV0f.w); -PV1f.w = R123f.w; -// 2 -R123f.x = (R2f.w * intBitsToFloat(0x3ea1e718) + PV1f.w); -PV0f.x = R123f.x; -R123f.y = (R2f.z * intBitsToFloat(0x3ea1e718) + PV1f.x); -PV0f.y = R123f.y; -R123f.z = (R2f.y * intBitsToFloat(0x3ea1e718) + PV1f.y); -PV0f.z = R123f.z; -R123f.w = (R2f.x * intBitsToFloat(0x3ea1e718) + PV1f.z); -PV0f.w = R123f.w; -// 3 -R123f.x = (R3f.z * intBitsToFloat(0x3d8fe9dc) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (R3f.y * intBitsToFloat(0x3d8fe9dc) + PV0f.z); -PV1f.y = R123f.y; -R123f.z = (R3f.x * intBitsToFloat(0x3d8fe9dc) + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (R3f.w * intBitsToFloat(0x3d8fe9dc) + PV0f.x); -PV1f.w = R123f.w; -// 4 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg2f = R0f.z; -backupReg3f = R0f.w; -R0f.x = (backupReg0f * intBitsToFloat(0x3d8fe9dc) + PV1f.z); -R0f.y = (backupReg1f * intBitsToFloat(0x3d8fe9dc) + PV1f.y); -R0f.z = (backupReg2f * intBitsToFloat(0x3d8fe9dc) + PV1f.x); -R0f.w = (backupReg3f * intBitsToFloat(0x3d8fe9dc) + PV1f.w); -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Source/ShantaeHGH/8fdd009324e987ee_0000000000000079_ps.txt b/Source/ShantaeHGH/8fdd009324e987ee_0000000000000079_ps.txt deleted file mode 100644 index 0e4d80fc..00000000 --- a/Source/ShantaeHGH/8fdd009324e987ee_0000000000000079_ps.txt +++ /dev/null @@ -1,124 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 8fdd009324e987ee -//horizontal blur -const float resScale = ; - -uniform ivec4 uf_remappedPS[1]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5b94000 res 480x270x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem128; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem128; -R4f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -// 0 -R126f.x = intBitsToFloat(uf_remappedPS[0].x) * intBitsToFloat(0x404ec4ec)/ resScale; -PV0f.x = R126f.x; -PV0f.y = 0.0; -PV0f.z = 0.0; -PV0f.w = intBitsToFloat(uf_remappedPS[0].x) * intBitsToFloat(0x3fb13b14)/ resScale; -R127f.x = 0.0; -PS0f = R127f.x; -// 1 -R1f.x = R0f.x + PV0f.w; -R1f.y = R0f.y + PV0f.y; -R2f.z = R0f.y + PV0f.z; -PV1f.w = -(PV0f.w); -R3f.x = R0f.x + PV0f.x; -PS1f = R3f.x; -// 2 -R2f.x = R0f.x + PV1f.w; -R3f.y = R0f.y + R127f.x; -PV0f.z = 0.0; -PV0f.w = -(R126f.x); -// 3 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -R0f.x = backupReg0f + PV0f.w; -R0f.y = backupReg1f + PV0f.z; -R1f.xyzw = (texture(textureUnitPS0, R1f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R2f.xz).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -// 0 -PV0f.x = R1f.x * intBitsToFloat(0x3ea1e718); -PV0f.y = R1f.w * intBitsToFloat(0x3ea1e718); -PV0f.z = R1f.z * intBitsToFloat(0x3ea1e718); -PV0f.w = R1f.y * intBitsToFloat(0x3ea1e718); -// 1 -R123f.x = (R4f.x * intBitsToFloat(0x3e6879c6) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R4f.w * intBitsToFloat(0x3e6879c6) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R4f.z * intBitsToFloat(0x3e6879c6) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R4f.y * intBitsToFloat(0x3e6879c6) + PV0f.w); -PV1f.w = R123f.w; -// 2 -R123f.x = (R2f.x * intBitsToFloat(0x3ea1e718) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R2f.w * intBitsToFloat(0x3ea1e718) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R2f.z * intBitsToFloat(0x3ea1e718) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R2f.y * intBitsToFloat(0x3ea1e718) + PV1f.w); -PV0f.w = R123f.w; -// 3 -R123f.x = (R3f.w * intBitsToFloat(0x3d8fe9dc) + PV0f.y); -PV1f.x = R123f.x; -R123f.y = (R3f.z * intBitsToFloat(0x3d8fe9dc) + PV0f.z); -PV1f.y = R123f.y; -R123f.z = (R3f.y * intBitsToFloat(0x3d8fe9dc) + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (R3f.x * intBitsToFloat(0x3d8fe9dc) + PV0f.x); -PV1f.w = R123f.w; -// 4 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg2f = R0f.z; -backupReg3f = R0f.w; -R0f.x = (backupReg0f * intBitsToFloat(0x3d8fe9dc) + PV1f.w); -R0f.y = (backupReg1f * intBitsToFloat(0x3d8fe9dc) + PV1f.z); -R0f.z = (backupReg2f * intBitsToFloat(0x3d8fe9dc) + PV1f.y); -R0f.w = (backupReg3f * intBitsToFloat(0x3d8fe9dc) + PV1f.x); -// export -passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Source/ShantaeHGH/rules.txt b/Source/ShantaeHGH/rules.txt deleted file mode 100644 index 0baa4a75..00000000 --- a/Source/ShantaeHGH/rules.txt +++ /dev/null @@ -1,34 +0,0 @@ - - -[Definition] -titleIds = 00050000101db200,0005000010203200,0005000c101db200,0005000c10203200 # All regions -name = "Shantae: Half-Genie Hero - " -version = 2 - -[TextureRedefine] -width = 1920 -height = 1080 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 480 -height = 270 -#formatsExcluded = -overwriteWidth = -overwriteHeight = diff --git a/Source/ShovelKnight/rules.txt b/Source/ShovelKnight/rules.txt deleted file mode 100644 index a65fec62..00000000 --- a/Source/ShovelKnight/rules.txt +++ /dev/null @@ -1,30 +0,0 @@ - -[Definition] -titleIds = 0005000010178F00,00050000101D9300,000500001016E100 -name = "Shovel Knight - " -version = 2 - -[TextureRedefine] # tv -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv -width = 1600 -height = 960 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/Smurfs2/rules.txt b/Source/Smurfs2/rules.txt deleted file mode 100644 index 9d933fd5..00000000 --- a/Source/Smurfs2/rules.txt +++ /dev/null @@ -1,73 +0,0 @@ - -[Definition] -titleIds = 0005000010115D00, 0005000010113300 -name = "The Smurfs 2 - " -version = 2 - -[TextureRedefine] # tv -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 16 -#height = 16 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 64 -#height = 64 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 256 -#height = 256 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 512 -#height = 512 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1024 -#height = 1024 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 512 -#height = 448 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 448 -#height = 448 -#formatsExcluded = -overwriteWidth = -overwriteHeight = \ No newline at end of file diff --git a/Source/SonicLostWorld/58cf1eb8946f4b3c_0000000000000079_ps.txt b/Source/SonicLostWorld/58cf1eb8946f4b3c_0000000000000079_ps.txt index 590e4cf7..0495805f 100644 --- a/Source/SonicLostWorld/58cf1eb8946f4b3c_0000000000000079_ps.txt +++ b/Source/SonicLostWorld/58cf1eb8946f4b3c_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 58cf1eb8946f4b3c -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[3]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4aec000 res 640x360x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem136; diff --git a/Source/SonicLostWorld/79183302695ea935_0000000000000079_ps.txt b/Source/SonicLostWorld/79183302695ea935_0000000000000079_ps.txt index cb60e558..44c92454 100644 --- a/Source/SonicLostWorld/79183302695ea935_0000000000000079_ps.txt +++ b/Source/SonicLostWorld/79183302695ea935_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 79183302695ea935 -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[1]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4520000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem136; diff --git a/Source/SonicLostWorld/92e5b6dffd1d9b9b_0000000000000079_ps.txt b/Source/SonicLostWorld/92e5b6dffd1d9b9b_0000000000000079_ps.txt index e8bbebd6..58b1920b 100644 --- a/Source/SonicLostWorld/92e5b6dffd1d9b9b_0000000000000079_ps.txt +++ b/Source/SonicLostWorld/92e5b6dffd1d9b9b_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - -version 420 +#version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader 92e5b6dffd1d9b9b -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[30]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x18fda000 res 160x90x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem136; diff --git a/Source/SonicLostWorld/a455fc196032912c_0000000000000079_ps.txt b/Source/SonicLostWorld/a455fc196032912c_0000000000000079_ps.txt index 000efa34..bad2db3b 100644 --- a/Source/SonicLostWorld/a455fc196032912c_0000000000000079_ps.txt +++ b/Source/SonicLostWorld/a455fc196032912c_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader a455fc196032912c -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[1]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e48000 res 64x64x1 dim 1 tm: 4 format 0806 compSel: 3 0 1 2 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem136; diff --git a/Source/SonicLostWorld/patches.txt b/Source/SonicLostWorld/patches.txt index 175c5b95..4c901bc3 100644 --- a/Source/SonicLostWorld/patches.txt +++ b/Source/SonicLostWorld/patches.txt @@ -1,18 +1,7 @@ - [sonic2013] moduleMatches = 0x7FE07429, 0xC5691A40 -0x100057B0 = .float +0x100057B0 = .float $width/$height [sonic2013_trial] moduleMatches = 0xCA1DA800 -0x10004B68 = .float +0x10004B68 = .float $width/$height diff --git a/Source/SonicLostWorld/rules.txt b/Source/SonicLostWorld/rules.txt index f48cb3ec..81022476 100644 --- a/Source/SonicLostWorld/rules.txt +++ b/Source/SonicLostWorld/rules.txt @@ -1,70 +1,282 @@ - [Definition] -titleIds = 0005000010135700,000500001012B100,0005000010128F00,0005000210128F01 -name = "Sonic Lost World - " -version = 2 +titleIds = 0005000010135700,000500001012B100,0005000010128F00 +name = Resolution +path = "Sonic Lost World/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +// 21:9 + +[Preset] +name = (21:9) 1280x540 +$width = 1280 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2100x900 +$width = 2560 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2560x1080 +$width = 2560 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 3440x1440 +$width = 3440 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 4200x1800 +$width = 4200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 5120x2160 +$width = 5120 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 10240x5320 +$width = 10240 +$height = 5320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 13760x5760 +$width = 13760 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +// 48:9 + +[Preset] +name = (48:9) 1920x360 +$width = 1920 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 3840x720 +$width = 3840 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 4800x900 +$width = 4800 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 11520x2160 +$width = 11520 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 15360x2880 +$width = 15360 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 23040x4320 +$width = 23040 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (48:9) 30720x5760 +$width = 30720 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution width = 1280 height = 720 -formats = 0x1a -overwriteFormat = 0x1f -tileModesExcluded = 0x1 -overwriteWidth = -overwriteHeight = +tileModesExcluded = 0x001 +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 -[TextureRedefine] -width = 1280 -height = 720 -formats = 0x816 -overwriteFormat = 0x820 -tileModesExcluded = 0x1 -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Depth of Field Pass +width = 640 +height = 368 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 368 -[TextureRedefine] -width = 1280 -height = 720 -formatsExcluded = 0x1a,0x816 -tileModesExcluded = 0x1 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] +[TextureRedefine] # Depth of Field Pass width = 640 height = 360 -tileModesExcluded = 0x1 -overwriteWidth = -overwriteHeight = +tileModesExcluded = 0x001 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 360 -[TextureRedefine] +[TextureRedefine] # Depth of Field Pass +width = 320 +height = 192 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 + +[TextureRedefine] # Depth of Field Pass width = 320 height = 180 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 180 [TextureRedefine] +width = 213 +height = 120 +overwriteWidth = ($width / $gameWidth) * 213 +overwriteHeight = ($height / $gameHeight) * 120 + +[TextureRedefine] # Bloom Pass +width = 160 +height = 96 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 96 + +[TextureRedefine] # Bloom Pass width = 160 height = 90 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 90 -[TextureRedefine] -width = 854 +[TextureRedefine] # Gamepad Resolution +width = 864 height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 560 -height = 315 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 864 +overwriteHeight = ($height / $gameHeight) * 480 diff --git a/Source/Splatoon/0b9b8f5dfa16ad58_0000000000000000_vs.txt b/Source/Splatoon/0b9b8f5dfa16ad58_0000000000000000_vs.txt index ef291194..b92d6169 100644 --- a/Source/Splatoon/0b9b8f5dfa16ad58_0000000000000000_vs.txt +++ b/Source/Splatoon/0b9b8f5dfa16ad58_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 0b9b8f5dfa16ad58 // Used for: Horizontal Menu Blur Pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/Splatoon/5c1761d13feccdff_0000000000000000_vs.txt b/Source/Splatoon/5c1761d13feccdff_0000000000000000_vs.txt index bd5ba604..d3534025 100644 --- a/Source/Splatoon/5c1761d13feccdff_0000000000000000_vs.txt +++ b/Source/Splatoon/5c1761d13feccdff_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 5c1761d13feccdff // Used for: Background DoF -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/Splatoon/6f5412f28bd716e8_0000000000000000_vs.txt b/Source/Splatoon/6f5412f28bd716e8_0000000000000000_vs.txt index 1707f31c..65412af6 100644 --- a/Source/Splatoon/6f5412f28bd716e8_0000000000000000_vs.txt +++ b/Source/Splatoon/6f5412f28bd716e8_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 6f5412f28bd716e8 // Used for: Horizontal Bloom Pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/Splatoon/a0bda935c83e6f2a_0000000000000000_vs.txt b/Source/Splatoon/a0bda935c83e6f2a_0000000000000000_vs.txt index b8bf6c4d..462de81a 100644 --- a/Source/Splatoon/a0bda935c83e6f2a_0000000000000000_vs.txt +++ b/Source/Splatoon/a0bda935c83e6f2a_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader a0bda935c83e6f2a // Used for: Vertical Bloom Pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/Splatoon/ae5bf21625f134f3_0000000000000000_vs.txt b/Source/Splatoon/ae5bf21625f134f3_0000000000000000_vs.txt deleted file mode 100644 index 29306208..00000000 --- a/Source/Splatoon/ae5bf21625f134f3_0000000000000000_vs.txt +++ /dev/null @@ -1,138 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader ae5bf21625f134f3 -// Used for: Squid Sisters TV -const float scaleAspect = ; -uniform ivec4 uf_remappedVS[7]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = -(R1f.y); -R123f.y = (intBitsToFloat(uf_remappedVS[0].x) * intBitsToFloat(0x3e22f983) + 0.5); -PV0f.y = R123f.y; -R127f.z = (R1f.x > 0.0)?1.0:0.0; -R127f.z /= 2.0; -R126f.w = 1.0; -PV0f.w = R126f.w; -R127f.w = (0.0 > R1f.x)?1.0:0.0; -R127f.w /= 2.0; -PS0f = R127f.w; -// 1 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -PS1f = fract(PV0f.y); -// 2 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R126f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R125f.w = (PS1f * intBitsToFloat(0x40c90fdb) + intBitsToFloat(0xc0490fdb)); -PS0f = R125f.w; -// 3 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R126f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R126f.x = R127f.z + -(R127f.w); -PS1f = R126f.x; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R126f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -R127f.z = (R127f.x > 0.0)?1.0:0.0; -R127f.z /= 2.0; -PS0f = R127f.z; -// 5 -PV1f.y = (0.0 > R127f.x)?1.0:0.0; -PV1f.y /= 2.0; -R126f.z = R125f.w * intBitsToFloat(0x3e22f983); -PV1f.z = R126f.z; -R125f.w = R126f.x + intBitsToFloat(uf_remappedVS[5].x); -// 6 -PV0f.z = R127f.z + -(PV1f.y); -R127f.y = cos((PV1f.z)/0.1591549367); -PS0f = R127f.y; -// 7 -backupReg0f = R126f.z; -PV1f.y = mul_nonIEEE(PS0f, R125f.w); -R126f.z = PV0f.z + intBitsToFloat(uf_remappedVS[5].y); -PV1f.z = R126f.z; -PS1f = sin((backupReg0f)/0.1591549367); -// 8 -R123f.x = (mul_nonIEEE(-(PS1f),PV1f.z) + PV1f.y); -PV0f.x = R123f.x; -PV0f.w = mul_nonIEEE(PS1f, R125f.w); -// 9 -R1f.x = (mul_nonIEEE(PV0f.x,intBitsToFloat(uf_remappedVS[6].x)) + 0.5); -R123f.z = (mul_nonIEEE(R127f.y,R126f.z) + PV0f.w); -PV1f.z = R123f.z; -// 10 -R1f.y = (mul_nonIEEE(PV1f.z,intBitsToFloat(uf_remappedVS[6].y)) + 0.5); -// export -gl_Position = vec4(R0f.x*scaleAspect, R0f.y, R0f.z, R0f.w); -// export -passParameterSem0 = vec4(R1f.x, R1f.y, R1f.z, R1f.z); -} diff --git a/Source/Splatoon/fc3e63a2007625f8_0000000000000000_vs.txt b/Source/Splatoon/fc3e63a2007625f8_0000000000000000_vs.txt index 6050dfb9..e5813743 100644 --- a/Source/Splatoon/fc3e63a2007625f8_0000000000000000_vs.txt +++ b/Source/Splatoon/fc3e63a2007625f8_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader fc3e63a2007625f8 // Used for: Vertical Menu Blur Pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/Splatoon/patches.txt b/Source/Splatoon/patches.txt index 3dfb2dd4..5f7b5681 100644 --- a/Source/Splatoon/patches.txt +++ b/Source/Splatoon/patches.txt @@ -1,23 +1,12 @@ - [SplatoonV272uw] moduleMatches = 0xF7A78809 #rodata constants -0x1004364C = .float -0x10124BE0 = .float -0x10158FE0 = .float -0x10160454 = .float +0x1004364C = .float $width/$height +0x10124BE0 = .float $width/$height +0x10158FE0 = .float $width/$height +0x10160454 = .float $width/$height _aspectAddr = 0x1004364C @@ -38,10 +27,10 @@ _aspectAddr = 0x1004364C moduleMatches = 0x08ED6677 #rodata constants -0x1003C670 = .float -0x101092B0 = .float -0x10144564 = .float -0x1014A514 = .float +0x1003C670 = .float $width/$height +0x101092B0 = .float $width/$height +0x10144564 = .float $width/$height +0x1014A514 = .float $width/$height _aspectAddr = 0x1003C670 diff --git a/Source/Splatoon/rules.txt b/Source/Splatoon/rules.txt index d59bc148..059ff764 100644 --- a/Source/Splatoon/rules.txt +++ b/Source/Splatoon/rules.txt @@ -1,121 +1,383 @@ - [Definition] titleIds = 0005000010176900,0005000010176A00,0005000010162B00 -name = "Splatoon - " -version = 2 +name = Resolution +path = "Splatoon/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] # tv +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +// 21:9 + +[Preset] +name = (21:9) 1280x540 +$width = 1280 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2100x900 +$width = 2560 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2560x1080 +$width = 2560 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 3440x1440 +$width = 3440 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 4200x1800 +$width = 4200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 5120x2160 +$width = 5120 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 10240x5320 +$width = 10240 +$height = 5320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 13760x5760 +$width = 13760 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution width = 1280 height = 720 -formatsExcluded = 0x19,0x1a -overwriteWidth = -overwriteHeight = +formatsExcluded = 0x31 +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 -[TextureRedefine] # tv -width = 1280 -height = 720 -formats = 0x19,0x1a -overwriteFormat = 0x1f -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Blur Map +width = 640 +height = 368 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 368 -[TextureRedefine] # half-res alpha +[TextureRedefine] # Blur Map width = 640 height = 360 -formatsExcluded = 0x41a,0x431 # exclude obvious textures; 41a exclude is broken atm, stage previews don't show -overwriteWidth = -overwriteHeight = +formatsExcluded = 0x41a,0x431 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 360 -[TextureRedefine] # quarter-res alpha -width = 320 -height = 180 -formatsExcluded = 0x35 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # squid sisters -width = 1024 -height = 576 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # zoom blur +[TextureRedefine] # Blur Map width = 512 -height = 288 -overwriteWidth = -overwriteHeight = +height = 256 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 512 +overwriteHeight = ($height / $gameHeight) * 256 -[TextureRedefine] # sub zoom blur +[TextureRedefine] # Zoom Map +width = 512 +height = 228 +overwriteWidth = ($width / $gameWidth) * 512 +overwriteHeight = ($height / $gameHeight) * 228 + +[TextureRedefine] # Zoom Map +width = 448 +height = 256 +overwriteWidth = ($width / $gameWidth) * 448 +overwriteHeight = ($height / $gameHeight) * 256 + +[TextureRedefine] # Zoom Map width = 448 height = 252 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 448 +overwriteHeight = ($height / $gameHeight) * 252 -[TextureRedefine] # player icon - GL_SRGB8_ALPHA8; Disabled because of current graphic pack scaling bugs -width = 128 -height = 128 -formats = 0x41a -#overwriteWidth = -#overwriteHeight = +[TextureRedefine] # Bloom Map +width = 320 +height = 192 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 -[TextureRedefine] # player icon - GL_RGBA8; Disabled because of current graphic pack scaling bugs +[TextureRedefine] # Bloom Mip +width = 320 +height = 180 +formatsExcluded = 0x35,0x11f +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 180 + +[TextureRedefine] # Bloom Mip width = 256 -height = 256 -formats = 0x1a -#overwriteWidth = -#overwriteHeight = +height = 128 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 128 -[TextureRedefine] # player name - GL_RGBA8; Disabled because they scale incorrectly in certain places -width = 128 -height = 32 -formats = 0x1a -#overwriteWidth = -#overwriteHeight = +[TextureRedefine] # Bloom Mip +width = 160 +height = 96 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 96 -[TextureRedefine] # multiplayer -width = 848 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha (multiplayer) -width = 424 -height = 240 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # a bloom mip +[TextureRedefine] # Bloom Mip width = 160 height = 90 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 90 + +[TextureRedefine] # Bloom Mip +width = 128 +height = 64 formats = 0x816 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 128 +overwriteHeight = ($height / $gameHeight) * 64 -[TextureRedefine] +[TextureRedefine] # Bloom Mip +width = 96 +height = 48 +overwriteWidth = ($width / $gameWidth) * 96 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] # Bloom Mip +width = 80 +height = 45 +overwriteWidth = ($width / $gameWidth) * 80 +overwriteHeight = ($height / $gameHeight) * 45 + +[TextureRedefine] # Bloom Mip +width = 64 +height = 32 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 32 + +[TextureRedefine] # Bloom Mip +width = 40 +height = 22 +overwriteWidth = ($width / $gameWidth) * 40 +overwriteHeight = ($height / $gameHeight) * 22 + +[TextureRedefine] # Bloom Mip +width = 32 +height = 16 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 32 +overwriteHeight = ($height / $gameHeight) * 16 + +[TextureRedefine] # Bloom Mip +width = 24 +height = 16 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 24 +overwriteHeight = ($height / $gameHeight) * 16 + +[TextureRedefine] # Bloom Mip +width = 20 +height = 11 +overwriteWidth = ($width / $gameWidth) * 20 +overwriteHeight = ($height / $gameHeight) * 11 + +[TextureRedefine] # Inkopolis News width = 1024 -height = 1024 -formats = 0x005 -overwriteWidth = -overwriteHeight = +height = 576 +overwriteWidth = ($width / $gameWidth) * 1024 +overwriteHeight = ($height / $gameHeight) * 576 +[TextureRedefine] # Inkopolis News Blur Map +width = 256 +height = 256 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 256 -[TextureRedefine] -width = 2048 -height = 2048 -formats = 0x005 -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Gamepad Resolution +width = 864 +height = 480 +overwriteWidth = ($width / $gameWidth) * 864 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] # Gamepad Resolution +width = 854 +height = 480 +overwriteWidth = ($width / $gameWidth) * 854 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] # Gamepad Resolution +width = 848 +height = 480 +overwriteWidth = ($width / $gameWidth) * 848 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] # Gamepad Blur Map +width = 448 +height = 240 +overwriteWidth = ($width / $gameWidth) * 448 +overwriteHeight = ($height / $gameHeight) * 240 + +[TextureRedefine] # Gamepad Blur Map +width = 424 +height = 240 +overwriteWidth = ($width / $gameWidth) * 424 +overwriteHeight = ($height / $gameHeight) * 240 + +[TextureRedefine] # Gamepad Bloom Map +width = 224 +height = 128 +overwriteWidth = ($width / $gameWidth) * 224 +overwriteHeight = ($height / $gameHeight) * 128 + +[TextureRedefine] # Gamepad Bloom Map +width = 212 +height = 120 +overwriteWidth = ($width / $gameWidth) * 212 +overwriteHeight = ($height / $gameHeight) * 120 + +[TextureRedefine] # Gamepad Bloom Mip +width = 106 +height = 60 +overwriteWidth = ($width / $gameWidth) * 106 +overwriteHeight = ($height / $gameHeight) * 60 + +[TextureRedefine] # Gamepad Bloom Mip +width = 53 +height = 30 +overwriteWidth = ($width / $gameWidth) * 53 +overwriteHeight = ($height / $gameHeight) * 30 + +[TextureRedefine] # Gamepad Bloom Mip +width = 26 +height = 15 +overwriteWidth = ($width / $gameWidth) * 26 +overwriteHeight = ($height / $gameHeight) * 15 + +[TextureRedefine] # Gamepad Bloom Mip +width = 13 +height = 7 +overwriteWidth = ($width / $gameWidth) * 13 +overwriteHeight = ($height / $gameHeight) * 7 diff --git a/Source/SpongeBob/rules.txt b/Source/SpongeBob/rules.txt deleted file mode 100644 index 7f9c5117..00000000 --- a/Source/SpongeBob/rules.txt +++ /dev/null @@ -1,25 +0,0 @@ - -[Definition] -titleIds = 0005000010146900,0005000010147D00 -name = "SpongeBob SquarePants Plankton's Robotic Revenge - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/StarFoxGuard/rules.txt b/Source/StarFoxGuard/rules.txt deleted file mode 100644 index 0e59c056..00000000 --- a/Source/StarFoxGuard/rules.txt +++ /dev/null @@ -1,49 +0,0 @@ - -[Definition] -titleIds = 00050000101BEC00,00050000101BED00 -name = "Star Fox Guard - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res 1 -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res 2 -width = 320 -height = 176 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #o-res -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = diff --git a/Source/StarFoxZero/rules.txt b/Source/StarFoxZero/rules.txt deleted file mode 100644 index 55be003c..00000000 --- a/Source/StarFoxZero/rules.txt +++ /dev/null @@ -1,64 +0,0 @@ - -[Definition] -titleIds = 00050000101B0400,00050000101B0500 -name = "Star Fox Zero - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x41A # exclude the intro background texture -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv 2 (cockpit view) -width = 1152 -height = 720 -formatsExcluded = 0x41A # exclude the intro background texture -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha (TV) -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Half-width -width = 640 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # quarter-res alpha (TV+gamepad) -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad 2 (cockpit view) -width = 680 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha (gamepad) -width = 427 -height = 240 -formatsExcluded = 0x41A,0x431 # exclude obvious textures -overwriteWidth = -overwriteHeight = diff --git a/Source/SuperMario3DWorld/1f83c0d47b1c4c34_0000000000000000_vs.txt b/Source/SuperMario3DWorld/1f83c0d47b1c4c34_0000000000000000_vs.txt index 320ac437..abd996db 100644 --- a/Source/SuperMario3DWorld/1f83c0d47b1c4c34_0000000000000000_vs.txt +++ b/Source/SuperMario3DWorld/1f83c0d47b1c4c34_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 1f83c0d47b1c4c34 // Used for: Background Blur -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/SuperMario3DWorld/280351fcf8e5949f_0000000000000000_vs.txt b/Source/SuperMario3DWorld/280351fcf8e5949f_0000000000000000_vs.txt index f1702642..c47bac70 100644 --- a/Source/SuperMario3DWorld/280351fcf8e5949f_0000000000000000_vs.txt +++ b/Source/SuperMario3DWorld/280351fcf8e5949f_0000000000000000_vs.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader 280351fcf8e5949f // Used for: Another vertical blur -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/SuperMario3DWorld/5661793d88425685_0000000007fffff9_ps.txt b/Source/SuperMario3DWorld/5661793d88425685_0000000007fffff9_ps.txt index 231d6389..c6743d89 100644 --- a/Source/SuperMario3DWorld/5661793d88425685_0000000007fffff9_ps.txt +++ b/Source/SuperMario3DWorld/5661793d88425685_0000000007fffff9_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 5661793d88425685 // Used for: First glitter bloom pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[7]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4f48800 res 320x180x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/SuperMario3DWorld/6d9067fd20086bc0_0000000000000000_vs.txt b/Source/SuperMario3DWorld/6d9067fd20086bc0_0000000000000000_vs.txt index 127bf9dd..8004feeb 100644 --- a/Source/SuperMario3DWorld/6d9067fd20086bc0_0000000000000000_vs.txt +++ b/Source/SuperMario3DWorld/6d9067fd20086bc0_0000000000000000_vs.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader 6d9067fd20086bc0 // Used for: Vertical blur -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/SuperMario3DWorld/842a19b509f8b91a_0000000000000000_vs.txt b/Source/SuperMario3DWorld/842a19b509f8b91a_0000000000000000_vs.txt index d399e248..8da51acf 100644 --- a/Source/SuperMario3DWorld/842a19b509f8b91a_0000000000000000_vs.txt +++ b/Source/SuperMario3DWorld/842a19b509f8b91a_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 842a19b509f8b91a // Used for: General Blur vertical -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($width/$gameWidth); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/SuperMario3DWorld/8d68a0e3561ff525_0000000000000000_vs.txt b/Source/SuperMario3DWorld/8d68a0e3561ff525_0000000000000000_vs.txt index 0a1ea860..05c26c49 100644 --- a/Source/SuperMario3DWorld/8d68a0e3561ff525_0000000000000000_vs.txt +++ b/Source/SuperMario3DWorld/8d68a0e3561ff525_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 8d68a0e3561ff525 -// Used for: General Blur horizontal -const float resXScale = ; -const float resYScale = ; +// Used for: Horizontal Gameplay Blur +const float resXScale = ($width/$gameWidth); +const float resYScale = ($width/$gameWidth); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/SuperMario3DWorld/b727c08e3b534992_0000000007fffffd_ps.txt b/Source/SuperMario3DWorld/b727c08e3b534992_0000000007fffffd_ps.txt index 79aac922..fb16e92e 100644 --- a/Source/SuperMario3DWorld/b727c08e3b534992_0000000007fffffd_ps.txt +++ b/Source/SuperMario3DWorld/b727c08e3b534992_0000000007fffffd_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader b727c08e3b534992 // Used for: Second glitter bloom pass -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[10]; layout(binding = 1) uniform sampler2DArray textureUnitPS1;// Tex1 addr 0xf50ed800 res 320x180x6 dim 5 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x6) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/SuperMario3DWorld/be99d80628d31127_00000000000003c9_ps.txt b/Source/SuperMario3DWorld/be99d80628d31127_00000000000003c9_ps.txt index ff95e0ea..249b6ea8 100644 --- a/Source/SuperMario3DWorld/be99d80628d31127_00000000000003c9_ps.txt +++ b/Source/SuperMario3DWorld/be99d80628d31127_00000000000003c9_ps.txt @@ -1,19 +1,10 @@ - - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader be99d80628d31127 //AA PS -// Used for: Scaling AA to resolution - -const float resXScale = ; -const float resYScale = ; +// Used for: Another vertical blur +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[4]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5800800 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 diff --git a/Source/SuperMario3DWorld/patches.txt b/Source/SuperMario3DWorld/patches.txt index 349e69b2..82d75c17 100644 --- a/Source/SuperMario3DWorld/patches.txt +++ b/Source/SuperMario3DWorld/patches.txt @@ -1,19 +1,8 @@ - [RedCarpetAspectUW] moduleMatches = 0xBBAF1908, 0xD2308838, 0xEB70C731 # rodata constants -0x10363ED4 = .float -0x1036A688 = .float +0x10363ED4 = .float $width/$height +0x1036A688 = .float $width/$height _aspectAddr = 0x10363ED4 # Aspect calculation diff --git a/Source/SuperMario3DWorld/rules.txt b/Source/SuperMario3DWorld/rules.txt index 4f210e82..a6a9e42d 100644 --- a/Source/SuperMario3DWorld/rules.txt +++ b/Source/SuperMario3DWorld/rules.txt @@ -1,121 +1,362 @@ - [Definition] titleIds = 0005000010145D00,0005000010145C00,0005000010106100 -name = "Super Mario 3D World - " -version = 2 +name = Resolution +path = "Super Mario 3D World/Graphics/Resolution" +description = Changes the resolution of the game. "zoom-transitions" are also not upscaled yet. +version = 3 -[TextureRedefine] # tv +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// For [4:3] resolutions that are multiples of 320x180 +// Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + + +// For [21:9] resolutions that are multiples of 420x180 +// Performance + +[Preset] +name = (21:9) 1260x540 +$width = 1260 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 1680x720 +$width = 1680 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2100x900 +$width = 2100 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = (21:9) 2520x1080 +$width = 2520 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 3360x1440 +$width = 3360 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 5040x2160 +$width = 5040 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 6720x2880 +$width = 6720 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiats + +[Preset] +name = (21:9) 10080x4320 +$width = 10080 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 13440x5760 +$width = 13440 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] width = 1280 height = 720 -formatsExcluded = 0x008,0x41A,0x034,0x035 # exclude obvious textures -overwriteWidth = -overwriteHeight = +formatsExcluded = 0x008,0x41A,0x034,0x035 0x008 +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] # zoomed in -width = 1128 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # zoom transition -width = 1000 -height = 600 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # zoom transition 2 -width = 1000 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha -width = 640 -height = 360 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res (zoomed in) -width = 564 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res (zoom transition) -width = 500 -height = 300 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res (zoom transition 2) -width = 500 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # quarter-res alpha -width = 320 -height = 180 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res (zoomed in) -width = 282 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res (zoom transition) -width = 250 -height = 150 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res (zoom transition 2) -width = 250 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # 1/8 res -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res (gamepad) -width = 427 -height = 240 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res (gamepad) -width = 214 -height = 120 -formatsExcluded = 0x41A # exclude obvious textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # shadows +[TextureRedefine] #shadow width = 1024 height = 1024 formats = 0x005 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 1024 +overwriteHeight = ($height/$gameHeight) * 1024 + +[TextureRedefine] +width = 864 +height = 480 +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] +width = 854 +height = 480 +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] #Depth 8 +width = 640 +height = 368 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] #Depth +width = 640 +height = 360 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 + +#[TextureRedefine] #Looks like it's texture formats only, verify 0x80e +#width = 512 +#height = 512 +#formatsExcluded = 0x431,0x235,0x80e,0x034 +#overwriteWidth = ($width/$gameWidth) * 512 +#overwriteHeight = ($height/$gameHeight) * 512 + +[TextureRedefine] +width = 512 +height = 256 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 256 + +[TextureRedefine] # +width = 480 +height = 272 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 272 + +[TextureRedefine] +width = 480 +height = 270 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 270 + +[TextureRedefine] +width = 320 +height = 192 +#formats = +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] +width = 320 +height = 180 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 + +[TextureRedefine] +width = 256 +height = 256 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 256 + +[TextureRedefine] +width = 256 +height = 144 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 144 + +[TextureRedefine] +width = 256 +height = 128 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 128 + +[TextureRedefine] +width = 240 +height = 135 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 240 +overwriteHeight = ($height/$gameHeight) * 135 + +[TextureRedefine] +width = 160 +height = 96 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 96 + +[TextureRedefine] +width = 160 +height = 90 +#formats = +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 90 + +[TextureRedefine] +width = 128 +height = 128 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 128 + +[TextureRedefine] +width = 128 +height = 80 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 80 + +[TextureRedefine] +width = 128 +height = 64 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 64 + +[TextureRedefine] +width = 120 +height = 67 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 120 +overwriteHeight = ($height/$gameHeight) * 67 + +[TextureRedefine] +width = 96 +height = 48 +#formats = +overwriteWidth = ($width/$gameWidth) * 96 +overwriteHeight = ($height/$gameHeight) * 48 + +[TextureRedefine] +width = 80 +height = 45 +#formats = +overwriteWidth = ($width/$gameWidth) * 80 +overwriteHeight = ($height/$gameHeight) * 45 + +[TextureRedefine] +width = 64 +height = 64 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 64 + +[TextureRedefine] +width = 64 +height = 48 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 48 + +[TextureRedefine] +width = 64 +height = 32 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 32 + +[TextureRedefine] +width = 60 +height = 33 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 60 +overwriteHeight = ($height/$gameHeight) * 33 + +[TextureRedefine] +width = 40 +height = 22 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 40 +overwriteHeight = ($height/$gameHeight) * 22 \ No newline at end of file diff --git a/Source/SuperMarioMaker/0b9b8f5dfa16ad58_0000000000000000_vs.txt b/Source/SuperMarioMaker/0b9b8f5dfa16ad58_0000000000000000_vs.txt index a43278b3..ccdb48b6 100644 --- a/Source/SuperMarioMaker/0b9b8f5dfa16ad58_0000000000000000_vs.txt +++ b/Source/SuperMarioMaker/0b9b8f5dfa16ad58_0000000000000000_vs.txt @@ -1,17 +1,12 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable // shader 0b9b8f5dfa16ad58 -//vertical blur -const float resScale = ; +// Used for: Horizontal (Edit Screen) Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; + uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; layout(location = 0) in uvec4 attrDataSem0; @@ -29,7 +24,7 @@ else if( v == 0xFFFFFFFF ) return floatBitsToInt(0.0); return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); } -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} void main() { vec4 R0f = vec4(0.0); @@ -53,15 +48,15 @@ attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDeco attrDecoder.w = 0; R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); // 0 -R127f.x = (R1f.x > 0.0)?1.0:0.0; -R127f.x /= 2.0; -R127f.y = -(R1f.y); -PV0f.y = R127f.y; -R127f.z = (0.0 > R1f.x)?1.0:0.0; -R127f.z /= 2.0; +R127f.x = -(R1f.y); +PV0f.x = R127f.x; +R127f.y = (R1f.x > 0.0)?1.0:0.0; +R127f.y /= 2.0; +R126f.z = (0.0 > R1f.x)?1.0:0.0; +R126f.z /= 2.0; R127f.w = 1.0; PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].z) * intBitsToFloat(0x3fae8a72)/ resScale; +R126f.x = intBitsToFloat(uf_remappedVS[0].w) * (intBitsToFloat(0x3fae8a72)/resYScale); PS0f = R126f.x; // 1 R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); @@ -69,30 +64,28 @@ PV1f.x = R0f.x; PV1f.y = R0f.x; PV1f.z = R0f.x; PV1f.w = R0f.x; -R126f.w = (PV0f.y > 0.0)?1.0:0.0; -R126f.w /= 2.0; -PS1f = R126f.w; +R127f.z = (PV0f.x > 0.0)?1.0:0.0; +R127f.z /= 2.0; +PS1f = R127f.z; // 2 -backupReg0f = R127f.y; tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); PV0f.x = tempf.x; PV0f.y = tempf.x; PV0f.z = tempf.x; PV0f.w = tempf.x; R0f.y = tempf.x; -R127f.y = (0.0 > backupReg0f)?1.0:0.0; -R127f.y /= 2.0; -PS0f = R127f.y; +PS0f = (0.0 > R127f.x)?1.0:0.0; +PS0f /= 2.0; // 3 -backupReg0f = R127f.x; +backupReg0f = R127f.z; tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); PV1f.x = tempf.x; PV1f.y = tempf.x; PV1f.z = tempf.x; PV1f.w = tempf.x; R0f.z = tempf.x; -R127f.x = backupReg0f + -(R127f.z); -PS1f = R127f.x; +R127f.z = backupReg0f + -(PS0f); +PS1f = R127f.z; // 4 tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); PV0f.x = tempf.x; @@ -100,15 +93,14 @@ PV0f.y = tempf.x; PV0f.z = tempf.x; PV0f.w = tempf.x; R0f.w = tempf.x; -PS0f = R126f.w + -(R127f.y); +PS0f = R127f.y + -(R126f.z); // 5 -PV1f.y = PS0f + 0.5; -PV1f.z = R127f.x + 0.5; +R1f.x = PS0f + 0.5; +PV1f.y = R127f.z + 0.5; // 6 -R1f.x = PV1f.y; -R1f.y = PV1f.z + -(R126f.x); -R1f.z = PV1f.z + R126f.x; -R1f.w = PV1f.z; +R1f.y = PV1f.y + -(R126f.x); +R1f.z = PV1f.y + R126f.x; +R1f.w = PV1f.y; // export gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); // export diff --git a/Source/SuperMarioMaker/141f484aff9b9f5a_0000000000000000_vs.txt b/Source/SuperMarioMaker/141f484aff9b9f5a_0000000000000000_vs.txt deleted file mode 100644 index 10a4979e..00000000 --- a/Source/SuperMarioMaker/141f484aff9b9f5a_0000000000000000_vs.txt +++ /dev/null @@ -1,83 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 141f484aff9b9f5a -// AA fix -const float resScale = ; -uniform ivec4 uf_remappedVS[3]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem2; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R123f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = intBitsToFloat(uf_remappedVS[0].x); -R1f.w = 1.0; -PS0f = intBitsToFloat(uf_remappedVS[1].x) + 0.5; -// 1 -R123f.x = (mul_nonIEEE(-(PS0f),intBitsToFloat(uf_remappedVS[2].y)/ resScale) + R2f.y); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(-(PS0f),intBitsToFloat(uf_remappedVS[2].x)/ resScale) + R2f.x); -PV1f.y = R123f.y; -// 2 -R2f.z = PV1f.y; -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem2 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Source/SuperMarioMaker/37a4ec1a7dbc7391_00000000000003c9_ps.txt b/Source/SuperMarioMaker/37a4ec1a7dbc7391_00000000000003c9_ps.txt deleted file mode 100644 index c33ff298..00000000 --- a/Source/SuperMarioMaker/37a4ec1a7dbc7391_00000000000003c9_ps.txt +++ /dev/null @@ -1,192 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 37a4ec1a7dbc7391 -// AA fix -const float resScale = ; -uniform ivec4 uf_remappedPS[4]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf45c6000 res 1280x720x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x1d7ae000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem2; -if( activeMaskStackC[1] == true ) { -R2f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -R4f.xyzw = (textureGather(textureUnitPS1, R0f.xy).wzxy); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0f.x = max(R4f.z, R4f.x); -PV0f.y = min(R4f.w, R4f.y); -PV0f.z = R2f.x * intBitsToFloat(uf_remappedPS[0].x); -PV0f.w = min(R4f.z, R4f.x); -PS0f = max(R4f.w, R4f.y); -// 1 -R123f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedPS[0].y)) + PV0f.z); -PV1f.x = R123f.x; -PV1f.y = max(PV0f.x, PS0f); -R127f.z = R4f.z + -(R4f.y); -PV1f.z = R127f.z; -PV1f.w = min(PV0f.w, PV0f.y); -R126f.z = R4f.w + -(R4f.x); -PS1f = R126f.z; -// 2 -PV0f.x = max(PV1f.x, PV1f.y); -PV0f.y = PV1f.y * intBitsToFloat(uf_remappedPS[1].x); -PV0f.z = min(PV1f.x, PV1f.w); -R3f.x = PV1f.z + PS1f; -PS0f = R3f.x; -// 3 -R1f.x = max(PV0f.y, intBitsToFloat(uf_remappedPS[1].y)); -R3f.y = R127f.z + -(R126f.z); -R0f.w = -(PV0f.z) + PV0f.x; -// 4 -predResult = (R0f.w > R1f.x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1f.x = R4f.y + R4f.x; -PV0f.x = R1f.x; -R1f.y = intBitsToFloat(uf_remappedPS[2].z) * 0.25; -R0f.w = max(R3f.x, -(R3f.x)); -PV0f.w = R0f.w; -R4f.x = max(R3f.y, -(R3f.y)); -PS0f = R4f.x; -// 1 -R1f.x = min(PV0f.w, PS0f); -R4f.y = -(intBitsToFloat(uf_remappedPS[3].y)/ resScale); -R0f.z = intBitsToFloat(uf_remappedPS[3].x); -R0f.w = R4f.z + PV0f.x; -PV1f.w = R0f.w; -R4f.x = -(intBitsToFloat(uf_remappedPS[3].x)/ resScale); -PS1f = R4f.x; -// 2 -R1f.z = R4f.w + PV1f.w; -PV0f.z = R1f.z; -R0f.w = intBitsToFloat(uf_remappedPS[3].y); -// 3 -backupReg0f = R1f.y; -R1f.y = (mul_nonIEEE(backupReg0f,PV0f.z) + intBitsToFloat(uf_remappedPS[2].w)/ resScale); -PV1f.y = R1f.y; -// 4 -backupReg0f = R1f.x; -R1f.x = max(PV1f.y, backupReg0f); -PV0f.x = R1f.x; -// 5 -R1f.w = 1.0 / PV0f.x; -PS1f = R1f.w; -// 6 -R1f.x = R3f.x * PS1f; -PV0f.x = R1f.x; -R1f.y = R3f.y * PS1f; -PV0f.y = R1f.y; -// 7 -R1f.x = max(PV0f.x, -(intBitsToFloat(uf_remappedPS[2].y)/resScale)); -PV1f.x = R1f.x; -R1f.y = max(PV0f.y, -(intBitsToFloat(uf_remappedPS[2].y)/ resScale)); -PV1f.y = R1f.y; -// 8 -R1f.x = min(PV1f.x, intBitsToFloat(uf_remappedPS[2].y)); -PV0f.x = R1f.x; -R1f.y = min(PV1f.y, intBitsToFloat(uf_remappedPS[2].y)); -PV0f.y = R1f.y; -// 9 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg2f = R0f.z; -backupReg0f = R0f.x; -backupReg3f = R0f.w; -backupReg1f = R0f.y; -R0f.x = (mul_nonIEEE(PV0f.x,R4f.x) + backupReg0f); -R0f.y = (mul_nonIEEE(PV0f.y,R4f.y) + backupReg1f); -R0f.z = (mul_nonIEEE(PV0f.x,backupReg2f) + backupReg0f); -R0f.w = (mul_nonIEEE(PV0f.y,backupReg3f) + backupReg1f); -} -if( activeMaskStackC[2] == true ) { -R1f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0f = R0f.y; -backupReg1f = R0f.x; -PV0f.x = R0f.w + R1f.w; -PV0f.x /= 2.0; -PV0f.y = R0f.z + R1f.z; -PV0f.y /= 2.0; -PV0f.z = backupReg0f + R1f.y; -PV0f.z /= 2.0; -PV0f.w = backupReg1f + R1f.x; -PV0f.w /= 2.0; -// 1 -PV1f.x = -(R2f.w) + PV0f.x; -PV1f.y = -(R2f.z) + PV0f.y; -PV1f.z = -(R2f.y) + PV0f.z; -PV1f.w = -(R2f.x) + PV0f.w; -// 2 -backupReg0f = R2f.x; -backupReg1f = R2f.y; -backupReg2f = R2f.z; -backupReg3f = R2f.w; -R2f.x = (PV1f.w * intBitsToFloat(0x3f4ccccd) + backupReg0f); -R2f.y = (PV1f.z * intBitsToFloat(0x3f4ccccd) + backupReg1f); -R2f.z = (PV1f.y * intBitsToFloat(0x3f4ccccd) + backupReg2f); -R2f.w = (PV1f.x * intBitsToFloat(0x3f4ccccd) + backupReg3f); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -passPixelColor0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Source/SuperMarioMaker/7f513855e2ebc5d0_0000000000000000_vs.txt b/Source/SuperMarioMaker/7f513855e2ebc5d0_0000000000000000_vs.txt deleted file mode 100644 index 03336ca6..00000000 --- a/Source/SuperMarioMaker/7f513855e2ebc5d0_0000000000000000_vs.txt +++ /dev/null @@ -1,127 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 7f513855e2ebc5d0 -// vertical blur -const float resScale = ; -uniform ivec4 uf_remappedVS[5]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R126f.x = (R1f.x > 0.0)?1.0:0.0; -R126f.x /= 2.0; -R127f.y = -(R1f.y); -PV0f.y = R127f.y; -R127f.z = (0.0 > R1f.x)?1.0:0.0; -R127f.z /= 2.0; -R127f.w = 1.0; -PV0f.w = R127f.w; -R125f.x = intBitsToFloat(uf_remappedVS[0].w) / resScale * intBitsToFloat(0x3f200000); -PS0f = R125f.x; -// 1 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R127f.x = (PV0f.y > 0.0)?1.0:0.0; -R127f.x /= 2.0; -PS1f = R127f.x; -// 2 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -PS0f = (0.0 > R127f.y)?1.0:0.0; -PS0f /= 2.0; -// 3 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R126f.z = R127f.x + -(PS0f); -PS1f = R126f.z; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -PS0f = R126f.x + -(R127f.z); -// 5 -R126f.x = intBitsToFloat(uf_remappedVS[0].w) / resScale * intBitsToFloat(0x401173eb); -PV1f.x = R126f.x; -R127f.y = R126f.z + 0.5; -PV1f.y = R127f.y; -R2f.x = PS0f + 0.5; -PS1f = R2f.x; -// 6 -R1f.x = PS1f; -R2f.y = PV1f.y + -(R125f.x); -R2f.z = PV1f.y + R125f.x; -R2f.w = PV1f.y; -R1f.y = PV1f.y + -(PV1f.x); -PS0f = R1f.y; -// 7 -R1f.z = R127f.y + R126f.x; -R1f.w = R127f.y; -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem1 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Source/SuperMarioMaker/cedd7a7d49bc26da_0000000000000000_vs.txt b/Source/SuperMarioMaker/cedd7a7d49bc26da_0000000000000000_vs.txt deleted file mode 100644 index 2d5742e4..00000000 --- a/Source/SuperMarioMaker/cedd7a7d49bc26da_0000000000000000_vs.txt +++ /dev/null @@ -1,128 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader cedd7a7d49bc26da -// horizontal blur -const float resScale = ; -uniform ivec4 uf_remappedVS[5]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = (0.0 > R1f.x)?1.0:0.0; -R127f.x /= 2.0; -R127f.y = (R1f.x > 0.0)?1.0:0.0; -R127f.y /= 2.0; -R127f.z = -(R1f.y); -PV0f.z = R127f.z; -R127f.w = 1.0; -PV0f.w = R127f.w; -R126f.y = intBitsToFloat(uf_remappedVS[0].z) / resScale * intBitsToFloat(0x3f200000); -PS0f = R126f.y; -// 1 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R126f.w = (PV0f.z > 0.0)?1.0:0.0; -R126f.w /= 2.0; -PS1f = R126f.w; -// 2 -backupReg0f = R127f.z; -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R127f.z = (0.0 > backupReg0f)?1.0:0.0; -R127f.z /= 2.0; -PS0f = R127f.z; -// 3 -backupReg0f = R127f.y; -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R127f.y = backupReg0f + -(R127f.x); -PS1f = R127f.y; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -PS0f = R126f.w + -(R127f.z); -// 5 -R127f.x = intBitsToFloat(uf_remappedVS[0].z) / resScale * intBitsToFloat(0x401173eb); -PV1f.z = PS0f + 0.5; -R127f.w = R127f.y + 0.5; -PV1f.w = R127f.w; -// 6 -R2f.x = PV1f.z; -PV0f.x = R2f.x; -R2f.y = PV1f.w + -(R126f.y); -R2f.z = PV1f.w + R126f.y; -R2f.w = PV1f.w; -// 7 -R1f.x = PV0f.x; -R1f.y = R127f.w + -(R127f.x); -R1f.z = R127f.w + R127f.x; -R1f.w = R127f.w; -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem1 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Source/SuperMarioMaker/db25758018a030be_0000000000000000_vs.txt b/Source/SuperMarioMaker/db25758018a030be_0000000000000000_vs.txt deleted file mode 100644 index ae769dd8..00000000 --- a/Source/SuperMarioMaker/db25758018a030be_0000000000000000_vs.txt +++ /dev/null @@ -1,115 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader db25758018a030be -// chromatic aberration -const float resScale = ; -uniform ivec4 uf_remappedVS[5]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem2; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = -(R1f.y); -PV0f.x = R127f.x; -R127f.y = (R1f.x > 0.0)?1.0:0.0; -R127f.y /= 2.0; -R127f.z = (0.0 > R1f.x)?1.0:0.0; -R127f.z /= 2.0; -R127f.w = 1.0; -PV0f.w = R127f.w; -R2f.x = intBitsToFloat(uf_remappedVS[0].z) / resScale; -PS0f = R2f.x; -// 1 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R126f.z = (PV0f.x > 0.0)?1.0:0.0; -R126f.z /= 2.0; -PS1f = R126f.z; -// 2 -backupReg0f = R127f.x; -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R127f.x = (0.0 > backupReg0f)?1.0:0.0; -R127f.x /= 2.0; -PS0f = R127f.x; -// 3 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R126f.w = R127f.y + -(R127f.z); -PS1f = R126f.w; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -PS0f = R126f.z + -(R127f.x); -// 5 -R1f.x = R126f.w + 0.5; -R2f.y = intBitsToFloat(uf_remappedVS[0].w) / resScale; -R1f.z = PS0f + 0.5; -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem0 = vec4(R1f.x, R1f.z, R1f.z, R1f.z); -// export -passParameterSem2 = vec4(R2f.x, R2f.y, R2f.z, R2f.z); -} diff --git a/Source/SuperMarioMaker/fc3e63a2007625f8_0000000000000000_vs.txt b/Source/SuperMarioMaker/fc3e63a2007625f8_0000000000000000_vs.txt index d5f14e4c..ce1e3de8 100644 --- a/Source/SuperMarioMaker/fc3e63a2007625f8_0000000000000000_vs.txt +++ b/Source/SuperMarioMaker/fc3e63a2007625f8_0000000000000000_vs.txt @@ -1,17 +1,12 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable -// shader fc3e63a2007625f8 -//horizontal blyr -const float resScale = ; +// shader 0b9b8f5dfa16ad58 +// Used for: Vertical (Edit Screen) Blur +const float resXScale = $width/1280; +const float resYScale = $height/720; + uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; layout(location = 0) in uvec4 attrDataSem0; @@ -29,7 +24,7 @@ else if( v == 0xFFFFFFFF ) return floatBitsToInt(0.0); return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); } -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} void main() { vec4 R0f = vec4(0.0); @@ -53,15 +48,15 @@ attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDeco attrDecoder.w = 0; R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); // 0 -R127f.x = -(R1f.y); -PV0f.x = R127f.x; -R127f.y = (R1f.x > 0.0)?1.0:0.0; -R127f.y /= 2.0; -R126f.z = (0.0 > R1f.x)?1.0:0.0; -R126f.z /= 2.0; +R127f.x = (R1f.x > 0.0)?1.0:0.0; +R127f.x /= 2.0; +R127f.y = -(R1f.y); +PV0f.y = R127f.y; +R127f.z = (0.0 > R1f.x)?1.0:0.0; +R127f.z /= 2.0; R127f.w = 1.0; PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].w) * intBitsToFloat(0x3fae8a72)/ resScale; +R126f.x = intBitsToFloat(uf_remappedVS[0].z) * (intBitsToFloat(0x3fae8a72)/resXScale); PS0f = R126f.x; // 1 R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); @@ -69,28 +64,30 @@ PV1f.x = R0f.x; PV1f.y = R0f.x; PV1f.z = R0f.x; PV1f.w = R0f.x; -R127f.z = (PV0f.x > 0.0)?1.0:0.0; -R127f.z /= 2.0; -PS1f = R127f.z; +R126f.w = (PV0f.y > 0.0)?1.0:0.0; +R126f.w /= 2.0; +PS1f = R126f.w; // 2 +backupReg0f = R127f.y; tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); PV0f.x = tempf.x; PV0f.y = tempf.x; PV0f.z = tempf.x; PV0f.w = tempf.x; R0f.y = tempf.x; -PS0f = (0.0 > R127f.x)?1.0:0.0; -PS0f /= 2.0; +R127f.y = (0.0 > backupReg0f)?1.0:0.0; +R127f.y /= 2.0; +PS0f = R127f.y; // 3 -backupReg0f = R127f.z; +backupReg0f = R127f.x; tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); PV1f.x = tempf.x; PV1f.y = tempf.x; PV1f.z = tempf.x; PV1f.w = tempf.x; R0f.z = tempf.x; -R127f.z = backupReg0f + -(PS0f); -PS1f = R127f.z; +R127f.x = backupReg0f + -(R127f.z); +PS1f = R127f.x; // 4 tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); PV0f.x = tempf.x; @@ -98,14 +95,15 @@ PV0f.y = tempf.x; PV0f.z = tempf.x; PV0f.w = tempf.x; R0f.w = tempf.x; -PS0f = R127f.y + -(R126f.z); +PS0f = R126f.w + -(R127f.y); // 5 -R1f.x = PS0f + 0.5; -PV1f.y = R127f.z + 0.5; +PV1f.y = PS0f + 0.5; +PV1f.z = R127f.x + 0.5; // 6 -R1f.y = PV1f.y + -(R126f.x); -R1f.z = PV1f.y + R126f.x; -R1f.w = PV1f.y; +R1f.x = PV1f.y; +R1f.y = PV1f.z + -(R126f.x); +R1f.z = PV1f.z + R126f.x; +R1f.w = PV1f.z; // export gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); // export diff --git a/Source/SuperMarioMaker/rules.txt b/Source/SuperMarioMaker/rules.txt index fbd12755..faf72b6b 100644 --- a/Source/SuperMarioMaker/rules.txt +++ b/Source/SuperMarioMaker/rules.txt @@ -1,279 +1,164 @@ - - [Definition] titleIds = 000500001018DB00,000500001018DC00,000500001018DD00 -name = "Super Mario Maker - " -version = 2 +name = Resolution +path = "Super Mario Maker/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + + +[TextureRedefine] # Game Resolution width = 1280 height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +formats = 0x019,0x80e,0x001 +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] -width = 1152 -height = 648 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1024 -#height = 1024 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 912 -height = 516 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 900 -height = 508 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 892 -height = 504 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 880 -height = 496 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 868 -height = 488 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 856 -height = 483 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 854 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 844 -height = 476 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 832 -height = 467 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 820 -height = 460 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 808 -height = 456 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 800 -height = 448 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 788 -height = 444 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 780 -height = 440 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 776 -height = 436 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 772 -height = 432 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 768 -height = 384 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +# Screen Blur Type 1 [TextureRedefine] width = 640 -height = 360 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 427 -height = 240 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 384 -height = 216 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 384 -height = 192 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 256 -#height = 256 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +height = 368 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 [TextureRedefine] width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +height = 96 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 64 + + +# Screen Blur Type 2 +[TextureRedefine] +width = 864 +height = 480 +formats = 0x019 +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] +width = 448 +height = 220 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 448 +overwriteHeight = ($height/$gameHeight) * 220 [TextureRedefine] width = 128 -height = 256 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 128 -#height = 128 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 106 -height = 60 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 64 -#height = 64 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 48 -#height = 48 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 32 height = 64 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 32 -#height = 32 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 24 -#height = 24 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 16 -#height = 16 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 8 -#height = 8 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 4 -#height = 4 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 2 -#height = 2 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 64 diff --git a/Source/SuperSmashBros/315d61ad21f97614_0000000000000000_vs.txt b/Source/SuperSmashBros/315d61ad21f97614_0000000000000000_vs.txt index 414de879..cb5e6def 100644 --- a/Source/SuperSmashBros/315d61ad21f97614_0000000000000000_vs.txt +++ b/Source/SuperSmashBros/315d61ad21f97614_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 315d61ad21f97614 // Used for: Vertical blur pass end screen background -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/SuperSmashBros/4b92e636153d6b54_0000000000000000_vs.txt b/Source/SuperSmashBros/4b92e636153d6b54_0000000000000000_vs.txt index 37191f20..3b739987 100644 --- a/Source/SuperSmashBros/4b92e636153d6b54_0000000000000000_vs.txt +++ b/Source/SuperSmashBros/4b92e636153d6b54_0000000000000000_vs.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 4b92e636153d6b54 // Used for: Horizontal blur pass end screen background -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/SuperSmashBros/rules.txt b/Source/SuperSmashBros/rules.txt index 56d4fe71..1f72c20e 100644 --- a/Source/SuperSmashBros/rules.txt +++ b/Source/SuperSmashBros/rules.txt @@ -1,129 +1,318 @@ - [Definition] titleIds = 0005000010110E00,0005000010145000,0005000010144F00 -name = "Super Smash Bros. for Wii U - " -version = 2 +name = Resolution +path = "Super Smash Bros. for Wii U/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] # tv +[Preset] +name = 1920x1080 (Default) +$width = 1920 +$height = 1080 +$gameWidth = 1920 +$gameHeight = 1080 + +// For [4:3] resolutions that are multiples of 320x180 +// Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1920 +$gameHeight = 1080 + +// Quality + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1920 +$gameHeight = 1080 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1920 +$gameHeight = 1080 + + + +[TextureRedefine] # Game Resolution +width = 1920 +height = 1088 +overwriteWidth = ($width / $gameWidth) * 1920 +overwriteHeight = ($height / $gameHeight) * 1088 + +[TextureRedefine] # Game Resolution width = 1920 height = 1080 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 1920 +overwriteHeight = ($height / $gameHeight) * 1080 -[TextureRedefine] # half-res +[TextureRedefine] # Gamepad Resolution +width = 864 +height = 480 +overwriteWidth = ($width / $gameWidth) * 864 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] # Gamepad Resolution +width = 854 +height = 480 +overwriteWidth = ($width / $gameWidth) * 854 +overwriteHeight = ($height / $gameHeight) * 480 + +[TextureRedefine] +width = 960 +height = 544 +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 544 + +[TextureRedefine] width = 960 height = 540 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 540 + +[TextureRedefine] +width = 960 +height = 368 +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 368 [TextureRedefine] width = 960 height = 360 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 360 -[TextureRedefine] # q-res +[TextureRedefine] +width = 832 +height = 416 +overwriteWidth = ($width / $gameWidth) * 832 +overwriteHeight = ($height / $gameHeight) * 416 + +[TextureRedefine] +width = 820 +height = 410 +overwriteWidth = ($width / $gameWidth) * 820 +overwriteHeight = ($height / $gameHeight) * 410 + +[TextureRedefine] +width = 768 +height = 368 +overwriteWidth = ($width / $gameWidth) * 768 +overwriteHeight = ($height / $gameHeight) * 368 + +[TextureRedefine] +width = 736 +height = 368 +overwriteWidth = ($width / $gameWidth) * 736 +overwriteHeight = ($height / $gameHeight) * 368 + +[TextureRedefine] +width = 730 +height = 365 +overwriteWidth = ($width / $gameWidth) * 730 +overwriteHeight = ($height / $gameHeight) * 365 + +[TextureRedefine] +width = 512 +height = 272 +overwriteWidth = ($width / $gameWidth) * 512 +overwriteHeight = ($height / $gameHeight) * 272 + +[TextureRedefine] +width = 480 +height = 272 +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 272 + +[TextureRedefine] width = 480 height = 270 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 270 + +[TextureRedefine] +width = 480 +height = 192 +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 192 [TextureRedefine] width = 480 height = 180 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 180 -[TextureRedefine] # o-res -width = 240 -height = 135 -overwriteWidth = -overwriteHeight = +[TextureRedefine] +width = 448 +height = 224 +overwriteWidth = ($width / $gameWidth) * 448 +overwriteHeight = ($height / $gameHeight) * 224 -[TextureRedefine] # half-res 2 -width = 120 -height = 67 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res 2 -width = 60 -height = 33 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # o-res 2 -width = 30 -height = 16 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # o-res 3 -width = 8 -height = 1 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # 2nd -width = 820 -height = 410 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # 3rd -width = 730 -height = 365 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # 4th +[TextureRedefine] width = 420 height = 210 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 420 +overwriteHeight = ($height / $gameHeight) * 210 + +[TextureRedefine] +width = 256 +height = 256 +formats = 0x5,0x19 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 256 + +[TextureRedefine] +width = 256 +height = 144 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 144 + +[TextureRedefine] +width = 256 +height = 128 +formats = 0x8 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 128 [TextureRedefine] width = 249 height = 250 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 249 +overwriteHeight = ($height / $gameHeight) * 250 + +[TextureRedefine] +width = 240 +height = 135 +overwriteWidth = ($width / $gameWidth) * 240 +overwriteHeight = ($height / $gameHeight) * 135 + +[TextureRedefine] +width = 192 +height = 160 +overwriteWidth = ($width / $gameWidth) * 192 +overwriteHeight = ($height / $gameHeight) * 160 + +[TextureRedefine] +width = 192 +height = 144 +overwriteWidth = ($width / $gameWidth) * 192 +overwriteHeight = ($height / $gameHeight) * 144 [TextureRedefine] width = 160 height = 160 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 160 + +[TextureRedefine] +width = 160 +height = 144 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 144 [TextureRedefine] width = 135 height = 135 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 135 +overwriteHeight = ($height / $gameHeight) * 135 -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = +[TextureRedefine] +width = 128 +height = 80 +overwriteWidth = ($width / $gameWidth) * 128 +overwriteHeight = ($height / $gameHeight) * 80 -[TextureRedefine] # shadows -width = 512 -height = 512 -formats = 0x00f,0x00b -overwriteWidth = -overwriteHeight = +[TextureRedefine] +width = 128 +height = 128 +formats = 0x21f,0x219,0x80e +overwriteWidth = ($width / $gameWidth) * 128 +overwriteHeight = ($height / $gameHeight) * 128 -[TextureRedefine] # shadows -width = 1024 -height = 1024 -formats = 0x005 -overwriteWidth = -overwriteHeight = +[TextureRedefine] +width = 120 +height = 67 +overwriteWidth = ($width / $gameWidth) * 120 +overwriteHeight = ($height / $gameHeight) * 67 + +[TextureRedefine] +width = 64 +height = 48 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] +width = 60 +height = 33 +overwriteWidth = ($width / $gameWidth) * 60 +overwriteHeight = ($height / $gameHeight) * 33 + +[TextureRedefine] +width = 32 +height = 16 +formats = 0x816 +overwriteWidth = ($width / $gameWidth) * 32 +overwriteHeight = ($height / $gameHeight) * 16 + +[TextureRedefine] +width = 30 +height = 16 +overwriteWidth = ($width / $gameWidth) * 30 +overwriteHeight = ($height / $gameHeight) * 16 diff --git a/Source/TNTRacers/rules.txt b/Source/TNTRacers/rules.txt deleted file mode 100644 index 604a9638..00000000 --- a/Source/TNTRacers/rules.txt +++ /dev/null @@ -1,30 +0,0 @@ - -[Definition] -titleIds = 0005000010142800,000500001014F000 -name = "TNT Racers Nitro Machines Edition - " -version = 2 - -[TextureRedefine] # tv -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res -width = 480 -height = 270 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/TaikoNoTatsujin/9bc0b72c01bbaac2_000000000000001c_ps.txt b/Source/TaikoNoTatsujin/9bc0b72c01bbaac2_000000000000001c_ps.txt deleted file mode 100644 index 3d6180c4..00000000 --- a/Source/TaikoNoTatsujin/9bc0b72c01bbaac2_000000000000001c_ps.txt +++ /dev/null @@ -1,272 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 9bc0b72c01bbaac2 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedPS[2]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x16e68800 res 600x600x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 0 border: 0 -layout(location = 0) in vec4 passParameterSem130; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem130; -R6f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -// 0 -PV0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].x) / resXScale, intBitsToFloat(uf_remappedPS[1].x)); -R127f.y = intBitsToFloat(uf_remappedPS[1].y) + 4.0; -R127f.z = R6f.w + -(1.0); -PV0f.w = mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y) / resYScale, intBitsToFloat(uf_remappedPS[1].x)); -PS0f = mul_nonIEEE(R6f.z, R6f.z); -// 1 -backupReg0f = R0f.x; -backupReg0f = R0f.x; -R0f.x = backupReg0f + -(PV0f.x); -R123f.y = (mul_nonIEEE(R6f.y,R6f.y) + PS0f); -PV1f.y = R123f.y; -PV1f.z = R0f.y + -(PV0f.w); -R127f.w = R0f.y + PV0f.w; -PV1f.w = R127f.w; -R2f.x = backupReg0f + PV0f.x; -PS1f = R2f.x; -// 2 -R123f.x = (mul_nonIEEE(R6f.x,R6f.x) + PV1f.y); -PV0f.x = R123f.x; -R0f.y = PV1f.z; -R2f.z = PV1f.z; -R2f.w = PV1f.w; -R1f.w = 1.0 / R127f.y; -PS0f = R1f.w; -// 3 -R1f.x = (-(intBitsToFloat(uf_remappedPS[0].w)) * 0.5 + 1.0); -R7f.y = intBitsToFloat(((R127f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV1f.z = intBitsToFloat(uf_remappedPS[0].z) + -(0.0); -R2f.y = sqrt(PV0f.x); -PS1f = R2f.y; -// 4 -R7f.x = intBitsToFloat(((PV1f.z >= 0.0)?(floatBitsToInt(1.0)):(0))); -R1f.y = R127f.w; -R1f.z = R0f.x; -R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R2f.xz).xyzw); -R4f.xyzw = (texture(textureUnitPS0, R1f.zy).xyzw); -R5f.xyzw = (texture(textureUnitPS0, R2f.xw).xyzw); -// 0 -backupReg0f = R0f.x; -backupReg0f = R0f.x; -backupReg1f = R0f.y; -backupReg1f = R0f.y; -backupReg2f = R0f.z; -backupReg2f = R0f.z; -backupReg0f = R0f.x; -tempf.x = dot(vec4(backupReg0f,backupReg1f,backupReg2f,-0.0),vec4(backupReg0f,backupReg1f,backupReg2f,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R125f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R6f.x) + backupReg0f); -PS0f = R125f.x; -// 1 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,-0.0),vec4(R3f.x,R3f.y,R3f.z,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R127f.z = tempf.x; -PS1f = sqrt(PV0f.x); -// 2 -R127f.x = dot(vec4(R4f.x,R4f.y,R4f.z,-0.0),vec4(R4f.x,R4f.y,R4f.z,0.0)); -PV0f.x = R127f.x; -PV0f.y = R127f.x; -PV0f.z = R127f.x; -PV0f.w = R127f.x; -R126f.x = min(R2f.y, PS1f); -PS0f = R126f.x; -// 3 -backupReg0f = R127f.z; -tempf.x = dot(vec4(R5f.x,R5f.y,R5f.z,-0.0),vec4(R5f.x,R5f.y,R5f.z,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R127f.z = tempf.x; -PS1f = sqrt(backupReg0f); -// 4 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R6f.y) + R0f.y); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R6f.w) + R0f.w); -PV0f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),R6f.z) + R0f.z); -PV0f.z = R123f.z; -R126f.w = min(PS1f, R126f.x); -R127f.w = sqrt(R127f.x); -PS0f = R127f.w; -// 5 -backupReg0f = R127f.z; -PV1f.x = R3f.x + R125f.x; -R127f.y = R3f.w + PV0f.y; -R127f.z = R3f.z + PV0f.z; -PV1f.w = R3f.y + PV0f.x; -PS1f = sqrt(backupReg0f); -// 6 -backupReg0f = R0f.x; -PV0f.x = R4f.x + PV1f.x; -R126f.y = backupReg0f + R3f.x; -PV0f.z = min(R127f.w, PS1f); -PV0f.w = R4f.y + PV1f.w; -R127f.w = R0f.y + R3f.y; -PS0f = R127f.w; -// 7 -R125f.x = R4f.w + R127f.y; -PV1f.y = min(PV0f.z, R126f.w); -PV1f.y = clamp(PV1f.y, 0.0, 1.0); -PV1f.z = R4f.z + R127f.z; -R126f.w = R5f.x + PV0f.x; -R125f.w = R5f.y + PV0f.w; -PS1f = R125f.w; -// 8 -backupReg0f = R127f.w; -PV0f.x = R4f.x + R126f.y; -PV0f.y = R0f.z + R3f.z; -PV0f.z = mul_nonIEEE(R6f.w, PV1f.y); -R127f.w = R4f.y + backupReg0f; -R127f.z = R5f.z + PV1f.z; -PS0f = R127f.z; -// 9 -PV1f.x = R5f.w + R125f.x; -R126f.y = R0f.w + R3f.w; -R126f.z = R4f.z + PV0f.y; -R124f.w = R5f.x + PV0f.x; -tempResultf = log2(PV0f.z); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1f = tempResultf; -// 10 -backupReg0f = R127f.z; -backupReg1f = R1f.w; -PV0f.x = PS1f * intBitsToFloat(0x40a00000); -R127f.y = R125f.w * R1f.w; -PV0f.y = R127f.y; -R127f.z = R126f.w * R1f.w; -PV0f.z = R127f.z; -R126f.w = backupReg0f * R1f.w; -R1f.w = PV1f.x * backupReg1f; -PS0f = R1f.w; -// 11 -backupReg0f = R127f.w; -PV1f.x = R6f.y + -(PV0f.y); -PV1f.y = R4f.w + R126f.y; -PV1f.z = R6f.x + -(PV0f.z); -R127f.w = R5f.y + backupReg0f; -R125f.w = exp2(PV0f.x); -PS1f = R125f.w; -// 12 -backupReg0f = R124f.w; -R123f.x = (mul_nonIEEE(PV1f.z,PS1f) + R127f.z); -PV0f.x = R123f.x; -PV0f.y = R5f.w + PV1f.y; -PV0f.z = R5f.z + R126f.z; -R124f.w = (mul_nonIEEE(PV1f.x,PS1f) + R127f.y); -R125f.x = backupReg0f * 0.25; -PS0f = R125f.x; -// 13 -backupReg0f = R127f.w; -R127f.x = R6f.z + -(R126f.w); -R127f.y = PV0f.y * 0.25; -R127f.z = PV0f.z * 0.25; -R127f.w = backupReg0f * 0.25; -PV1f.w = R127f.w; -PS1f = -(PS0f) + PV0f.x; -// 14 -backupReg0f = R125f.x; -R125f.x = -(PV1f.w) + R124f.w; -R123f.y = (mul_nonIEEE(PS1f,R7f.y) + backupReg0f); -PV0f.y = R123f.y; -PV0f.w = R6f.w + -(R1f.w); -// 15 -R123f.x = (mul_nonIEEE(R127f.x,R125f.w) + R126f.w); -PV1f.x = R123f.x; -R123f.y = (intBitsToFloat(uf_remappedPS[0].z) * intBitsToFloat(0x3eb40000) + PV0f.y); -PV1f.y = R123f.y; -R126f.z = mul_nonIEEE(PV0f.y, R1f.x); -R123f.w = (mul_nonIEEE(PV0f.w,R125f.w) + R1f.w); -PV1f.w = R123f.w; -// 16 -PV0f.x = PV1f.y + intBitsToFloat(0x3edc0000); -PV0f.y = -(R127f.y) + PV1f.w; -PV0f.z = -(R127f.z) + PV1f.x; -R123f.w = (mul_nonIEEE(R125f.x,R7f.y) + R127f.w); -PV0f.w = R123f.w; -// 17 -R123f.x = (intBitsToFloat(uf_remappedPS[0].z) * intBitsToFloat(0x3e700000) + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (mul_nonIEEE(PV0f.y,R7f.y) + R127f.y); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(PV0f.z,R7f.y) + R127f.z); -PV1f.z = R123f.z; -R126f.w = mul_nonIEEE(PV0f.w, R1f.x); -R127f.w = -(R126f.z) + PV0f.x; -PS1f = R127f.w; -// 18 -R125f.x = PV1f.y; -PV0f.x = R125f.x; -R127f.y = mul_nonIEEE(PV1f.z, R1f.x); -PV0f.y = R127f.y; -PV0f.z = PV1f.x + intBitsToFloat(0x3ec80000); -R123f.w = (intBitsToFloat(uf_remappedPS[0].z) * intBitsToFloat(0x3df00000) + PV1f.z); -PV0f.w = R123f.w; -PS0f = PV1f.y; -// 19 -PV1f.x = -(PV0f.x) + PS0f; -PV1f.y = -(PV0f.y) + PV0f.w; -PV1f.z = -(R126f.w) + PV0f.z; -R1f.x = (mul_nonIEEE(R127f.w,R7f.x) + R126f.z); -PS1f = R1f.x; -// 20 -R1f.y = (mul_nonIEEE(PV1f.z,R7f.x) + R126f.w); -R1f.z = (mul_nonIEEE(PV1f.y,R7f.x) + R127f.y); -R1f.w = (mul_nonIEEE(PV1f.x,R7f.x) + R125f.x); -// export -if( ((vec4(R1f.x, R1f.y, R1f.z, R1f.w)).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -} diff --git a/Source/TaikoNoTatsujin/rules.txt b/Source/TaikoNoTatsujin/rules.txt deleted file mode 100644 index 268e67b3..00000000 --- a/Source/TaikoNoTatsujin/rules.txt +++ /dev/null @@ -1,39 +0,0 @@ - -[Definition] -titleIds = 00050000101d3000 -name = "Taiko no Tatsujin: Atsumete Tomodachi Daisakusen! - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -#formatsExcluded = 0x1a # disabled because shares same format as display texture itself -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # ??? -width = 600 -height = 600 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # ??? -width = 400 -height = 256 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/Tekken/rules.txt b/Source/Tekken/rules.txt deleted file mode 100644 index 94a636a6..00000000 --- a/Source/Tekken/rules.txt +++ /dev/null @@ -1,26 +0,0 @@ - -[Definition] -titleIds = 000500001010F800,0005000010110000 -name = "TEKKEN TAG TOURNAMENT 2 - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x033,0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/Tengami/rules.txt b/Source/Tengami/rules.txt deleted file mode 100644 index bcb748d4..00000000 --- a/Source/Tengami/rules.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[Definition] -titleIds = 000500001015B100,0005000010155B00,00050000101B6500 -name = "Tengami - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/TokyoMirage/013b284dd654166c_00000000001e1e49_ps.txt b/Source/TokyoMirage/013b284dd654166c_00000000001e1e49_ps.txt deleted file mode 100644 index 3f4fd4b1..00000000 --- a/Source/TokyoMirage/013b284dd654166c_00000000001e1e49_ps.txt +++ /dev/null @@ -1,880 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 013b284dd654166c -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1d918000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R10i.x = 0; -PS0i = R10i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R10i.y = 0; -PS1i = R10i.y; -// 4 -R10i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R11i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R7i.x << R0i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R9i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.x & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R5i.z << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = (R1i.w > R8i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.z; -PV0i.y = R4i.z + R8i.z; -R8i.z = backupReg0i + int(1); -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R5i.x << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R11i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R11i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R11i.z > R9i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.y; -backupReg0i = R9i.y; -R9i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R0i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -// 2 -R5i.y = ((PV1i.x == 0)?(0):(0)); -R4i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R4i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt(min(intBitsToFloat(R7i.y), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS0i = R127i.y; -// 1 -backupReg0i = R0i.z; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R5i.y))) + uf_blockPS10[1].z)); -PV1i.y = R123i.y; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = R3i.w; -// 2 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R0i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV1i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].x)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].y)); -R5i.y = 0; -PS1i = R5i.y; -// 4 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -PV0i.y = clampFI32(PV0i.y); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 7 -R2i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -// 9 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -// 11 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R4i.y)) + intBitsToFloat(R0i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.z)) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R2i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R2i.y))); -PS0i = R3i.y; -// 5 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R2i.z))); -PV1i.z = R3i.z; -// 6 -R0i.xyz = ivec3(R3i.x,R3i.y,PV1i.z); -R0i.w = R3i.w; -// 7 -R1i.xyz = ivec3(R5i.z,R5i.y,R5i.y); -R1i.w = R5i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/06ba1a56c89ddf3f_0000000007879249_ps.txt b/Source/TokyoMirage/06ba1a56c89ddf3f_0000000007879249_ps.txt deleted file mode 100644 index e2cce669..00000000 --- a/Source/TokyoMirage/06ba1a56c89ddf3f_0000000007879249_ps.txt +++ /dev/null @@ -1,1085 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 06ba1a56c89ddf3f -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c0d2000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x1c0de000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R13i.x = 0; -PS0i = R13i.x; -// 3 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R13i.y = 0; -PS1i = R13i.y; -// 4 -R12i.x = 0; -R12i.y = 0; -R13i.z = 0; -R1i.w = 0; -R12i.z = 0; -PS0i = R12i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS0i = R6i.w; -// 9 -R6i.x = PV0i.z << 0x00000002; -R6i.y = PV0i.z << 0x00000005; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R9i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R9i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R3i.z = R6i.y + 0x00000e10; -PS0i = R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R7i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R3i.z + backupReg0i; -// 1 -R6i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(intBitsToFloat(R6i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R13i.x; -backupReg1i = R13i.z; -backupReg2i = R13i.y; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R13i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R3i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.z].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.xyz = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].y),-(uf_blockPS2[1].z)) + vec3(1.0,1.0,1.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R3i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R3i.z; -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0x3f800000)); -R2i.w = ((PS1i == 0)?(0):(0)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R1i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R2i.w = floatBitsToInt(min(intBitsToFloat(R1i.z), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyz); -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R2i.w))) + uf_blockPS10[1].z)); -PV1i.w = R123i.w; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R1i.x))); -PS1i = R126i.x; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R2i.w)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -PV0i.z = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV1i.w)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[21].x)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R1i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R1i.z))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -PS1i = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(PV0i.z))); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.y))); -PV0i.x = clampFI32(PV0i.x); -PV0i.y = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), -(intBitsToFloat(PS1i)))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.x))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PS0i = R2i.x; -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PS1i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -R2i.y = 0; -PS0i = R2i.y; -// 7 -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -tempResultf = log2(intBitsToFloat(R127i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 10 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -R5i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R5i.x; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.y))); -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV1i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV1i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.y))); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i))); -PV0i.z = R126i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R0i.z))); -PV0i.w = R126i.w; -// 3 -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R4i.z)) + intBitsToFloat(R0i.x))); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.y)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R1i.x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.z)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.y))); -PV1i.z = R123i.z; -// 6 -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R126i.z))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R5i.x)) + intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R126i.y)) + intBitsToFloat(PV1i.z)); -// 7 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R126i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].x)); -// 1 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R6i.x; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R6i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R6i.z; -// 2 -R0i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R0i.w = R6i.w; -// 3 -R1i.xyz = ivec3(R2i.z,R2i.y,R2i.y); -R1i.w = R2i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/0d4f172cb95a4c6d_0000000007879249_ps.txt b/Source/TokyoMirage/0d4f172cb95a4c6d_0000000007879249_ps.txt deleted file mode 100644 index 998c75af..00000000 --- a/Source/TokyoMirage/0d4f172cb95a4c6d_0000000007879249_ps.txt +++ /dev/null @@ -1,896 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 0d4f172cb95a4c6d -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c957000 res 512x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1bbe6000 res 256x128x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x194a2000 res 4096x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R10i.x = R127i.y; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R127i.z = R2i.x; -R1i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R8i.x = R127i.w; -R8i.y = R1i.z; -R126i.z = R2i.y; -R127i.w = R2i.z; -R3i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R3i.w; -// 4 -R11i.x = 0; -R11i.y = 0; -R6i.z = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R6i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R11i.z = 0; -PS0i = R11i.z; -// 5 -R0i.x = 0; -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.x = R126i.x + PS0i; -PS1i = floatBitsToInt(sqrt(intBitsToFloat(R126i.y))); -// 8 -R1i.x = PV1i.x << 0x00000002; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.w))); -R8i.w = PV1i.x << 0x00000005; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.x),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R1i.w)) + intBitsToFloat(R1i.y))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R10i.x)) + intBitsToFloat(PS0i))); -PS1i = R126i.y; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -R0i.y = R8i.w + 0x00000e10; -PV0i.z = R4i.x << R3i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(R6i.z)); -// 4 -R2i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.y = (R2i.w > R0i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg0i = R0i.x; -R0i.x = backupReg0i + int(1); -PV0i.y = backupReg1i + backupReg0i; -R5i.w = 0; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R3i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R6i.z)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R5i.y)),-(intBitsToFloat(R5i.z)),-(intBitsToFloat(R5i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R4i.y << R3i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R6i.z)); -// 2 -R0i.x = PV1i.y & 0x0000ffff; -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R2i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R0i.x > R2i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R2i.w; -PV0i.y = backupReg0i + R2i.w; -R2i.w = backupReg1i + int(1); -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.x << R3i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R6i.z)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.x = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R3i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -R2i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R2i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R0i.x = (R2i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -backupReg0i = R0i.x; -predResult = (backupReg0i != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R0i.y + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.y << R3i.w; -// 1 -PV1i.w = int(uint(PV0i.z) >> uint(R6i.z)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R6i.w + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R127i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -PV1i.y = clampFI32(PV1i.y); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].y),-(uf_blockPS2[1].z),-(uf_blockPS2[1].x)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -// 4 -PV0i.y = ((0.0 >= intBitsToFloat(R2i.z))?int(0xFFFFFFFF):int(0x0)); -// 5 -R0i.x = ((PV0i.y == 0)?(0):(0x3f800000)); -R3i.w = ((PV0i.y == 0)?(0):(0)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -// 2 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.z = R2i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 4.0); -PV0i.z = clampFI32(PV0i.z); -R127i.w = floatBitsToInt(max(intBitsToFloat(R2i.z), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -// 3 -R0i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -R4i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -R1i.z = PS0i; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.w))); -R2i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.w))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R1i.z = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R1i.z = floatBitsToInt(intBitsToFloat(R1i.z) / 2.0); -R2i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R4i.y)); -PS0i = R2i.z; -// 1 -predResult = (intBitsToFloat(R2i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.w)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.w))); -R1i.z = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.w))); -PS0i = R1i.y; -// 7 -R2i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.w)); -R1i.w = R126i.y; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R3i.z; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R1i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.zy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R1i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 3 -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.w = floatBitsToInt(min(intBitsToFloat(R5i.w), intBitsToFloat(R1i.z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R3i.w))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R0i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R6i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/0f9b53e33a3bdda2_0000000f0f249249_ps.txt b/Source/TokyoMirage/0f9b53e33a3bdda2_0000000f0f249249_ps.txt deleted file mode 100644 index 80d65750..00000000 --- a/Source/TokyoMirage/0f9b53e33a3bdda2_0000000f0f249249_ps.txt +++ /dev/null @@ -1,1565 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 0f9b53e33a3bdda2 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x30588000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x30634000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x30280000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x30128000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R8i.y = R127i.z; -R127i.z = R2i.x; -R7i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R8i.w = R2i.z; -R8i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS1i = R8i.x; -// 4 -R11i.x = 0; -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R7i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R11i.y = 0; -PS0i = R11i.y; -// 5 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R11i.z = 0; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 8 -R1i.x = PV1i.w << 0x00000002; -R10i.y = PV1i.w << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R9i.x = floatBitsToInt(tempResultf); -PS0i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R9i.y; -backupReg1i = R4i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R9i.x))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.x))); -PV0i.z = backupReg1i << R2i.w; -R3i.w = R10i.y + 0x00000e10; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R9i.x))); -PS0i = R6i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(backupReg0i)); -// 4 -R10i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R12i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R12i.y; -backupReg0i = R12i.y; -R5i.x = 0; -R12i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R0i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R1i.x)),-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R1i.z)),-(intBitsToFloat(R5i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -// 4 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R7i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R7i.z; -backupReg0i = R7i.z; -R7i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.x << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.y = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R4i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -R10i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R10i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R10i.x > R5i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R5i.w; -PV0i.z = R3i.w + R5i.w; -R5i.w = backupReg0i + int(1); -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R1i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.z = R10i.z + PV0i.w; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R125i.z))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -PV0i.x = clampFI32(PV0i.x); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 10 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R127i.z = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R125i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R125i.z; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.y)); -R126i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R124i.w; -// 4 -R125i.x = ((R127i.z == 0)?(0):(0x3f800000)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -R5i.z = ((R126i.w == 0)?(0):(0x3f800000)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R124i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PS0i = R124i.x; -// 5 -R0i.x = floatBitsToInt(-(intBitsToFloat(R125i.w)) + 1.0); -PV1i.x = R0i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(R125i.z)) + 1.0); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R124i.w))); -R125i.w = floatBitsToInt(min(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.w))); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS1i = R127i.x; -// 6 -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.z) + 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(R125i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -R124i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R124i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PS0i))); -R126i.z = clampFI32(R126i.z); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PS1i = R127i.y; -// 8 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.z))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R8i.x))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -PV0i.z = R127i.z; -R124i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PV0i.w = R124i.w; -R124i.z = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w)); -PS0i = R124i.z; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.y))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R1i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R1i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R1i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R126i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R124i.w; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.z))); -R125i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R7i.y)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R7i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PS1i = R127i.y; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.z))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R126i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.y))); -// 13 -backupReg0i = R127i.x; -backupReg1i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(PS0i))); -PS1i = R127i.w; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(R126i.x))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(R124i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 17 -R4i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.y = R124i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R125i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.x))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R125i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R125i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R10i.w = 0x3f800000; -PV0i.w = R10i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[2].w)); -R4i.x = floatBitsToInt(uf_blockPS8[23].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R7i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R8i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R7i.z)); -PS0i = R8i.x; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.y)); -// 6 -R4i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R7i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[6].w)); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS0i = R8i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.w; -PV0i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.w))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R4i.z))); -PV0i.w = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -PS0i = R2i.x; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.y = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.x))); -R6i.w = 0; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.y; -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].x)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + 1.0)); -R123i.x = clampFI32(R123i.x); -PV1i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PS1i = R2i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.z = floatBitsToInt(tempResultf); -PS0i = R127i.z; -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 6 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -// 7 -R4i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R127i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i)); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.x))); -// 7 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), uf_blockPS10[2].z)); -PV0i.z = R5i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R5i.w; -// 2 -R1i.xyz = ivec3(R6i.x,R6i.w,R6i.w); -R1i.w = R6i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/11ad1c7744853e28_0000000007879649_ps.txt b/Source/TokyoMirage/11ad1c7744853e28_0000000007879649_ps.txt deleted file mode 100644 index 793201ac..00000000 --- a/Source/TokyoMirage/11ad1c7744853e28_0000000007879649_ps.txt +++ /dev/null @@ -1,1084 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 11ad1c7744853e28 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1da4e000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1c2ba000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R7i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R11i.x = 0; -PS0i = R11i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.w = tempi.x; -R11i.y = 0; -PS1i = R11i.y; -// 4 -R11i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS1i = R6i.w; -// 8 -R6i.x = PV1i.w << 0x00000002; -R6i.y = PV1i.w << 0x00000005; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R12i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -PV0i.z = R8i.x << R0i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -PS0i = R10i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R6i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PS1i))); -R9i.y = PV1i.x & 0x0000ffff; -PS0i = R9i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R9i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R6i.z << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R7i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.z)),-(intBitsToFloat(R7i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = (R1i.w > R9i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.z; -PV0i.y = R4i.z + R9i.z; -R9i.z = backupReg0i + int(1); -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.x << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R6i.z].xy); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -backupReg0i = R10i.y; -R10i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.y << R0i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.y].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.x = floatBitsToInt(-(uf_blockPS2[1].y) + 1.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(-(uf_blockPS2[1].z) + 1.0); -R127i.w = floatBitsToInt(-(uf_blockPS2[1].x) + 1.0); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(R10i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R12i.x)) + -(intBitsToFloat(R10i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R3i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R3i.z)))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV1i.w = R123i.w; -R127i.y = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PS1i = R127i.y; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R4i.x = floatBitsToInt(cubeMapSTM.x); -R4i.y = floatBitsToInt(cubeMapSTM.y); -R4i.z = floatBitsToInt(cubeMapSTM.z); -R4i.w = cubeMapFaceId; -PV0i.x = R4i.x; -PV0i.y = R4i.y; -PV0i.z = R4i.z; -PV0i.w = R4i.w; -R1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV1i.w)); -PS0i = R1i.y; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R126i.w = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R1i.x = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS0i = R1i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -PV1i.y = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -R5i.y = 0; -PS1i = R5i.y; -// 6 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(R126i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(R127i.w))); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R0i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -PS0i = R0i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R4i.yx),R4i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R0i.x), -(intBitsToFloat(R0i.x)))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R1i.x))); -PV0i.w = clampFI32(PV0i.w); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.w) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 2 -backupReg0i = R127i.z; -backupReg1i = R0i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PS1i))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R2i.y))); -PV0i.y = R1i.y; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R2i.x))); -PV0i.z = R0i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(backupReg0i)),intBitsToFloat(backupReg1i)) + 1.0)); -R127i.z = clampFI32(R127i.z); -PS0i = R127i.z; -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R2i.z))); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.y)); -R2i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -R127i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R1i.w = floatBitsToInt(tempResultf); -PS1i = R1i.w; -// 4 -tempResultf = log2(intBitsToFloat(R127i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.y = floatBitsToInt(tempResultf); -PS0i = R0i.y; -// 5 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 6 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 1 -backupReg0i = R0i.z; -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.y)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R0i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R1i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.y))); -PS1i = R122i.x; -// 2 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(-(intBitsToFloat(R0i.z)) + intBitsToFloat(PV1i.w)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(R2i.x))); -PV0i.y = R123i.y; -R127i.w = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS1i)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(R127i.y))); -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(R1i.y))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + intBitsToFloat(R0i.z))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PS1i)) + intBitsToFloat(R2i.x))); -PV0i.w = R127i.w; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R4i.y)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R4i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R4i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -// 8 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -PV0i.z = R3i.z; -// 9 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R3i.w; -// 10 -R1i.xyz = ivec3(R5i.x,R5i.y,R5i.y); -R1i.w = R5i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/11cd991ec462cde6_000003c3c9249649_ps.txt b/Source/TokyoMirage/11cd991ec462cde6_000003c3c9249649_ps.txt deleted file mode 100644 index 45e84355..00000000 --- a/Source/TokyoMirage/11cd991ec462cde6_000003c3c9249649_ps.txt +++ /dev/null @@ -1,1859 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 11cd991ec462cde6 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x37174000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x37725000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36e88000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x36d30000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x37220000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x372cc000 res 256x256x1 dim 3 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R4i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R4i.x = 0; -PS0i = R4i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R4i.z = 0; -PS1i = R4i.z; -// 6 -R11i.xyz = ivec3(0,0,0); -R13i.y = 0; -PS0i = R13i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R12i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R12i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R8i.w))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = backupReg0i + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R9i.x)); -// 4 -R9i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R13i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R13i.y; -backupReg0i = R13i.y; -R5i.x = 0; -R13i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R12i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R12i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R9i.x)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R9i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.y; -PV0i.y = R3i.w + R9i.y; -R9i.y = backupReg0i + int(1); -PS0i = R9i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R9i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R9i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R9i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R12i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.x; -// 1 -R126i.x = ((intBitsToFloat(R9i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R9i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.w = ((intBitsToFloat(R9i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.w = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.w; -// 2 -R6i.x = ((PV1i.w == 0)?(0):(0x3f800000)); -PV0i.y = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -R127i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.x = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -PS0i = R125i.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(max(intBitsToFloat(R127i.z), 0.0)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -R125i.w = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV0i.w = R125i.w; -R5i.x = ((R126i.x == 0)?(0):(0x3f800000)); -PS0i = R5i.x; -// 5 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + 1.0); -R6i.y = ((R127i.y == 0)?(0):(0x3f800000)); -PV1i.y = R6i.y; -R127i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R5i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(backupReg0i))); -PS1i = R5i.y; -// 6 -backupReg0i = R127i.x; -backupReg1i = R127i.w; -R127i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.x) + 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(backupReg0i))); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.y) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -// 7 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R5i.w) + -(intBitsToFloat(R125i.w))); -R7i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.w) + -(intBitsToFloat(R126i.w))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 8 -backupReg0i = R127i.z; -R126i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.x)); -R126i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.z)); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.y)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PS1i))); -R125i.w = clampFI32(R125i.w); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R9i.x))); -PV1i.x = R124i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R9i.y))); -PV1i.y = R125i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R9i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R127i.w = clampFI32(R127i.w); -R124i.y = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(R126i.w)); -PS1i = R124i.y; -// 10 -R127i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R1i.y)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R1i.x)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R1i.z)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.w) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R125i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R125i.z))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.w) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R12i.x)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PS0i = R127i.y; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R12i.y)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R12i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R125i.y))); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R125i.z))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 14 -backupReg0i = R124i.y; -backupReg0i = R124i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R9i.y))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R124i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -PS0i = R126i.y; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.w))); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R126i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R126i.x)) + intBitsToFloat(R124i.y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R127i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[0].x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[0].x)); -R126i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.x; -// 18 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R6i.z)))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[0].x)); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 19 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.x),-0.0),vec4(-(intBitsToFloat(backupReg0i)),-(intBitsToFloat(R10i.y)),1.0,0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(R126i.x))); -PS1i = R6i.y; -// 20 -R6i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R0i.x)))); -R9i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R10i.y)))); -R5i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R6i.z)))); -R6i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(R127i.x))); -PS0i = R6i.z; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -// 6 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PV1i.y))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV1i.x))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R13i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.z),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R12i.z = floatBitsToInt(uf_blockPS4[2].x); -R12i.z = floatBitsToInt(intBitsToFloat(R12i.z) * 4.0); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R4i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[2].w)); -R9i.x = floatBitsToInt(uf_blockPS8[23].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R12i.y = floatBitsToInt(uf_blockPS8[23].y); -R12i.y = floatBitsToInt(intBitsToFloat(R12i.y) / 2.0); -PS1i = R12i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R12i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R13i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R12i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R13i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(R4i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R12i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R7i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R12i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R5i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R5i.x; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.x)); -// 6 -R10i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R5i.x) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R10i.x; -// 3 -R7i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -PV1i.y = R10i.y; -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R9i.x = floatBitsToInt(uf_blockPS8[24].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS1i = R9i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[6].w)); -R7i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R12i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R7i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R7i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -R10i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt(-(intBitsToFloat(R6i.w)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R10i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R10i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R13i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R13i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R13i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R13i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R12i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R10i.y)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R13i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R13i.z))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R13i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PS1i))); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R10i.z)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R12i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R12i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS1i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R12i.y))); -R10i.z = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R10i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R10i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.w)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -redcCUBE(vec4(intBitsToFloat(R5i.z),intBitsToFloat(R5i.z),intBitsToFloat(R6i.x),intBitsToFloat(R9i.y)),vec4(intBitsToFloat(R9i.y),intBitsToFloat(R6i.x),intBitsToFloat(R5i.z),intBitsToFloat(R5i.z)),cubeMapSTM,cubeMapFaceId); -R1i.x = floatBitsToInt(cubeMapSTM.x); -R1i.y = floatBitsToInt(cubeMapSTM.y); -R1i.z = floatBitsToInt(cubeMapSTM.z); -R1i.w = cubeMapFaceId; -PV0i.x = R1i.x; -PV0i.y = R1i.y; -PV0i.z = R1i.z; -PV0i.w = R1i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R8i.x))); -PS0i = R127i.x; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), uf_blockPS3[21].x)); -PV1i.x = R126i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R10i.z))) + uf_blockPS10[1].z)); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R8i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R8i.y))); -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg2i = R127i.x; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R2i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.y)); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PV1i.x))); -PS0i = R127i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R10i.z)) + uf_blockPS3[19].w)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R126i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R126i.x))); -R2i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -PS1i = R2i.z; -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.w) + -(intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.x))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.x))); -PS0i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 5 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), uf_blockPS3[10].x)); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(R6i.z))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), uf_blockPS3[10].z)); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), uf_blockPS3[10].y)); -R4i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -PS1i = R4i.w; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R1i.yx),R1i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R6i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R2i.z)); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R3i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R4i.w)),intBitsToFloat(PS0i)) + 1.0)); -R123i.z = clampFI32(R123i.z); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R3i.z))); -PV1i.w = R123i.w; -R0i.z = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PS1i = R0i.z; -// 2 -backupReg0i = R2i.x; -backupReg1i = R5i.w; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R2i.y))); -PV0i.z = R123i.z; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.w))); -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R3i.z = floatBitsToInt(tempResultf); -PS0i = R3i.z; -// 3 -backupReg0i = R4i.z; -R0i.y = 0; -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.y)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R3i.z))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), uf_blockPS10[5].x)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(R2i.x))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R4i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R5i.w))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(PV1i.z)); -// 5 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R4i.z))); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(R5i.w))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(R2i.x))); -PV1i.z = R127i.z; -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.z))); -PV1i.z = R123i.z; -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 9 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R3i.z; -// 10 -R1i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R1i.w = R3i.w; -// 11 -R2i.xyz = ivec3(R0i.x,R0i.y,R0i.y); -R2i.w = R0i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor2 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/13727f533f0b02e5_000000003c3c9249_ps.txt b/Source/TokyoMirage/13727f533f0b02e5_000000003c3c9249_ps.txt deleted file mode 100644 index fd92e9e1..00000000 --- a/Source/TokyoMirage/13727f533f0b02e5_000000003c3c9249_ps.txt +++ /dev/null @@ -1,999 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 13727f533f0b02e5 -uniform ivec4 uf_remappedPS[28]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1a5f0000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1a5d8000 res 256x256x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.y = R1i.x; -PS0i = R126i.y; -// 1 -R127i.x = PV0i.w; -R125i.y = R1i.y; -R126i.z = R2i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -R125i.z = R2i.y; -PS1i = R125i.z; -// 2 -R126i.x = R127i.y; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R127i.w = R2i.z; -R124i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -PS0i = R124i.x; -// 3 -R127i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R5i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R124i.z = floatBitsToInt(sqrt(intBitsToFloat(PV0i.y))); -PS1i = R124i.z; -// 4 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.z),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R125i.z))); -// 5 -backupReg0i = R125i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R127i.w))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R1i.z),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.z))); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), -(intBitsToFloat(uf_remappedPS[1].z)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(PS1i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS0i = R127i.w; -// 9 -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(PV0i.x),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[1].x)),-(intBitsToFloat(uf_remappedPS[1].y)),1.0,0.0))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -// 10 -PV0i.x = ((0.0 >= intBitsToFloat(PV1i.x))?int(0xFFFFFFFF):int(0x0)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R127i.w))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R127i.w))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.w)); -PS0i = floatBitsToInt(tempResultf); -// 11 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS0i))); -R2i.w = ((PV0i.x == 0)?(0):(0)); -R1i.z = ((PV0i.x == 0)?(0):(0x3f800000)); -PS1i = R1i.z; -// 12 -predResult = (R1i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R1i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[2].x) >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(uf_remappedPS[3].x))); -R7i.w = 0x3f800000; -PV0i.w = R7i.w; -R6i.w = uf_remappedPS[4].x; -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R4i.x; -// 4 -R5i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(uf_remappedPS[9].w))); -R9i.x = uf_remappedPS[8].x; -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(uf_remappedPS[9].z)) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R11i.y = uf_remappedPS[8].y; -R11i.y = floatBitsToInt(intBitsToFloat(R11i.y) / 2.0); -PS1i = R11i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(uf_remappedPS[9].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),intBitsToFloat(uf_remappedPS[9].x)) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R4i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].x)) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R12i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R11i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].y)) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R10i.y; -R10i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R10i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].y) /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(R4i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R10i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R10i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R9i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].x) /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R11i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].y) /resScale * 0.5 + intBitsToFloat(R10i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R10i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(uf_remappedPS[10].x)); -// 2 -backupReg0i = R4i.w; -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R4i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w)); -PS0i = R4i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.y)); -// 6 -R8i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R4i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R9i.x; -// 3 -R4i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R11i.y; -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(uf_remappedPS[15].x))); -R8i.x = uf_remappedPS[14].x; -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS1i = R8i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(uf_remappedPS[16].w))); -R4i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R10i.y = uf_remappedPS[14].y; -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS0i = R10i.y; -} -if( activeMaskStackC[4] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[5] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R11i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.w))?1.0:0.0); -R11i.y = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R3i.z)); -PS0i = R11i.y; -} -if( activeMaskStackC[4] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R11i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[5] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -R127i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[10].x)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R8i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R8i.y; -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R8i.x = uf_remappedPS[14].x; -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -R8i.y = uf_remappedPS[14].y; -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R6i.w = uf_remappedPS[4].x; -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -backupReg0i = R3i.w; -R4i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(uf_remappedPS[15].x))); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[16].w))); -R4i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.w))?1.0:0.0); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.z)); -PS0i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R10i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R3i.y))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[4].x) == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(uf_remappedPS[17].x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R2i.w = floatBitsToInt(min(intBitsToFloat(R9i.y), intBitsToFloat(R8i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[18].z),-(intBitsToFloat(R2i.w))) + intBitsToFloat(uf_remappedPS[18].z))); -PS0i = R122i.x; -// 1 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R127i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].x)) + 1.0); -R6i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(uf_remappedPS[19].x), intBitsToFloat(0x33d6bf95))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS1i = R0i.x; -// 2 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[20].x), intBitsToFloat(uf_remappedPS[21].y))); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R2i.z = 0; -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[20].y), intBitsToFloat(uf_remappedPS[21].y))); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R126i.x; -// 3 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[20].w), intBitsToFloat(uf_remappedPS[21].y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[20].z), intBitsToFloat(uf_remappedPS[21].y))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -// 4 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[22].x))); -// 5 -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.z)),intBitsToFloat(R126i.x)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -R4i.xyz = ivec3(uf_remappedPS[23].x,uf_remappedPS[23].y,uf_remappedPS[23].z); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].y), intBitsToFloat(PS0i))); -// 8 -R3i.xyz = ivec3(uf_remappedPS[24].x,uf_remappedPS[24].y,uf_remappedPS[24].z); -R2i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R2i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[25].y)) + intBitsToFloat(uf_remappedPS[26].y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[25].x)) + intBitsToFloat(uf_remappedPS[26].x))); -PV0i.y = R123i.y; -// 1 -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -PV1i.z = R127i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[25].z)) + intBitsToFloat(uf_remappedPS[26].z))); -PV1i.w = R123i.w; -// 2 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R1i.z))); -PV0i.x = R126i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[27].z)) + intBitsToFloat(uf_remappedPS[27].w)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R0i.w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R6i.x)); -// 3 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(R127i.z))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.z)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R127i.y))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -backupReg0i = R0i.y; -backupReg1i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(R126i.x))); -PV0i.z = R123i.z; -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.z))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R2i.x)) + intBitsToFloat(R126i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R3i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R3i.x))); -// 7 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R4i.y))); -PS1i = R5i.y; -// 8 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.z))); -PV0i.z = R5i.z; -// 9 -R0i.xyz = ivec3(R5i.x,R5i.y,PV0i.z); -R0i.w = R5i.w; -// 10 -R1i.xyz = ivec3(R2i.w,R2i.z,R2i.z); -R1i.w = R2i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/15818f56e475e8dd_000000003c3c9649_ps.txt b/Source/TokyoMirage/15818f56e475e8dd_000000003c3c9649_ps.txt deleted file mode 100644 index c92454b3..00000000 --- a/Source/TokyoMirage/15818f56e475e8dd_000000003c3c9649_ps.txt +++ /dev/null @@ -1,1225 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 15818f56e475e8dd -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1d217000 res 256x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x1bd68000 res 128x256x1 dim 1 tm: 4 format 0035 compSel: 0 0 0 1 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1bf40000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R12i.x = 0; -R12i.y = 0; -R3i.z = 0; -R1i.w = 0; -R12i.z = 0; -PS0i = R12i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS0i = R6i.w; -// 9 -R6i.x = PV0i.z << 0x00000002; -R6i.y = PV0i.z << 0x00000005; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R9i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R9i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = R6i.y + 0x00000e10; -PS0i = R4i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R7i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R9i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.x; -backupReg0i = R9i.x; -R9i.x = backupReg0i + int(1); -PV0i.w = R4i.z + backupReg0i; -// 1 -R6i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(intBitsToFloat(R6i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R3i.x; -backupReg1i = R3i.z; -backupReg2i = R3i.y; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R3i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R13i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R13i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = (R13i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R4i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.z].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R12i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.xyz = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].y),-(uf_blockPS2[1].z)) + vec3(1.0,1.0,1.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R9i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R9i.z; -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R3i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R3i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(R11i.x)),-(intBitsToFloat(R10i.y)),-(intBitsToFloat(R10i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R126i.y; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R11i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R10i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R10i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PS1i = R127i.y; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R4i.x = floatBitsToInt(cubeMapSTM.x); -R4i.y = floatBitsToInt(cubeMapSTM.y); -R4i.z = floatBitsToInt(cubeMapSTM.z); -R4i.w = cubeMapFaceId; -PV0i.x = R4i.x; -PV0i.y = R4i.y; -PV0i.z = R4i.z; -PV0i.w = R4i.w; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.z; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R3i.x))); -PS0i = R5i.y; -// 5 -PV1i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R1i.z)) + uf_blockPS3[19].w)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R2i.w = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(R127i.y)); -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R3i.y))); -PS1i = R1i.x; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(R126i.y))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.x))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R3i.z))); -PS0i = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -// 7 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -R1i.y = clampFI32(R1i.y); -R1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); -R2i.y = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R2i.y; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R4i.yx),R4i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R1i.y))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.y) + intBitsToFloat(0x40400000))); -PV0i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.w)),intBitsToFloat(R2i.y)) + 1.0)); -R122i.x = clampFI32(R122i.x); -PS0i = R122i.x; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.z))); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS1i))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -R0i.w = 0; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R0i.y; -// 4 -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[21].x)); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.z))); -// 8 -R3i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -// 9 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R1i.x; -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R7i.z)) + intBitsToFloat(PV0i.y))); -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.z))); -PV1i.w = R3i.w; -// 10 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i)); -R5i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R1i.z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(PV0i.z)) + intBitsToFloat(R3i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R1i.x)) + intBitsToFloat(PV1i.y)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R3i.z))); -PV0i.w = R123i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.w))); -PV1i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R0i.y)) + intBitsToFloat(R1i.x))); -PV1i.w = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R4i.x)); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.z))); -PV0i.y = R126i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R4i.y)); -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R4i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.y))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 7 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PS1i = R2i.y; -// 8 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -// 3 -R1i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R1i.w = R2i.w; -// 4 -R2i.xyz = ivec3(R0i.x,R0i.w,R0i.w); -R2i.w = R0i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor2 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/201bd8dfd2a9e7d3_0000000000000000_vs.txt b/Source/TokyoMirage/201bd8dfd2a9e7d3_0000000000000000_vs.txt deleted file mode 100644 index 5bd659bc..00000000 --- a/Source/TokyoMirage/201bd8dfd2a9e7d3_0000000000000000_vs.txt +++ /dev/null @@ -1,168 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 201bd8dfd2a9e7d3 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 5) out vec4 passParameterSem141; -layout(location = 2) out vec4 passParameterSem138; -layout(location = 3) out vec4 passParameterSem139; -layout(location = 4) out vec4 passParameterSem140; -layout(location = 1) out vec4 passParameterSem137; -layout(location = 0) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R123f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, intBitsToFloat(uf_remappedVS[0].w)); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resYScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); -PV0f.w = R123f.w; -// 1 -R6f.x = PV0f.w + PV0f.y; -PV1f.x = R6f.x; -R6f.y = PV0f.z + PV0f.x; -PV1f.y = R6f.y; -PV1f.z = PV0f.z + -(PV0f.x); -PV1f.w = PV0f.w + -(PV0f.y); -// 2 -R5f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV1f.x); -PV0f.x = R5f.x; -R5f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV1f.y); -R6f.z = PV1f.w; -PV0f.z = R6f.z; -R6f.w = PV1f.z; -PV0f.w = R6f.w; -// 3 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -R0f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV0f.x); -PS1f = R0f.x; -// 4 -R3f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PS1f); -PV0f.x = R3f.x; -R0f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + R5f.y); -PV0f.y = R0f.y; -R5f.z = PV1f.y; -PV0f.z = R5f.z; -R5f.w = PV1f.x; -PV0f.w = R5f.w; -// 5 -R4f.x = (intBitsToFloat(uf_remappedVS[0].x) / resYScale * 2.0 + PV0f.x); -PV1f.x = R4f.x; -R3f.y = (intBitsToFloat(uf_remappedVS[0].y) / resXScale * 2.0 + PV0f.y); -PV1f.y = R3f.y; -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 6 -R2f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV1f.x); -R4f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV1f.y); -PV0f.y = R4f.y; -R0f.z = PV1f.w; -PV0f.z = R0f.z; -R0f.w = PV1f.z; -PV0f.w = R0f.w; -// 7 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -R2f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV0f.y); -PS1f = R2f.y; -// 8 -R3f.z = PV1f.y; -PV0f.z = R3f.z; -R3f.w = PV1f.x; -PV0f.w = R3f.w; -// 9 -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 10 -R4f.z = PV1f.w; -PV0f.z = R4f.z; -R4f.w = PV1f.z; -PV0f.w = R4f.w; -// 11 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -// 12 -R2f.z = PV1f.y; -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem141 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -passParameterSem138 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem139 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// export -passParameterSem140 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -// export -passParameterSem137 = vec4(R5f.x, R5f.y, R5f.z, R5f.w); -// export -passParameterSem136 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -} diff --git a/Source/TokyoMirage/23c5bbfda0fc3b0f_0000000000000000_vs.txt b/Source/TokyoMirage/23c5bbfda0fc3b0f_0000000000000000_vs.txt deleted file mode 100644 index 52dded07..00000000 --- a/Source/TokyoMirage/23c5bbfda0fc3b0f_0000000000000000_vs.txt +++ /dev/null @@ -1,96 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 23c5bbfda0fc3b0f -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem137; -layout(location = 0) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R123f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, intBitsToFloat(uf_remappedVS[0].w)); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resYScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); -PV0f.w = R123f.w; -// 1 -R0f.x = PV0f.w + PV0f.y; -PV1f.x = R0f.x; -R0f.y = PV0f.z + PV0f.x; -PV1f.y = R0f.y; -PV1f.z = PV0f.z + -(PV0f.x); -PV1f.w = PV0f.w + -(PV0f.y); -// 2 -R2f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV1f.x); -R2f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV1f.y); -R0f.z = PV1f.w; -PV0f.z = R0f.z; -R0f.w = PV1f.z; -PV0f.w = R0f.w; -// 3 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -// 4 -R2f.z = PV1f.y; -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem137 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -passParameterSem136 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -} diff --git a/Source/TokyoMirage/2b2102290296ed7b_000000003c3c9649_ps.txt b/Source/TokyoMirage/2b2102290296ed7b_000000003c3c9649_ps.txt deleted file mode 100644 index 56ae32a9..00000000 --- a/Source/TokyoMirage/2b2102290296ed7b_000000003c3c9649_ps.txt +++ /dev/null @@ -1,1182 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 2b2102290296ed7b -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x19a63000 res 512x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x19a79000 res 512x256x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x199de000 res 256x256x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x188a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R13i.x = 0; -PS0i = R13i.x; -// 3 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R13i.y = 0; -PS1i = R13i.y; -// 4 -R12i.x = 0; -R12i.y = 0; -R13i.z = 0; -R1i.w = 0; -R12i.z = 0; -PS0i = R12i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS0i = R6i.w; -// 9 -R6i.x = PV0i.z << 0x00000002; -R6i.y = PV0i.z << 0x00000005; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R9i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R9i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R3i.z = R6i.y + 0x00000e10; -PS0i = R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R7i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R3i.z + backupReg0i; -// 1 -R6i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(intBitsToFloat(R6i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R13i.x; -backupReg1i = R13i.z; -backupReg2i = R13i.y; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R13i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R3i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.z].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.xyz = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].y),-(uf_blockPS2[1].z)) + vec3(1.0,1.0,1.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R9i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R9i.z; -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(R11i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R10i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R126i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R11i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R3i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R10i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PS1i = R127i.x; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R4i.x = floatBitsToInt(cubeMapSTM.x); -R4i.y = floatBitsToInt(cubeMapSTM.y); -R4i.z = floatBitsToInt(cubeMapSTM.z); -R4i.w = cubeMapFaceId; -PV0i.x = R4i.x; -PV0i.y = R4i.y; -PV0i.z = R4i.z; -PV0i.w = R4i.w; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.y; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(R1i.z)) + uf_blockPS3[19].w)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R2i.x))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R1i.w = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(backupReg0i)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R2i.y))); -PS0i = R3i.w; -// 5 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R2i.z))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(R4i.z))); -// 6 -backupReg0i = R4i.y; -backupReg1i = R0i.z; -backupReg2i = R4i.x; -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R127i.x))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R0i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(R126i.x))); -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg2i),intBitsToFloat(PS1i)) + 1.5)); -PS0i = R4i.x; -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.y))); -R0i.x = clampFI32(R0i.x); -R7i.y = 0; -} -if( activeMaskStackC[1] == true ) { -R3i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R4i.yx),R4i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R0i.x) + intBitsToFloat(0x40400000))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R0i.x))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.z))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.x))); -// 2 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.x = floatBitsToInt(tempResultf); -PS0i = R0i.x; -// 3 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R0i.x))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 2 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[21].x)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.y))); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.x))); -R126i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 6 -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R5i.z)) + intBitsToFloat(PV1i.x))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R5i.y)) + intBitsToFloat(PV1i.y))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.z))); -PV0i.w = R127i.w; -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R3i.y)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R3i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R3i.z)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -PV0i.z = R123i.z; -// 9 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -// 10 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -PV0i.x = R6i.x; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.y = R6i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -PV0i.z = R6i.z; -// 11 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R6i.w; -// 12 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/2ccf4df3c71a294b_00000000f0f0f249_ps.txt b/Source/TokyoMirage/2ccf4df3c71a294b_00000000f0f0f249_ps.txt deleted file mode 100644 index 35be57ed..00000000 --- a/Source/TokyoMirage/2ccf4df3c71a294b_00000000f0f0f249_ps.txt +++ /dev/null @@ -1,871 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 2ccf4df3c71a294b -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c43d000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R8i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R10i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R7i.x = floatBitsToInt(tempResultf); -PS0i = R7i.x; -// 7 -R6i.x = PV0i.w << 0x00000002; -R6i.y = PV0i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = R6i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.x))); -PV0i.z = R8i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R7i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.x + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R6i.z << R3i.z; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R7i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.z)),-(intBitsToFloat(R7i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.y << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R9i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.x; -backupReg0i = R9i.x; -R9i.x = backupReg0i + int(1); -PV0i.y = R3i.x + backupReg0i; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R6i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.y = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -R11i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R11i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R11i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -backupReg0i = R3i.y; -R3i.y = backupReg0i + int(1); -PV0i.z = R3i.x + backupReg0i; -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.y << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R8i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.y].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.x = floatBitsToInt(-(uf_blockPS2[1].y) + 1.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(-(uf_blockPS2[1].z) + 1.0); -R127i.w = floatBitsToInt(-(uf_blockPS2[1].x) + 1.0); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.y = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R0i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockPS3[8].x)); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), uf_blockPS3[8].y)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -R2i.w = 0; -PS0i = R2i.w; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[5].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS3[8].w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), uf_blockPS3[8].z)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[5].x)); -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS10[2].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[5].x)); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[5].x)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS0i = R3i.w; -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, uf_blockPS3[20].z)); -R1i.z = 0; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.y; -// 4 -R0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, uf_blockPS3[20].y)); -R0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, uf_blockPS3[20].x)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -PS0i = R2i.z; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV0i.z))); -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R4i.z))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), intBitsToFloat(R127i.x))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(PV1i.x))); -// 5 -R6i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R6i.w = R2i.w; -// 6 -R4i.xyz = ivec3(R3i.x,R3i.y,R3i.z); -R4i.w = R3i.w; -// 7 -R5i.xyz = ivec3(R1i.y,R1i.z,R1i.z); -R5i.w = R1i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/3259d3b3ca333bf3_0000000000000000_vs.txt b/Source/TokyoMirage/3259d3b3ca333bf3_0000000000000000_vs.txt deleted file mode 100644 index 8a894c85..00000000 --- a/Source/TokyoMirage/3259d3b3ca333bf3_0000000000000000_vs.txt +++ /dev/null @@ -1,116 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 3259d3b3ca333bf3 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 2) out vec4 passParameterSem138; -layout(location = 1) out vec4 passParameterSem137; -layout(location = 0) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resYScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); -PV0f.x = R127f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); -PV0f.y = R123f.y; -R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.z = R127f.z; -PV0f.w = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, intBitsToFloat(uf_remappedVS[0].w)); -// 1 -PV1f.x = PV0f.x + -(PV0f.z); -PV1f.y = PV0f.y + -(PV0f.w); -R3f.x = PV0f.y + PV0f.w; -PS1f = R3f.x; -// 2 -R0f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PS1f); -PV0f.x = R0f.x; -R3f.y = R127f.x + R127f.z; -PV0f.y = R3f.y; -R3f.z = PV1f.y; -PV0f.z = R3f.z; -R3f.w = PV1f.x; -PV0f.w = R3f.w; -// 3 -R2f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV0f.x); -R0f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV0f.y); -PV1f.y = R0f.y; -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 4 -R2f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV1f.y); -R0f.z = PV1f.w; -PV0f.z = R0f.z; -R0f.w = PV1f.z; -PV0f.w = R0f.w; -// 5 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -// 6 -R2f.z = PV1f.y; -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem138 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -passParameterSem137 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem136 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -} diff --git a/Source/TokyoMirage/3580dbf90f8599b5_0000003c3c3c9649_ps.txt b/Source/TokyoMirage/3580dbf90f8599b5_0000003c3c3c9649_ps.txt deleted file mode 100644 index 52e50740..00000000 --- a/Source/TokyoMirage/3580dbf90f8599b5_0000003c3c3c9649_ps.txt +++ /dev/null @@ -1,1286 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 3580dbf90f8599b5 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x199fe000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x1a463000 res 128x128x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1a15c000 res 256x256x1 dim 3 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a1000 res 2048x2048x1 dim 1 tm: 4 format 0034 compSel: 4 4 4 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R13i.x = 0; -PS0i = R13i.x; -// 3 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R13i.y = 0; -PS1i = R13i.y; -// 4 -R12i.x = 0; -R12i.y = 0; -R13i.z = 0; -R1i.w = 0; -R12i.z = 0; -PS0i = R12i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS0i = R6i.w; -// 9 -R6i.x = PV0i.z << 0x00000002; -R6i.y = PV0i.z << 0x00000005; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R9i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R9i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R3i.z = R6i.y + 0x00000e10; -PS0i = R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R7i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R3i.z + backupReg0i; -// 1 -R6i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(intBitsToFloat(R6i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R13i.x; -backupReg1i = R13i.z; -backupReg2i = R13i.y; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R13i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R3i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.z].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.xyz = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].y),-(uf_blockPS2[1].z)) + vec3(1.0,1.0,1.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R9i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R9i.z; -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R3i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R3i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = floatBitsToInt(min(intBitsToFloat(R1i.z), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R5i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(R11i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R10i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R11i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R3i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R10i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R126i.w = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R126i.w; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R4i.x = floatBitsToInt(cubeMapSTM.x); -R4i.y = floatBitsToInt(cubeMapSTM.y); -R4i.z = floatBitsToInt(cubeMapSTM.z); -R4i.w = cubeMapFaceId; -PV0i.x = R4i.x; -PV0i.y = R4i.y; -PV0i.z = R4i.z; -PV0i.w = R4i.w; -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.x; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R126i.w)) + 1.0); -R122i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R3i.z))) + uf_blockPS10[1].z)); -PS0i = R122i.x; -// 5 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -PV1i.x = R2i.x; -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R1i.z = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PS0i)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R5i.x))); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(R126i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(R127i.w))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R5i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.z)) + uf_blockPS3[19].w)); -PS0i = R122i.x; -// 7 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R126i.x))); -R1i.x = clampFI32(R1i.x); -R1i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PS0i))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -R1i.w = clampFI32(R1i.w); -R2i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -PS1i = R2i.z; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R4i.yx),R4i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R1i.x))); -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.w) + intBitsToFloat(0x40400000))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R1i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.x) + intBitsToFloat(0x40400000))); -PV0i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PS0i = R122i.x; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(intBitsToFloat(R2i.x) + -(intBitsToFloat(R1i.y))); -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(max(intBitsToFloat(PS1i), -(intBitsToFloat(PS1i)))); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), uf_blockPS3[8].x)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), uf_blockPS3[8].y)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV0i.z))); -tempResultf = log2(intBitsToFloat(R127i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), uf_blockPS3[8].z)); -R3i.y = 0; -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS3[8].w)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -R7i.w = 0; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[21].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.x))); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R2i.z)); -PS0i = R126i.y; -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV0i.x))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.y))); -PS1i = R2i.z; -// 8 -backupReg0i = R5i.z; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.w))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R127i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.y))); -R122i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R122i.x = clampFI32(R122i.x); -PS0i = R122i.x; -// 9 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R6i.z)) + intBitsToFloat(PV0i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R6i.y)) + intBitsToFloat(PV0i.x))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(PV0i.y))); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R126i.z))); -// 11 -R0i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -R2i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R2i.y; -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS3[10].z)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS3[10].y)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS3[10].x)); -// 2 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R3i.z))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(R5i.x))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R5i.y))); -PV0i.w = R126i.w; -PS0i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(PS0i)); -R126i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R126i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R127i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), uf_blockPS10[5].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[5].x)); -PS0i = R127i.y; -// 5 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS10[5].x)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.y)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), uf_blockPS10[5].x)); -PS1i = R125i.w; -// 6 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[2].x)); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R2i.y)) + intBitsToFloat(R126i.w))); -PV0i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R2i.y)) + intBitsToFloat(R127i.x))); -PV0i.w = R127i.w; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[2].y)); -PS0i = R127i.y; -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R4i.x)); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R2i.y)) + intBitsToFloat(R127i.z))); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R4i.y)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), uf_blockPS10[2].z)); -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.y))); -PS1i = R7i.x; -// 8 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R0i.z)) + intBitsToFloat(R126i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.w))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R4i.z)); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R127i.y))); -PS0i = R7i.y; -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R126i.y))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R126i.w))); -PS1i = R7i.z; -// 10 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[20].z)); -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(PV1i.z))); -PS0i = R0i.y; -// 11 -R0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(PV0i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -// 3 -R6i.xyz = ivec3(R7i.x,R7i.y,R7i.z); -R6i.w = R7i.w; -// 4 -R4i.xyz = ivec3(R0i.x,R0i.y,R0i.z); -R4i.w = R0i.w; -// 5 -R5i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R5i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/378c2086d302df76_0000007879249249_ps.txt b/Source/TokyoMirage/378c2086d302df76_0000007879249249_ps.txt deleted file mode 100644 index 42c87f96..00000000 --- a/Source/TokyoMirage/378c2086d302df76_0000007879249249_ps.txt +++ /dev/null @@ -1,1728 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 378c2086d302df76 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3658c000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x36638000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36484000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x3632c000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x36664000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R12i.x = 0; -PS0i = R12i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R12i.z = 0; -PS1i = R12i.z; -// 6 -R13i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R11i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R9i.y; -PV0i.x = R11i.x << R2i.w; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = R10i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R9i.x)); -// 4 -R9i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R6i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R13i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R13i.x; -// 8 -backupReg0i = R13i.y; -backupReg1i = R13i.z; -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R11i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -R0i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R0i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R0i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R13i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R13i.x; -// 13 -backupReg0i = R13i.y; -backupReg1i = R13i.z; -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R11i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R9i.x)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -PV0i.y = R3i.w + backupReg0i; -R0i.y = backupReg0i + int(1); -PS0i = R0i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R9i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R9i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R8i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R10i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R127i.w = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R124i.y = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R124i.y; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -R126i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R6i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R125i.y; -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.w; -R124i.x = ((R126i.y == 0)?(0):(0x3f800000)); -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R5i.z = ((backupReg1i == 0)?(0):(0x3f800000)); -PS0i = R5i.z; -// 5 -backupReg0i = R125i.y; -R6i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PV1i.x = R6i.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + 1.0); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R124i.y)) + 1.0); -R0i.x = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -PS1i = R0i.x; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.z) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R126i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R124i.y))); -R126i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(PS0i)) + 1.0)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R6i.y))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -// 8 -backupReg0i = R125i.y; -R126i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -R125i.y = clampFI32(R125i.y); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -backupReg0i = R127i.y; -backupReg1i = R126i.w; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R7i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R127i.y = clampFI32(R127i.y); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.x))); -PV1i.z = R124i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R7i.z))); -R124i.w = floatBitsToInt(-(intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i)); -PS1i = R124i.w; -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R1i.z)); -R124i.y = floatBitsToInt(intBitsToFloat(R124i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R1i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R1i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PS0i = R126i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R125i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.y))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.y) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R124i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(backupReg2i)) + intBitsToFloat(R126i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PS1i))); -PS0i = R1i.w; -// 13 -backupReg0i = R125i.z; -backupReg1i = R125i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R8i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R8i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R125i.x))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PS1i = R126i.x; -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -PS0i = R124i.z; -// 15 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(R126i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R124i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R124i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[0].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 18 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R4i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 19 -R9i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -// 4 -R0i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -R10i.w = floatBitsToInt(uf_blockPS4[2].x); -R10i.w = floatBitsToInt(intBitsToFloat(R10i.w) * 4.0); -PS0i = R10i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[2].w)); -R4i.x = floatBitsToInt(uf_blockPS8[23].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R7i.y = floatBitsToInt(uf_blockPS8[23].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS1i = R7i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R8i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R9i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R9i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R8i.z)); -PS0i = R9i.x; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R9i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R7i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R7i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.y)); -// 6 -R4i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R7i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R8i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[6].w)); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS0i = R0i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R6i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R6i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.x), intBitsToFloat(R10i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.w))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(R10i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R10i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), uf_blockPS3[21].x)); -// 1 -R1i.x = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.w)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R125i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -R7i.y = 0; -PS0i = R7i.y; -// 3 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.y))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 4 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R125i.z)); -// 5 -backupReg0i = R0i.z; -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -// 8 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -// 2 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(R2i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(R2i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(R2i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R125i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R125i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.z))); -PV1i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.x))); -// 8 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R5i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), uf_blockPS10[2].x)); -PV0i.x = R6i.x; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.y = R6i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[2].z)); -PV0i.z = R6i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R6i.w; -// 2 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/38e10e2b4b676385_00000000078792c9_ps.txt b/Source/TokyoMirage/38e10e2b4b676385_00000000078792c9_ps.txt deleted file mode 100644 index 493c9ab8..00000000 --- a/Source/TokyoMirage/38e10e2b4b676385_00000000078792c9_ps.txt +++ /dev/null @@ -1,1141 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 38e10e2b4b676385 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x19be1000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x19b6c000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x199de000 res 256x256x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R5i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R11i.x = 0; -PS0i = R11i.x; -// 3 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R11i.y = 0; -PS1i = R11i.y; -// 4 -R10i.x = 0; -R10i.y = 0; -R11i.z = 0; -R1i.w = 0; -R10i.z = 0; -PS0i = R10i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS0i = R5i.w; -// 9 -R5i.x = PV0i.z << 0x00000002; -R5i.y = PV0i.z << 0x00000005; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R8i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = R5i.y + 0x00000e10; -PS0i = R4i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R7i.y = PV1i.w & 0x0000ffff; -PS0i = R7i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R7i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R5i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), -(intBitsToFloat(R6i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.x)) + intBitsToFloat(R6i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R6i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R3i.z)) + intBitsToFloat(R6i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),-(intBitsToFloat(R6i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R6i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),-(intBitsToFloat(R6i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R4i.z + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) + -(intBitsToFloat(R5i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R3i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R11i.x; -backupReg1i = R11i.z; -backupReg2i = R11i.y; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R11i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R4i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R5i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.z].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R3i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -backupReg3i = R10i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R10i.x; -// 13 -backupReg0i = R10i.y; -backupReg1i = R10i.z; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -// 2 -R7i.y = ((PV1i.x == 0)?(0):(0)); -R5i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R5i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R7i.y; -R7i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(-(intBitsToFloat(R12i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R9i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R126i.z; -// 1 -R125i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R12i.x)))); -R125i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R3i.y)))); -R125i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R3i.z)) + -(intBitsToFloat(R9i.z)))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.y))) + uf_blockPS10[1].z)); -PS1i = R127i.z; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.w; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R4i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(R127i.z)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(R2i.x))); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R2i.z))); -PS1i = R4i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R2i.y))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R7i.y)) + uf_blockPS3[19].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS10[5].x)); -PS0i = R6i.w; -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R126i.z))); -R7i.z = 0; -// 6 -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.w))); -R126i.z = clampFI32(R126i.z); -PV0i.z = R126i.z; -// 7 -redcCUBE(vec4(intBitsToFloat(R125i.z),intBitsToFloat(R125i.z),intBitsToFloat(R125i.x),intBitsToFloat(R125i.y)),vec4(intBitsToFloat(R125i.y),intBitsToFloat(R125i.x),intBitsToFloat(R125i.z),intBitsToFloat(R125i.z)),cubeMapSTM,cubeMapFaceId); -R0i.x = floatBitsToInt(cubeMapSTM.x); -R0i.y = floatBitsToInt(cubeMapSTM.y); -R0i.z = floatBitsToInt(cubeMapSTM.z); -R0i.w = cubeMapFaceId; -PV1i.x = R0i.x; -PV1i.y = R0i.y; -PV1i.z = R0i.z; -PV1i.w = R0i.w; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -PS1i = R125i.y; -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PS0i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS0i)) + 1.5)); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS0i)) + 1.5)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV0i.x))); -} -if( activeMaskStackC[1] == true ) { -R0i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R0i.yx),R0i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -// 2 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV0i.z = R123i.z; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS3[21].x)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.w))); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R3i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R3i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R3i.z))); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.z)) + intBitsToFloat(PV0i.w))); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R5i.y)) + intBitsToFloat(PV0i.x))); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.y))); -PV1i.z = R126i.z; -// 8 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R0i.y)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.z)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(R125i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(R126i.z))); -PV1i.z = R123i.z; -// 10 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[20].z)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS10[2].x)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[2].z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -// 3 -R0i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -R0i.w = R6i.w; -// 4 -R1i.xyz = ivec3(R7i.x,R7i.z,R7i.z); -R1i.w = R7i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/39500ee79c45c24e_00000001e1e49249_ps.txt b/Source/TokyoMirage/39500ee79c45c24e_00000001e1e49249_ps.txt deleted file mode 100644 index c593be42..00000000 --- a/Source/TokyoMirage/39500ee79c45c24e_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1504 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 39500ee79c45c24e -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x34b86000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x34ad6000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R9i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R9i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R3i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R7i.x << R9i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R10i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R9i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.x & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R9i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R9i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.y << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R8i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.z > R8i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.y; -backupReg0i = R8i.y; -R8i.y = backupReg0i + int(1); -PV0i.w = R9i.z + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R9i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PV1i.x = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.z << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R11i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R11i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R11i.x; -backupReg0i = R11i.x; -R11i.x = backupReg0i + int(1); -PV0i.z = R9i.z + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R5i.y << R9i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -R127i.w = clampFI32(R127i.w); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.x))); -PV1i.z = clampFI32(PV1i.z); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.x))); -// 9 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R126i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.x = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R126i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.y = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R124i.w; -// 4 -R125i.x = ((R127i.y == 0)?(0):(0x3f800000)); -R4i.y = ((R126i.w == 0)?(0):(0x3f800000)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R124i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PS0i = R124i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R0i.y = floatBitsToInt(-(intBitsToFloat(R125i.w)) + 1.0); -PV1i.y = R0i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R124i.w))); -R125i.w = floatBitsToInt(min(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS1i = R127i.x; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.y) + 1.0)); -R126i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(backupReg0i))); -R124i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R127i.x = clampFI32(R127i.x); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R4i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.z = R4i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R124i.z)) + 1.0); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PS1i = R127i.z; -// 8 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.z))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -PV0i.y = R125i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R8i.x))); -PV0i.z = R126i.z; -R124i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PV0i.w = R124i.w; -R124i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.w)); -PS0i = R124i.y; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R5i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R5i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R5i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R127i.x))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -backupReg0i = R124i.w; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R9i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R9i.y)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(PV0i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R9i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS1i = R127i.z; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R125i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R126i.z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R8i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R8i.z))); -// 13 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R8i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R126i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R124i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[0].x)); -// 16 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 17 -R5i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R124i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV1i.y))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.x))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R6i.z = floatBitsToInt(uf_blockPS4[2].x); -R6i.z = floatBitsToInt(intBitsToFloat(R6i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[23].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.w))?1.0:0.0); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.w)) + intBitsToFloat(R3i.z)); -PS0i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R5i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R4i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R5i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R5i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R9i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV0i.w)); -// 6 -R5i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R9i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R8i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -R7i.x = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R2i.z)); -PS0i = R7i.x; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R7i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R7i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R5i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS1i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R10i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.w; -PV0i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R5i.x))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -PS0i = R2i.x; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.y = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.x))); -R6i.w = 0; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.y; -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].x)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + 1.0)); -R123i.x = clampFI32(R123i.x); -PV1i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PS1i = R2i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.z = floatBitsToInt(tempResultf); -PS0i = R127i.z; -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 6 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -// 7 -R4i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R127i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i)); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.x))); -// 7 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), uf_blockPS10[2].z)); -PV0i.z = R5i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R5i.w; -// 2 -R1i.xyz = ivec3(R6i.x,R6i.w,R6i.w); -R1i.w = R6i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/39863f29c6d85cb8_0000000000000000_vs.txt b/Source/TokyoMirage/39863f29c6d85cb8_0000000000000000_vs.txt deleted file mode 100644 index 250230f2..00000000 --- a/Source/TokyoMirage/39863f29c6d85cb8_0000000000000000_vs.txt +++ /dev/null @@ -1,82 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 39863f29c6d85cb8 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resYScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); -PV0f.x = R127f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); -PV0f.y = R123f.y; -R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.z = R127f.z; -PV0f.w = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, intBitsToFloat(uf_remappedVS[0].w)); -// 1 -PV1f.x = PV0f.x + -(PV0f.z); -PV1f.y = PV0f.y + -(PV0f.w); -R2f.x = PV0f.y + PV0f.w; -PS1f = R2f.x; -// 2 -R2f.y = R127f.x + R127f.z; -R2f.z = PV1f.y; -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem136 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Source/TokyoMirage/3b1ee60c5e7eb349_00000000001e3849_ps.txt b/Source/TokyoMirage/3b1ee60c5e7eb349_00000000001e3849_ps.txt deleted file mode 100644 index 4c3b0843..00000000 --- a/Source/TokyoMirage/3b1ee60c5e7eb349_00000000001e3849_ps.txt +++ /dev/null @@ -1,445 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 3b1ee60c5e7eb349 -uniform ivec4 uf_remappedPS[25]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1fbfc000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1ecde000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[0].x)),-(intBitsToFloat(uf_remappedPS[0].y)),-(intBitsToFloat(uf_remappedPS[0].z)),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -backupReg0i = R5i.z; -backupReg0i = R5i.z; -backupReg1i = R5i.w; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.x)) + intBitsToFloat(backupReg1i))); -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + 1.0); -PS1i = R127i.y; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].y)) + 1.0); -R126i.y = ((0.0 >= intBitsToFloat(backupReg0i))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = R126i.y; -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].x))); -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].z))); -R3i.z = ((PV0i.y == 0)?(0):(0)); -PS1i = R3i.z; -// 4 -R0i.y = ((R126i.y == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.w = R123i.w; -// 1 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R6i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.w))); -// 2 -predResult = (R0i.y == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[3].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(uf_remappedPS[4].x))); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(uf_remappedPS[9].x)); -// 6 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[10].x)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[10].y)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(uf_remappedPS[15].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[16].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[16].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[16].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[16].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[9].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(uf_remappedPS[15].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(uf_remappedPS[17].x)); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[16].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[16].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[16].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[16].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = floatBitsToInt(min(intBitsToFloat(R0i.y), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[18].z),-(intBitsToFloat(R3i.z))) + intBitsToFloat(uf_remappedPS[18].z))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(uf_remappedPS[19].w)); -// 1 -R4i.y = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[20].x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R0i.xyz = ivec3(uf_remappedPS[21].x,uf_remappedPS[21].y,uf_remappedPS[21].z); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[22].x)) + intBitsToFloat(uf_remappedPS[23].x))); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[22].y)) + intBitsToFloat(uf_remappedPS[23].y))); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[22].z)) + intBitsToFloat(uf_remappedPS[23].z))); -PV1i.z = R123i.z; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[24].x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(uf_remappedPS[24].y))); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(uf_remappedPS[24].z))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/4299868e90181d42_00000f0f0f249249_ps.txt b/Source/TokyoMirage/4299868e90181d42_00000f0f0f249249_ps.txt deleted file mode 100644 index 07d13c69..00000000 --- a/Source/TokyoMirage/4299868e90181d42_00000f0f0f249249_ps.txt +++ /dev/null @@ -1,1664 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 4299868e90181d42 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3d292000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x3d59a000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3d542000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x3d3ea000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R4i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R4i.x = 0; -PS0i = R4i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R4i.z = 0; -PS1i = R4i.z; -// 6 -R11i.xyz = ivec3(0,0,0); -R13i.y = 0; -PS0i = R13i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R12i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -PV0i.x = R12i.x << R2i.w; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R8i.w))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = R10i.y + 0x00000e10; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R9i.x; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(backupReg0i)); -// 4 -R10i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R13i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R13i.y; -backupReg0i = R13i.y; -R5i.x = 0; -R13i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.z) >> uint(backupReg0i)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R6i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R12i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.z) >> uint(backupReg0i)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R0i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R12i.z << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -PV0i.y = R3i.w + R10i.y; -R10i.y = backupReg0i + int(1); -PS0i = R10i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R0i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R10i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R5i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.x; -// 1 -R126i.x = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R127i.z = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R6i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R6i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -// 3 -R125i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.y)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R124i.x = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -PS1i = R124i.x; -// 4 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.z))); -R125i.z = ((R126i.x == 0)?(0):(0x3f800000)); -R124i.w = ((R127i.w == 0)?(0):(0x3f800000)); -R127i.x = ((R127i.z == 0)?(0):(0x3f800000)); -PS0i = R127i.x; -// 5 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R124i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.x)) + 1.0); -R127i.z = floatBitsToInt(min(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R125i.x)) + 1.0); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.w)); -PS1i = R126i.z; -// 6 -R125i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.w) + 1.0)); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.z) + 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R6i.x))); -R126i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R124i.x = clampFI32(R124i.x); -R124i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(R126i.z)) + 1.0)); -PV1i.y = R124i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R127i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R126i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -PS1i = R126i.y; -// 8 -backupReg0i = R125i.x; -backupReg1i = R126i.w; -R125i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -PV0i.x = R125i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.y))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R7i.x))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R7i.z))); -R125i.w = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z)); -PS0i = R125i.w; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R1i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R1i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R1i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(R124i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -PS0i = R2i.w; -// 11 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R5i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R5i.y)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R5i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PS1i = R126i.z; -// 12 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R125i.y))); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R127i.z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R7i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R7i.y))); -PS0i = R127i.z; -// 13 -backupReg0i = R125i.x; -backupReg1i = R126i.z; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R7i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.y))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV0i.w))); -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 14 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS3[8].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS3[8].y)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.w)) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS3[8].z)); -PS0i = R125i.y; -// 15 -backupReg0i = R124i.y; -backupReg1i = R127i.x; -backupReg0i = R124i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R125i.x)) + intBitsToFloat(PV0i.w))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS3[8].w)); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.z))); -tempResultf = log2(intBitsToFloat(backupReg2i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS10[5].x)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), uf_blockPS10[5].x)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), uf_blockPS10[5].x)); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[5].x)); -PS0i = R126i.x; -// 17 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -R127i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.y; -// 18 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[0].x)); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), uf_blockPS10[0].x)); -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.w))); -PS0i = R6i.x; -// 19 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(R127i.y))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R126i.z))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R125i.x))); -R6i.w = 0; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R126i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.x))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R126i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R126i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R10i.w = 0x3f800000; -PV0i.w = R10i.w; -R9i.w = floatBitsToInt(uf_blockPS4[2].x); -R9i.w = floatBitsToInt(intBitsToFloat(R9i.w) * 4.0); -PS0i = R9i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[2].w)); -R9i.x = floatBitsToInt(uf_blockPS8[23].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R5i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R10i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R5i.z)); -PS0i = R10i.x; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R10i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R8i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.y)); -// 6 -R5i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R9i.x; -// 3 -R5i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R9i.y; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R10i.y; -// 4 -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -R5i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[6].w)); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS0i = R8i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R5i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R5i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R5i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R5i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R5i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R5i.w))) + uf_blockPS10[1].z)); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), uf_blockPS3[21].x)); -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PV0i.w))); -PS1i = R127i.x; -// 2 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R5i.w)) + uf_blockPS3[19].w)); -PV0i.z = R123i.z; -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -// 3 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -// 1 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(R1i.x))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.w))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), uf_blockPS3[20].x)); -// 1 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(PV0i.z))); -R2i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(PV0i.y))); -// 2 -backupReg0i = R6i.x; -backupReg1i = R6i.z; -backupReg2i = R6i.w; -R6i.xyz = ivec3(backupReg0i,R7i.y,backupReg1i); -R6i.w = backupReg2i; -// 3 -R4i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R4i.w = R2i.w; -// 4 -R5i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R5i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/44cac66c0a1ac2e0_000001e1e1e49249_ps.txt b/Source/TokyoMirage/44cac66c0a1ac2e0_000001e1e1e49249_ps.txt deleted file mode 100644 index ae6a8c6a..00000000 --- a/Source/TokyoMirage/44cac66c0a1ac2e0_000001e1e1e49249_ps.txt +++ /dev/null @@ -1,1415 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 44cac66c0a1ac2e0 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x30430000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x30890000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x30864000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R4i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R7i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R3i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R6i.x = floatBitsToInt(tempResultf); -PS0i = R6i.x; -// 7 -R5i.x = PV0i.w << 0x00000002; -R5i.y = PV0i.w << 0x00000005; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = R5i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.x))); -PV0i.z = R7i.x << R4i.z; -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.x))); -PS0i = R9i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R0i.x + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R4i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R4i.z; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R0i.x + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.x << R4i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.z)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 8 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -// 9 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.z << R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R10i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.x; -backupReg0i = R10i.x; -R10i.x = backupReg0i + int(1); -PV0i.w = R0i.x + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.y << R4i.z; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = R7i.w + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + int(1); -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.x].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(backupReg2i))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R126i.y))); -PV0i.w = clampFI32(PV0i.w); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.w)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.x))); -// 10 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R9i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R4i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.x; -// 1 -PV1i.x = ((intBitsToFloat(R9i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R9i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.w = ((intBitsToFloat(R9i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R126i.x; -// 2 -R125i.x = ((PV1i.x == 0)?(0):(0x3f800000)); -PV0i.x = R125i.x; -R126i.y = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV0i.y = R126i.y; -PV0i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -R6i.y = ((PV1i.w == 0)?(0):(0x3f800000)); -PS0i = R6i.y; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -R125i.z = ((R127i.y == 0)?(0):(0x3f800000)); -PV1i.z = R125i.z; -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + 1.0)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.y; -// 4 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -R127i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.y) + 1.0)); -R126i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.z) + 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg1i), intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.x)); -PS0i = R125i.y; -// 5 -backupReg0i = R127i.y; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.y)); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.z)); -PV1i.y = R127i.y; -R124i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(backupReg0i)) + 1.0)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(backupReg1i))); -PV1i.w = R124i.w; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R9i.x))); -PS1i = R124i.y; -// 6 -backupReg0i = R126i.y; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.z))); -PV0i.y = R126i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R9i.y))); -PV0i.z = R126i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(R5i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R5i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS0i = R127i.z; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R124i.y))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R5i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(R124i.z)) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 8 -backupReg0i = R125i.y; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R4i.y)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -PS0i = R127i.w; -// 9 -backupReg0i = R127i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R126i.z))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R124i.y))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R9i.z))); -PS1i = R126i.z; -// 10 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R9i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R126i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -PS0i = R125i.x; -// 11 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(R126i.z))); -PV1i.y = R123i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), uf_blockPS3[8].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), uf_blockPS3[8].y)); -PS1i = R127i.y; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R126i.x)) + intBitsToFloat(R125i.x))); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), uf_blockPS3[8].z)); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), uf_blockPS3[8].w)); -// 13 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), uf_blockPS10[5].x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), uf_blockPS10[5].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[5].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), uf_blockPS10[5].x)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -PS1i = R6i.y; -// 14 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].z)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -// 15 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), uf_blockPS10[0].x)); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.y))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS10[0].x)); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.w))); -PS1i = R0i.x; -// 16 -R4i.y = floatBitsToInt(uf_blockPS10[1].y); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R125i.x))); -R4i.w = 0; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R4i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.y))); -PV1i.z = R126i.z; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), -(uf_blockPS8[12].z))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS1i),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3de978d5)); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PS1i = R125i.w; -// 4 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -// 7 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.x))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PV0i.w))); -// 8 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R11i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R9i.x = floatBitsToInt(uf_blockPS8[23].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[23].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R4i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R11i.y; -R11i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R11i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R11i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R11i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R9i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R11i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R6i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R11i.y))); -PS0i = R4i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R11i.y)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R9i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R8i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.y)); -// 6 -R4i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R8i.w) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R8i.y; -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS1i = R4i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS0i = R6i.y; -} -if( activeMaskStackC[3] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R2i.z)); -PS0i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R10i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R9i.x = floatBitsToInt(uf_blockPS8[24].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -R4i.y = floatBitsToInt(-(intBitsToFloat(R6i.w)) + intBitsToFloat(R2i.z)); -PS0i = R4i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R4i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R4i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R4i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.y))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -// 5 -backupReg0i = R6i.z; -R6i.xyz = ivec3(R0i.x,R9i.y,backupReg0i); -R6i.w = R4i.w; -// 6 -R4i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R4i.w = R2i.w; -// 7 -R5i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R5i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/4717e201697a3299_000000000003c709_ps.txt b/Source/TokyoMirage/4717e201697a3299_000000000003c709_ps.txt deleted file mode 100644 index 9ab2fe04..00000000 --- a/Source/TokyoMirage/4717e201697a3299_000000000003c709_ps.txt +++ /dev/null @@ -1,400 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 4717e201697a3299 -uniform ivec4 uf_remappedPS[23]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1fbfc000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[0].x)),-(intBitsToFloat(uf_remappedPS[0].y)),-(intBitsToFloat(uf_remappedPS[0].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = tempi.x; -// 1 -PV1i.z = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 2 -R0i.x = ((PV1i.z == 0)?(0):(0x3f800000)); -R0i.y = ((PV1i.z == 0)?(0):(0)); -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.w), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -PS0i = R0i.x; -// 3 -R1i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[1].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[2].y)) + intBitsToFloat(uf_remappedPS[2].x))); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[3].x),intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(uf_remappedPS[3].z),intBitsToFloat(uf_remappedPS[3].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[4].x),intBitsToFloat(uf_remappedPS[4].y),intBitsToFloat(uf_remappedPS[4].z),intBitsToFloat(uf_remappedPS[4].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(uf_remappedPS[7].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].y)) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[13].y)) + intBitsToFloat(uf_remappedPS[13].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[7].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[13].y)) + intBitsToFloat(uf_remappedPS[13].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(uf_remappedPS[15].x)); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt(min(intBitsToFloat(R0i.x), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(uf_remappedPS[16].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[17].z),-(intBitsToFloat(R0i.y))) + intBitsToFloat(uf_remappedPS[17].z))); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedPS[18].x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(uf_remappedPS[19].x,uf_remappedPS[19].y,uf_remappedPS[19].z); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(uf_remappedPS[20].y)) + intBitsToFloat(uf_remappedPS[21].y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(uf_remappedPS[20].x)) + intBitsToFloat(uf_remappedPS[21].x))); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R4i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[20].z)) + intBitsToFloat(uf_remappedPS[21].z))); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R4i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[22].y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[22].x))); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[22].z))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.y))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,R2i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R1i.w = R3i.z; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/4717e201697a3299_00000000001e1e49_ps.txt b/Source/TokyoMirage/4717e201697a3299_00000000001e1e49_ps.txt deleted file mode 100644 index 4338f24a..00000000 --- a/Source/TokyoMirage/4717e201697a3299_00000000001e1e49_ps.txt +++ /dev/null @@ -1,398 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 4717e201697a3299 -uniform ivec4 uf_remappedPS[23]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1dfa4000 res 128x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[0].x)),-(intBitsToFloat(uf_remappedPS[0].y)),-(intBitsToFloat(uf_remappedPS[0].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = tempi.x; -// 1 -PV1i.z = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 2 -R0i.x = ((PV1i.z == 0)?(0):(0x3f800000)); -R0i.y = ((PV1i.z == 0)?(0):(0)); -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.w), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -PS0i = R0i.x; -// 3 -R1i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[1].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[2].y)) + intBitsToFloat(uf_remappedPS[2].x))); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[3].x),intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(uf_remappedPS[3].z),intBitsToFloat(uf_remappedPS[3].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[4].x),intBitsToFloat(uf_remappedPS[4].y),intBitsToFloat(uf_remappedPS[4].z),intBitsToFloat(uf_remappedPS[4].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(uf_remappedPS[7].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].y)) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[13].y)) + intBitsToFloat(uf_remappedPS[13].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[7].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[13].y)) + intBitsToFloat(uf_remappedPS[13].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(uf_remappedPS[15].x)); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt(min(intBitsToFloat(R0i.x), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(uf_remappedPS[16].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[17].z),-(intBitsToFloat(R0i.y))) + intBitsToFloat(uf_remappedPS[17].z))); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedPS[18].x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(uf_remappedPS[19].x,uf_remappedPS[19].y,uf_remappedPS[19].z); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(uf_remappedPS[20].y)) + intBitsToFloat(uf_remappedPS[21].y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(uf_remappedPS[20].x)) + intBitsToFloat(uf_remappedPS[21].x))); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R4i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[20].z)) + intBitsToFloat(uf_remappedPS[21].z))); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R4i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[22].y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[22].x))); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[22].z))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.y))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,R2i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R1i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/47f1cf08cd81daec_00000000001e3849_ps.txt b/Source/TokyoMirage/47f1cf08cd81daec_00000000001e3849_ps.txt deleted file mode 100644 index 0d03054d..00000000 --- a/Source/TokyoMirage/47f1cf08cd81daec_00000000001e3849_ps.txt +++ /dev/null @@ -1,1045 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 47f1cf08cd81daec -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1bc72000 res 512x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x194a2000 res 4096x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R13i.x = 0; -PS0i = R13i.x; -// 3 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R13i.y = 0; -PS1i = R13i.y; -// 4 -R12i.x = 0; -R12i.y = 0; -R13i.z = 0; -R1i.w = 0; -R12i.z = 0; -PS0i = R12i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS0i = R6i.w; -// 9 -R6i.x = PV0i.z << 0x00000002; -R6i.y = PV0i.z << 0x00000005; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R9i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R9i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R3i.z = R6i.y + 0x00000e10; -PS0i = R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R7i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R3i.z + backupReg0i; -// 1 -R6i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(intBitsToFloat(R6i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R13i.x; -backupReg1i = R13i.z; -backupReg2i = R13i.y; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R13i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R3i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.z].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.xyz = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].y),-(uf_blockPS2[1].z)) + vec3(1.0,1.0,1.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R3i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R3i.z; -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.x; -// 1 -backupReg0i = R0i.z; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV1i.w = R123i.w; -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -PS1i = R2i.x; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.z)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R0i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV1i.w)); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[21].x)); -R2i.y = 0; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.y))); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.x))); -// 5 -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.z))); -// 7 -R3i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -// 9 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 10 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(PV0i.y))); -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R4i.x)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R4i.z)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R3i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R3i.y))); -PS0i = R5i.y; -// 5 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R3i.z))); -PV1i.z = R5i.z; -// 6 -R0i.xyz = ivec3(R5i.x,R5i.y,PV1i.z); -R0i.w = R5i.w; -// 7 -R1i.xyz = ivec3(R2i.z,R2i.y,R2i.y); -R1i.w = R2i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/47f1cf08cd81daec_0000000000f0f249_ps.txt b/Source/TokyoMirage/47f1cf08cd81daec_0000000000f0f249_ps.txt deleted file mode 100644 index ddb5857b..00000000 --- a/Source/TokyoMirage/47f1cf08cd81daec_0000000000f0f249_ps.txt +++ /dev/null @@ -1,1043 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 47f1cf08cd81daec -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c280000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R13i.x = 0; -PS0i = R13i.x; -// 3 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R13i.y = 0; -PS1i = R13i.y; -// 4 -R12i.x = 0; -R12i.y = 0; -R13i.z = 0; -R1i.w = 0; -R12i.z = 0; -PS0i = R12i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS0i = R6i.w; -// 9 -R6i.x = PV0i.z << 0x00000002; -R6i.y = PV0i.z << 0x00000005; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R9i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R9i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R3i.z = R6i.y + 0x00000e10; -PS0i = R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R7i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R3i.z + backupReg0i; -// 1 -R6i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(intBitsToFloat(R6i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R13i.x; -backupReg1i = R13i.z; -backupReg2i = R13i.y; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R13i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R3i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.z].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.xyz = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].y),-(uf_blockPS2[1].z)) + vec3(1.0,1.0,1.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R3i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R3i.z; -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.x; -// 1 -backupReg0i = R0i.z; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV1i.w = R123i.w; -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -PS1i = R2i.x; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.z)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R0i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV1i.w)); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[21].x)); -R2i.y = 0; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.y))); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.x))); -// 5 -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.z))); -// 7 -R3i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -// 9 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 10 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(PV0i.y))); -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R4i.x)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R4i.z)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R3i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R3i.y))); -PS0i = R5i.y; -// 5 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R3i.z))); -PV1i.z = R5i.z; -// 6 -R0i.xyz = ivec3(R5i.x,R5i.y,PV1i.z); -R0i.w = R5i.w; -// 7 -R1i.xyz = ivec3(R2i.z,R2i.y,R2i.y); -R1i.w = R2i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/4a1878ced0dc8fea_0000787879249249_ps.txt b/Source/TokyoMirage/4a1878ced0dc8fea_0000787879249249_ps.txt deleted file mode 100644 index c0b165e6..00000000 --- a/Source/TokyoMirage/4a1878ced0dc8fea_0000787879249249_ps.txt +++ /dev/null @@ -1,1708 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 4a1878ced0dc8fea -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3beca000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3be72000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x3be1a000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x3bef6000 res 512x512x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R4i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R4i.x = 0; -PS0i = R4i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R4i.z = 0; -PS1i = R4i.z; -// 6 -R11i.xyz = ivec3(0,0,0); -R13i.y = 0; -PS0i = R13i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R12i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R12i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R8i.w))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = backupReg0i + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R9i.x)); -// 4 -R9i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R13i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R13i.y; -backupReg0i = R13i.y; -R5i.x = 0; -R13i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R12i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R12i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R9i.x)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R9i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.y; -PV0i.y = R3i.w + R9i.y; -R9i.y = backupReg0i + int(1); -PS0i = R9i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R9i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R9i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R8i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R9i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.x; -// 1 -R126i.x = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R127i.w = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R124i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R124i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -R6i.x = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R125i.x = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -PS1i = R125i.x; -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R126i.y = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.y))); -R1i.w = ((R126i.x == 0)?(0):(0x3f800000)); -R6i.y = ((R127i.w == 0)?(0):(0x3f800000)); -PS0i = R6i.y; -// 5 -R126i.x = ((R127i.y == 0)?(0):(0x3f800000)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R6i.x)) + 1.0); -R127i.z = floatBitsToInt(-(intBitsToFloat(R126i.w)) + 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(R124i.x)) + 1.0); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R125i.x))); -PS1i = R2i.w; -// 6 -backupReg0i = R126i.y; -backupReg1i = R127i.x; -backupReg0i = R126i.y; -R127i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.y) + 1.0)); -R126i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.w) + 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R127i.z; -backupReg1i = R6i.x; -backupReg2i = R126i.w; -R6i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.x))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(backupReg1i))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R2i.w)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -// 8 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R124i.x = clampFI32(R124i.x); -R125i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -R127i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -// 9 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R127i.x = clampFI32(R127i.x); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R7i.x))); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R7i.z))); -R124i.w = floatBitsToInt(-(intBitsToFloat(R6i.x)) + intBitsToFloat(R126i.w)); -PS1i = R124i.w; -// 10 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -R126i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R1i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R1i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R126i.w = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(R1i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PS0i = R127i.y; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R127i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(R124i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R125i.w))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(R125i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.w))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R5i.w; -// 13 -backupReg0i = R127i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(R8i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R8i.z)); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R124i.y))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.y)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R126i.z))); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS1i = R125i.x; -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R125i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R124i.y; -// 15 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(R125i.x))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.y))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV0i.z))); -PS1i = R127i.y; -// 16 -backupReg0i = R124i.y; -backupReg1i = R127i.z; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS3[8].x)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS3[8].y)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS3[8].z)); -tempResultf = log2(intBitsToFloat(backupReg1i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126i.x = floatBitsToInt(tempResultf); -PS0i = R126i.x; -// 17 -backupReg0i = R127i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[5].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS3[8].w)); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -tempResultf = log2(intBitsToFloat(R5i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.x = floatBitsToInt(tempResultf); -PS1i = R127i.x; -// 18 -backupReg0i = R126i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R126i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), uf_blockPS10[5].x)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[5].x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -// 19 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), uf_blockPS10[2].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].y)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(backupReg0i))); -R125i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R125i.w; -// 20 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[0].x)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), uf_blockPS10[0].x)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), uf_blockPS10[0].x)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), uf_blockPS10[2].z)); -R124i.y = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -PS0i = R124i.y; -// 21 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R127i.x))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R127i.y))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.w))); -R5i.w = 0; -R7i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(R125i.w))); -PS1i = R7i.z; -// 22 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(R124i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R126i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -// 6 -backupReg0i = R6i.x; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.x))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R126i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R126i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R9i.w = 0x3f800000; -PV0i.w = R9i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R9i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R9i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R12i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R8i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R12i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R8i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[2] == true ) { -R12i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R10i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R12i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R12i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R12i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R12i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R12i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R10i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R9i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R9i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R9i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R10i.x; -// 3 -R8i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R10i.y; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R12i.y; -// 4 -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -R8i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), uf_blockPS8[6].w)); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R8i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R8i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R8i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R10i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R10i.w; -R10i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R10i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R8i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R10i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R9i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R9i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R10i.w))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS3[21].x)); -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PS0i))); -R1i.z = floatBitsToInt(intBitsToFloat(R10i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 2 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R4i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R10i.w)) + uf_blockPS3[19].w)); -PV0i.z = R123i.z; -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R0i.x))); -// 3 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.z))); -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].z)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].y)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].x)); -// 5 -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R1i.y; -backupReg1i = R0i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS3[20].x)); -// 1 -R3i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(PV0i.w))); -R3i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(PV0i.z))); -R3i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(PV0i.y))); -// 2 -R2i.xyz = ivec3(R7i.x,R7i.y,R6i.z); -R2i.w = R5i.w; -// 3 -R0i.xyz = ivec3(R3i.x,R3i.y,R3i.z); -R0i.w = R3i.w; -// 4 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/4ba994ab0ac0bef4_0000000007879249_ps.txt b/Source/TokyoMirage/4ba994ab0ac0bef4_0000000007879249_ps.txt deleted file mode 100644 index 558d6c47..00000000 --- a/Source/TokyoMirage/4ba994ab0ac0bef4_0000000007879249_ps.txt +++ /dev/null @@ -1,1004 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 4ba994ab0ac0bef4 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x215a4000 res 256x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x211a2000 res 256x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x20ee2000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R9i.y = R127i.z; -R127i.z = R2i.x; -R8i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R9i.w = R2i.z; -R9i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS1i = R9i.x; -// 4 -R12i.x = 0; -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R12i.y = 0; -PS0i = R12i.y; -// 5 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R12i.z = 0; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R10i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R10i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 8 -R1i.x = PV1i.w << 0x00000002; -R11i.y = PV1i.w << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R10i.x = floatBitsToInt(tempResultf); -PS0i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R9i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R10i.x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R10i.x))); -PV0i.z = backupReg0i << R2i.w; -R3i.w = R11i.y + 0x00000e10; -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R10i.x))); -PS0i = R11i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(backupReg0i)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R13i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R13i.y; -backupReg0i = R13i.y; -R8i.x = 0; -R13i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R1i.z << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R0i.x)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R1i.y = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R5i.y)),-(intBitsToFloat(R5i.z)),-(intBitsToFloat(R8i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) / 2.0); -// 2 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 3 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R4i.y << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -R9i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R9i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R9i.x > R5i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R5i.w; -PV0i.y = R3i.w + R5i.w; -R5i.w = backupReg0i + int(1); -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R0i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.x = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.y << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R6i.z + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R127i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -PV1i.y = clampFI32(PV1i.y); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].y),-(uf_blockPS2[1].z),-(uf_blockPS2[1].x)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -// 4 -PV0i.y = ((0.0 >= intBitsToFloat(R2i.z))?int(0xFFFFFFFF):int(0x0)); -// 5 -R0i.x = ((PV0i.y == 0)?(0):(0x3f800000)); -R3i.w = ((PV0i.y == 0)?(0):(0)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.x))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.z = R2i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 4.0); -PV0i.z = clampFI32(PV0i.z); -R127i.w = floatBitsToInt(max(intBitsToFloat(R2i.z), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -// 3 -R7i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -R4i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -R1i.z = PS0i; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.w))); -R2i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.w))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R1i.z = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R1i.z = floatBitsToInt(intBitsToFloat(R1i.z) / 2.0); -R2i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R4i.y)); -PS0i = R2i.z; -// 1 -predResult = (intBitsToFloat(R2i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.w)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.w))); -R1i.z = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.w))); -PS0i = R1i.y; -// 7 -R2i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.w)); -R1i.w = R126i.y; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R3i.z; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R1i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.zy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R1i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 3 -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.w = floatBitsToInt(min(intBitsToFloat(R5i.w), intBitsToFloat(R1i.z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R3i.w))) + uf_blockPS10[1].z)); -PV1i.z = R123i.z; -R127i.w = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R127i.y = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -PS1i = R127i.y; -// 2 -R0i.x = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(PV1i.z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -PS0i = R126i.w; -// 3 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].z)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.w))); -PV0i.z = clampFI32(PV0i.z); -R0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -R3i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PS1i = R3i.y; -// 6 -R7i.y = 0; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -R2i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R2i.x; -// 9 -R4i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 10 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -// 11 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.z))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.x))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R0i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R6i.y)) + intBitsToFloat(R0i.y))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(backupReg0i))); -PV0i.w = R127i.w; -// 3 -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R6i.z)) + intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.w)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R1i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.z)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(PS1i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.x))); -PV0i.w = R123i.w; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.w))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.y))); -PV1i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R4i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R4i.x))); -// 8 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), uf_blockPS10[2].x)); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), uf_blockPS10[2].z)); -PV0i.z = R5i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R5i.w; -// 2 -R1i.xyz = ivec3(R7i.z,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/4c108d5760637fc9_00000f0f0f249249_ps.txt b/Source/TokyoMirage/4c108d5760637fc9_00000f0f0f249249_ps.txt deleted file mode 100644 index 18cd8527..00000000 --- a/Source/TokyoMirage/4c108d5760637fc9_00000f0f0f249249_ps.txt +++ /dev/null @@ -1,1125 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 4c108d5760637fc9 -uniform ivec4 uf_remappedPS[33]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3beca000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3be72000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x3be1a000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R8i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R10i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R127i.y = R1i.x; -PS0i = R127i.y; -// 1 -R126i.xyz = ivec3(PV0i.w,R1i.y,R2i.x); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -R125i.z = R2i.y; -PS1i = R125i.z; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R125i.y = R127i.x; -R124i.z = R1i.z; -R127i.w = R2i.z; -R125i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -PS0i = R125i.x; -// 3 -R124i.x = ((intBitsToFloat(R9i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R124i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R5i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R126i.w = ((intBitsToFloat(R9i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R1i.z = floatBitsToInt(sqrt(intBitsToFloat(PV0i.x))); -PS1i = R1i.z; -// 4 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.z),intBitsToFloat(R127i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PS0i = R127i.y; -// 5 -backupReg0i = R126i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].x) + -(intBitsToFloat(uf_remappedPS[2].y))); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = tempi.x; -R127i.w = floatBitsToInt(max(-(intBitsToFloat(uf_remappedPS[2].y)), 0.0)); -PS0i = R127i.w; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = ((intBitsToFloat(R9i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PS1i = R125i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 9 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -backupReg2i = R124i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS0i))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS0i))); -R125i.w = floatBitsToInt(-(intBitsToFloat(R127i.y)) + 1.0); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(min(intBitsToFloat(R126i.x), intBitsToFloat(backupReg0i))); -R124i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R124i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].z) + -(intBitsToFloat(uf_remappedPS[2].w))); -PS1i = R124i.w; -// 12 -backupReg0i = R126i.w; -PV0i.x = floatBitsToInt(max(-(intBitsToFloat(uf_remappedPS[2].w)), 0.0)); -R126i.y = ((R124i.x == 0)?(0):(0x3f800000)); -PV0i.y = R126i.y; -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R126i.w = ((backupReg0i == 0)?(0):(0x3f800000)); -R7i.y = ((R125i.z == 0)?(0):(0x3f800000)); -PS0i = R7i.y; -// 13 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R124i.y))); -PV1i.x = R125i.x; -R124i.y = floatBitsToInt(min(intBitsToFloat(R124i.w), intBitsToFloat(PV0i.x))); -R124i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + 1.0)); -R3i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -PV1i.w = R3i.w; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(R125i.w)); -PS1i = R125i.z; -// 14 -backupReg0i = R127i.y; -R124i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R7i.y) + 1.0)); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.w) + 1.0)); -R127i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(backupReg0i))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R124i.w)); -// 15 -R127i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R125i.z))); -PV1i.y = clampFI32(PV1i.y); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.y)); -R1i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R124i.y)),intBitsToFloat(PS0i)) + 1.0)); -R126i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.z)); -PS1i = R126i.z; -// 16 -backupReg0i = R127i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R9i.x))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(R9i.z))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.y))); -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.y) + intBitsToFloat(0x40400000))); -PS0i = R122i.x; -// 17 -R124i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R8i.y)); -R124i.x = floatBitsToInt(intBitsToFloat(R124i.x) * 2.0); -R124i.y = floatBitsToInt(-(intBitsToFloat(R1i.w)) + intBitsToFloat(R127i.z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R8i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 18 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R124i.z))); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.y))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(R8i.z)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(PS1i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(uf_remappedPS[3].x))); -PS0i = R5i.y; -// 19 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(uf_remappedPS[3].y))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(uf_remappedPS[3].z))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.x))); -R125i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R10i.x)); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0); -PS1i = R125i.y; -// 20 -R8i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(R10i.z)); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) * 2.0); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.y))); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(R126i.x))); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R10i.y)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R9i.x))); -// 21 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R9i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R9i.z))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(PS0i))); -tempResultf = log2(intBitsToFloat(R127i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 22 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(R126i.z))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R125i.w)) + intBitsToFloat(PV1i.x))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(PS1i))); -PS0i = R6i.w; -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[4].x)),-(intBitsToFloat(uf_remappedPS[4].y)),-(intBitsToFloat(uf_remappedPS[4].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R8i.x)) + intBitsToFloat(R8i.y))); -PS0i = R122i.x; -// 1 -backupReg0i = R7i.x; -backupReg1i = R1i.y; -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R5i.w))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(uf_remappedPS[3].w))); -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R8i.z)) + intBitsToFloat(R2i.w))); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PS0i = floatBitsToInt(exp2(intBitsToFloat(R6i.w))); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y), intBitsToFloat(PS0i))); -// 4 -R10i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(uf_remappedPS[5].x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(uf_remappedPS[5].x))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_remappedPS[5].x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(uf_remappedPS[5].x))); -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(uf_remappedPS[6].x))); -PS0i = R6i.x; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[7].y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[7].x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[7].z))); -// 2 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV1i.y))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV1i.x))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV1i.w))); -R7i.w = 0; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_remappedPS[6].x))); -PS0i = R7i.y; -// 3 -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(uf_remappedPS[6].x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[8].x) >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(uf_remappedPS[9].y)) + intBitsToFloat(uf_remappedPS[9].x))); -R9i.z = uf_remappedPS[10].x; -R9i.z = floatBitsToInt(intBitsToFloat(R9i.z) * 4.0); -R6i.w = floatBitsToInt(1.0); -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R4i.x; -// 4 -R5i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(uf_remappedPS[15].w))); -R0i.x = uf_remappedPS[14].x; -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(uf_remappedPS[15].z)) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R9i.y = uf_remappedPS[14].y; -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS1i = R9i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R11i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R11i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(R4i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R8i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R9i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(uf_remappedPS[16].x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R0i.x; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.x)); -// 6 -R8i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922)); -// 7 -backupReg0i = R0i.x; -predResult = (intBitsToFloat(backupReg0i) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[17].x),intBitsToFloat(uf_remappedPS[17].y),intBitsToFloat(uf_remappedPS[17].z),intBitsToFloat(uf_remappedPS[17].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[18].x),intBitsToFloat(uf_remappedPS[18].y),intBitsToFloat(uf_remappedPS[18].z),intBitsToFloat(uf_remappedPS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[19].x),intBitsToFloat(uf_remappedPS[19].y),intBitsToFloat(uf_remappedPS[19].z),intBitsToFloat(uf_remappedPS[19].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R5i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[20].x)) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -PV1i.y = R8i.y; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(uf_remappedPS[21].y)) + intBitsToFloat(uf_remappedPS[21].x))); -R9i.x = uf_remappedPS[20].x; -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS1i = R9i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(uf_remappedPS[22].w))); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[20].y)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R9i.y = uf_remappedPS[20].y; -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS0i = R9i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(uf_remappedPS[22].z)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(uf_remappedPS[22].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),intBitsToFloat(uf_remappedPS[22].x)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[20].x)) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[20].y)) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R5i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R5i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg1i = R8i.y; -R8i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].x) /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R8i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].y) /resScale * 0.5 + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R8i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R8i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R10i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R9i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R8i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R10i.z))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[16].x)); -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R8i.z)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R8i.z; -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(uf_remappedPS[21].y)) + intBitsToFloat(uf_remappedPS[21].x))); -R1i.w = floatBitsToInt(1.0); -PV0i.w = R1i.w; -R6i.w = uf_remappedPS[10].x; -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[17].x),intBitsToFloat(uf_remappedPS[17].y),intBitsToFloat(uf_remappedPS[17].z),intBitsToFloat(uf_remappedPS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[18].x),intBitsToFloat(uf_remappedPS[18].y),intBitsToFloat(uf_remappedPS[18].z),intBitsToFloat(uf_remappedPS[18].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[19].x),intBitsToFloat(uf_remappedPS[19].y),intBitsToFloat(uf_remappedPS[19].z),intBitsToFloat(uf_remappedPS[19].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R4i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[20].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[22].w))); -R0i.x = uf_remappedPS[20].x; -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(uf_remappedPS[22].z)) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[20].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R9i.y = uf_remappedPS[20].y; -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS1i = R9i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(uf_remappedPS[22].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),intBitsToFloat(uf_remappedPS[22].x)) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[20].x)) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[20].y)) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].y) /resScale * 0.5 + intBitsToFloat(R10i.y))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R9i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[20].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R8i.y))?1.0:0.0); -R127i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[10].x) == intBitsToFloat(R8i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(uf_remappedPS[23].x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.w)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[23].x)) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.w; -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[24].x)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[25].z),-(intBitsToFloat(R8i.z))) + intBitsToFloat(uf_remappedPS[25].z))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R0i.y))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(uf_remappedPS[24].x), intBitsToFloat(0x33d6bf95))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -PS0i = R2i.x; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(uf_remappedPS[26].w))); -R0i.y = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.w) + -(intBitsToFloat(PV0i.x))); -R6i.w = 0; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.y; -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[27].z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[27].y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[27].x))); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + 1.0)); -R123i.x = clampFI32(R123i.x); -PV1i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(uf_remappedPS[28].x))); -PS1i = R2i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(uf_remappedPS[28].y))); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.z = floatBitsToInt(tempResultf); -PS0i = R127i.z; -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(uf_remappedPS[28].w))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(uf_remappedPS[28].z))); -// 6 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[24].y), intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(uf_remappedPS[5].x))); -// 7 -R4i.xyz = ivec3(uf_remappedPS[29].x,uf_remappedPS[29].y,uf_remappedPS[29].z); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(uf_remappedPS[30].y)) + intBitsToFloat(uf_remappedPS[31].y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(uf_remappedPS[30].x)) + intBitsToFloat(uf_remappedPS[31].x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(uf_remappedPS[30].z)) + intBitsToFloat(uf_remappedPS[31].z))); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R127i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[32].z)) + intBitsToFloat(uf_remappedPS[32].w)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.x))); -// 7 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[7].x), intBitsToFloat(R1i.w))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[7].y), intBitsToFloat(R0i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[7].z), intBitsToFloat(R4i.y))); -// 1 -R2i.xyz = ivec3(R7i.x,R6i.y,R6i.z); -R2i.w = R7i.w; -// 2 -R0i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -R0i.w = R5i.w; -// 3 -R1i.xyz = ivec3(R6i.x,R6i.w,R6i.w); -R1i.w = R6i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/4f6f4c93055b859f_0000000000f0f249_ps.txt b/Source/TokyoMirage/4f6f4c93055b859f_0000000000f0f249_ps.txt deleted file mode 100644 index b71c004b..00000000 --- a/Source/TokyoMirage/4f6f4c93055b859f_0000000000f0f249_ps.txt +++ /dev/null @@ -1,1051 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 4f6f4c93055b859f -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c0d2000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x1c0de000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R5i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R12i.x = 0; -PS0i = R12i.x; -// 3 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R12i.y = 0; -PS1i = R12i.y; -// 4 -R11i.x = 0; -R11i.y = 0; -R12i.z = 0; -R1i.w = 0; -R11i.z = 0; -PS0i = R11i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS0i = R5i.w; -// 9 -R5i.x = PV0i.z << 0x00000002; -R5i.y = PV0i.z << 0x00000005; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R8i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R3i.z = R5i.y + 0x00000e10; -PS0i = R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R7i.y = PV1i.w & 0x0000ffff; -PS0i = R7i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R7i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R5i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R6i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.x)) + intBitsToFloat(R6i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R6i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R6i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R6i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R6i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),-(intBitsToFloat(R6i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R3i.z + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) + -(intBitsToFloat(R5i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R12i.x; -backupReg1i = R12i.z; -backupReg2i = R12i.y; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R12i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R3i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R5i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.z].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -// 2 -R5i.y = ((PV1i.x == 0)?(0):(0)); -R4i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R4i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt(min(intBitsToFloat(R7i.y), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyz); -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R5i.y))) + uf_blockPS10[1].z)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R1i.x))); -PS1i = R126i.w; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R5i.y)) + uf_blockPS3[19].w)); -R1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV1i.z)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.x; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R1i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R1i.z))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -// 4 -backupReg0i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.x))); -PV0i.w = clampFI32(PV0i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PS1i)); -PS0i = R127i.x; -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(R127i.w), -(intBitsToFloat(R127i.w)))); -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.w) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[17].x, uf_blockPS10[0].y)); -R3i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[17].y, uf_blockPS10[0].y)); -PS1i = R3i.w; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[17].w, uf_blockPS10[0].y)); -R1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[17].z, uf_blockPS10[0].y)); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R127i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PS0i = R1i.x; -// 7 -R2i.y = 0; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -tempResultf = log2(intBitsToFloat(R127i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -R2i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R2i.x; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[21].x)); -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R126i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.y; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R0i.z))); -PV0i.x = R126i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.w))); -// 3 -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R4i.z)) + intBitsToFloat(R0i.x))); -PV1i.y = R127i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R3i.w)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R2i.w)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.z)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -// 6 -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R2i.x)) + intBitsToFloat(R126i.x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.z)); -// 7 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R127i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].x)); -// 1 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R5i.z; -// 2 -R0i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R0i.w = R5i.w; -// 3 -R1i.xyz = ivec3(R2i.z,R2i.y,R2i.y); -R1i.w = R2i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/5166e277a07549eb_00000000078e1249_ps.txt b/Source/TokyoMirage/5166e277a07549eb_00000000078e1249_ps.txt deleted file mode 100644 index 584392e7..00000000 --- a/Source/TokyoMirage/5166e277a07549eb_00000000078e1249_ps.txt +++ /dev/null @@ -1,1133 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 5166e277a07549eb -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1becc000 res 128x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1bee4000 res 128x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x1d8e0000 res 128x512x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R126i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R1i.x))); -PS1i = R124i.y; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R126i.y))); -R2i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R1i.z))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -backupReg0i = R0i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -PV0i.x = clampFI32(PV0i.x); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -PV0i.y = clampFI32(PV0i.y); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS3[21].x)); -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -PS0i = R4i.x; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R3i.w = 0; -// 7 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].x)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].z)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].y)); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -tempResultf = log2(intBitsToFloat(R127i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PV0i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -PV1i.w = R127i.w; -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.z))); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.w))); -PS0i = R3i.x; -// 13 -backupReg0i = R1i.z; -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R127i.w))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV0i.y))); -// 2 -backupReg0i = R0i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R6i.y)) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R6i.z)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R3i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.y))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.x))); -// 5 -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[2].x)); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), uf_blockPS10[2].y)); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[2].z)); -PV0i.z = R5i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R5i.w; -// 2 -R1i.xyz = ivec3(R3i.y,R3i.w,R3i.w); -R1i.w = R3i.w; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/52ee7db30818150f_00000001e1e49249_ps.txt b/Source/TokyoMirage/52ee7db30818150f_00000001e1e49249_ps.txt deleted file mode 100644 index 6dd811b6..00000000 --- a/Source/TokyoMirage/52ee7db30818150f_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1330 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 52ee7db30818150f -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x36d40000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x36eb0000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36e98000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R7i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R9i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R6i.x = floatBitsToInt(tempResultf); -PS0i = R6i.x; -// 7 -R5i.x = PV0i.w << 0x00000002; -R5i.y = PV0i.w << 0x00000005; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = R5i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.x))); -PV0i.z = R7i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R0i.x + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R3i.z; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R0i.x + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.z)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 8 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -// 9 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R10i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.x; -backupReg0i = R10i.x; -R10i.x = backupReg0i + int(1); -PV0i.w = R0i.x + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.y << R3i.z; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = R7i.w + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + int(1); -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.x].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(backupReg2i))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R126i.y))); -PV0i.w = clampFI32(PV0i.w); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.w)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.x))); -// 10 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R4i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV1i.x = R127i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R126i.y; -// 2 -PV0i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.y))); -// 5 -R127i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.y))); -PV1i.w = R127i.w; -// 6 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 7 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.y)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R6i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R6i.x))); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R5i.z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R5i.y)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 10 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R4i.y)) + intBitsToFloat(PV1i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R4i.x)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R4i.z)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -// 11 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[0].x)); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[0].x)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[0].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R9i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R9i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R9i.x))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PV1i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[23].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.w))?1.0:0.0); -R8i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R3i.z)); -PS0i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R4i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R8i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R9i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV0i.w)); -// 6 -R8i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R9i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R7i.y; -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R8i.y; -// 4 -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS0i = R6i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(R2i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R8i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R8i.x; -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R8i.w = floatBitsToInt(uf_blockPS4[2].x); -R8i.w = floatBitsToInt(intBitsToFloat(R8i.w) * 4.0); -PS0i = R8i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R4i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(backupReg0i)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R0i.x)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R8i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R8i.x))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.y))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,R2i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R1i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/54f202046702d4d5_0000000f0f249249_ps.txt b/Source/TokyoMirage/54f202046702d4d5_0000000f0f249249_ps.txt deleted file mode 100644 index 446acd5c..00000000 --- a/Source/TokyoMirage/54f202046702d4d5_0000000f0f249249_ps.txt +++ /dev/null @@ -1,1720 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 54f202046702d4d5 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x30588000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x30634000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x30280000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x30128000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R12i.x = 0; -PS0i = R12i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R12i.z = 0; -PS1i = R12i.z; -// 6 -R13i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R11i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -PV0i.x = R11i.x << R2i.w; -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R8i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = R10i.y + 0x00000e10; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R4i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R9i.x)); -// 4 -R9i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R6i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R13i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R13i.x; -// 8 -backupReg0i = R13i.y; -backupReg1i = R13i.z; -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R11i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -R0i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R0i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R0i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R13i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R13i.x; -// 13 -backupReg0i = R13i.y; -backupReg1i = R13i.z; -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R11i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R9i.x)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -PV0i.y = R3i.w + backupReg0i; -R0i.y = backupReg0i + int(1); -PS0i = R0i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R9i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R9i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R10i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.z; -// 1 -R127i.x = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.w = R127i.w; -R126i.y = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.y; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -R125i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.w)); -R124i.z = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -PS1i = R124i.z; -// 4 -backupReg0i = R127i.z; -backupReg1i = R127i.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R6i.y = ((R127i.y == 0)?(0):(0x3f800000)); -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.x))); -R5i.z = ((backupReg1i == 0)?(0):(0x3f800000)); -PS0i = R5i.z; -// 5 -R124i.x = ((R126i.z == 0)?(0):(0x3f800000)); -PV1i.x = R124i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R124i.z))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R126i.y)) + 1.0); -R0i.x = floatBitsToInt(-(intBitsToFloat(R125i.z)) + 1.0); -PS1i = R0i.x; -// 6 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.y) + 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R127i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.z) + 1.0)); -R126i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R125i.y))); -R1i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 8 -backupReg0i = R127i.y; -R126i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -R127i.y = clampFI32(R127i.y); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -R127i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -backupReg0i = R126i.y; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R7i.y))); -PV1i.x = R125i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R126i.y = clampFI32(R126i.y); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R7i.x))); -PV1i.z = R124i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R7i.z))); -R124i.y = floatBitsToInt(-(intBitsToFloat(R1i.w)) + intBitsToFloat(backupReg0i)); -PS1i = R124i.y; -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R1i.z)); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R1i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R1i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PS0i = R126i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R125i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.y))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.y) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(backupReg2i)) + intBitsToFloat(R126i.z))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PS1i))); -PS0i = R124i.w; -// 13 -backupReg0i = R125i.z; -backupReg1i = R127i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R10i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R10i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R10i.y)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R125i.x))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PS1i = R126i.x; -// 14 -backupReg0i = R124i.y; -backupReg0i = R124i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R7i.x))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R125i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -PS0i = R124i.z; -// 15 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(R126i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R125i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R124i.y))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -tempResultf = log2(intBitsToFloat(R124i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[0].x)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 18 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 19 -R2i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R124i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.x))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R124i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R124i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R124i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -// 4 -R0i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R124i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -R5i.w = floatBitsToInt(uf_blockPS4[2].x); -R5i.w = floatBitsToInt(intBitsToFloat(R5i.w) * 4.0); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[2].w)); -R10i.x = floatBitsToInt(uf_blockPS8[23].x); -R10i.x = floatBitsToInt(intBitsToFloat(R10i.x) / 2.0); -PS0i = R10i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = floatBitsToInt(uf_blockPS8[23].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R4i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R2i.z)) + intBitsToFloat(R4i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[2] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R6i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R10i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R9i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R9i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R9i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R9i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R5i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R8i.y; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R10i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS8[24].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -R5i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[6].w)); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS0i = R0i.y; -} -if( activeMaskStackC[3] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R5i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R5i.y)); -} -if( activeMaskStackC[4] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R4i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R4i.w = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R4i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R4i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R4i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R9i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R9i.w; -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R2i.z = floatBitsToInt(uf_blockPS4[2].x); -R2i.z = floatBitsToInt(intBitsToFloat(R2i.z) * 4.0); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R5i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R5i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R2i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R6i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R2i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS3[21].x)); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R9i.w))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -R8i.w = 0; -// 1 -R1i.x = floatBitsToInt(intBitsToFloat(R9i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.x), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(PV0i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(PV0i.y))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R9i.w)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R125i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -// 3 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].z)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R125i.z)); -// 5 -R3i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R2i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -backupReg0i = R7i.w; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -// 8 -R6i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R5i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R0i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R3i.x)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R2i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R125i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(R125i.z))); -PV1i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R6i.y))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -// 8 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R6i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[2].x)); -PV0i.x = R7i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R7i.y; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), uf_blockPS10[2].z)); -PV0i.z = R7i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R7i.w; -// 2 -R1i.xyz = ivec3(R8i.x,R8i.w,R8i.w); -R1i.w = R8i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/56247a996eb4f56b_0000000007879249_ps.txt b/Source/TokyoMirage/56247a996eb4f56b_0000000007879249_ps.txt deleted file mode 100644 index 45457665..00000000 --- a/Source/TokyoMirage/56247a996eb4f56b_0000000007879249_ps.txt +++ /dev/null @@ -1,859 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 56247a996eb4f56b -uniform ivec4 uf_remappedPS[24]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1fba4000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[0].x)),-(intBitsToFloat(uf_remappedPS[0].y)),-(intBitsToFloat(uf_remappedPS[0].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = tempi.x; -// 1 -PV1i.z = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 2 -R0i.x = ((PV1i.z == 0)?(0):(0)); -R0i.y = ((PV1i.z == 0)?(0):(0x3f800000)); -// 3 -predResult = (R0i.y == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.w), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -PS0i = R0i.x; -// 3 -R4i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[1].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R8i.z = uf_remappedPS[2].x; -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(uf_remappedPS[3].x))); -PS0i = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[4].x),intBitsToFloat(uf_remappedPS[4].y),intBitsToFloat(uf_remappedPS[4].z),intBitsToFloat(uf_remappedPS[4].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R6i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[7].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[8].w))); -R8i.x = uf_remappedPS[7].x; -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[8].z)) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[7].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = uf_remappedPS[7].y; -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R6i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[8].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[7].x)) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[7].y)) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R6i.x; -R5i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(backupReg0i)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R5i.w))?1.0:0.0); -R8i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.z)); -PS0i = R8i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R7i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = backupReg0i; -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R5i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R8i.y))?1.0:0.0); -R127i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(uf_remappedPS[9].x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R5i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R5i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV0i.w)); -// 6 -R8i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R5i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R9i.x; -// 3 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[13].x)) /resScale * 0.5 + intBitsToFloat(PS0i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R5i.y; -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(uf_remappedPS[14].y)) + intBitsToFloat(uf_remappedPS[14].x))); -PS1i = R8i.y; -// 4 -R5i.x = uf_remappedPS[13].x; -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[13].y)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[15].w))); -R0i.y = uf_remappedPS[13].y; -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS0i = R0i.y; -} -if( activeMaskStackC[4] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[15].z)) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[13].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[13].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].x) /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R7i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R7i.w))?1.0:0.0); -R7i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(R2i.z)); -PS0i = R7i.x; -} -if( activeMaskStackC[4] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R7i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R7i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[5] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R7i.x))?1.0:0.0); -R127i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[9].x)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R8i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R8i.x; -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(uf_remappedPS[14].y)) + intBitsToFloat(uf_remappedPS[14].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R4i.w = uf_remappedPS[2].x; -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) * 4.0); -PS0i = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R5i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[13].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[15].w))); -R3i.x = uf_remappedPS[13].x; -R3i.x = floatBitsToInt(intBitsToFloat(R3i.x) / 2.0); -PS0i = R3i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[15].z)) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[13].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R3i.y = uf_remappedPS[13].y; -R3i.y = floatBitsToInt(intBitsToFloat(R3i.y) / 2.0); -PS1i = R3i.y; -} -if( activeMaskStackC[3] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[13].x)) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = R3i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[13].y)) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R7i.x))?1.0:0.0); -R2i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R7i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R4i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = R3i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[13].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R3i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R5i.y))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[2].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(uf_remappedPS[16].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -R0i.x = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(uf_remappedPS[17].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[18].z),-(intBitsToFloat(backupReg0i))) + intBitsToFloat(uf_remappedPS[18].z))); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedPS[19].x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(uf_remappedPS[20].x,uf_remappedPS[20].y,uf_remappedPS[20].z); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(uf_remappedPS[21].y)) + intBitsToFloat(uf_remappedPS[22].y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(uf_remappedPS[21].x)) + intBitsToFloat(uf_remappedPS[22].x))); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R4i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[21].z)) + intBitsToFloat(uf_remappedPS[22].z))); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R4i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[23].y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[23].x))); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[23].z))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.y))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,R2i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R1i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/59fca914f0dcb060_0000000000000000_vs.txt b/Source/TokyoMirage/59fca914f0dcb060_0000000000000000_vs.txt deleted file mode 100644 index 0a14e612..00000000 --- a/Source/TokyoMirage/59fca914f0dcb060_0000000000000000_vs.txt +++ /dev/null @@ -1,200 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 59fca914f0dcb060 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 2) out vec4 passParameterSem138; -layout(location = 3) out vec4 passParameterSem139; -layout(location = 4) out vec4 passParameterSem140; -layout(location = 5) out vec4 passParameterSem141; -layout(location = 6) out vec4 passParameterSem142; -layout(location = 1) out vec4 passParameterSem137; -layout(location = 0) out vec4 passParameterSem136; -layout(location = 7) out vec4 passParameterSem143; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R123f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, intBitsToFloat(uf_remappedVS[0].w)); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resYScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); -PV0f.w = R123f.w; -// 1 -R6f.x = PV0f.w + PV0f.y; -PV1f.x = R6f.x; -R6f.y = PV0f.z + PV0f.x; -PV1f.y = R6f.y; -PV1f.z = PV0f.z + -(PV0f.x); -PV1f.w = PV0f.w + -(PV0f.y); -// 2 -R5f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV1f.x); -PV0f.x = R5f.x; -R5f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV1f.y); -R6f.z = PV1f.w; -PV0f.z = R6f.z; -R6f.w = PV1f.z; -PV0f.w = R6f.w; -// 3 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -R2f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV0f.x); -PS1f = R2f.x; -// 4 -R0f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PS1f); -PV0f.x = R0f.x; -R2f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + R5f.y); -PV0f.y = R2f.y; -R5f.z = PV1f.y; -PV0f.z = R5f.z; -R5f.w = PV1f.x; -PV0f.w = R5f.w; -// 5 -R3f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV0f.x); -PV1f.x = R3f.x; -R0f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV0f.y); -PV1f.y = R0f.y; -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 6 -R4f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV1f.x); -R3f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV1f.y); -PV0f.y = R3f.y; -R2f.z = PV1f.w; -PV0f.z = R2f.z; -R2f.w = PV1f.z; -PV0f.w = R2f.w; -// 7 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -R4f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV0f.y); -PS1f = R4f.y; -// 8 -R7f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + R4f.x); -PV0f.x = R7f.x; -R7f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PS1f); -PV0f.y = R7f.y; -R0f.z = PV1f.y; -PV0f.z = R0f.z; -R0f.w = PV1f.x; -PV0f.w = R0f.w; -// 9 -R8f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV0f.x); -R8f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV0f.y); -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 10 -R3f.z = PV1f.w; -PV0f.z = R3f.z; -R3f.w = PV1f.z; -PV0f.w = R3f.w; -// 11 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -// 12 -R4f.z = PV1f.y; -PV0f.z = R4f.z; -R4f.w = PV1f.x; -PV0f.w = R4f.w; -// 13 -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 14 -R7f.z = PV1f.w; -R7f.w = PV1f.z; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem138 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -passParameterSem139 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem140 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// export -passParameterSem141 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -// export -passParameterSem142 = vec4(R7f.x, R7f.y, R7f.z, R7f.w); -// export -passParameterSem137 = vec4(R5f.x, R5f.y, R5f.z, R5f.w); -// export -passParameterSem136 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -// 0 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + R7f.w); -PV0f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + R7f.z); -PV0f.y = R123f.y; -// 1 -R8f.z = PV0f.y; -R8f.w = PV0f.x; -// export -passParameterSem143 = vec4(R8f.x, R8f.y, R8f.z, R8f.w); -} diff --git a/Source/TokyoMirage/5aef5a108e7134ce_0000000000f0f249_ps.txt b/Source/TokyoMirage/5aef5a108e7134ce_0000000000f0f249_ps.txt deleted file mode 100644 index 31d73900..00000000 --- a/Source/TokyoMirage/5aef5a108e7134ce_0000000000f0f249_ps.txt +++ /dev/null @@ -1,865 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 5aef5a108e7134ce -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1a33f000 res 256x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x19ac8000 res 128x256x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R9i.x = R127i.y; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R127i.z = R2i.x; -R1i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R7i.x = R127i.w; -R7i.y = R1i.z; -R126i.z = R2i.y; -R127i.w = R2i.z; -R3i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R3i.w; -// 4 -R10i.x = 0; -R10i.y = 0; -R6i.z = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R6i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = 0; -PS0i = R10i.z; -// 5 -R0i.x = 0; -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.x = R126i.x + PS0i; -PS1i = floatBitsToInt(sqrt(intBitsToFloat(R126i.y))); -// 8 -R1i.x = PV1i.x << 0x00000002; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.w))); -R7i.w = PV1i.x << 0x00000005; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.x),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R1i.w)) + intBitsToFloat(R1i.y))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R9i.x)) + intBitsToFloat(PS0i))); -PS1i = R126i.y; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -R0i.y = R7i.w + 0x00000e10; -PV0i.z = R4i.x << R3i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(R6i.z)); -// 4 -R2i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.y = (R2i.w > R0i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg0i = R0i.x; -R0i.x = backupReg0i + int(1); -PV0i.y = backupReg1i + backupReg0i; -R5i.w = 0; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R3i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R6i.z)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R5i.y)),-(intBitsToFloat(R5i.z)),-(intBitsToFloat(R5i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R4i.y << R3i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R6i.z)); -// 2 -R0i.x = PV1i.y & 0x0000ffff; -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R2i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R0i.x > R2i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R2i.w; -PV0i.y = backupReg0i + R2i.w; -R2i.w = backupReg1i + int(1); -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.x << R3i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R6i.z)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.x = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R3i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -R2i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R2i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R0i.x = (R2i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -backupReg0i = R0i.x; -predResult = (backupReg0i != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R0i.y + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.y << R3i.w; -// 1 -PV1i.w = int(uint(PV0i.z) >> uint(R6i.z)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R6i.w + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R127i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R9i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -PV1i.y = clampFI32(PV1i.y); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.y = tempi.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R2i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -R2i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -// 2 -R1i.z = ((PV1i.x == 0)?(0):(0)); -R2i.w = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), uf_blockPS10[1].y)); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), uf_blockPS10[1].y)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R0i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R2i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -backupReg0i = R4i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R2i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R4i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R4i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R0i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R6i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/60d954abeff0f4a5_00000001e1e49649_ps.txt b/Source/TokyoMirage/60d954abeff0f4a5_00000001e1e49649_ps.txt deleted file mode 100644 index 59803a93..00000000 --- a/Source/TokyoMirage/60d954abeff0f4a5_00000001e1e49649_ps.txt +++ /dev/null @@ -1,1225 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 60d954abeff0f4a5 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x19986000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x19066000 res 510x510x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x199b2000 res 512x512x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x199de000 res 256x256x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x188a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R8i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R8i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(backupReg0i)),-(intBitsToFloat(R10i.y)),-(intBitsToFloat(R11i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R126i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R0i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R10i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R11i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PS1i = R127i.x; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.y; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R2i.x))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R1i.w = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(R127i.x)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R2i.y))); -PS0i = R3i.w; -// 5 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R2i.z))); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(R6i.z))); -// 6 -backupReg0i = R6i.x; -backupReg1i = R6i.y; -backupReg2i = R0i.z; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(R0i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(R126i.x))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS10[5].x)); -PS0i = R7i.w; -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.y))); -R0i.x = clampFI32(R0i.x); -R4i.y = 0; -} -if( activeMaskStackC[1] == true ) { -R3i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R0i.x) + intBitsToFloat(0x40400000))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R0i.x))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.z))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.x))); -// 2 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.x = floatBitsToInt(tempResultf); -PS0i = R0i.x; -// 3 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R0i.x))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 2 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[21].x)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.y))); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PV0i.x))); -R126i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 6 -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z)) + intBitsToFloat(PV1i.x))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R5i.y)) + intBitsToFloat(PV1i.y))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.z))); -PV0i.w = R127i.w; -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R3i.y)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R3i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R3i.z)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -PV0i.z = R123i.z; -// 9 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -// 10 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -PV0i.x = R7i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.y = R7i.y; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -PV0i.z = R7i.z; -// 11 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R7i.w; -// 12 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/637727b58ea13abc_00000000078e1649_ps.txt b/Source/TokyoMirage/637727b58ea13abc_00000000078e1649_ps.txt deleted file mode 100644 index a867d015..00000000 --- a/Source/TokyoMirage/637727b58ea13abc_00000000078e1649_ps.txt +++ /dev/null @@ -1,1219 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 637727b58ea13abc -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1bc72000 res 512x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1bc9e000 res 256x128x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1cd41000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x194a2000 res 4096x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R10i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R10i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(backupReg0i)),-(intBitsToFloat(R10i.y)),-(intBitsToFloat(R6i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R126i.w; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R0i.x)))); -R126i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R10i.y)))); -R126i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R6i.z)))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PS1i = R127i.w; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.x; -// 3 -backupReg0i = R0i.y; -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.w)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -PS1i = R3i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R4i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.z = R123i.z; -// 5 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(R126i.w))); -// 6 -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.x))); -R126i.w = clampFI32(R126i.w); -PV0i.w = R126i.w; -// 7 -redcCUBE(vec4(intBitsToFloat(R126i.z),intBitsToFloat(R126i.z),intBitsToFloat(R126i.x),intBitsToFloat(R126i.y)),vec4(intBitsToFloat(R126i.y),intBitsToFloat(R126i.x),intBitsToFloat(R126i.z),intBitsToFloat(R126i.z)),cubeMapSTM,cubeMapFaceId); -R0i.x = floatBitsToInt(cubeMapSTM.x); -R0i.y = floatBitsToInt(cubeMapSTM.y); -R0i.z = floatBitsToInt(cubeMapSTM.z); -R0i.w = cubeMapFaceId; -PV1i.x = R0i.x; -PV1i.y = R0i.y; -PV1i.z = R0i.z; -PV1i.w = R0i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -PS1i = R126i.z; -// 8 -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.w) + intBitsToFloat(0x40400000))); -PV0i.y = R123i.y; -PS0i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R0i.y; -backupReg1i = R0i.x; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS0i)) + 1.5)); -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS0i)) + 1.5)); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R0i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R0i.yx),R0i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -tempResultf = log2(intBitsToFloat(R6i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -// 2 -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.w))); -// 4 -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[21].x)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PV0i.w))); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R126i.x; -backupReg1i = R127i.y; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R2i.y)) + intBitsToFloat(PV0i.w))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R2i.z)) + intBitsToFloat(PV0i.z))); -PV1i.w = R126i.w; -// 8 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.y)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.z)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(R126i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R126i.z)) + intBitsToFloat(R126i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -// 10 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[20].z)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[2].x)); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[2].z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -// 3 -R0i.xyz = ivec3(R3i.x,R3i.y,R3i.z); -R0i.w = R3i.w; -// 4 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/637727b58ea13abc_000000003c3c9649_ps.txt b/Source/TokyoMirage/637727b58ea13abc_000000003c3c9649_ps.txt deleted file mode 100644 index 729180e8..00000000 --- a/Source/TokyoMirage/637727b58ea13abc_000000003c3c9649_ps.txt +++ /dev/null @@ -1,1217 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 637727b58ea13abc -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1a497000 res 1024x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x19b16000 res 1024x256x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x19bd6000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R10i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R10i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(backupReg0i)),-(intBitsToFloat(R10i.y)),-(intBitsToFloat(R6i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R126i.w; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R0i.x)))); -R126i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R10i.y)))); -R126i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R6i.z)))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PS1i = R127i.w; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.x; -// 3 -backupReg0i = R0i.y; -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.w)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -PS1i = R3i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R4i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.z = R123i.z; -// 5 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(R126i.w))); -// 6 -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.x))); -R126i.w = clampFI32(R126i.w); -PV0i.w = R126i.w; -// 7 -redcCUBE(vec4(intBitsToFloat(R126i.z),intBitsToFloat(R126i.z),intBitsToFloat(R126i.x),intBitsToFloat(R126i.y)),vec4(intBitsToFloat(R126i.y),intBitsToFloat(R126i.x),intBitsToFloat(R126i.z),intBitsToFloat(R126i.z)),cubeMapSTM,cubeMapFaceId); -R0i.x = floatBitsToInt(cubeMapSTM.x); -R0i.y = floatBitsToInt(cubeMapSTM.y); -R0i.z = floatBitsToInt(cubeMapSTM.z); -R0i.w = cubeMapFaceId; -PV1i.x = R0i.x; -PV1i.y = R0i.y; -PV1i.z = R0i.z; -PV1i.w = R0i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -PS1i = R126i.z; -// 8 -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.w) + intBitsToFloat(0x40400000))); -PV0i.y = R123i.y; -PS0i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R0i.y; -backupReg1i = R0i.x; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS0i)) + 1.5)); -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS0i)) + 1.5)); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R0i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R0i.yx),R0i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -tempResultf = log2(intBitsToFloat(R6i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -// 2 -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.w))); -// 4 -R126i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[21].x)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PV0i.w))); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R126i.x; -backupReg1i = R127i.y; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R2i.y)) + intBitsToFloat(PV0i.w))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R2i.z)) + intBitsToFloat(PV0i.z))); -PV1i.w = R126i.w; -// 8 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.y)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.z)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(R126i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R126i.z)) + intBitsToFloat(R126i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -// 10 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[20].z)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[2].x)); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[2].z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -// 3 -R0i.xyz = ivec3(R3i.x,R3i.y,R3i.z); -R0i.w = R3i.w; -// 4 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/658c0585bb7b4b1f_0000000007879249_ps.txt b/Source/TokyoMirage/658c0585bb7b4b1f_0000000007879249_ps.txt deleted file mode 100644 index cb77f19f..00000000 --- a/Source/TokyoMirage/658c0585bb7b4b1f_0000000007879249_ps.txt +++ /dev/null @@ -1,615 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 658c0585bb7b4b1f -uniform ivec4 uf_remappedPS[31]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1f82c000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1f7fc000 res 256x256x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1ecde000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R5i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.y = R1i.x; -PS0i = R126i.y; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -R125i.y = PV0i.w; -R127i.z = R2i.x; -R127i.w = R1i.y; -R125i.z = R2i.y; -PS1i = R125i.z; -// 2 -R124i.y = R1i.z; -R1i.z = R2i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -tempResultf = log2(intBitsToFloat(R9i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126i.z = floatBitsToInt(tempResultf); -PS0i = R126i.z; -// 3 -R125i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -R1i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R5i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.x)) + intBitsToFloat(R7i.w))); -R124i.z = floatBitsToInt(sqrt(intBitsToFloat(PV0i.w))); -PS1i = R124i.z; -// 4 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.y),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(R126i.z))); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R124i.z),-0.0),vec4(intBitsToFloat(R125i.y),intBitsToFloat(R127i.w),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 6 -backupReg0i = R124i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(R1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = tempi.x; -R124i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + 1.0); -PS0i = R124i.y; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.z)) + intBitsToFloat(R7i.w))); -PS1i = R7i.y; -// 8 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R1i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R1i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].y)) + 1.0); -PS0i = R127i.w; -// 9 -PV1i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(R127i.y))); -// 10 -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].y))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].x))); -R7i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.y)); -PS0i = floatBitsToInt(tempResultf); -// 11 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS1i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[2].x)),-(intBitsToFloat(uf_remappedPS[2].y)),-(intBitsToFloat(uf_remappedPS[2].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.x = R123i.x; -PV1i.y = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.w = R123i.w; -// 2 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R7i.z))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R9i.y))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R7i.w))); -R2i.w = ((PV1i.y == 0)?(0):(0)); -R1i.z = ((PV1i.y == 0)?(0):(0x3f800000)); -PS0i = R1i.z; -// 3 -predResult = (R1i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R2i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[4].x) >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(uf_remappedPS[5].x))); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[10].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -backupReg0i = R4i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R2i.z = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R4i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R2i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].y)) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R4i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[10].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[18].x)); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt(min(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].z)) + 1.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[20].z),-(intBitsToFloat(R2i.w))) + intBitsToFloat(uf_remappedPS[20].z))); -PV1i.z = R123i.z; -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[21].x)) + 1.0); -R127i.y = floatBitsToInt(max(intBitsToFloat(uf_remappedPS[21].x), intBitsToFloat(0x33d6bf95))); -PS1i = R127i.y; -// 2 -R6i.x = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV1i.z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[22].w))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -PS0i = R126i.w; -// 3 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[23].x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[23].y))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[23].z))); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[24].x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.w))); -PV0i.z = clampFI32(PV0i.z); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[24].y))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[24].z))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[24].w))); -PS1i = R3i.y; -// 6 -R7i.y = 0; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[21].y), intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[25].x))); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].w), intBitsToFloat(PS1i))); -R2i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R2i.x; -// 9 -R4i.xyz = ivec3(uf_remappedPS[26].x,uf_remappedPS[26].y,uf_remappedPS[26].z); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 10 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].y), intBitsToFloat(PS1i))); -// 11 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.w))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.z))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.x))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(uf_remappedPS[27].y)) + intBitsToFloat(uf_remappedPS[28].y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(uf_remappedPS[27].x)) + intBitsToFloat(uf_remappedPS[28].x))); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(uf_remappedPS[27].z)) + intBitsToFloat(uf_remappedPS[28].z))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R0i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R1i.y)) + intBitsToFloat(R6i.y))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[29].z)) + intBitsToFloat(uf_remappedPS[29].w)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(backupReg0i))); -PV0i.w = R127i.w; -// 3 -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R1i.z)) + intBitsToFloat(R0i.x))); -PV1i.y = R127i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.w)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R2i.z)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(PS1i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.x))); -PV0i.w = R123i.w; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.w))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.y))); -PV1i.x = R123i.x; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R4i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R4i.x))); -// 8 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), intBitsToFloat(uf_remappedPS[30].x))); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_remappedPS[30].y))); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(uf_remappedPS[30].z))); -PV0i.z = R5i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R5i.w; -// 2 -R1i.xyz = ivec3(R7i.z,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/6c12438270a71b38_0000000f0f249249_ps.txt b/Source/TokyoMirage/6c12438270a71b38_0000000f0f249249_ps.txt deleted file mode 100644 index a6126976..00000000 --- a/Source/TokyoMirage/6c12438270a71b38_0000000f0f249249_ps.txt +++ /dev/null @@ -1,1547 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 6c12438270a71b38 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3d01a000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x3d0c6000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3cbe2000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0x2aa61000 res 1024x1024x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS1[0].x, uf_blockPS3[11].z)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS1[0].y, uf_blockPS3[11].z)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -PS0i = floatBitsToInt(1.0 / uf_blockPS1[0].x); -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x394ccccd)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x394ccccd)); -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(PS0i)) + -(uf_blockPS3[11].x))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / uf_blockPS1[0].y); -// 2 -R126i.x = floatBitsToInt(floor(intBitsToFloat(R127i.z))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(PS1i)) + -(uf_blockPS3[11].y))); -PV0i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.w))); -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R125i.x = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV1i.x = R125i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PV1i.z = R127i.z; -R9i.x = 0; -PS1i = R9i.x; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R126i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R9i.y = 0; -PS0i = R9i.y; -// 5 -R10i.x = 0; -R9i.z = 0; -R127i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R127i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R126i.x))); -// 7 -PV1i.x = R127i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -PS1i = floatBitsToInt(tempResultf); -// 8 -R5i.x = PV1i.x << 0x00000002; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R6i.w = PV1i.x << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS7, intBitsToFloat(R5i.wy)).xyzw); -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R7i.y) * 2.0 + -(1.0))); -PV0i.x = R123i.x; -R10i.y = R6i.w + 0x00000e10; -R123i.z = floatBitsToInt((intBitsToFloat(R7i.z) * 2.0 + -(1.0))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R7i.x) * 2.0 + -(1.0))); -PV0i.w = R123i.w; -R4i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS0i = R4i.w; -// 1 -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),uf_blockPS3[18].z) + intBitsToFloat(R1i.x))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),uf_blockPS3[18].z) + intBitsToFloat(R1i.y))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),uf_blockPS3[18].z) + intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -PV1i.w = R8i.x << PS0i; -R10i.z = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS1i = R10i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -PS0i = int(uint(PV1i.w) >> uint(PS1i)); -// 3 -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS3[18].w)); -R1i.w = PS0i & 0x0000ffff; -PS1i = R1i.w; -// 4 -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R1i.w > R10i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R10i.x; -R6i.x = 0; -PV0i.w = R10i.y + R10i.x; -R10i.x = backupReg0i + int(1); -PS0i = R10i.x; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R5i.z << R4i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.z)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R5i.y = PS1i + 0x00000003; -R5i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R5i.y)),-(intBitsToFloat(R5i.z)),-(intBitsToFloat(R6i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.y << R4i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.z)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R7i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R7i.z; -backupReg0i = R7i.z; -R7i.z = backupReg0i + int(1); -PV0i.w = R10i.y + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R4i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R10i.z)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.y = PS0i + int(1); -R5i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.w].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.z << R4i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R10i.z)); -// 2 -R10i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R10i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R10i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R10i.y + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R4i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.z)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.z = R6i.w + PV0i.w; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R125i.z))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -PV0i.x = clampFI32(PV0i.x); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 10 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R127i.z = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R125i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R125i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.y)); -R126i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R124i.w; -// 4 -R125i.x = ((R127i.z == 0)?(0):(0x3f800000)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -R4i.z = ((R126i.w == 0)?(0):(0x3f800000)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R124i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PS0i = R124i.x; -// 5 -R0i.x = floatBitsToInt(-(intBitsToFloat(R125i.w)) + 1.0); -PV1i.x = R0i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(R125i.z)) + 1.0); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R124i.w))); -R125i.w = floatBitsToInt(min(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.w))); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS1i = R127i.x; -// 6 -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.z) + 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(R125i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -R124i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R124i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PS0i))); -R126i.z = clampFI32(R126i.z); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PS1i = R127i.y; -// 8 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.z))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R8i.x))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -PV0i.z = R127i.z; -R124i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PV0i.w = R124i.w; -R124i.z = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w)); -PS0i = R124i.z; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R5i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R5i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R5i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R126i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R124i.w; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.z))); -R125i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R7i.y)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R7i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PS1i = R127i.y; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.z))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R126i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.y))); -// 13 -backupReg0i = R127i.x; -backupReg1i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(PS0i))); -PS1i = R127i.w; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(R126i.x))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(R124i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 16 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 17 -R5i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R9i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R9i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R9i.y))); -PV0i.z = R123i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV1i.w))); -PV0i.x = R127i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV1i.y))); -PV0i.y = R124i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV1i.x))); -PV0i.z = R125i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 4 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -// 5 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PS1i))); -// 7 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.x))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R125i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R125i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R5i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R10i.w = 0x3f800000; -PV0i.w = R10i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.w)); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R8i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R8i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[2] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = backupReg0i; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R9i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R7i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[6].w)); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R5i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R9i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R5i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R9i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R9i.w; -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -// 2 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R9i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.w))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R6i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R9i.w))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R5i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R7i.y = 0; -PS0i = R7i.y; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.y = floatBitsToInt(intBitsToFloat(R9i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.x))); -// 2 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].x)); -// 3 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -PS1i = R6i.w; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 5 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.x)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PV1i.z))); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -// 8 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.x))); -PV1i.w = R127i.w; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R1i.x)); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R2i.x)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R5i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R5i.x))); -// 7 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R6i.x; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.y = R6i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[2].z)); -PV0i.z = R6i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R6i.w; -// 2 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/6cad1f9e3b132733_0000003c3c3c9249_ps.txt b/Source/TokyoMirage/6cad1f9e3b132733_0000003c3c3c9249_ps.txt deleted file mode 100644 index a64a749d..00000000 --- a/Source/TokyoMirage/6cad1f9e3b132733_0000003c3c3c9249_ps.txt +++ /dev/null @@ -1,1150 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 6cad1f9e3b132733 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x2019e000 res 2048x2048x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xc) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1f89c000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x2044a000 res 512x512x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1ecde000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R126i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R1i.x))); -PS1i = R124i.y; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R126i.y))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R1i.z))); -R1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -PV0i.x = clampFI32(PV0i.x); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -PV0i.y = clampFI32(PV0i.y); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS3[21].x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), uf_blockPS3[8].x)); -PS0i = R127i.w; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.w))); -PS1i = R125i.x; -// 6 -backupReg0i = R0i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.z))); -R125i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -R5i.w = 0; -PS0i = R5i.w; -// 7 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS3[8].w)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), uf_blockPS3[8].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), uf_blockPS3[8].y)); -R8i.w = 0; -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS3[10].x)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS3[10].y)); -tempResultf = log2(intBitsToFloat(R127i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS3[10].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 10 -backupReg0i = R127i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), uf_blockPS10[5].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[5].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 11 -backupReg0i = R126i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PV0i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -PV1i.w = R127i.w; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -PS1i = R126i.x; -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PV1i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PV1i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PV1i.z))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.w))); -PS0i = R2i.x; -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), uf_blockPS10[2].x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), uf_blockPS10[2].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), uf_blockPS10[2].y)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -// 14 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.x))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.y))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.y))); -// 2 -backupReg0i = R0i.z; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R6i.x)) + intBitsToFloat(R0i.w))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R6i.y)) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y)) + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R6i.z)) + intBitsToFloat(backupReg1i))); -PV1i.z = R123i.z; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 4 -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(R2i.z)) + intBitsToFloat(PV1i.z))); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), uf_blockPS3[20].x)); -// 1 -R7i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(PV0i.w))); -R7i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(PV0i.z))); -R7i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(PV0i.y))); -// 2 -R2i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -R2i.w = R5i.w; -// 3 -R0i.xyz = ivec3(R7i.x,R7i.y,R7i.z); -R0i.w = R7i.w; -// 4 -R1i.xyz = ivec3(R8i.z,R8i.w,R8i.w); -R1i.w = R8i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/6e1c0e67c00faf41_00000001e1e49249_ps.txt b/Source/TokyoMirage/6e1c0e67c00faf41_00000001e1e49249_ps.txt deleted file mode 100644 index bf129579..00000000 --- a/Source/TokyoMirage/6e1c0e67c00faf41_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1676 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 6e1c0e67c00faf41 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3658c000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x36638000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36484000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R5i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R11i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R11i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R9i.x = 0; -R9i.y = 0; -R3i.z = 0; -R1i.w = 0; -R9i.z = 0; -PS0i = R9i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS0i = R5i.w; -// 9 -R5i.x = PV0i.z << 0x00000002; -R5i.y = PV0i.z << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R7i.x << R11i.x; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R11i.z = R5i.y + 0x00000e10; -PS0i = R11i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R11i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R5i.z << R11i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R5i.y = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R6i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + intBitsToFloat(R6i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.y)) + intBitsToFloat(R6i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R6i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R6i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),-(intBitsToFloat(R6i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),-(intBitsToFloat(R6i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R9i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R9i.x; -// 8 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R11i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.w = R11i.z + R1i.w; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R11i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.w; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.y; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R9i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R9i.x; -// 13 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R11i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R12i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R12i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R12i.z; -PV0i.z = R11i.z + R12i.z; -R12i.z = backupReg0i + int(1); -PS0i = R12i.z; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.y << R11i.x; -// 1 -PV1i.y = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.z = R4i.w + PV0i.x; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + int(1); -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.x].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R125i.z))); -R125i.w = clampFI32(R125i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -// 10 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.x))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R8i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R127i.y = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.w = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.x)); -// 3 -PV1i.x = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.x)); -R126i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R124i.w; -// 4 -backupReg0i = R127i.z; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.z))); -R4i.y = ((R127i.y == 0)?(0):(0x3f800000)); -R127i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R127i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R4i.x = ((backupReg0i == 0)?(0):(0x3f800000)); -PS0i = R4i.x; -// 5 -backupReg0i = R124i.w; -R127i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R0i.y = floatBitsToInt(-(intBitsToFloat(R125i.w)) + 1.0); -R125i.z = floatBitsToInt(-(intBitsToFloat(R126i.y)) + 1.0); -R124i.w = ((R126i.w == 0)?(0):(0x3f800000)); -PV1i.w = R124i.w; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -PS1i = R6i.y; -// 6 -backupReg0i = R127i.z; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.y) + 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(R127i.w))); -R127i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.w) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R6i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.y))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R6i.y)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -// 8 -backupReg0i = R125i.z; -R125i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R125i.z = clampFI32(R125i.z); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -backupReg0i = R126i.z; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R7i.x))); -PV1i.x = R124i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R7i.y))); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R7i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -R127i.w = clampFI32(R127i.w); -R124i.y = floatBitsToInt(-(intBitsToFloat(R6i.x)) + intBitsToFloat(R126i.w)); -PS1i = R124i.y; -// 10 -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R5i.y)); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -R126i.y = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R5i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R5i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PS0i = R127i.x; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R125i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.z) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.w))); -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.w) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R126i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(PV1i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PS1i))); -PS0i = R126i.x; -// 13 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R8i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R124i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R8i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R125i.y))); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -PS1i = R125i.w; -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R7i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R126i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R7i.z))); -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.y))); -PS0i = R124i.x; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R125i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R125i.x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -PS1i = R122i.x; -// 16 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R126i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[0].x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[0].x)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[0].x)); -tempResultf = log2(intBitsToFloat(R126i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 18 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 19 -R4i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -// 20 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PV1i.z))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R126i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R8i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = floatBitsToInt(uf_blockPS4[2].x); -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R12i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R11i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R11i.x = floatBitsToInt(uf_blockPS8[23].x); -R11i.x = floatBitsToInt(intBitsToFloat(R11i.x) / 2.0); -PS0i = R11i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[23].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R12i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R11i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -R11i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R3i.z)); -PS0i = R11i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R10i.w) >= intBitsToFloat(R11i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R6i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R8i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R11i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R10i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R10i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV0i.w)); -// 6 -R4i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R10i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R10i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R8i.y; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R10i.y; -// 4 -R11i.x = floatBitsToInt(uf_blockPS8[24].x); -R11i.x = floatBitsToInt(intBitsToFloat(R11i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.y = floatBitsToInt(uf_blockPS8[24].y); -R4i.y = floatBitsToInt(intBitsToFloat(R4i.y) / 2.0); -PS0i = R4i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R4i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -R6i.x = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R2i.z)); -PS0i = R6i.x; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R6i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R4i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R11i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R6i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R9i.w = floatBitsToInt(uf_blockPS4[2].x); -R9i.w = floatBitsToInt(intBitsToFloat(R9i.w) * 4.0); -PS0i = R9i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R11i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R11i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R10i.x)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R0i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS3[21].x)); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.x))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R8i.y = 0; -PS0i = R8i.y; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(PV0i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.y))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.x)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R125i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].z)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R125i.z)); -// 5 -R3i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R2i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -backupReg0i = R7i.w; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -// 8 -R6i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R5i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R3i.x)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R2i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R125i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(R125i.z))); -PV1i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R6i.y))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -// 8 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R6i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[2].x)); -PV0i.x = R7i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R7i.y; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), uf_blockPS10[2].z)); -PV0i.z = R7i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R7i.w; -// 2 -R1i.xyz = ivec3(R8i.x,R8i.y,R8i.y); -R1i.w = R8i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/73c2bf1091343523_000000003c3c9649_ps.txt b/Source/TokyoMirage/73c2bf1091343523_000000003c3c9649_ps.txt deleted file mode 100644 index db3672b3..00000000 --- a/Source/TokyoMirage/73c2bf1091343523_000000003c3c9649_ps.txt +++ /dev/null @@ -1,1260 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 73c2bf1091343523 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1a413000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x19af2000 res 64x64x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x19bd6000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x188a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(backupReg0i)),-(intBitsToFloat(R10i.y)),-(intBitsToFloat(R11i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R126i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R0i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R10i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R11i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PS1i = R127i.x; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.y; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R1i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(backupReg0i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.w))); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R127i.w; -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R3i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(R127i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(R126i.x))); -R126i.w = floatBitsToInt(1.0 / abs(intBitsToFloat(R6i.z))); -PS0i = R126i.w; -// 7 -backupReg0i = R6i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS0i)) + 1.5)); -PS1i = R6i.x; -// 8 -backupReg0i = R6i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R127i.w)) + 1.0)); -R0i.x = clampFI32(R0i.x); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R126i.w)) + 1.5)); -R0i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + intBitsToFloat(0x40400000))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -R5i.y = 0; -PS0i = R5i.y; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), intBitsToFloat(R0i.z))); -tempResultf = log2(intBitsToFloat(R0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV1i.z = R123i.z; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 2 -backupReg0i = R127i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -// 3 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 4 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(R127i.y))); -PS0i = R127i.w; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[21].x)); -R126i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PV1i.x))); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.y))); -// 8 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R2i.z)) + intBitsToFloat(PV1i.w))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R2i.y)) + intBitsToFloat(PV1i.x))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.x)) + intBitsToFloat(PV1i.y))); -PV0i.z = R127i.z; -// 9 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R3i.y)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R1i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -// 10 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -// 11 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.z)); -// 12 -backupReg0i = R127i.w; -backupReg1i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(R127i.y))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(R127i.z))); -PV0i.y = R127i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(backupReg1i))); -PV0i.w = R127i.w; -// 13 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R6i.y)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R6i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R6i.z)); -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -// 15 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), uf_blockPS10[2].y)); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), uf_blockPS10[2].z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PS1i))); -// 3 -R0i.xyz = ivec3(R4i.x,R4i.y,R4i.z); -R0i.w = R4i.w; -// 4 -R1i.xyz = ivec3(R5i.x,R5i.y,R5i.y); -R1i.w = R5i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/74ab7845ce95d107_0000007879249249_ps.txt b/Source/TokyoMirage/74ab7845ce95d107_0000007879249249_ps.txt deleted file mode 100644 index 1ce77df5..00000000 --- a/Source/TokyoMirage/74ab7845ce95d107_0000007879249249_ps.txt +++ /dev/null @@ -1,1591 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 74ab7845ce95d107 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x30588000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x30634000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x30280000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x30128000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0x2aa61000 res 1024x1024x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS1[0].x, uf_blockPS3[11].z)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS1[0].y, uf_blockPS3[11].z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -PS0i = floatBitsToInt(1.0 / uf_blockPS1[0].x); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(PS0i)) + -(uf_blockPS3[11].x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x394ccccd)); -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x394ccccd)); -PS1i = floatBitsToInt(1.0 / uf_blockPS1[0].y); -// 2 -backupReg0i = R0i.y; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(R127i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + -(uf_blockPS3[11].y))); -PV0i.w = R123i.w; -PS0i = int(uint(intBitsToFloat(PV1i.z))); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.w))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -R127i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R127i.x; -// 4 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R5i.w))); -R5i.y = R1i.x; -R5i.z = R2i.x; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R8i.x = R126i.z; -R8i.y = R1i.y; -R7i.z = R2i.y; -R1i.w = R127i.x + PS0i; -PV1i.w = R1i.w; -R8i.z = floatBitsToInt(sqrt(intBitsToFloat(PV0i.w))); -PS1i = R8i.z; -// 6 -R1i.x = PV1i.w << 0x00000002; -R1i.y = R127i.w; -R5i.w = R2i.z; -R11i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS0i = R11i.x; -} -if( activeMaskStackC[1] == true ) { -R10i.xyzw = floatBitsToInt(texture(textureUnitPS7, intBitsToFloat(R7i.xy)).xyzw); -R12i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R126i.z = floatBitsToInt((intBitsToFloat(R10i.x) * 2.0 + -(1.0))); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R127i.x = floatBitsToInt((intBitsToFloat(R10i.y) * 2.0 + -(1.0))); -PS1i = R127i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),intBitsToFloat(R5i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((intBitsToFloat(R10i.z) * 2.0 + -(1.0))); -PS0i = R122i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),uf_blockPS3[18].z) + intBitsToFloat(R127i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS3[18].z) + intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),uf_blockPS3[18].z) + intBitsToFloat(PV0i.x))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R127i.y = R1i.w << 0x00000005; -PS1i = R127i.y; -// 4 -R9i.x = 0; -R9i.y = 0; -R126i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R2i.w = 0; -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS3[18].w)); -PS0i = R10i.z; -// 5 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R11i.z = backupReg0i + 0x00000e10; -PS1i = R11i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R126i.w),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R126i.w),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R9i.z = 0; -PS0i = R9i.z; -// 7 -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -PS1i = floatBitsToInt(tempResultf); -// 8 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -PS0i = floatBitsToInt(tempResultf); -// 9 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(PS0i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PS0i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R10i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.x = R10i.x; -R3i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R6i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -PS0i = R6i.w; -// 1 -PV1i.z = R12i.x << PV0i.x; -// 2 -PV0i.x = int(uint(PV1i.z) >> uint(R3i.w)); -// 3 -R7i.y = PV0i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.y = (R7i.y > R2i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R2i.w; -PV0i.y = R11i.z + R2i.w; -R5i.w = 0; -R2i.w = backupReg0i + int(1); -PS0i = R2i.w; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R10i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R3i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),intBitsToFloat(R6i.z)),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R5i.y)),-(intBitsToFloat(R5i.z)),-(intBitsToFloat(R5i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R12i.y << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R3i.w)); -// 2 -R8i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.z > R8i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.y; -PV0i.y = R11i.z + R8i.y; -R8i.y = backupReg0i + int(1); -PS0i = R8i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.x << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.w) >> uint(R3i.w)); -// 2 -PV0i.z = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.z)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R12i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R3i.w)); -// 2 -R2i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R2i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R12i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R2i.w > R12i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R12i.z; -backupReg0i = R12i.z; -R12i.z = backupReg0i + int(1); -PV0i.w = R11i.z + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R1i.y << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R3i.w)); -// 2 -PV0i.z = PV1i.x & 0x0000ffff; -// 3 -PV1i.w = R6i.w + PV0i.z; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + int(1); -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000005; -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.z].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(backupReg2i))); -R127i.w = clampFI32(R127i.w); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.x))); -PV0i.w = clampFI32(PV0i.w); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.w)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.z))); -// 10 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R127i.y = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R126i.y; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.x)); -// 3 -PV1i.x = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.x)); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R125i.w; -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.y))); -R124i.y = ((R127i.z == 0)?(0):(0x3f800000)); -R5i.z = ((R126i.w == 0)?(0):(0x3f800000)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R6i.y = ((R127i.y == 0)?(0):(0x3f800000)); -PS0i = R6i.y; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.y)) + 1.0); -R127i.y = floatBitsToInt(min(intBitsToFloat(R124i.w), intBitsToFloat(PV0i.w))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.w))); -R3i.w = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -PV1i.w = R3i.w; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(R124i.w)); -PS1i = R125i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R126i.y))); -R126i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.z) + 1.0)); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.y) + 1.0)); -R125i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.y) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 7 -R6i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.y)),intBitsToFloat(R125i.y)) + 1.0)); -PV1i.x = R6i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R127i.y = clampFI32(R127i.y); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -R127i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PS1i = R127i.x; -// 8 -backupReg0i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R8i.x))); -PV0i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R8i.z))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -PV0i.z = R125i.z; -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PV0i.w = R125i.w; -R124i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.w)); -PS0i = R124i.z; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R1i.y)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R1i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R1i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.y) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.y))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(PS1i))); -PS0i = R124i.w; -// 11 -backupReg0i = R125i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R7i.x)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.x))); -R125i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R7i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.z)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PS1i = R127i.x; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R125i.z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(backupReg0i))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.y))); -PS0i = R125i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.z))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.z))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(R126i.x))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R127i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 16 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[0].x)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 17 -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R9i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R9i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R9i.y))); -PV0i.z = R123i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV1i.w))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV1i.x))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV1i.y))); -PV0i.z = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 4 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -// 5 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 7 -backupReg0i = R6i.x; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.y))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R125i.w; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R8i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.z = floatBitsToInt(uf_blockPS4[2].x); -R6i.z = floatBitsToInt(intBitsToFloat(R6i.z) * 4.0); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R4i.x = floatBitsToInt(uf_blockPS8[23].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[23].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R10i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R4i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R4i.x; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.x)); -// 6 -R7i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R4i.x) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -// 3 -R7i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -PV1i.y = R8i.y; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS1i = R8i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R7i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS0i = R6i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R7i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R7i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R7i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R0i.x))); -R7i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R8i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R8i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[4] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R8i.z))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PS1i))); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R7i.z)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R7i.z; -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -// 4 -R8i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R8i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = floatBitsToInt(uf_blockPS8[24].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R8i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R8i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R8i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R6i.z = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R6i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R6i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.w)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.z))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R0i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R7i.y = 0; -PS0i = R7i.y; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.w) + -(intBitsToFloat(PV0i.x))); -// 2 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].x)); -// 3 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -PS1i = R6i.w; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 5 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.x)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PV1i.z))); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -// 8 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.x))); -PV1i.w = R127i.w; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R1i.x)); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R2i.x)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R5i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R5i.x))); -// 7 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R6i.x; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.y = R6i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[2].z)); -PV0i.z = R6i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R6i.w; -// 2 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/7709da01f43c145b_0000000007879649_ps.txt b/Source/TokyoMirage/7709da01f43c145b_0000000007879649_ps.txt deleted file mode 100644 index 28820eac..00000000 --- a/Source/TokyoMirage/7709da01f43c145b_0000000007879649_ps.txt +++ /dev/null @@ -1,643 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 7709da01f43c145b -uniform ivec4 uf_remappedPS[27]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1bf56000 res 64x64x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1c2ba000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x194a2000 res 4096x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R2i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R127i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + 1.0); -R127i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].y)) + 1.0); -PS1i = R127i.x; -// 2 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PS0i = R126i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.w = tempi.x; -PS1i = floatBitsToInt(exp2(intBitsToFloat(R127i.y))); -// 4 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].x))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS0i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.w)); -PS1i = floatBitsToInt(tempResultf); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS1i))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[2].x)),-(intBitsToFloat(uf_remappedPS[2].y)),-(intBitsToFloat(uf_remappedPS[2].z)),0.0))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.x = R123i.x; -R126i.y = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = R126i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.w = R123i.w; -// 2 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R6i.z))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R5i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R5i.w))); -R5i.z = ((PV1i.y == 0)?(0):(0)); -PS0i = R5i.z; -// 3 -R1i.y = ((R126i.y == 0)?(0):(0x3f800000)); -// 4 -predResult = (R1i.y == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R1i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[4].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(uf_remappedPS[5].x))); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[10].x)); -// 6 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].x)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].y)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R4i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[10].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[18].x)); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.z = floatBitsToInt(min(intBitsToFloat(R7i.y), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R3i.z),-0.0),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R7i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].z)) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R6i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R6i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R3i.z)) + -(intBitsToFloat(R7i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[20].z)) + intBitsToFloat(uf_remappedPS[20].w)); -PS1i = R127i.w; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R4i.x = floatBitsToInt(cubeMapSTM.x); -R4i.y = floatBitsToInt(cubeMapSTM.y); -R4i.z = floatBitsToInt(cubeMapSTM.z); -R4i.w = cubeMapFaceId; -PV0i.x = R4i.x; -PV0i.y = R4i.y; -PV0i.z = R4i.z; -PV0i.w = R4i.w; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R1i.w; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R0i.z; -backupReg3i = R0i.w; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(backupReg3i))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -R0i.y = 0; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -// 6 -R1i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R4i.yx),R4i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.xyz = ivec3(R0i.x,R0i.y,R0i.y); -R6i.w = R0i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[21].z),-(intBitsToFloat(R5i.z))) + intBitsToFloat(uf_remappedPS[21].z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R1i.w))); -PV1i.z = clampFI32(PV1i.z); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[22].x))); -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.y)); -PV0i.z = R127i.z; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedPS[23].x)) + intBitsToFloat(uf_remappedPS[24].x))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedPS[23].y)) + intBitsToFloat(uf_remappedPS[24].y))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedPS[23].z)) + intBitsToFloat(uf_remappedPS[24].z))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.z))); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS0i = R0i.z; -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R2i.y))); -PV1i.x = R0i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.x))); -PV1i.y = R1i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.y))); -// 6 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R4i.y)); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R4i.x)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R2i.z))); -PV0i.w = R1i.w; -// 7 -R2i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R4i.z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].w), intBitsToFloat(R0i.z))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 2 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].y), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.y))); -PV0i.z = R123i.z; -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[25].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[25].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[25].x))); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[26].x))); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[26].y))); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[26].z))); -PV0i.z = R3i.z; -// 7 -R5i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R5i.w = R3i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor2 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/78b9ba889e63ee13_0000007879249249_ps.txt b/Source/TokyoMirage/78b9ba889e63ee13_0000007879249249_ps.txt deleted file mode 100644 index 918a52fd..00000000 --- a/Source/TokyoMirage/78b9ba889e63ee13_0000007879249249_ps.txt +++ /dev/null @@ -1,1674 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 78b9ba889e63ee13 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x367d4000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36734000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x366dc000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x36800000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R12i.x = 0; -PS0i = R12i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R12i.z = 0; -PS1i = R12i.z; -// 6 -R11i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R13i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R9i.y; -PV0i.x = R13i.x << R2i.w; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = R10i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R9i.x)); -// 4 -R9i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R6i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R13i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -R0i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R0i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R0i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R13i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R9i.x)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -PV0i.y = R3i.w + backupReg0i; -R0i.y = backupReg0i + int(1); -PS0i = R0i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R9i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R9i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R10i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R13i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.z; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R126i.z = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R125i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R125i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -// 3 -R126i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.y)); -R124i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -PS1i = R125i.z; -// 4 -backupReg0i = R127i.w; -R124i.x = ((R126i.z == 0)?(0):(0x3f800000)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R127i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R6i.y = ((backupReg0i == 0)?(0):(0x3f800000)); -PS0i = R6i.y; -// 5 -backupReg0i = R125i.z; -R6i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PV1i.x = R6i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R124i.z)) + 1.0); -R125i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(R125i.x)) + 1.0); -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(backupReg0i))); -PS1i = R5i.x; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R126i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.y) + 1.0)); -R127i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R125i.z; -backupReg1i = R126i.w; -R7i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(R125i.z) + -(intBitsToFloat(R125i.x))); -R125i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R124i.z))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R5i.x)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -// 8 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R125i.x = clampFI32(R125i.x); -R125i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R124i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -// 9 -backupReg0i = R126i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PS0i))); -R127i.x = clampFI32(R127i.x); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R8i.x))); -PV1i.y = R124i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R8i.y))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R8i.z))); -R124i.w = floatBitsToInt(-(intBitsToFloat(R7i.x)) + intBitsToFloat(backupReg0i)); -PS1i = R124i.w; -// 10 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -R126i.y = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(R1i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R1i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(R1i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PS0i = R127i.y; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R127i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(R125i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.w))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R1i.w; -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(R10i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R10i.z)); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(R124i.y))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(R10i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R125i.z))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PS1i = R126i.x; -// 14 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.z))); -PS0i = R124i.y; -// 15 -backupReg0i = R127i.y; -backupReg1i = R126i.x; -backupReg2i = R127i.w; -backupReg3i = R127i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(backupReg2i)) + intBitsToFloat(PV0i.y))); -tempResultf = log2(intBitsToFloat(backupReg3i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(R124i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.y))); -PV1i.w = R123i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R127i.w; -// 18 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[0].x)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 19 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(R127i.w))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.x))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R127i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R5i.w = floatBitsToInt(uf_blockPS4[2].x); -R5i.w = floatBitsToInt(intBitsToFloat(R5i.w) * 4.0); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R8i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R8i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[2] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R7i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R5i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R7i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -R5i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS0i = R8i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R5i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R5i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R7i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R7i.w; -R7i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R7i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R7i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R13i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R13i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R13i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.w))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS3[21].x)); -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PS0i))); -R1i.z = floatBitsToInt(intBitsToFloat(R7i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 2 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R4i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R7i.w)) + uf_blockPS3[19].w)); -PV0i.z = R123i.z; -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R0i.x))); -// 3 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.z))); -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].z)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].y)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].x)); -// 5 -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R1i.y; -backupReg1i = R0i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS3[20].x)); -// 1 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R3i.z; -// 2 -R0i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R0i.w = R3i.w; -// 3 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/7a5a427460eef0e4_00000f0f0f249249_ps.txt b/Source/TokyoMirage/7a5a427460eef0e4_00000f0f0f249249_ps.txt deleted file mode 100644 index 84ea379b..00000000 --- a/Source/TokyoMirage/7a5a427460eef0e4_00000f0f0f249249_ps.txt +++ /dev/null @@ -1,1583 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 7a5a427460eef0e4 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x37010000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x37168000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36d18000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x36bc0000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R8i.y = R127i.z; -R127i.z = R2i.x; -R7i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R8i.w = R2i.z; -R8i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS1i = R8i.x; -// 4 -R4i.x = 0; -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R7i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R4i.y = 0; -PS0i = R4i.y; -// 5 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.y = 0; -R4i.z = 0; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 8 -R1i.x = PV1i.w << 0x00000002; -R10i.y = PV1i.w << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R9i.x = floatBitsToInt(tempResultf); -PS0i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R11i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg0i = R9i.x; -backupReg0i = R9i.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(backupReg0i))); -PV0i.z = R11i.x << R2i.w; -R3i.w = R10i.y + 0x00000e10; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -PS0i = R6i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(backupReg0i)); -// 4 -R10i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R0i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R1i.x)),-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R1i.z)),-(intBitsToFloat(R5i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R11i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R7i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R7i.z; -backupReg0i = R7i.z; -R7i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.x << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.y = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R11i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -R11i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R11i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = (R11i.x > R5i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R0i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R5i.w; -PV0i.z = R3i.w + R5i.w; -R5i.w = backupReg0i + int(1); -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R1i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.z = R10i.z + PV0i.w; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R125i.z))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -PV0i.x = clampFI32(PV0i.x); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 10 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R11i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.z; -// 1 -R127i.x = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.w = R127i.w; -R1i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.w)); -// 3 -R126i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R124i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -PS1i = R125i.z; -// 4 -R124i.x = ((R126i.z == 0)?(0):(0x3f800000)); -R125i.y = ((R127i.x == 0)?(0):(0x3f800000)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.y))); -R125i.x = ((R127i.y == 0)?(0):(0x3f800000)); -PS0i = R125i.x; -// 5 -R0i.x = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -PV1i.x = R0i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(R1i.z)) + 1.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(min(intBitsToFloat(R124i.z), intBitsToFloat(PV0i.z))); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(R124i.z)); -PS1i = R127i.y; -// 6 -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.y) + 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(R1i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -R126i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -backupReg0i = R127i.y; -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PS0i))); -R124i.z = clampFI32(R124i.z); -R1i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.w = R1i.w; -R127i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -PS1i = R127i.w; -// 8 -backupReg0i = R126i.x; -backupReg1i = R126i.w; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.y))); -PV0i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R7i.x))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R7i.z))); -R127i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x)); -PS0i = R127i.x; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R5i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R5i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R5i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R124i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.w))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.z; -R5i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R11i.x)); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) * 2.0); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R11i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R11i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PS1i = R127i.y; -// 12 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R126i.x))); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R7i.y))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R126i.y))); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R7i.z))); -// 13 -backupReg0i = R127i.z; -backupReg1i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R7i.x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R124i.y)) + intBitsToFloat(PS0i))); -PS1i = R125i.y; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R125i.z))); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS3[8].x)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS3[8].y)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS3[8].z)); -PS0i = R125i.w; -// 15 -backupReg0i = R127i.x; -backupReg1i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS3[8].w)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.x))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.y))); -tempResultf = log2(intBitsToFloat(backupReg1i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), uf_blockPS10[5].x)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), uf_blockPS10[5].x)); -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), uf_blockPS10[5].x)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[5].x)); -PS0i = R126i.z; -// 17 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[2].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].y)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].z)); -R124i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R124i.x; -// 18 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[0].x)); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), uf_blockPS10[0].x)); -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV1i.x))); -PS0i = R7i.x; -// 19 -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R127i.y))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R125i.w))); -R2i.w = 0; -R6i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(R124i.x))); -PS1i = R6i.z; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -PV0i.w = R123i.w; -// 1 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.x = R124i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.z = R126i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.x))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R126i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R126i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R5i.w = floatBitsToInt(uf_blockPS4[2].x); -R5i.w = floatBitsToInt(intBitsToFloat(R5i.w) * 4.0); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R11i.x = floatBitsToInt(uf_blockPS8[23].x); -R11i.x = floatBitsToInt(intBitsToFloat(R11i.x) / 2.0); -PS0i = R11i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R4i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R2i.z)) + intBitsToFloat(R4i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R11i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R9i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R10i.x; -// 3 -R9i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R10i.y; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R11i.y; -// 4 -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -R9i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R9i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R9i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R9i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R9i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R9i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R9i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R9i.y)); -} -if( activeMaskStackC[4] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R4i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R4i.w = floatBitsToInt(-(intBitsToFloat(R11i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R9i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R4i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R4i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R4i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R9i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R9i.w; -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R2i.z = floatBitsToInt(uf_blockPS4[2].x); -R2i.z = floatBitsToInt(intBitsToFloat(R2i.z) * 4.0); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R5i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R5i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R2i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R8i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.w; -PV0i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R9i.w))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R6i.z))); -PV0i.w = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -PS0i = R2i.x; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.y = floatBitsToInt(intBitsToFloat(R9i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.x))); -R6i.w = 0; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.y; -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].x)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + 1.0)); -R123i.x = clampFI32(R123i.x); -PV1i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PS1i = R2i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.z = floatBitsToInt(tempResultf); -PS0i = R127i.z; -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 6 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -// 7 -R4i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R127i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i)); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.x))); -// 7 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(R1i.w))); -R5i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(R0i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(R4i.y))); -// 1 -backupReg0i = R2i.w; -R2i.xyz = ivec3(R7i.x,R7i.y,R7i.z); -R2i.w = backupReg0i; -// 2 -R0i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -R0i.w = R5i.w; -// 3 -R1i.xyz = ivec3(R6i.x,R6i.w,R6i.w); -R1i.w = R6i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/7ff51869d8979702_0000000000f0f249_ps.txt b/Source/TokyoMirage/7ff51869d8979702_0000000000f0f249_ps.txt deleted file mode 100644 index 68f86197..00000000 --- a/Source/TokyoMirage/7ff51869d8979702_0000000000f0f249_ps.txt +++ /dev/null @@ -1,916 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 7ff51869d8979702 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1d918000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x194a2000 res 4096x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R7i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R11i.x = 0; -PS0i = R11i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.w = tempi.x; -R11i.y = 0; -PS1i = R11i.y; -// 4 -R11i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS1i = R6i.w; -// 8 -R6i.x = PV1i.w << 0x00000002; -R6i.y = PV1i.w << 0x00000005; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R12i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -PV0i.z = R8i.x << R0i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -PS0i = R10i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R6i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PS1i))); -R9i.y = PV1i.x & 0x0000ffff; -PS0i = R9i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R9i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R6i.z << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R7i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.z)),-(intBitsToFloat(R7i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = (R1i.w > R9i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.z; -PV0i.y = R4i.z + R9i.z; -R9i.z = backupReg0i + int(1); -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.x << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R6i.z].xy); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -backupReg0i = R10i.y; -R10i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.y << R0i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.y].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.x = floatBitsToInt(-(uf_blockPS2[1].y) + 1.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(-(uf_blockPS2[1].z) + 1.0); -R127i.w = floatBitsToInt(-(uf_blockPS2[1].x) + 1.0); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS0i = R127i.y; -// 1 -backupReg0i = R0i.z; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV1i.y = R123i.y; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = R3i.w; -// 2 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R0i.w = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV1i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].x)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].y)); -R5i.y = 0; -PS1i = R5i.y; -// 4 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -PV0i.y = clampFI32(PV0i.y); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 7 -R2i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -// 9 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -// 11 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R4i.y)) + intBitsToFloat(R0i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.z)) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R2i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R2i.y))); -PS0i = R3i.y; -// 5 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R2i.z))); -PV1i.z = R3i.z; -// 6 -R0i.xyz = ivec3(R3i.x,R3i.y,PV1i.z); -R0i.w = R3i.w; -// 7 -R1i.xyz = ivec3(R5i.z,R5i.y,R5i.y); -R1i.w = R5i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/82395d1cbdf2c430_0000007879249649_ps.txt b/Source/TokyoMirage/82395d1cbdf2c430_0000007879249649_ps.txt deleted file mode 100644 index 8df2e046..00000000 --- a/Source/TokyoMirage/82395d1cbdf2c430_0000007879249649_ps.txt +++ /dev/null @@ -1,1063 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 82395d1cbdf2c430 -uniform ivec4 uf_remappedPS[28]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3547b000 res 128x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x35487000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x35487000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x35022000 res 256x256x1 dim 3 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R6i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyz); -R2i.w = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).w); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(uf_remappedPS[0].x),intBitsToFloat(uf_remappedPS[0].y),intBitsToFloat(uf_remappedPS[0].z))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PS1i = R126i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].x) + -(intBitsToFloat(uf_remappedPS[2].y))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = R124i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -PV0i.z = R125i.z; -PV0i.w = floatBitsToInt(max(-(intBitsToFloat(uf_remappedPS[2].y)), 0.0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -PV0i.x = floatBitsToInt(max(-(intBitsToFloat(uf_remappedPS[2].w)), 0.0)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].z) + -(intBitsToFloat(uf_remappedPS[2].w))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), -(intBitsToFloat(R125i.z)))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 7 -backupReg0i = R127i.y; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -PV1i.x = R124i.x; -R127i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -PS1i = R127i.w; -// 8 -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R126i.x))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),-(intBitsToFloat(R124i.y))) + intBitsToFloat(PV1i.z))*2.0); -PV0i.w = R126i.w; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.w))); -PV1i.x = clampFI32(PV1i.x); -R0i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R125i.y)) + -(intBitsToFloat(R124i.y)))); -R127i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.y)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.z = R127i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R125i.x)) + -(intBitsToFloat(R127i.x)))); -PS1i = R9i.x; -// 10 -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + intBitsToFloat(0x40400000))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R126i.y)); -R7i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(R126i.z)) + -(intBitsToFloat(R125i.z)))); -PS0i = R7i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R8i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R8i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R8i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.y))); -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R5i.y)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R5i.z)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 13 -backupReg0i = R6i.x; -backupReg1i = R6i.y; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R6i.z)) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(PS0i))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV0i.x))); -// 14 -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 15 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y), intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[3].x)),-(intBitsToFloat(uf_remappedPS[3].y)),-(intBitsToFloat(uf_remappedPS[3].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(uf_remappedPS[4].x))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[4].x))); -R127i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R127i.z; -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(uf_remappedPS[4].x))); -PS1i = R8i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R9i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (intBitsToFloat(uf_remappedPS[5].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(uf_remappedPS[6].x))); -R10i.w = floatBitsToInt(1.0); -PV0i.w = R10i.w; -R7i.w = uf_remappedPS[7].x; -R7i.w = floatBitsToInt(intBitsToFloat(R7i.w) * 4.0); -PS0i = R7i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(uf_remappedPS[12].w))); -R8i.x = uf_remappedPS[11].x; -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[12].z)) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = uf_remappedPS[11].y; -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[12].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[12].x)) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.w)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R5i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R4i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R4i.w))?1.0:0.0); -R10i.x = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R5i.z)); -PS0i = R10i.x; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R4i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R10i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R4i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R10i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(uf_remappedPS[13].x)); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R8i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R8i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.y)); -// 6 -R6i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R8i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(intBitsToFloat(uf_remappedPS[16].x),intBitsToFloat(uf_remappedPS[16].y),intBitsToFloat(uf_remappedPS[16].z),intBitsToFloat(uf_remappedPS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 3 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PS0i))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R6i.y; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(uf_remappedPS[18].y)) + intBitsToFloat(uf_remappedPS[18].x))); -PS1i = R10i.y; -// 4 -R8i.x = uf_remappedPS[17].x; -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(uf_remappedPS[19].w))); -R9i.y = uf_remappedPS[17].y; -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS0i = R9i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[19].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R5i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.x))?1.0:0.0); -R5i.w = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R6i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R9i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R5i.w))?1.0:0.0); -R127i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R5i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[13].x)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R6i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R6i.w; -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(uf_remappedPS[18].y)) + intBitsToFloat(uf_remappedPS[18].x))); -R9i.z = uf_remappedPS[7].x; -R9i.z = floatBitsToInt(intBitsToFloat(R9i.z) * 4.0); -R4i.w = floatBitsToInt(1.0); -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedPS[16].x),intBitsToFloat(uf_remappedPS[16].y),intBitsToFloat(uf_remappedPS[16].z),intBitsToFloat(uf_remappedPS[16].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedPS[19].w))); -R8i.x = uf_remappedPS[17].x; -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = uf_remappedPS[17].y; -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[19].x)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R6i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R6i.x))?1.0:0.0); -R6i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R6i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R4i.x))?1.0:0.0); -R127i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(uf_remappedPS[20].x)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[20].x)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -redcCUBE(vec4(intBitsToFloat(R7i.z),intBitsToFloat(R7i.z),intBitsToFloat(R9i.x),intBitsToFloat(R0i.y)),vec4(intBitsToFloat(R0i.y),intBitsToFloat(R9i.x),intBitsToFloat(R7i.z),intBitsToFloat(R7i.z)),cubeMapSTM,cubeMapFaceId); -R1i.x = floatBitsToInt(cubeMapSTM.x); -R1i.y = floatBitsToInt(cubeMapSTM.y); -R1i.z = floatBitsToInt(cubeMapSTM.z); -R1i.w = cubeMapFaceId; -PV0i.x = R1i.x; -PV0i.y = R1i.y; -PV0i.z = R1i.z; -PV0i.w = R1i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[21].z),-(intBitsToFloat(R6i.w))) + intBitsToFloat(uf_remappedPS[21].z))); -PS0i = R122i.x; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[22].z)) + intBitsToFloat(uf_remappedPS[22].w)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R2i.z = floatBitsToInt(intBitsToFloat(R6i.w) + intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(R7i.x))); -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -R3i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(uf_remappedPS[23].x))); -R0i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R0i.z; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R1i.yx),R1i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[24].y)) + intBitsToFloat(uf_remappedPS[25].y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[24].x)) + intBitsToFloat(uf_remappedPS[25].x))); -PV0i.y = R123i.y; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(backupReg0i))); -R0i.w = 0; -// 1 -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV0i.y))); -PV1i.z = R127i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[24].z)) + intBitsToFloat(uf_remappedPS[25].z))); -PV1i.w = R123i.w; -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PV1i.w))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y)); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R3i.z)) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.z)) + intBitsToFloat(R127i.z))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.z)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.z)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[26].y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[26].x))); -// 5 -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[26].z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[27].x))); -PV0i.x = R4i.x; -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(uf_remappedPS[27].y))); -PV0i.y = R4i.y; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(uf_remappedPS[27].z))); -PV0i.z = R4i.z; -// 1 -R1i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R1i.w = R4i.w; -// 2 -R2i.xyz = ivec3(R0i.z,R0i.w,R0i.w); -R2i.w = R0i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor2 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/85bfb16d3e86115d_0000000000f0f249_ps.txt b/Source/TokyoMirage/85bfb16d3e86115d_0000000000f0f249_ps.txt deleted file mode 100644 index b70859b1..00000000 --- a/Source/TokyoMirage/85bfb16d3e86115d_0000000000f0f249_ps.txt +++ /dev/null @@ -1,931 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 85bfb16d3e86115d -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1d177000 res 512x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R7i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R11i.x = 0; -PS0i = R11i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.w = tempi.x; -R11i.y = 0; -PS1i = R11i.y; -// 4 -R11i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS1i = R6i.w; -// 8 -R6i.x = PV1i.w << 0x00000002; -R6i.y = PV1i.w << 0x00000005; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R12i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -PV0i.z = R8i.x << R0i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -PS0i = R10i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R6i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PS1i))); -R9i.y = PV1i.x & 0x0000ffff; -PS0i = R9i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R9i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R6i.z << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R7i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.z)),-(intBitsToFloat(R7i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = (R1i.w > R9i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.z; -PV0i.y = R4i.z + R9i.z; -R9i.z = backupReg0i + int(1); -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.x << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R6i.z].xy); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -backupReg0i = R10i.y; -R10i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.y << R0i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.y].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.x = floatBitsToInt(-(uf_blockPS2[1].y) + 1.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(-(uf_blockPS2[1].z) + 1.0); -R127i.w = floatBitsToInt(-(uf_blockPS2[1].x) + 1.0); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PS0i = R122i.x; -// 1 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R127i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R0i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS1i = R1i.x; -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R7i.z = 0; -R0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R126i.x; -// 3 -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -// 4 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -// 5 -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.z)),intBitsToFloat(R126i.x)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -// 8 -R3i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R2i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.y))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.x))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -// 3 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.z))); -PV1i.x = R126i.x; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.w)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.z)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.y))); -PV0i.w = R123i.w; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.x))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R2i.x)) + intBitsToFloat(R126i.x))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R3i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R3i.x))); -// 8 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R5i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R3i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R5i.y))); -PS0i = R6i.y; -// 9 -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.z))); -PV1i.z = R6i.z; -// 10 -R0i.xyz = ivec3(R6i.x,R6i.y,PV1i.z); -R0i.w = R6i.w; -// 11 -R1i.xyz = ivec3(R7i.x,R7i.z,R7i.z); -R1i.w = R7i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/88ae6940d510eea5_0000000000000000_vs.txt b/Source/TokyoMirage/88ae6940d510eea5_0000000000000000_vs.txt deleted file mode 100644 index 466e88a3..00000000 --- a/Source/TokyoMirage/88ae6940d510eea5_0000000000000000_vs.txt +++ /dev/null @@ -1,80 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 88ae6940d510eea5 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem136; -layout(location = 1) out vec4 passParameterSem137; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = R2f.x + intBitsToFloat(uf_remappedVS[0].x) / resXScale; -PV0f.y = -(intBitsToFloat(uf_remappedVS[0].x)) / resXScale; -PV0f.w = intBitsToFloat(uf_remappedVS[0].y) / resYScale; -R0f.x = R2f.x + -(intBitsToFloat(uf_remappedVS[0].x)) / resXScale; -PS0f = R0f.x; -// 1 -backupReg0f = R2f.x; -R2f.x = backupReg0f + PV0f.y; -R0f.y = R2f.y + -(intBitsToFloat(uf_remappedVS[0].y)) / resYScale; -R0f.z = PV0f.x; -R2f.w = R2f.y + PV0f.w; -R2f.z = PV0f.x; -PS1f = R2f.z; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem136 = vec4(R0f.x, R0f.y, R0f.z, R0f.y); -// export -passParameterSem137 = vec4(R2f.x, R2f.w, R2f.z, R2f.w); -} diff --git a/Source/TokyoMirage/8942491660a6e5dd_00000000f0f1c249_ps.txt b/Source/TokyoMirage/8942491660a6e5dd_00000000f0f1c249_ps.txt deleted file mode 100644 index 3fbe4c70..00000000 --- a/Source/TokyoMirage/8942491660a6e5dd_00000000f0f1c249_ps.txt +++ /dev/null @@ -1,964 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 8942491660a6e5dd -uniform ivec4 uf_remappedPS[30]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3468c000 res 128x128x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R2i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R127i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -PV0i.z = R127i.z; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 2 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS0i = R127i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[1].x)),-(intBitsToFloat(uf_remappedPS[1].y)),-(intBitsToFloat(uf_remappedPS[1].z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -// 4 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.z = ((0.0 >= intBitsToFloat(PV1i.x))?int(0xFFFFFFFF):int(0x0)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 5 -R3i.x = ((PV0i.z == 0)?(0):(0)); -R1i.y = ((PV0i.z == 0)?(0):(0x3f800000)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.x)); -PS1i = floatBitsToInt(tempResultf); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 7 -predResult = (R1i.y == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.w), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -PS0i = R10i.x; -// 3 -R10i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[2].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.z = uf_remappedPS[3].x; -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(uf_remappedPS[4].x))); -PS0i = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R12i.x; -// 4 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R11i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[9].w))); -R11i.x = uf_remappedPS[8].x; -R11i.x = floatBitsToInt(intBitsToFloat(R11i.x) / 2.0); -PS0i = R11i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[9].z)) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = uf_remappedPS[8].y; -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[9].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[9].x)) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[8].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R5i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(R3i.x)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R9i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R9i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].x) /resScale * 0.5 + intBitsToFloat(R12i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].y) /resScale * 0.5 + intBitsToFloat(R11i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.w))?1.0:0.0); -R11i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.z)); -PS0i = R11i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R11i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R8i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R6i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R10i.y; -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[8].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R5i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R11i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -R127i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(uf_remappedPS[10].x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R11i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R11i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV0i.w)); -// 6 -R5i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R11i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R9i.x; -// 3 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R9i.y; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(uf_remappedPS[15].x))); -PS1i = R10i.y; -// 4 -R11i.x = uf_remappedPS[14].x; -R11i.x = floatBitsToInt(intBitsToFloat(R11i.x) / 2.0); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[16].w))); -R5i.y = uf_remappedPS[14].y; -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[4] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R8i.w))?1.0:0.0); -R8i.x = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R2i.z)); -PS0i = R8i.x; -} -if( activeMaskStackC[4] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -backupReg0i = R5i.y; -backupReg0i = R5i.y; -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R11i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[5] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -R127i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[10].x)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R5i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(uf_remappedPS[15].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R4i.w = uf_remappedPS[3].x; -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) * 4.0); -PS0i = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R11i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[16].w))); -R11i.x = uf_remappedPS[14].x; -R11i.x = floatBitsToInt(intBitsToFloat(R11i.x) / 2.0); -PS0i = R11i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = uf_remappedPS[14].y; -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[14].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R11i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R8i.x))?1.0:0.0); -R2i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R4i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[14].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R11i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.y))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[3].x) == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(uf_remappedPS[17].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = floatBitsToInt(min(intBitsToFloat(R10i.x), intBitsToFloat(R5i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].z)) + 1.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].z),-(intBitsToFloat(R3i.x))) + intBitsToFloat(uf_remappedPS[19].z))); -PV1i.y = R123i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedPS[20].x))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(uf_remappedPS[20].y))); -PS1i = R125i.z; -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[21].y), intBitsToFloat(uf_remappedPS[22].w))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R0i.w = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV1i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[23].x))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[23].z))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[23].y))); -R3i.w = 0; -PS1i = R3i.w; -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(uf_remappedPS[20].z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -PV0i.y = clampFI32(PV0i.y); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[20].w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedPS[24].x))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[24].x))); -PS0i = R5i.w; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[24].x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(uf_remappedPS[24].x))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[24].x))); -PS1i = R127i.x; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[25].y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[25].z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedPS[25].x))); -R6i.y = 0; -PS0i = R6i.y; -// 7 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.w))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.x))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.y))); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[18].w), intBitsToFloat(PS1i))); -// 9 -R2i.xyz = ivec3(uf_remappedPS[25].x,uf_remappedPS[25].y,uf_remappedPS[25].z); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[18].y), intBitsToFloat(PS1i))); -// 11 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.w))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.y))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R124i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[26].y)) + intBitsToFloat(uf_remappedPS[27].y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[26].x)) + intBitsToFloat(uf_remappedPS[27].x))); -PV0i.z = R123i.z; -// 1 -backupReg0i = R4i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[26].z)) + intBitsToFloat(uf_remappedPS[27].z))); -PV1i.x = R123i.x; -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(R4i.x))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(backupReg0i))); -// 2 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R1i.z)) + intBitsToFloat(R2i.w))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[28].z)) + intBitsToFloat(uf_remappedPS[28].w)); -// 3 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedPS[29].z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(uf_remappedPS[29].y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[29].x))); -// 1 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PV0i.w))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(PV0i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PV0i.y))); -// 2 -R2i.xyz = ivec3(R3i.x,R3i.y,R3i.z); -R2i.w = R3i.w; -// 3 -R0i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -R0i.w = R5i.w; -// 4 -R1i.xyz = ivec3(R6i.x,R6i.y,R6i.y); -R1i.w = R6i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/89822681cb52f1b4_0000000000f0f249_ps.txt b/Source/TokyoMirage/89822681cb52f1b4_0000000000f0f249_ps.txt deleted file mode 100644 index 159c45e0..00000000 --- a/Source/TokyoMirage/89822681cb52f1b4_0000000000f0f249_ps.txt +++ /dev/null @@ -1,1014 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 89822681cb52f1b4 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x19be1000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x19b6c000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R5i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R11i.x = 0; -PS0i = R11i.x; -// 3 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R11i.y = 0; -PS1i = R11i.y; -// 4 -R10i.x = 0; -R10i.y = 0; -R11i.z = 0; -R1i.w = 0; -R10i.z = 0; -PS0i = R10i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS0i = R5i.w; -// 9 -R5i.x = PV0i.z << 0x00000002; -R5i.y = PV0i.z << 0x00000005; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R8i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = R5i.y + 0x00000e10; -PS0i = R4i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R7i.y = PV1i.w & 0x0000ffff; -PS0i = R7i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R7i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R5i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), -(intBitsToFloat(R6i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.x)) + intBitsToFloat(R6i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R6i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R3i.z)) + intBitsToFloat(R6i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),-(intBitsToFloat(R6i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R6i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),-(intBitsToFloat(R6i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R4i.z + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) + -(intBitsToFloat(R5i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R3i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R11i.x; -backupReg1i = R11i.z; -backupReg2i = R11i.y; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R11i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R4i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R5i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.z].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R3i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -backupReg3i = R10i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R10i.x; -// 13 -backupReg0i = R10i.y; -backupReg1i = R10i.z; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -// 2 -R5i.y = ((PV1i.x == 0)?(0):(0)); -R5i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R5i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt(min(intBitsToFloat(R7i.y), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyz); -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R3i.y),intBitsToFloat(R9i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R5i.y))) + uf_blockPS10[1].z)); -PV1i.w = R123i.w; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(R1i.x))); -PS1i = R126i.z; -// 2 -R4i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV1i.w)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R5i.y)) + uf_blockPS3[19].w)); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R1i.y))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -PS0i = R127i.w; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R1i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.z))); -R6i.z = 0; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.y))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -PS1i = R5i.w; -// 4 -backupReg0i = R127i.y; -backupReg1i = R0i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(backupReg0i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.w))); -PV0i.z = clampFI32(PV0i.z); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R0i.w))); -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 7 -R3i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -// 9 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 10 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS3[21].x)); -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R2i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.y))); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R2i.z)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.x))); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R126i.z; -// 4 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R3i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R3i.y))); -PS0i = R5i.y; -// 5 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R126i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R3i.z))); -PV1i.z = R5i.z; -// 6 -R0i.xyz = ivec3(R5i.x,R5i.y,PV1i.z); -R0i.w = R5i.w; -// 7 -R1i.xyz = ivec3(R6i.x,R6i.z,R6i.z); -R1i.w = R6i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/8b5e35332cd2d009_0000000007879249_ps.txt b/Source/TokyoMirage/8b5e35332cd2d009_0000000007879249_ps.txt deleted file mode 100644 index 38915ebc..00000000 --- a/Source/TokyoMirage/8b5e35332cd2d009_0000000007879249_ps.txt +++ /dev/null @@ -1,1165 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 8b5e35332cd2d009 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x20096000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1f7e4000 res 256x256x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1ecde000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.x; -// 1 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.y = R127i.y; -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS1i = R2i.x; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -PV0i.y = R125i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R126i.y; -// 3 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[21].x)); -R0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -PV0i.x = clampFI32(PV0i.x); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PV0i.y = clampFI32(PV0i.y); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R126i.y = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(R125i.y) + -(intBitsToFloat(PV0i.w))); -// 6 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PS1i), -(intBitsToFloat(PS1i)))); -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -// 7 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS3[10].z)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS3[10].y)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS3[10].x)); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.z)),intBitsToFloat(PS0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -R7i.y = 0; -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -tempResultf = log2(intBitsToFloat(R127i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 10 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PV0i.y))); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(PV0i.y))); -tempResultf = log2(intBitsToFloat(R127i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126i.z = floatBitsToInt(tempResultf); -PS1i = R126i.z; -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.x))); -R2i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -PS0i = R1i.w; -// 13 -R3i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R3i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 14 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R126i.z))); -// 15 -R4i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R6i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R6i.z)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z))); -PV1i.w = R127i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(R1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.y = R126i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R2i.z)); -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R3i.z)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R3i.y)) + intBitsToFloat(R126i.z))); -PV1i.w = R123i.w; -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.y)) + intBitsToFloat(R126i.y))); -PV0i.z = R123i.z; -// 7 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.z))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R126i.y)) + intBitsToFloat(PV0i.z)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.y))); -PV0i.x = R123i.x; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.x))); -// 9 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), uf_blockPS10[2].y)); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), uf_blockPS10[2].z)); -PV0i.z = R5i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R5i.w; -// 2 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/8cdd68cf2a074404_0000000000000000_vs.txt b/Source/TokyoMirage/8cdd68cf2a074404_0000000000000000_vs.txt deleted file mode 100644 index 986ff3ad..00000000 --- a/Source/TokyoMirage/8cdd68cf2a074404_0000000000000000_vs.txt +++ /dev/null @@ -1,151 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 8cdd68cf2a074404 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 4) out vec4 passParameterSem140; -layout(location = 2) out vec4 passParameterSem138; -layout(location = 3) out vec4 passParameterSem139; -layout(location = 1) out vec4 passParameterSem137; -layout(location = 0) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resYScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); -PV0f.x = R127f.x; -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); -PV0f.y = R123f.y; -R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.z = R127f.z; -PV0f.w = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, intBitsToFloat(uf_remappedVS[0].w)); -// 1 -PV1f.x = PV0f.x + -(PV0f.z); -PV1f.y = PV0f.y + -(PV0f.w); -R5f.x = PV0f.y + PV0f.w; -PS1f = R5f.x; -// 2 -R4f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PS1f); -PV0f.x = R4f.x; -R5f.y = R127f.x + R127f.z; -PV0f.y = R5f.y; -R5f.z = PV1f.y; -PV0f.z = R5f.z; -R5f.w = PV1f.x; -PV0f.w = R5f.w; -// 3 -R0f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV0f.x); -PV1f.x = R0f.x; -R4f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV0f.y); -PV1f.y = R4f.y; -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 4 -R3f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV1f.x); -R0f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV1f.y); -PV0f.y = R0f.y; -R4f.z = PV1f.w; -PV0f.z = R4f.z; -R4f.w = PV1f.z; -PV0f.w = R4f.w; -// 5 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -R3f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV0f.y); -PS1f = R3f.y; -// 6 -R2f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + R3f.x); -R2f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PS1f); -R0f.z = PV1f.y; -PV0f.z = R0f.z; -R0f.w = PV1f.x; -PV0f.w = R0f.w; -// 7 -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 8 -R3f.z = PV1f.w; -PV0f.z = R3f.z; -R3f.w = PV1f.z; -PV0f.w = R3f.w; -// 9 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -// 10 -R2f.z = PV1f.y; -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem140 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -passParameterSem138 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem139 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// export -passParameterSem137 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -// export -passParameterSem136 = vec4(R5f.x, R5f.y, R5f.z, R5f.w); -} diff --git a/Source/TokyoMirage/8e4ce35172aa4207_0000000007879649_ps.txt b/Source/TokyoMirage/8e4ce35172aa4207_0000000007879649_ps.txt deleted file mode 100644 index 384ec0ce..00000000 --- a/Source/TokyoMirage/8e4ce35172aa4207_0000000007879649_ps.txt +++ /dev/null @@ -1,1040 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 8e4ce35172aa4207 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1cbab000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1c2ba000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x194a2000 res 4096x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R7i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R11i.x = 0; -PS0i = R11i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.w = tempi.x; -R11i.y = 0; -PS1i = R11i.y; -// 4 -R11i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS1i = R6i.w; -// 8 -R6i.x = PV1i.w << 0x00000002; -R6i.y = PV1i.w << 0x00000005; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R12i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -PV0i.z = R8i.x << R0i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -PS0i = R10i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R6i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PS1i))); -R9i.y = PV1i.x & 0x0000ffff; -PS0i = R9i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R9i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R6i.z << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R7i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.z)),-(intBitsToFloat(R7i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = (R1i.w > R9i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.z; -PV0i.y = R4i.z + R9i.z; -R9i.z = backupReg0i + int(1); -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.x << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R6i.z].xy); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -backupReg0i = R10i.y; -R10i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.y << R0i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.y].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.x = floatBitsToInt(-(uf_blockPS2[1].y) + 1.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(-(uf_blockPS2[1].z) + 1.0); -R127i.w = floatBitsToInt(-(uf_blockPS2[1].x) + 1.0); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(R10i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R12i.x)) + -(intBitsToFloat(R10i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R3i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R3i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -PS1i = R127i.w; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R4i.x = floatBitsToInt(cubeMapSTM.x); -R4i.y = floatBitsToInt(cubeMapSTM.y); -R4i.z = floatBitsToInt(cubeMapSTM.z); -R4i.w = cubeMapFaceId; -PV0i.x = R4i.x; -PV0i.y = R4i.y; -PV0i.z = R4i.z; -PV0i.w = R4i.w; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R1i.w; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R0i.z; -backupReg3i = R0i.w; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(backupReg3i))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -R0i.y = 0; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -// 6 -R1i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R4i.yx),R4i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.xyz = ivec3(R0i.x,R0i.y,R0i.y); -R6i.w = R0i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R1i.w))); -PV1i.z = clampFI32(PV1i.z); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV1i.y)); -PV0i.z = R127i.z; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV1i.z))); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS0i = R0i.z; -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R2i.y))); -PV1i.x = R0i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.x))); -PV1i.y = R1i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV0i.y))); -// 6 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R4i.y)); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R4i.x)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R2i.z))); -PV0i.w = R1i.w; -// 7 -R2i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R4i.z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R0i.z))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 2 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.y))); -PV0i.z = R123i.z; -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -PV0i.z = R3i.z; -// 7 -R5i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R5i.w = R3i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor2 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/8ec0e9d024e5eab1_000000003c3c9249_ps.txt b/Source/TokyoMirage/8ec0e9d024e5eab1_000000003c3c9249_ps.txt deleted file mode 100644 index 0158304e..00000000 --- a/Source/TokyoMirage/8ec0e9d024e5eab1_000000003c3c9249_ps.txt +++ /dev/null @@ -1,1176 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 8ec0e9d024e5eab1 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x20a0a000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1fe88000 res 256x256x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x209fe000 res 256x256x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1ecde000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R126i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R1i.x))); -PS1i = R124i.z; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -R126i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PV0i.w = R126i.w; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -PS0i = R127i.w; -// 3 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R126i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.z))); -R2i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.y)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R1i.y))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PV0i.x = clampFI32(PV0i.x); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.w))); -PV0i.z = clampFI32(PV0i.z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS3[21].x)); -R127i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -PS0i = R127i.x; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.w))); -PS1i = R125i.y; -// 6 -backupReg0i = R127i.x; -backupReg1i = R0i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(R126i.w) + -(intBitsToFloat(backupReg0i))); -R125i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PV0i.z = R125i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg1i))); -PS0i = R3i.x; -// 7 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].x)); -R126i.y = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].y)); -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -R8i.z = 0; -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS3[10].z)); -tempResultf = log2(intBitsToFloat(R127i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 10 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 11 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -PV1i.x = R127i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PV0i.w))); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS1i = R126i.x; -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV1i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV1i.z))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -// 13 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.x))); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(R126i.x)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 14 -R3i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R4i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -// 16 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV0i.w))); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(R0i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV1i.y))); -// 3 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.y))); -PV1i.x = R127i.x; -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(R3i.z)) + intBitsToFloat(PV0i.x))); -PV1i.z = R124i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R6i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 4 -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.y = R125i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.z)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R1i.y)); -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R4i.z)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R3i.y)) + intBitsToFloat(R124i.z))); -PV1i.w = R123i.w; -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R124i.z)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.y)) + intBitsToFloat(R125i.y))); -PV0i.z = R123i.z; -// 7 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R124i.z))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.z)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.y))); -PV0i.x = R123i.x; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R5i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R5i.x))); -// 9 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R7i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), uf_blockPS10[2].y)); -PV0i.y = R7i.y; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[2].z)); -PV0i.z = R7i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R7i.w; -// 2 -R1i.xyz = ivec3(R8i.x,R8i.z,R8i.z); -R1i.w = R8i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/93a9c110b64f2c4a_000001e1e1e49649_ps.txt b/Source/TokyoMirage/93a9c110b64f2c4a_000001e1e1e49649_ps.txt deleted file mode 100644 index a67c2e02..00000000 --- a/Source/TokyoMirage/93a9c110b64f2c4a_000001e1e1e49649_ps.txt +++ /dev/null @@ -1,806 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 93a9c110b64f2c4a -uniform ivec4 uf_remappedPS[33]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1a216000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1989e000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x198f6000 res 512x512x1 dim 1 tm: 4 format 0035 compSel: 0 0 0 1 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1a242000 res 256x256x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a1000 res 2048x2048x1 dim 1 tm: 4 format 0034 compSel: 4 4 4 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.y = R1i.x; -PS0i = R126i.y; -// 1 -R127i.x = PV0i.w; -R125i.y = R1i.y; -R126i.z = R2i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -R125i.z = R2i.y; -PS1i = R125i.z; -// 2 -R126i.x = R127i.y; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R124i.z = R1i.z; -R127i.w = R2i.z; -tempResultf = log2(intBitsToFloat(R9i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 3 -R124i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -R124i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R5i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.x)) + intBitsToFloat(R7i.w))); -R1i.z = floatBitsToInt(sqrt(intBitsToFloat(PV0i.y))); -PS1i = R1i.z; -// 4 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.z),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(R127i.y))); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R124i.z),intBitsToFloat(R127i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = tempi.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + 1.0); -PS0i = R125i.y; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.z)) + intBitsToFloat(R7i.w))); -PS1i = R7i.y; -// 8 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].y)) + 1.0); -PS0i = R127i.w; -// 9 -PV1i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -R9i.z = floatBitsToInt(exp2(intBitsToFloat(R126i.w))); -PS1i = R9i.z; -// 10 -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].y))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].x))); -R7i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.z)); -PS0i = floatBitsToInt(tempResultf); -// 11 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PS0i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS1i))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[2].x)),-(intBitsToFloat(uf_remappedPS[2].y)),-(intBitsToFloat(uf_remappedPS[2].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.y = tempi.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.x = R123i.x; -PV1i.y = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.w = R123i.w; -// 2 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R7i.z))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R9i.y))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R7i.w))); -R1i.w = ((PV1i.y == 0)?(0):(0)); -R2i.z = ((PV1i.y == 0)?(0):(0x3f800000)); -PS0i = R2i.z; -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R0i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R2i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[4].x) >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(uf_remappedPS[5].x))); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[10].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -backupReg0i = R4i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R2i.z = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R4i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R2i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].y)) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R4i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[10].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[18].x)); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = floatBitsToInt(min(intBitsToFloat(R4i.z), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R3i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R8i.y)),-(intBitsToFloat(R1i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].z)) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R5i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R5i.y)) + -(intBitsToFloat(R8i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R1i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R126i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[20].z)) + 1.0); -PS1i = R126i.z; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R127i.w; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R6i.x; -backupReg1i = R6i.y; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[21].z),-(intBitsToFloat(R1i.w))) + intBitsToFloat(uf_remappedPS[21].z))); -PS0i = R122i.x; -// 5 -R1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PS0i)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[22].w))); -PV1i.z = R125i.z; -R125i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -PV1i.w = R125i.w; -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.w; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R126i.z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[23].x)) + 1.0); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[24].x))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[24].y))); -PS0i = R2i.x; -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R126i.w))); -R0i.x = clampFI32(R0i.x); -R0i.y = floatBitsToInt(intBitsToFloat(R125i.w) + -(intBitsToFloat(PV0i.z))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.w))); -R0i.z = clampFI32(R0i.z); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(uf_remappedPS[24].z))); -R1i.z = floatBitsToInt(max(intBitsToFloat(uf_remappedPS[23].x), intBitsToFloat(0x33d6bf95))); -PS1i = R1i.z; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R0i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R0i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R0i.x) + intBitsToFloat(0x40400000))); -PV0i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(uf_remappedPS[25].x)) + intBitsToFloat(uf_remappedPS[26].x))); -PS0i = R122i.x; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PS0i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(uf_remappedPS[25].y)) + intBitsToFloat(uf_remappedPS[26].y))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -R127i.w = floatBitsToInt(max(intBitsToFloat(R0i.y), -(intBitsToFloat(R0i.y)))); -PS1i = R127i.w; -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(uf_remappedPS[25].z)) + intBitsToFloat(uf_remappedPS[26].z))); -PV0i.y = R123i.y; -R7i.z = 0; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV1i.z))); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 3 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(uf_remappedPS[27].x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].w), intBitsToFloat(PS0i))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.y))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(uf_remappedPS[27].y))); -tempResultf = log2(intBitsToFloat(R127i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[20].w), intBitsToFloat(PS1i))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedPS[27].w))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(uf_remappedPS[27].z))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 5 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].y), intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R1i.z)); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PS1i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(exp2(intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R0i.w; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[20].y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R2i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(backupReg0i))); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -backupReg0i = R3i.w; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[23].y), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R4i.z)) + intBitsToFloat(PV1i.y))); -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R4i.y)) + intBitsToFloat(PV1i.z))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.x))); -// 9 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PS0i))); -R3i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.y; -// 10 -R1i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R5i.w = 0; -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[28].y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[28].x))); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.x)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[28].w))); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(uf_remappedPS[28].z))); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R3i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R3i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(PV1i.w)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(uf_remappedPS[29].x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(uf_remappedPS[29].x))); -PS0i = R127i.x; -// 3 -backupReg0i = R0i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[29].x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(PV0i.y)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(R3i.z))); -PV1i.w = R123i.w; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[29].x))); -PS1i = R127i.z; -// 4 -backupReg0i = R127i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedPS[30].x))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.y)) + intBitsToFloat(R3i.w))); -PV0i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R3i.y)) + intBitsToFloat(R3i.x))); -PV0i.w = R126i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[30].y))); -PS0i = R127i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R6i.x)); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.y)) + intBitsToFloat(R3i.z))); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R6i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(uf_remappedPS[30].z))); -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -PS1i = R5i.x; -// 6 -backupReg0i = R4i.w; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R1i.z)) + intBitsToFloat(R125i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R1i.z)) + intBitsToFloat(R126i.w))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R6i.z)); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[29].x))); -PS0i = R4i.w; -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.z)) + intBitsToFloat(R126i.y))); -PV1i.x = R123i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[31].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[31].x))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.w))); -PS1i = R5i.z; -// 8 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[30].x), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[31].z))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[30].y), intBitsToFloat(PV1i.z))); -PS0i = R4i.y; -// 9 -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[30].z), intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[32].z)) + intBitsToFloat(uf_remappedPS[32].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -// 3 -R2i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -R2i.w = R5i.w; -// 4 -R0i.xyz = ivec3(R4i.x,R4i.y,R4i.z); -R0i.w = R4i.w; -// 5 -R1i.xyz = ivec3(R7i.x,R7i.z,R7i.z); -R1i.w = R7i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/942d4bf4624a0b2b_00000000078e1249_ps.txt b/Source/TokyoMirage/942d4bf4624a0b2b_00000000078e1249_ps.txt deleted file mode 100644 index 3f4fe572..00000000 --- a/Source/TokyoMirage/942d4bf4624a0b2b_00000000078e1249_ps.txt +++ /dev/null @@ -1,898 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 942d4bf4624a0b2b -uniform ivec4 uf_remappedPS[26]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x21228000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x20ee2000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[0].x)),-(intBitsToFloat(uf_remappedPS[0].y)),-(intBitsToFloat(uf_remappedPS[0].z)),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -backupReg0i = R5i.z; -backupReg0i = R5i.z; -backupReg1i = R5i.w; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.x)) + intBitsToFloat(backupReg1i))); -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + 1.0); -PS1i = R127i.y; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].y)) + 1.0); -R126i.y = ((0.0 >= intBitsToFloat(backupReg0i))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = R126i.y; -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].x))); -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].z))); -R1i.z = ((PV0i.y == 0)?(0):(0x3f800000)); -PS1i = R1i.z; -// 4 -R0i.y = ((R126i.y == 0)?(0):(0)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.w = R123i.w; -// 1 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R6i.z))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.w))); -// 2 -predResult = (R1i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[3].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(uf_remappedPS[4].x))); -R7i.w = 0x3f800000; -PV0i.w = R7i.w; -R2i.w = uf_remappedPS[5].x; -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -// 4 -R6i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(uf_remappedPS[10].w))); -R9i.x = uf_remappedPS[9].x; -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[10].z)) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = uf_remappedPS[9].y; -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R6i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[10].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[10].x)) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].x)) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R11i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].y)) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R6i.x; -R5i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(backupReg0i)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(R11i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].x) /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R7i.z = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R0i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R7i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R10i.y; -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R5i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R6i.x))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(uf_remappedPS[11].x)); -// 2 -backupReg0i = R3i.w; -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w)); -PS0i = R3i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.y)); -// 6 -R5i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -// 3 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R0i.y; -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -R5i.x = uf_remappedPS[15].x; -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS1i = R5i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(uf_remappedPS[17].w))); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R11i.y = uf_remappedPS[15].y; -R11i.y = floatBitsToInt(intBitsToFloat(R11i.y) / 2.0); -PS0i = R11i.y; -} -if( activeMaskStackC[4] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R11i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(backupReg1i))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.w))?1.0:0.0); -R12i.y = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R2i.z)); -PS0i = R12i.y; -} -if( activeMaskStackC[4] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R12i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R11i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[5] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -R127i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[11].x)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R5i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R9i.x = uf_remappedPS[15].x; -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -R10i.y = uf_remappedPS[15].y; -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -R2i.w = uf_remappedPS[5].x; -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -backupReg0i = R4i.w; -R0i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R3i.y; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(uf_remappedPS[17].w))); -R0i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R0i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.w))?1.0:0.0); -R11i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); -PS0i = R11i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R11i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.y))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(uf_remappedPS[18].x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].x)) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt(min(intBitsToFloat(R9i.y), intBitsToFloat(R5i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].z),-(intBitsToFloat(R0i.y))) + intBitsToFloat(uf_remappedPS[19].z))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[20].z)) + intBitsToFloat(uf_remappedPS[20].w)); -// 1 -R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[21].x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R0i.xyz = ivec3(uf_remappedPS[22].x,uf_remappedPS[22].y,uf_remappedPS[22].z); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[23].x)) + intBitsToFloat(uf_remappedPS[24].x))); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[23].y)) + intBitsToFloat(uf_remappedPS[24].y))); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[23].z)) + intBitsToFloat(uf_remappedPS[24].z))); -PV1i.z = R123i.z; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[25].x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(uf_remappedPS[25].y))); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(uf_remappedPS[25].z))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/942d4bf4624a0b2b_000000003c3c9249_ps.txt b/Source/TokyoMirage/942d4bf4624a0b2b_000000003c3c9249_ps.txt deleted file mode 100644 index 02ba042c..00000000 --- a/Source/TokyoMirage/942d4bf4624a0b2b_000000003c3c9249_ps.txt +++ /dev/null @@ -1,896 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 942d4bf4624a0b2b -uniform ivec4 uf_remappedPS[26]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1fba4000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1ecde000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[0].x)),-(intBitsToFloat(uf_remappedPS[0].y)),-(intBitsToFloat(uf_remappedPS[0].z)),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -backupReg0i = R5i.z; -backupReg0i = R5i.z; -backupReg1i = R5i.w; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.x)) + intBitsToFloat(backupReg1i))); -R127i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + 1.0); -PS1i = R127i.y; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].y)) + 1.0); -R126i.y = ((0.0 >= intBitsToFloat(backupReg0i))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = R126i.y; -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].x))); -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PS0i)) + intBitsToFloat(uf_remappedPS[1].z))); -R1i.z = ((PV0i.y == 0)?(0):(0x3f800000)); -PS1i = R1i.z; -// 4 -R0i.y = ((R126i.y == 0)?(0):(0)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(uf_remappedPS[2].w)) + 1.0)); -PV0i.w = R123i.w; -// 1 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R6i.z))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.w))); -// 2 -predResult = (R1i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[3].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(uf_remappedPS[4].x))); -R7i.w = 0x3f800000; -PV0i.w = R7i.w; -R2i.w = uf_remappedPS[5].x; -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -// 4 -R6i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(uf_remappedPS[10].w))); -R9i.x = uf_remappedPS[9].x; -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[10].z)) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = uf_remappedPS[9].y; -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R6i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[10].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[10].x)) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].x)) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R11i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].y)) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R6i.x; -R5i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(backupReg0i)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(R11i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].x) /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R7i.z = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R0i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R7i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R10i.y; -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R5i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R6i.x))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(uf_remappedPS[11].x)); -// 2 -backupReg0i = R3i.w; -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w)); -PS0i = R3i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.y)); -// 6 -R5i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -// 3 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R0i.y; -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -R5i.x = uf_remappedPS[15].x; -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS1i = R5i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(uf_remappedPS[17].w))); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R11i.y = uf_remappedPS[15].y; -R11i.y = floatBitsToInt(intBitsToFloat(R11i.y) / 2.0); -PS0i = R11i.y; -} -if( activeMaskStackC[4] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R11i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(backupReg1i))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.w))?1.0:0.0); -R12i.y = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R2i.z)); -PS0i = R12i.y; -} -if( activeMaskStackC[4] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R12i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R11i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[5] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -R127i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[11].x)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R5i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R9i.x = uf_remappedPS[15].x; -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -R10i.y = uf_remappedPS[15].y; -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -R2i.w = uf_remappedPS[5].x; -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -backupReg0i = R4i.w; -R0i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R3i.y; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(uf_remappedPS[17].w))); -R0i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R0i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.w))?1.0:0.0); -R11i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); -PS0i = R11i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R11i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.y))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[5].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(uf_remappedPS[18].x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].x)) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt(min(intBitsToFloat(R9i.y), intBitsToFloat(R5i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].z),-(intBitsToFloat(R0i.y))) + intBitsToFloat(uf_remappedPS[19].z))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[20].z)) + intBitsToFloat(uf_remappedPS[20].w)); -// 1 -R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(uf_remappedPS[21].x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R0i.xyz = ivec3(uf_remappedPS[22].x,uf_remappedPS[22].y,uf_remappedPS[22].z); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[23].x)) + intBitsToFloat(uf_remappedPS[24].x))); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[23].y)) + intBitsToFloat(uf_remappedPS[24].y))); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[23].z)) + intBitsToFloat(uf_remappedPS[24].z))); -PV1i.z = R123i.z; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[25].x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(uf_remappedPS[25].y))); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(uf_remappedPS[25].z))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/9482a40453e83072_000000003c3c9249_ps.txt b/Source/TokyoMirage/9482a40453e83072_000000003c3c9249_ps.txt deleted file mode 100644 index 1b80772b..00000000 --- a/Source/TokyoMirage/9482a40453e83072_000000003c3c9249_ps.txt +++ /dev/null @@ -1,1132 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader 9482a40453e83072 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c0a5000 res 256x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1babc000 res 256x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x1c0bb000 res 256x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.x; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(backupReg0i))) + uf_blockPS10[1].z)); -PV1i.w = R123i.w; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R1i.x))); -PS1i = R126i.x; -// 2 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -PV0i.z = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[21].x)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R1i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R1i.z))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -PS1i = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(PV0i.z))); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.y))); -PV0i.x = clampFI32(PV0i.x); -PV0i.y = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), -(intBitsToFloat(PS1i)))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.x))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PS0i = R2i.x; -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PS1i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -R2i.y = 0; -PS0i = R2i.y; -// 7 -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -tempResultf = log2(intBitsToFloat(R127i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 10 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R4i.x; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.y))); -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV1i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV1i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R6i.y)) + intBitsToFloat(backupReg0i))); -PV0i.z = R126i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R6i.x)) + intBitsToFloat(R0i.z))); -PV0i.w = R126i.w; -// 3 -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R6i.z)) + intBitsToFloat(R0i.x))); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.y)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R1i.x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.z)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.y))); -PV1i.z = R123i.z; -// 6 -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R126i.z))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R126i.y)) + intBitsToFloat(PV1i.z)); -// 7 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R126i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].x)); -// 1 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R5i.z; -// 2 -R0i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R0i.w = R5i.w; -// 3 -R1i.xyz = ivec3(R2i.z,R2i.y,R2i.y); -R1i.w = R2i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/950e516872bc89e1_0000000f0f249249_ps.txt b/Source/TokyoMirage/950e516872bc89e1_0000000f0f249249_ps.txt deleted file mode 100644 index 450e302e..00000000 --- a/Source/TokyoMirage/950e516872bc89e1_0000000f0f249249_ps.txt +++ /dev/null @@ -1,1633 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader 950e516872bc89e1 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x20476000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1f8f4000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x20522000 res 2048x512x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0xc) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1ecde000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R11i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R4i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R4i.x = 0; -PS0i = R4i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R4i.z = 0; -PS1i = R4i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R14i.y = 0; -PS0i = R14i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R13i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -PV0i.x = R13i.x << R2i.w; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R9i.w))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R11i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R14i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R14i.y; -backupReg0i = R14i.y; -R5i.x = 0; -R14i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R11i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R13i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R11i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R9i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.y; -backupReg0i = R9i.y; -R9i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R11i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R13i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R11i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R13i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R13i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R13i.z; -backupReg0i = R13i.z; -R13i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R11i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R12i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R9i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R9i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R2i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R7i.w = 0x3f800000; -PV0i.w = R7i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R11i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R14i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R14i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS8[2].w)); -R9i.x = floatBitsToInt(uf_blockPS8[23].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R13i.y = floatBitsToInt(uf_blockPS8[23].y); -R13i.y = floatBitsToInt(intBitsToFloat(R13i.y) / 2.0); -PS1i = R13i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R4i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R13i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R13i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -R11i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R14i.y))); -R6i.z = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + intBitsToFloat(R4i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R11i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R11i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R6i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R11i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R13i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R13i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R11i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R11i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -backupReg0i = R4i.w; -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R4i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w)); -PS0i = R4i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.y)); -// 6 -R8i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R4i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R9i.x; -// 3 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R13i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R13i.y; -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS1i = R8i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS8[6].w)); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R11i.y = floatBitsToInt(uf_blockPS8[24].y); -R11i.y = floatBitsToInt(intBitsToFloat(R11i.y) / 2.0); -PS0i = R11i.y; -} -if( activeMaskStackC[4] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R11i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[5] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R13i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R13i.y = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R3i.z)); -PS0i = R13i.y; -} -if( activeMaskStackC[4] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R13i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R13i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R11i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[5] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R13i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R8i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R8i.y; -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -backupReg0i = R3i.w; -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R11i.y; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R11i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R11i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.z)); -PS0i = R11i.y; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R11i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R2i.y = floatBitsToInt(min(intBitsToFloat(R9i.y), intBitsToFloat(R8i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R126i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R1i.x))); -PS1i = R124i.z; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R2i.y))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R2i.y)) + uf_blockPS3[19].w)); -R126i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PV0i.w = R126i.w; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -PS0i = R127i.w; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R126i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.z))); -R2i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.y)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R1i.y))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PV0i.x = clampFI32(PV0i.x); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.w))); -PV0i.z = clampFI32(PV0i.z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS3[21].x)); -R127i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -PS0i = R127i.x; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(PV0i.w))); -PS1i = R125i.y; -// 6 -backupReg0i = R127i.x; -backupReg1i = R0i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(R126i.w) + -(intBitsToFloat(backupReg0i))); -R125i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PV0i.z = R125i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg1i))); -PS0i = R3i.x; -// 7 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].x)); -R126i.y = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].y)); -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -R8i.z = 0; -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS3[10].z)); -tempResultf = log2(intBitsToFloat(R127i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 10 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 11 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -PV1i.x = R127i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PV0i.w))); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS1i = R126i.x; -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV1i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV1i.z))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -// 13 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.x))); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(R126i.x)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 14 -R3i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R4i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -// 16 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.w))); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(R0i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV1i.y))); -// 3 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.y))); -PV1i.x = R127i.x; -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(R3i.z)) + intBitsToFloat(PV0i.x))); -PV1i.z = R124i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R6i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 4 -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.y = R125i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.z)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R1i.y)); -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R3i.y)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R4i.z)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R3i.y)) + intBitsToFloat(R124i.z))); -PV1i.w = R123i.w; -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R124i.z)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.y)) + intBitsToFloat(R125i.y))); -PV0i.z = R123i.z; -// 7 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R124i.z))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.z)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.y))); -PV0i.x = R123i.x; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R5i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R5i.x))); -// 9 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R7i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), uf_blockPS10[2].y)); -PV0i.y = R7i.y; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[2].z)); -PV0i.z = R7i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R7i.w; -// 2 -R1i.xyz = ivec3(R8i.x,R8i.z,R8i.z); -R1i.w = R8i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/98fbed6646d0a28e_00000f0f0f249249_ps.txt b/Source/TokyoMirage/98fbed6646d0a28e_00000f0f0f249249_ps.txt deleted file mode 100644 index 80bf0d47..00000000 --- a/Source/TokyoMirage/98fbed6646d0a28e_00000f0f0f249249_ps.txt +++ /dev/null @@ -1,1451 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader 98fbed6646d0a28e -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x34f50000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x34ef8000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x34ea0000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R9i.x = R127i.y; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R127i.z = R2i.x; -R1i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R7i.x = R127i.w; -R7i.y = R1i.z; -R126i.z = R2i.y; -R127i.w = R2i.z; -R3i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R3i.w; -// 4 -R4i.x = 0; -R4i.y = 0; -R6i.z = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R6i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = 0; -PS0i = R4i.z; -// 5 -R0i.x = 0; -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.x = R126i.x + PS0i; -PS1i = floatBitsToInt(sqrt(intBitsToFloat(R126i.y))); -// 8 -R1i.x = PV1i.x << 0x00000002; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.w))); -R7i.w = PV1i.x << 0x00000005; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -R10i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.x),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R1i.w)) + intBitsToFloat(R1i.y))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R9i.x)) + intBitsToFloat(PS0i))); -PS1i = R126i.y; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -R0i.y = R7i.w + 0x00000e10; -PV0i.z = R10i.x << R3i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(R6i.z)); -// 4 -R2i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.y = (R2i.w > R0i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -R5i.x = 0; -PV0i.w = R0i.y + R0i.x; -R0i.x = backupReg0i + int(1); -PS0i = R0i.x; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R1i.z << R3i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.y = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R1i.x)),-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R1i.z)),-(intBitsToFloat(R5i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R10i.y << R3i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -R2i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R2i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R0i.x = (R2i.w > R7i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -backupReg0i = R0i.x; -predResult = (backupReg0i != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R7i.z; -PV0i.y = backupReg0i + R7i.z; -R7i.z = backupReg1i + int(1); -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R3i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R6i.z)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000005; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.z].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R10i.z << R3i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -backupReg0i = R10i.y; -R10i.y = backupReg0i + int(1); -PV0i.z = R0i.y + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R1i.y << R3i.w; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R6i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R6i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.x; -// 1 -PV1i.x = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -R127i.z = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R126i.x; -// 2 -R125i.x = ((PV1i.x == 0)?(0):(0x3f800000)); -PV0i.x = R125i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(PV1i.y)); -R126i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV0i.z = R126i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -R7i.z = ((PV1i.w == 0)?(0):(0x3f800000)); -PS0i = R7i.z; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -R125i.y = ((R127i.z == 0)?(0):(0x3f800000)); -PV1i.y = R125i.y; -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + 1.0)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R127i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R126i.z; -R127i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R7i.z) + 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.y) + 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg1i), intBitsToFloat(PV1i.x))); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -PS0i = R125i.z; -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PV1i.x = R126i.x; -R124i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R127i.z)) + 1.0)); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(backupReg0i))); -PV1i.w = R124i.w; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R8i.x))); -PS1i = R124i.z; -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R8i.y))); -PV0i.y = R127i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R8i.z))); -PV0i.z = R5i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R1i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R1i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PS0i = R126i.z; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R124i.z))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R1i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(R124i.y)) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 8 -backupReg0i = R126i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.x))); -R126i.y = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R6i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R6i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -PS0i = R125i.w; -// 9 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.y))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R8i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R8i.y))); -// 10 -backupReg0i = R126i.x; -backupReg1i = R127i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R8i.z))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R5i.z))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(R127i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), uf_blockPS3[8].x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), uf_blockPS3[8].y)); -PS1i = R127i.z; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R124i.z)) + intBitsToFloat(R126i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), uf_blockPS3[8].z)); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.z))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS3[8].w)); -// 13 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), uf_blockPS10[5].x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[5].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), uf_blockPS10[5].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), uf_blockPS10[5].x)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -PS1i = R7i.z; -// 14 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -// 15 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[0].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), uf_blockPS10[0].x)); -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.w))); -PS1i = R8i.x; -// 16 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R127i.z))); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R127i.x))); -R3i.w = 0; -R6i.y = floatBitsToInt(uf_blockPS10[1].y); -PS0i = R6i.y; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R6i.y))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R6i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R6i.y))); -PV1i.z = R127i.z; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), -(uf_blockPS8[12].z))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(PS1i),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3de978d5)); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PS1i = R127i.w; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.x))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -// 8 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R9i.z = floatBitsToInt(uf_blockPS4[2].x); -R9i.z = floatBitsToInt(intBitsToFloat(R9i.z) * 4.0); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS8[2].w)); -R9i.x = floatBitsToInt(uf_blockPS8[23].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R9i.y = floatBitsToInt(uf_blockPS8[23].y); -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS1i = R9i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(R4i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R6i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R9i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R7i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R5i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R5i.x; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.x)); -// 6 -R7i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R5i.x) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -PV1i.y = R7i.y; -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R9i.x = floatBitsToInt(uf_blockPS8[24].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS1i = R9i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS8[6].w)); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R7i.x; -backupReg1i = R7i.y; -R7i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(backupReg0i))); -R7i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt(-(intBitsToFloat(R6i.w)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R10i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[4] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R10i.z))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PS1i))); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R7i.z)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R7i.z; -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R5i.w = floatBitsToInt(uf_blockPS4[2].x); -R5i.w = floatBitsToInt(intBitsToFloat(R5i.w) * 4.0); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS1i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R9i.y))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.w)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.z))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -// 5 -R6i.xyz = ivec3(R8i.x,R0i.y,R8i.z); -R6i.w = R3i.w; -// 6 -R4i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R4i.w = R2i.w; -// 7 -R5i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R5i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/a7f4801a8d29e333_0000000000000079_ps.txt b/Source/TokyoMirage/a7f4801a8d29e333_0000000000000079_ps.txt deleted file mode 100644 index fd23bbf0..00000000 --- a/Source/TokyoMirage/a7f4801a8d29e333_0000000000000079_ps.txt +++ /dev/null @@ -1,227 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader a7f4801a8d29e333 -const float resScale = ; //AA in PS -uniform ivec4 uf_remappedPS[3]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem136; -layout(location = 1) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem136); -R1i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R2i.y = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R1i.zy),0.0).y); -R0i.w = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R1i.xy),0.0).y); -R0i.z = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R1i.xw),0.0).y); -R2i.x = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R1i.zw),0.0).y); -R1i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.xy),0.0).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R2i.y; -R127i.x = floatBitsToInt(max(intBitsToFloat(R0i.w), intBitsToFloat(R0i.z))); -R2i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(0x3b2aaaa8)); -PV0i.y = R2i.y; -R127i.z = floatBitsToInt(min(intBitsToFloat(R0i.w), intBitsToFloat(R0i.z))); -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(R2i.x), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(min(intBitsToFloat(R2i.x), intBitsToFloat(PV0i.y))); -// 2 -R4i.z = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -PV0i.z = R4i.z; -R4i.w = floatBitsToInt(max(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.x))); -PV0i.w = R4i.w; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[0].x))); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(min(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -// 4 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(uf_remappedPS[0].y), intBitsToFloat(PV1i.x))); -// 5 -PV1i.y = ((intBitsToFloat(PV0i.w) > intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 6 -backupReg0i = R1i.y; -backupReg1i = R1i.z; -backupReg2i = R1i.w; -backupReg3i = R1i.x; -R3i.x = ((PV1i.y == 0)?(0):(0x3f800000)); -R1i.y = ((PV1i.y == 0)?(0):(backupReg0i)); -R1i.z = ((PV1i.y == 0)?(0):(backupReg1i)); -R1i.w = ((PV1i.y == 0)?(0):(backupReg2i)); -R1i.x = ((PV1i.y == 0)?(0):(backupReg3i)); -PS0i = R1i.x; -// 7 -predResult = (R3i.x == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.w; -PV0i.y = floatBitsToInt(intBitsToFloat(R0i.z) + -(intBitsToFloat(R2i.y))); -R127i.z = 0; -PV0i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(R2i.x)); -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(PV0i.w))); -PV1i.y = R127i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.y; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z) / resScale, intBitsToFloat(uf_remappedPS[1].x))); // sharpen pass? -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y)/ resScale, intBitsToFloat(uf_remappedPS[1].y))); //sharpen pass? -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); -// 6 -R1i.x = floatBitsToInt(intBitsToFloat(R0i.x) + -(intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R2i.w = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV1i.y) / resScale); -R2i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV1i.z) / resScale); -PS0i = R2i.y; -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[2].w))); //? -// 8 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 9 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 10 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), intBitsToFloat(0xc0000000))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), intBitsToFloat(0xc0000000))); -// 11 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.x), 2.0)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 2.0)); -// 12 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w) , intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z) , intBitsToFloat(PV1i.w))); -// 13 -backupReg0i = R0i.x ; -backupReg1i = R0i.y; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i)) + vec3(-(intBitsToFloat(PV0i.w) / resScale),-(intBitsToFloat(PV0i.z) / resScale),intBitsToFloat(PV0i.w) / resScale)); -R0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PV0i.z) / resScale); -} -if( activeMaskStackC[2] == true ) { -R1i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R1i.xy),0.0).xyzw); -R2i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R2i.wy),0.0).xyzw); -R3i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.xy),0.0).xyzw); -R0i.xyzw = floatBitsToInt(textureLod(textureUnitPS0, intBitsToFloat(R0i.zw),0.0).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(intBitsToFloat(R1i.y),intBitsToFloat(R1i.x),intBitsToFloat(R1i.w)) + vec3(intBitsToFloat(R2i.y),intBitsToFloat(R2i.x),intBitsToFloat(R2i.w))); -PV0i.y = R127i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(R2i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(backupReg1i)); -R126i.z = PV0i.y; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) / 2.0); -PS1i = R126i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R126i.y = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PS0i = R126i.y; -// 3 -backupReg0i = R127i.w; -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 0.25 ); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 0.25); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 0.25); -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 0.25); -R126i.x = backupReg0i; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) / 2.0); -PS1i = R126i.x; -// 4 -PV0i.x = ((intBitsToFloat(PV1i.x) > intBitsToFloat(R4i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = ((intBitsToFloat(R4i.z) > intBitsToFloat(PV1i.x))?int(0xFFFFFFFF):int(0x0)); -// 5 -R123i.w = ((PV0i.y == 0)?(PV0i.x):(int(-1))); -PV1i.w = R123i.w; -// 6 -R1i.x = ((PV1i.w == 0)?(R127i.y):(R126i.z)); -R1i.y = ((PV1i.w == 0)?(R127i.x):(R126i.y)); -R1i.z = ((PV1i.w == 0)?(R127i.w):(R126i.x)); -R1i.w = ((PV1i.w == 0)?(R127i.z):(R127i.z)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -passPixelColor0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/a990ed1d8b98c845_00000001e1e49249_ps.txt b/Source/TokyoMirage/a990ed1d8b98c845_00000001e1e49249_ps.txt deleted file mode 100644 index b7505c77..00000000 --- a/Source/TokyoMirage/a990ed1d8b98c845_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1514 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader a990ed1d8b98c845 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x306e0000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x3078c000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x303d8000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R9i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R9i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R10i.x = 0; -PS0i = R10i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R10i.y = 0; -PS1i = R10i.y; -// 4 -R10i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R3i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R3i.x << R9i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R11i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R7i.y = PV1i.x & 0x0000ffff; -PS0i = R7i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R7i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R11i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R9i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R3i.y << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R8i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -PV0i.y = R11i.z + R3i.y; -R3i.y = backupReg0i + int(1); -PS0i = R3i.y; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.x << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) + -(intBitsToFloat(R5i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.z)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R3i.z << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R3i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.z; -backupReg0i = R3i.z; -R3i.z = backupReg0i + int(1); -PV0i.w = R11i.z + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.x & 0x0000ffff; -// 3 -PV1i.w = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + int(1); -R5i.y = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.z].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(backupReg2i))); -R127i.w = clampFI32(R127i.w); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.x))); -PV0i.w = clampFI32(PV0i.w); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.w)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.z))); -// 10 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R127i.y = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R126i.y; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.x)); -// 3 -PV1i.x = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.x)); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R125i.w; -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.y))); -R124i.y = ((R127i.z == 0)?(0):(0x3f800000)); -R4i.z = ((R126i.w == 0)?(0):(0x3f800000)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R4i.y = ((R127i.y == 0)?(0):(0x3f800000)); -PS0i = R4i.y; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.y)) + 1.0); -R127i.y = floatBitsToInt(min(intBitsToFloat(R124i.w), intBitsToFloat(PV0i.w))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.w))); -R4i.w = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -PV1i.w = R4i.w; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(R124i.w)); -PS1i = R125i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R126i.y))); -R126i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.z) + 1.0)); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.y) + 1.0)); -R125i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.y) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 7 -R4i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.y)),intBitsToFloat(R125i.y)) + 1.0)); -PV1i.x = R4i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R127i.y = clampFI32(R127i.y); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -R127i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PS1i = R127i.x; -// 8 -backupReg0i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R8i.x))); -PV0i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R8i.z))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -PV0i.z = R125i.z; -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PV0i.w = R125i.w; -R124i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.w)); -PS0i = R124i.z; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R5i.y)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R5i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R5i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.y) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.y))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(PS1i))); -PS0i = R124i.w; -// 11 -backupReg0i = R125i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R7i.x)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.x))); -R125i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R7i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.z)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PS1i = R127i.x; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R125i.z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(backupReg0i))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.y))); -PS0i = R125i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.z))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.z))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(R126i.x))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R127i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 16 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[0].x)); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 17 -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PV1i.z))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R125i.w; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R7i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.z = floatBitsToInt(uf_blockPS4[2].x); -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R0i.x = floatBitsToInt(uf_blockPS8[23].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = floatBitsToInt(uf_blockPS8[23].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R4i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R6i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R6i.w = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(R5i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R6i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R3i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R10i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R6i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R0i.x; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.x)); -// 6 -R10i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922)); -// 7 -backupReg0i = R0i.x; -predResult = (intBitsToFloat(backupReg0i) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -PV1i.y = R8i.y; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS1i = R4i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R4i.y = floatBitsToInt(uf_blockPS8[24].y); -R4i.y = floatBitsToInt(intBitsToFloat(R4i.y) / 2.0); -PS0i = R4i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R4i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.z; -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R4i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R10i.z)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R10i.w = floatBitsToInt(uf_blockPS4[2].x); -R10i.w = floatBitsToInt(intBitsToFloat(R10i.w) * 4.0); -PS0i = R10i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R4i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R9i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.w)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.w; -PV0i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R10i.z))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R0i.y))); -PV0i.w = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -PS0i = R2i.x; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.y = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.w) + -(intBitsToFloat(PV0i.x))); -R6i.w = 0; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.y; -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].x)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + 1.0)); -R123i.x = clampFI32(R123i.x); -PV1i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PS1i = R2i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.z = floatBitsToInt(tempResultf); -PS0i = R127i.z; -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 6 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -// 7 -R4i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R127i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i)); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.x))); -// 7 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), uf_blockPS10[2].z)); -PV0i.z = R5i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R5i.w; -// 2 -R1i.xyz = ivec3(R6i.x,R6i.w,R6i.w); -R1i.w = R6i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/a9fab78f85b62771_00000001e1e49249_ps.txt b/Source/TokyoMirage/a9fab78f85b62771_00000001e1e49249_ps.txt deleted file mode 100644 index 69d28ef1..00000000 --- a/Source/TokyoMirage/a9fab78f85b62771_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1392 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader a9fab78f85b62771 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x36d40000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x36eb0000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36e98000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R7i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R9i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R6i.x = floatBitsToInt(tempResultf); -PS0i = R6i.x; -// 7 -R5i.x = PV0i.w << 0x00000002; -R5i.y = PV0i.w << 0x00000005; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = R5i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.x))); -PV0i.z = R7i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R0i.x + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R3i.z; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R0i.x + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.z)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 8 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -// 9 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R10i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.x; -backupReg0i = R10i.x; -R10i.x = backupReg0i + int(1); -PV0i.w = R0i.x + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.y << R3i.z; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = R7i.w + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + int(1); -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.x].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(backupReg2i))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R126i.y))); -PV0i.w = clampFI32(PV0i.w); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.w)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.x))); -// 10 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R4i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.z; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R126i.z; -// 2 -PV0i.x = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -PV0i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(PV1i.y)); -R125i.z = ((PV1i.z == 0)?(0):(0x3f800000)); -PV0i.z = R125i.z; -R127i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV0i.w = R127i.w; -R124i.y = ((PV1i.w == 0)?(0):(0x3f800000)); -PS0i = R124i.y; -// 3 -R125i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + 1.0)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.w; -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.y) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -PS0i = R125i.w; -// 5 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.z))); -PV1i.x = R6i.x; -R6i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R126i.w)) + 1.0)); -R126i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PV1i.z = R126i.z; -R126i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R8i.x))); -PS1i = R126i.y; -// 6 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R8i.y))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R8i.z))); -PV0i.y = R125i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R5i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R5i.y)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PS0i = R127i.y; -// 7 -R126i.x = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R5i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R126i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 8 -backupReg0i = R127i.y; -backupReg1i = R126i.z; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R4i.x)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y))); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R4i.y)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -PS0i = R127i.w; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R127i.x))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R4i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R126i.y))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R125i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R8i.z))); -PS1i = R127i.z; -// 10 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -backupReg1i = R125i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.x))); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -PS0i = R125i.x; -// 11 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.z))); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.x)) + intBitsToFloat(PV1i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R125i.x)) + intBitsToFloat(PV1i.y))); -PV0i.w = R123i.w; -// 13 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[0].x)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[0].x)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R9i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R9i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R9i.y))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.z = R126i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -// 6 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.x))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R125i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -// 4 -R6i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R6i.x = floatBitsToInt(uf_blockPS8[23].x); -R6i.x = floatBitsToInt(intBitsToFloat(R6i.x) / 2.0); -PS0i = R6i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R9i.y = floatBitsToInt(uf_blockPS8[23].y); -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS1i = R9i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R10i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R4i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R10i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R10i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R8i.z = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R10i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R10i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R0i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R0i.y != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R10i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R9i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R10i.y))); -PS0i = R4i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R6i.x)) + vec3(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R10i.y)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R8i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R7i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV0i.y)); -// 6 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R7i.w) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R7i.y; -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R6i.x = floatBitsToInt(uf_blockPS8[24].x); -R6i.x = floatBitsToInt(intBitsToFloat(R6i.x) / 2.0); -PS1i = R6i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS0i = R6i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.w))?1.0:0.0); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R2i.z)); -PS0i = R9i.y; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R9i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R9i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R6i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R9i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R9i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R0i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R6i.x = floatBitsToInt(uf_blockPS8[24].x); -R6i.x = floatBitsToInt(intBitsToFloat(R6i.x) / 2.0); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -backupReg0i = R6i.y; -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R6i.y; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R6i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -R6i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); -PS0i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R6i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R6i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R6i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R6i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.y))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,R2i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R1i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/adaebba23d3cde3d_00000f0f0f249249_ps.txt b/Source/TokyoMirage/adaebba23d3cde3d_00000f0f0f249249_ps.txt deleted file mode 100644 index 892481e9..00000000 --- a/Source/TokyoMirage/adaebba23d3cde3d_00000f0f0f249249_ps.txt +++ /dev/null @@ -1,1708 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader adaebba23d3cde3d -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x34fb0000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x34c08000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x34fbc000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R5i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R10i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R10i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R9i.x = 0; -R9i.y = 0; -R3i.z = 0; -R1i.w = 0; -R9i.z = 0; -PS0i = R9i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS0i = R5i.w; -// 9 -R5i.x = PV0i.z << 0x00000002; -R5i.y = PV0i.z << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R7i.x << R10i.x; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = R5i.y + 0x00000e10; -PS0i = R10i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R10i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R5i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R5i.y = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R6i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + intBitsToFloat(R6i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R6i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R6i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R6i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R6i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),-(intBitsToFloat(R6i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R9i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R9i.x; -// 8 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.w = R10i.z + R1i.w; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.w; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.y; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R9i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R9i.x; -// 13 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R12i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R12i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R12i.z; -PV0i.z = R10i.z + R12i.z; -R12i.z = backupReg0i + int(1); -PS0i = R12i.z; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.y << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.z = R4i.w + PV0i.x; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + int(1); -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.x].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R125i.z))); -R125i.w = clampFI32(R125i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -// 10 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.x))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R8i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -R10i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R127i.z = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.w = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.y)); -R125i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R124i.w; -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -R4i.z = ((backupReg0i == 0)?(0):(0x3f800000)); -R127i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R4i.x = ((R127i.z == 0)?(0):(0x3f800000)); -PS0i = R4i.x; -// 5 -backupReg0i = R124i.w; -R126i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R0i.y = floatBitsToInt(-(intBitsToFloat(R125i.w)) + 1.0); -R127i.z = floatBitsToInt(-(intBitsToFloat(R125i.z)) + 1.0); -R124i.w = ((R126i.w == 0)?(0):(0x3f800000)); -PV1i.w = R124i.w; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(backupReg0i))); -PS1i = R6i.z; -// 6 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.w) + 1.0)); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.z) + 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R6i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.z)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R125i.z))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -// 8 -backupReg0i = R127i.z; -R125i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R126i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R127i.z = clampFI32(R127i.z); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R7i.x))); -PV1i.x = R124i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R7i.y))); -PV1i.y = R125i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R7i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -R127i.w = clampFI32(R127i.w); -R124i.z = floatBitsToInt(-(intBitsToFloat(R6i.x)) + intBitsToFloat(R126i.w)); -PS1i = R124i.z; -// 10 -R127i.x = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R5i.y)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R5i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R5i.x)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PS0i = R126i.x; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R125i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.z) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.w))); -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.w) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R126i.z; -backupReg2i = R126i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(R126i.x))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(backupReg2i))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PS1i))); -PS0i = R126i.x; -// 13 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R8i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R124i.x))); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R8i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.x)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R125i.y))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 14 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R7i.x))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R125i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS3[8].x)); -PS0i = R125i.z; -// 15 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(R126i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R7i.z))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS3[8].y)); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.z))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS3[8].z)); -PS1i = R124i.w; -// 16 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS3[8].w)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(R125i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R126i.w)) + intBitsToFloat(R124i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126i.z = floatBitsToInt(tempResultf); -PS0i = R126i.z; -// 17 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS10[5].x)); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R125i.x)) + intBitsToFloat(PV0i.w))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.x))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.w = floatBitsToInt(tempResultf); -PS1i = R127i.w; -// 18 -backupReg0i = R124i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), uf_blockPS10[5].x)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), uf_blockPS10[5].x)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -// 19 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[2].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[2].y)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(R127i.w))); -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 20 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS10[0].x)); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), uf_blockPS10[0].x)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS10[0].x)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), uf_blockPS10[2].z)); -R125i.y = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -PS0i = R125i.y; -// 21 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R126i.x))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R127i.y))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.w))); -R5i.w = 0; -R9i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(R125i.x))); -PS1i = R9i.w; -// 22 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(R125i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R126i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS0i))); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.w))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R125i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R8i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R10i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R10i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R12i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R12i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R12i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R13i.x = floatBitsToInt(uf_blockPS8[23].x); -R13i.x = floatBitsToInt(intBitsToFloat(R13i.x) / 2.0); -PS0i = R13i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R11i.y = floatBitsToInt(uf_blockPS8[23].y); -R11i.y = floatBitsToInt(intBitsToFloat(R11i.y) / 2.0); -PS1i = R11i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R13i.x))); -PV0i.w = R11i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R13i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R12i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R12i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.w))?1.0:0.0); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.w)) + intBitsToFloat(R3i.z)); -PS0i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R12i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R12i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R5i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R4i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.y = R6i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R13i.x))); -PV0i.w = R11i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R13i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R12i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R12i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R12i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R5i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R5i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R11i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R11i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV0i.w)); -// 6 -R5i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R11i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R12i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R11i.y; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R12i.y; -// 4 -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R12i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R11i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -R6i.x = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(R2i.z)); -PS0i = R6i.x; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R12i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R6i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R12i.y) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R12i.x) >= intBitsToFloat(R6i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R12i.z) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R5i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R10i.w = floatBitsToInt(uf_blockPS4[2].x); -R10i.w = floatBitsToInt(intBitsToFloat(R10i.w) * 4.0); -PS0i = R10i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R13i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R11i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS1i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R12i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R12i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R12i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R12i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R12i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R12i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R12i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R13i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R11i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R8i.x)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R10i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R5i.x))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R10i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R10i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), uf_blockPS3[21].x)); -// 1 -R1i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R5i.x)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R125i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R0i.x))); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PS0i = R3i.x; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].z)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R125i.z)); -// 5 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R8i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R3i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -backupReg0i = R7i.w; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -// 8 -R6i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R5i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R2i.x)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R3i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R125i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(R125i.z))); -PV1i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R6i.y))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -// 8 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R6i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(R3i.w))); -R7i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(R1i.z))); -R7i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(R6i.y))); -// 1 -R2i.xyz = ivec3(R11i.x,R8i.y,R5i.z); -R2i.w = R5i.w; -// 2 -R0i.xyz = ivec3(R7i.x,R7i.y,R7i.z); -R0i.w = R7i.w; -// 3 -R1i.xyz = ivec3(R8i.x,R8i.z,R8i.z); -R1i.w = R8i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/adc1f8175ad593d2_0000000f0f249249_ps.txt b/Source/TokyoMirage/adc1f8175ad593d2_0000000f0f249249_ps.txt deleted file mode 100644 index 13e4bcfe..00000000 --- a/Source/TokyoMirage/adc1f8175ad593d2_0000000f0f249249_ps.txt +++ /dev/null @@ -1,1516 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader adc1f8175ad593d2 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x37e42000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x37eee000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x37c56000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x37afe000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R8i.y = R127i.z; -R127i.z = R2i.x; -R7i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R8i.w = R2i.z; -R8i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS1i = R8i.x; -// 4 -R11i.x = 0; -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R7i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R11i.y = 0; -PS0i = R11i.y; -// 5 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R11i.z = 0; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 8 -R1i.x = PV1i.w << 0x00000002; -R10i.y = PV1i.w << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R9i.x = floatBitsToInt(tempResultf); -PS0i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R9i.y; -backupReg1i = R4i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R9i.x))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.x))); -PV0i.z = backupReg1i << R2i.w; -R3i.w = R10i.y + 0x00000e10; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R9i.x))); -PS0i = R6i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(backupReg0i)); -// 4 -R10i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R12i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R12i.y; -backupReg0i = R12i.y; -R5i.x = 0; -R12i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R0i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R1i.x)),-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R1i.z)),-(intBitsToFloat(R5i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -// 4 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R7i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R7i.z; -backupReg0i = R7i.z; -R7i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.x << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.y = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R4i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -R10i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R10i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R10i.x > R5i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R5i.w; -PV0i.z = R3i.w + R5i.w; -R5i.w = backupReg0i + int(1); -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R1i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.z = R10i.z + PV0i.w; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R125i.z))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -PV0i.x = clampFI32(PV0i.x); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 10 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R127i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.x = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R126i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -R126i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R124i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R124i.y; -// 4 -R125i.x = ((R126i.y == 0)?(0):(0x3f800000)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.x))); -R124i.w = ((R127i.w == 0)?(0):(0x3f800000)); -R124i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PS0i = R124i.x; -// 5 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R124i.y))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R127i.z = floatBitsToInt(min(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.w)); -PS1i = R127i.x; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.w) + 1.0)); -R125i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R127i.x = clampFI32(R127i.x); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.x)) + 1.0); -R5i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.z = R5i.z; -R127i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PS1i = R127i.z; -// 8 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R8i.z))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -PV0i.y = R124i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R8i.x))); -PV0i.z = R126i.z; -R126i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PV0i.w = R126i.w; -R125i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -PS0i = R125i.w; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R1i.z)); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R1i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R1i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R127i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -PS0i = R2i.w; -// 11 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R7i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R7i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R7i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS1i = R127i.z; -// 12 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R124i.y))); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R126i.z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R8i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R8i.y))); -PS0i = R125i.z; -// 13 -backupReg0i = R127i.x; -backupReg1i = R127i.z; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R8i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV0i.w))); -tempResultf = log2(intBitsToFloat(backupReg2i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(R126i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R124i.z)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R2i.w)) + intBitsToFloat(R125i.z))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 16 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 6 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R127i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R10i.w = 0x3f800000; -PV0i.w = R10i.w; -R9i.w = floatBitsToInt(uf_blockPS4[2].x); -R9i.w = floatBitsToInt(intBitsToFloat(R9i.w) * 4.0); -PS0i = R9i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R7i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R9i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R7i.z)); -PS0i = R9i.x; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R9i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.y)); -// 6 -R4i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R8i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R7i.x = floatBitsToInt(uf_blockPS8[24].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[6].w)); -R7i.y = floatBitsToInt(uf_blockPS8[24].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS0i = R7i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R6i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R7i.z = floatBitsToInt(uf_blockPS4[2].x); -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R7i.x = floatBitsToInt(uf_blockPS8[24].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -PS0i = R7i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R7i.y = floatBitsToInt(uf_blockPS8[24].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS1i = R7i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R6i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.w))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -R1i.y = 0; -PS0i = R1i.y; -// 1 -R1i.z = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].z)); -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), uf_blockPS10[2].x)); -PV0i.x = R2i.x; -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[2].z)); -PV0i.z = R2i.z; -// 1 -backupReg0i = R2i.w; -R2i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R2i.w = backupReg0i; -// 2 -R3i.xyz = ivec3(R1i.x,R1i.y,R1i.y); -R3i.w = R1i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -passPixelColor2 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -} diff --git a/Source/TokyoMirage/ae4b9d707f95f9e3_00000001e1e49249_ps.txt b/Source/TokyoMirage/ae4b9d707f95f9e3_00000001e1e49249_ps.txt deleted file mode 100644 index 912eaf37..00000000 --- a/Source/TokyoMirage/ae4b9d707f95f9e3_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1598 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader ae4b9d707f95f9e3 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x391be000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x3926a000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x390ee000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R5i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R10i.x = 0; -PS0i = R10i.x; -// 3 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R10i.y = 0; -PS1i = R10i.y; -// 4 -R9i.x = 0; -R9i.y = 0; -R10i.z = 0; -R1i.w = 0; -R9i.z = 0; -PS0i = R9i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS0i = R5i.w; -// 9 -R5i.x = PV0i.z << 0x00000002; -R5i.y = PV0i.z << 0x00000005; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R11i.x; -} -if( activeMaskStackC[1] == true ) { -R3i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R3i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -R12i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = R5i.y + 0x00000e10; -PS0i = R4i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R7i.y = PV1i.w & 0x0000ffff; -PS0i = R7i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R7i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R4i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R5i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R5i.y = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), -(intBitsToFloat(R6i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.x)) + intBitsToFloat(R6i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R6i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R12i.z)) + intBitsToFloat(R6i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.z),-(intBitsToFloat(R6i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R6i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.x),-(intBitsToFloat(R6i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.x; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R9i.x; -// 8 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R3i.y << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.w = R4i.z + R1i.w; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R12i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.w; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R12i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.y; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R127i.z))); -// 8 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 12 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -backupReg3i = R9i.x; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R9i.x; -// 13 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R3i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R3i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.z; -PV0i.z = R4i.z + R3i.z; -R3i.z = backupReg0i + int(1); -PS0i = R3i.z; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.y << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.z = R4i.w + PV0i.x; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + int(1); -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.x].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R125i.z))); -R125i.w = clampFI32(R125i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R12i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R12i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -// 10 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.x))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R4i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R126i.w = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -R124i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R125i.w; -// 4 -R125i.x = ((R127i.x == 0)?(0):(0x3f800000)); -R124i.y = ((R126i.w == 0)?(0):(0x3f800000)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R6i.y = ((R127i.y == 0)?(0):(0x3f800000)); -PS0i = R6i.y; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R125i.w))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.y)) + 1.0); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R125i.w = floatBitsToInt(min(intBitsToFloat(R124i.w), intBitsToFloat(PV0i.w))); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R124i.w)); -PS1i = R127i.x; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.y) + 1.0)); -R126i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(backupReg0i))); -R124i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.y) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R127i.x = clampFI32(R127i.x); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R124i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.z = R124i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R124i.x)) + 1.0); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -PS1i = R127i.z; -// 8 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R7i.y))); -PV0i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.x))); -PV0i.z = R126i.z; -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -PV0i.w = R125i.w; -R125i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.w)); -PS0i = R125i.y; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R5i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R5i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R124i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R5i.z)); -R124i.w = floatBitsToInt(intBitsToFloat(R124i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R127i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + intBitsToFloat(0x40400000))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -PS0i = R5i.x; -// 11 -backupReg0i = R127i.z; -backupReg1i = R125i.w; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R4i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(PV0i.w))); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R4i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -PS1i = R125i.z; -// 12 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R7i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(backupReg1i))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R7i.z))); -// 13 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R7i.y))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(backupReg2i)) + intBitsToFloat(PV0i.y))); -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R5i.y)) + intBitsToFloat(R126i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R125i.z)) + intBitsToFloat(R126i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(R127i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(R125i.y))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 16 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 17 -R6i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R125i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R124i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.w))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.x))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R125i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = floatBitsToInt(uf_blockPS4[2].x); -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R7i.x = floatBitsToInt(uf_blockPS8[23].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -PS0i = R7i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.w))?1.0:0.0); -R10i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R3i.z)); -PS0i = R10i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R10i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R4i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = backupReg0i; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R10i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R10i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV0i.w)); -// 6 -R7i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R10i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R8i.y; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R10i.y; -// 4 -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS0i = R0i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R2i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R7i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R7i.x; -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R10i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R7i.x)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.x))) + uf_blockPS10[1].z)); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), uf_blockPS3[21].x)); -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.w))); -PS1i = R127i.x; -// 2 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R7i.x)) + uf_blockPS3[19].w)); -PV0i.z = R123i.z; -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -// 3 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -// 1 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(R1i.x))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.w))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), uf_blockPS3[20].x)); -// 1 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R2i.x; -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R2i.z; -// 2 -R0i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R0i.w = R2i.w; -// 3 -R1i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R1i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/ae5531e428f703f5_0000000007879249_ps.txt b/Source/TokyoMirage/ae5531e428f703f5_0000000007879249_ps.txt deleted file mode 100644 index be8c0c31..00000000 --- a/Source/TokyoMirage/ae5531e428f703f5_0000000007879249_ps.txt +++ /dev/null @@ -1,1353 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader ae5531e428f703f5 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3445c000 res 128x128x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R10i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R10i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R3i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R7i.x << R10i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R9i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.x & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R5i.z << R10i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.y << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R8i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.z; -PV0i.y = R4i.z + R8i.z; -R8i.z = backupReg0i + int(1); -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R5i.x << R10i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -backupReg0i = R10i.y; -R10i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R10i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -// 2 -R3i.y = ((PV1i.x == 0)?(0):(0)); -R3i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R3i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R1i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R13i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R13i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R11i.x = floatBitsToInt(uf_blockPS8[23].x); -R11i.x = floatBitsToInt(intBitsToFloat(R11i.x) / 2.0); -PS0i = R11i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R12i.y = floatBitsToInt(uf_blockPS8[23].y); -R12i.y = floatBitsToInt(intBitsToFloat(R12i.y) / 2.0); -PS1i = R12i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R12i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R5i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(R3i.x)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R6i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R10i.x))); -R6i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R13i.y))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R6i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R7i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R5i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R6i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R12i.y; -R5i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R5i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R11i.x)) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[4] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R5i.w = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R5i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.w) + intBitsToFloat(PV0i.y)); -// 6 -R6i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R5i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R5i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R5i.y; -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R6i.x = floatBitsToInt(uf_blockPS8[24].x); -R6i.x = floatBitsToInt(intBitsToFloat(R6i.x) / 2.0); -PS1i = R6i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R12i.y = floatBitsToInt(uf_blockPS8[24].y); -R12i.y = floatBitsToInt(intBitsToFloat(R12i.y) / 2.0); -PS0i = R12i.y; -} -if( activeMaskStackC[4] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R10i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R12i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R10i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.w))?1.0:0.0); -R13i.y = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R2i.z)); -PS0i = R13i.y; -} -if( activeMaskStackC[4] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R5i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R13i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R13i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R12i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R6i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[5] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R13i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R6i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R6i.x = floatBitsToInt(uf_blockPS8[24].x); -R6i.x = floatBitsToInt(intBitsToFloat(R6i.x) / 2.0); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R11i.x; -// 4 -backupReg0i = R4i.w; -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R12i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R12i.y; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[3] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R10i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R11i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R12i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.w))?1.0:0.0); -R12i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); -PS0i = R12i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R12i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R6i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = floatBitsToInt(min(intBitsToFloat(R11i.y), intBitsToFloat(R6i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R3i.y))) + uf_blockPS10[1].z)); -PS0i = R122i.x; -// 1 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R127i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R0i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS1i = R1i.x; -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[17].x, uf_blockPS10[0].y)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R7i.z = 0; -R0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[17].y, uf_blockPS10[0].y)); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R126i.x; -// 3 -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[17].w, uf_blockPS10[0].y)); -R0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[17].z, uf_blockPS10[0].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -// 4 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -// 5 -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.z)),intBitsToFloat(R126i.x)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -// 8 -R3i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R2i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.y))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.x))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -// 3 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.z))); -PV1i.x = R126i.x; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.w)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.z)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.y))); -PV0i.w = R123i.w; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.x))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R2i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R2i.x)) + intBitsToFloat(R126i.x))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R3i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R3i.x))); -// 8 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R5i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R3i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R5i.y))); -PS0i = R6i.y; -// 9 -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.z))); -PV1i.z = R6i.z; -// 10 -R0i.xyz = ivec3(R6i.x,R6i.y,PV1i.z); -R0i.w = R6i.w; -// 11 -R1i.xyz = ivec3(R7i.x,R7i.z,R7i.z); -R1i.w = R7i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/aeacafe10869d9dd_000003c3c9249649_ps.txt b/Source/TokyoMirage/aeacafe10869d9dd_000003c3c9249649_ps.txt deleted file mode 100644 index 39f7f0da..00000000 --- a/Source/TokyoMirage/aeacafe10869d9dd_000003c3c9249649_ps.txt +++ /dev/null @@ -1,1754 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader aeacafe10869d9dd -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x36fa4000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36ec8000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x36e70000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x36ec8000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x36fd0000 res 256x256x1 dim 3 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R4i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R4i.x = 0; -PS0i = R4i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R4i.z = 0; -PS1i = R4i.z; -// 6 -R11i.xyz = ivec3(0,0,0); -R13i.y = 0; -PS0i = R13i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R12i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R12i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R8i.w))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = backupReg0i + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R9i.x)); -// 4 -R9i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R13i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R13i.y; -backupReg0i = R13i.y; -R5i.x = 0; -R13i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R6i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R12i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R12i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R9i.x)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R9i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.y; -PV0i.y = R3i.w + R9i.y; -R9i.y = backupReg0i + int(1); -PS0i = R9i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R9i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R9i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R126i.z; -// 1 -R126i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R10i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R10i.z)))); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R1i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R10i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.w)); -R125i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV0i.z = R125i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(PV1i.w)); -R124i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R124i.z; -// 3 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),-(intBitsToFloat(R10i.y))) + intBitsToFloat(R127i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R127i.x; -// 4 -backupReg0i = R0i.x; -backupReg1i = R126i.z; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R125i.z), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(backupReg0i))) + intBitsToFloat(PV1i.y))*2.0); -PV0i.z = R126i.z; -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg1i), intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(R124i.z)); -PS0i = R127i.y; -// 5 -R6i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.z)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R0i.x)))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.y = R126i.y; -R13i.z = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = R13i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.x)) + 1.0)); -R6i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.z)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R10i.y)))); -PS1i = R6i.y; -// 6 -backupReg0i = R6i.z; -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(R126i.x))); -R6i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(backupReg0i)) + -(intBitsToFloat(R10i.z)))); -PS0i = R6i.z; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R8i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R8i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + intBitsToFloat(0x40400000))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R8i.z))); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R5i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R5i.z)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 10 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R7i.z)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R7i.y)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R7i.x)) + intBitsToFloat(PV1i.x))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[0].x)); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[0].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -// 12 -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -// 13 -R7i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R126i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R126i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -// 6 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -// 4 -R7i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -R5i.w = floatBitsToInt(uf_blockPS4[2].x); -R5i.w = floatBitsToInt(intBitsToFloat(R5i.w) * 4.0); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R12i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R13i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R13i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[23].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R4i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R12i.x))); -R5i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R13i.y))); -R7i.z = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(R4i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[2] == true ) { -R12i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R10i.w) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R12i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R7i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R12i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R5i.y)); -} -if( activeMaskStackC[3] == true ) { -R12i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R12i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R12i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R6i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.y)); -// 6 -R5i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R6i.w) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R10i.x; -// 3 -R8i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R10i.y; -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS1i = R5i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[6].w)); -R8i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R7i.y = floatBitsToInt(uf_blockPS8[24].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS0i = R7i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R8i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R8i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R8i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R10i.y = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(R3i.z)); -PS0i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R10i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R7i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R5i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R5i.w = floatBitsToInt(uf_blockPS4[2].x); -R5i.w = floatBitsToInt(intBitsToFloat(R5i.w) * 4.0); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -backupReg0i = R7i.y; -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R7i.y; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R7i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.z)); -PS0i = R7i.y; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R10i.w) >= intBitsToFloat(R7i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R7i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R7i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -redcCUBE(vec4(intBitsToFloat(R6i.z),intBitsToFloat(R6i.z),intBitsToFloat(R6i.x),intBitsToFloat(R6i.y)),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.x),intBitsToFloat(R6i.z),intBitsToFloat(R6i.z)),cubeMapSTM,cubeMapFaceId); -R1i.x = floatBitsToInt(cubeMapSTM.x); -R1i.y = floatBitsToInt(cubeMapSTM.y); -R1i.z = floatBitsToInt(cubeMapSTM.z); -R1i.w = cubeMapFaceId; -PV0i.x = R1i.x; -PV0i.y = R1i.y; -PV0i.z = R1i.z; -PV0i.w = R1i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R9i.x))); -PS0i = R127i.x; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS3[21].x)); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R5i.y))) + uf_blockPS10[1].z)); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R9i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R9i.y))); -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PV0i.w = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R2i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV1i.y)); -PS0i = R2i.x; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R13i.z) + -(intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R126i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R126i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R126i.x))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R5i.y)) + uf_blockPS3[19].w)); -PS1i = R122i.x; -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PS1i))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PS1i))); -R2i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R3i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PS0i = R3i.w; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R1i.yx),R1i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(R7i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R2i.z)); -// 1 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R2i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.w)),intBitsToFloat(PS0i)) + 1.0)); -R123i.z = clampFI32(R123i.z); -PV1i.z = R123i.z; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R3i.x))); -R3i.z = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PS1i = R3i.z; -// 2 -R3i.y = 0; -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R2i.y))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS0i = R0i.z; -// 3 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(PV0i.y)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 2 -backupReg0i = R0i.z; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R2i.z)) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(backupReg0i))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(R2i.x))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R2i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R2i.w))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R2i.z)) + intBitsToFloat(PV1i.z)); -// 5 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R2i.z))); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(R2i.w))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(R2i.x))); -PV1i.z = R127i.z; -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R3i.z)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.z)) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.z)) + intBitsToFloat(R127i.z))); -PV1i.z = R123i.z; -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 9 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R0i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R0i.z; -// 10 -backupReg0i = R0i.w; -R0i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R0i.w = backupReg0i; -// 11 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/af7acf7fb6dca1be_0000000000079249_ps.txt b/Source/TokyoMirage/af7acf7fb6dca1be_0000000000079249_ps.txt deleted file mode 100644 index f42ead33..00000000 --- a/Source/TokyoMirage/af7acf7fb6dca1be_0000000000079249_ps.txt +++ /dev/null @@ -1,583 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader af7acf7fb6dca1be -uniform ivec4 uf_remappedPS[31]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4386000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf599a000 res 1024x1024x1 dim 1 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 2) uniform sampler2DShadow textureUnitPS2;// Tex2 addr 0xf551a000 res 1024x1024x1 dim 1 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 3) uniform sampler2DShadow textureUnitPS3;// Tex3 addr 0xf571a000 res 1024x1024x1 dim 1 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 4) uniform sampler2DShadow textureUnitPS4;// Tex4 addr 0xf591a000 res 512x512x1 dim 1 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler4 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem0); -R1i = floatBitsToInt(passParameterSem1); -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[0].x),intBitsToFloat(uf_remappedPS[0].y),intBitsToFloat(uf_remappedPS[0].z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.w = tempi.x; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(PS0i)); -R5i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].y) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].x) * 1.0); -R4i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].x) * 1.0); -PS1i = R4i.x; -// 2 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV1i.x))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(PV1i.x))); -R5i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].z) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].z) * 1.0); -// 3 -backupReg0i = R127i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(backupReg0i))); -PV1i.w = R123i.w; -// 4 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(PV1i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(R4i.x))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(R5i.y))); -// 5 -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].z)) + intBitsToFloat(R5i.z))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[4].z)) + intBitsToFloat(R127i.z))); -// 6 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(R126i.z))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[7].y)) + intBitsToFloat(backupReg0i))); -PV0i.y = R127i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[7].x)) + intBitsToFloat(backupReg1i))); -PV0i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(backupReg2i))); -// 7 -backupReg0i = R126i.y; -backupReg1i = R126i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + -(0.5)); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + -(0.5)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(backupReg0i))); -PV1i.z = R123i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[7].z)) + intBitsToFloat(backupReg1i))); -// 8 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(R127i.x))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].y)) + intBitsToFloat(R127i.w))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].z)) + intBitsToFloat(PV1i.z))); -R2i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PS0i = R2i.x; -// 9 -R127i.x = ((0.5 > intBitsToFloat(PS0i))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(uf_remappedPS[9].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(uf_remappedPS[10].z)); -R7i.y = floatBitsToInt(max(intBitsToFloat(R126i.y), -(intBitsToFloat(R126i.y)))); -PS1i = R7i.y; -// 10 -R126i.x = ((0.5 > intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(uf_remappedPS[11].z)); -PV0i.z = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(uf_remappedPS[12].z)); -R0i.w = PV1i.y; -R0i.w = clampFI32(R0i.w); -R1i.w = PV1i.z; -R1i.w = clampFI32(R1i.w); -PS0i = R1i.w; -// 11 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[9].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[13].z)); -R0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(uf_remappedPS[9].y)); -R2i.w = PV0i.z; -R2i.w = clampFI32(R2i.w); -R3i.w = PV0i.y; -R3i.w = clampFI32(R3i.w); -PS1i = R3i.w; -// 12 -R1i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[10].x)); -R1i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(uf_remappedPS[10].y)); -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[12].x)); -R4i.w = PV1i.y; -R4i.w = clampFI32(R4i.w); -R2i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(uf_remappedPS[12].y)); -PS0i = R2i.y; -// 13 -R3i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[11].x)); -R3i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(uf_remappedPS[11].y)); -R4i.z = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(uf_remappedPS[13].x)); -R6i.w = ((R127i.x == 0)?(0):(R126i.x)); -R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(uf_remappedPS[13].y)); -PS1i = R4i.y; -} -if( activeMaskStackC[1] == true ) { -R7i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R0i.xz), intBitsToFloat(R0i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R9i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R10i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R0i.x = floatBitsToInt(texture(textureUnitPS4, vec3(intBitsToFloat(R4i.zy), intBitsToFloat(R4i.w)))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R8i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[14].x) * 1.0); -PV0i.x = R8i.x; -R4i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[14].y) * 1.0); -PV0i.y = R4i.y; -R2i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[14].z) * 1.0); -PV0i.z = R2i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV1i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(PV1i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -// 3 -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV0i.y))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PV0i.w))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(PV0i.z))); -// 4 -predResult = (R6i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R1i.x)); -R0i.w = floatBitsToInt(max(intBitsToFloat(R2i.x), intBitsToFloat(R7i.y))); -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R9i.x)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R10i.x)); -// 3 -R6i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * 0.25); -// 4 -predResult = (intBitsToFloat(R0i.w) > intBitsToFloat(0x3eae147b)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R0i.z)) + vec3(intBitsToFloat(uf_remappedPS[18].x),intBitsToFloat(uf_remappedPS[18].y),intBitsToFloat(uf_remappedPS[18].z))); -PV0i.z = R1i.z; -// 1 -R7i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(uf_remappedPS[19].x)); -R7i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[19].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[19].z)); -PV1i.z = R1i.z; -R1i.w = PV0i.z; -R1i.w = clampFI32(R1i.w); -// 2 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(uf_remappedPS[20].x)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[20].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[20].z)); -PV0i.z = R1i.z; -R7i.w = PV1i.z; -R7i.w = clampFI32(R7i.w); -// 3 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(uf_remappedPS[21].x)); -R3i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(uf_remappedPS[21].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[21].z)); -PV1i.z = R1i.z; -R2i.w = PV0i.z; -R2i.w = clampFI32(R2i.w); -// 4 -R3i.w = PV1i.z; -R3i.w = clampFI32(R3i.w); -} -if( activeMaskStackC[3] == true ) { -R1i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R0i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R7i.xy), intBitsToFloat(R7i.w)))); -R2i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R3i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.y = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(0x3eae147b))); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R2i.x)); -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c80000)); -// 2 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R3i.x)); -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * 0.25 + -(intBitsToFloat(R6i.w)))); -PV1i.x = R123i.x; -// 4 -backupReg0i = R6i.w; -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].z)) + intBitsToFloat(R2i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(R4i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(R8i.x))); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -// 2 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R1i.x; -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PV1i.w))); -PV0i.y = R3i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(PV1i.z))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + -(0.5)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + -(0.5)); -// 4 -R2i.x = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); -PV0i.x = R2i.x; -R1i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = R1i.y; -// 5 -PV1i.x = ((0.5 > intBitsToFloat(PV0i.y))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((0.5 > intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 6 -R0i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 7 -predResult = (R0i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[18].z)); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(uf_remappedPS[19].z)); -R7i.w = floatBitsToInt(max(intBitsToFloat(R2i.x), intBitsToFloat(R1i.y))); -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(uf_remappedPS[19].x)); -R0i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[19].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(uf_remappedPS[18].x)); -R0i.w = PV0i.z; -R0i.w = clampFI32(R0i.w); -R1i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[18].y)); -PS1i = R1i.y; -// 2 -backupReg0i = R0i.z; -R2i.x = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(uf_remappedPS[20].x)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[20].y)); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(uf_remappedPS[20].z)); -R1i.w = R127i.x; -R1i.w = clampFI32(R1i.w); -// 3 -R3i.x = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(uf_remappedPS[21].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[21].z)); -R3i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[21].y)); -R2i.w = PV0i.z; -R2i.w = clampFI32(R2i.w); -// 4 -R3i.w = PV1i.y; -R3i.w = clampFI32(R3i.w); -} -if( activeMaskStackC[3] == true ) { -R0i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R0i.xy), intBitsToFloat(R0i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R1i.zy), intBitsToFloat(R1i.w)))); -R2i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R3i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R3i.xz), intBitsToFloat(R3i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.y = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R1i.x)); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R2i.x)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R3i.x)); -// 3 -R6i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * 0.25); -// 4 -predResult = (intBitsToFloat(R7i.w) > intBitsToFloat(0x3eae147b)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(backupReg0i))); -PV0i.x = R4i.x; -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(R5i.y))); -PV0i.y = R4i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].z)) + intBitsToFloat(R5i.z))); -PV0i.z = R0i.z; -// 1 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R4i.x; -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R4i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R0i.z; -// 2 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R4i.x; -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].y)) + intBitsToFloat(PV1i.y))); -PV0i.y = R4i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].z)) + intBitsToFloat(PV1i.z))); -PV0i.z = R0i.z; -// 3 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedPS[13].x)); -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(uf_remappedPS[13].y)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(uf_remappedPS[13].z)); -PV1i.z = R0i.z; -// 4 -R4i.w = PV1i.z; -R4i.w = clampFI32(R4i.w); -} -if( activeMaskStackC[4] == true ) { -R0i.x = floatBitsToInt(texture(textureUnitPS4, vec3(intBitsToFloat(R4i.xy), intBitsToFloat(R4i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R6i.w)) + intBitsToFloat(R0i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.w) + -(intBitsToFloat(0x3eae147b))); -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c80000)); -// 2 -backupReg0i = R6i.w; -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R0i.x)) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) + -(0.5)); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(0.5)); -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); -// 2 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(0x3ecccccd))); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x41200000)); -PV0i.y = clampFI32(PV0i.y); -// 5 -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[22].z) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[22].y) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[22].x) * 1.0); -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[23].z)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[23].y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[23].x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[24].x)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[24].z)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(uf_remappedPS[24].y)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -// 3 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[25].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R1i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[25].y)) + intBitsToFloat(PV0i.w))); -PV1i.y = R1i.y; -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[25].z)) + intBitsToFloat(PV0i.z))); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + -(0.5)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(0.5)); -// 5 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); -// 6 -PV0i.x = ((0.5 > intBitsToFloat(PV1i.z))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = ((0.5 > intBitsToFloat(PV1i.w))?int(0xFFFFFFFF):int(0x0)); -// 7 -R0i.w = ((PV0i.y == 0)?(0):(PV0i.x)); -// 8 -predResult = (R0i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.xyz = floatBitsToInt(vec3(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.x)) + vec3(intBitsToFloat(uf_remappedPS[26].x),intBitsToFloat(uf_remappedPS[26].y),intBitsToFloat(uf_remappedPS[27].x))); -R0i.w = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(uf_remappedPS[27].y)); -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i)) + vec3(intBitsToFloat(uf_remappedPS[28].x),intBitsToFloat(uf_remappedPS[28].y),intBitsToFloat(uf_remappedPS[29].x))); -R1i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(uf_remappedPS[29].y)); -} -if( activeMaskStackC[2] == true ) { -R0i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.zw)).x); -R1i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).x); -R3i.x = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.zw)).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.z) + -(intBitsToFloat(R1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R2i.z) + -(intBitsToFloat(backupReg0i))); -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + -(intBitsToFloat(R2i.x))); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R2i.z) + -(intBitsToFloat(R3i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[26].w))); -PV1i.y = clampFI32(PV1i.y); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[26].w))); -PV1i.z = clampFI32(PV1i.z); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[26].w))); -PV1i.w = clampFI32(PV1i.w); -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R127i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[26].w))); -PV0i.z = clampFI32(PV0i.z); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R126i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R127i.y)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.y)); -// 6 -R0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 0.25); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.w = 0x3f800000; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R6i.w; -PV0i.y = R0i.w; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(R0i.w))); -R0i.w = 0; -// 1 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedPS[30].x)) + intBitsToFloat(uf_remappedPS[30].y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedPS[30].x)) + intBitsToFloat(uf_remappedPS[30].y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedPS[30].x)) + intBitsToFloat(uf_remappedPS[30].y))); -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -} diff --git a/Source/TokyoMirage/b181218b85619285_0000000000000000_vs.txt b/Source/TokyoMirage/b181218b85619285_0000000000000000_vs.txt deleted file mode 100644 index 2e089c01..00000000 --- a/Source/TokyoMirage/b181218b85619285_0000000000000000_vs.txt +++ /dev/null @@ -1,131 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader b181218b85619285 -const float resXScale = ; -const float resYScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 3) out vec4 passParameterSem139; -layout(location = 2) out vec4 passParameterSem138; -layout(location = 1) out vec4 passParameterSem137; -layout(location = 0) out vec4 passParameterSem136; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -PV0f.x = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x) / resXScale, intBitsToFloat(uf_remappedVS[0].w)); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resYScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y); -PV0f.z = R123f.z; -R123f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x); -PV0f.w = R123f.w; -// 1 -R4f.x = PV0f.w + PV0f.y; -PV1f.x = R4f.x; -R4f.y = PV0f.z + PV0f.x; -PV1f.y = R4f.y; -PV1f.z = PV0f.z + -(PV0f.x); -PV1f.w = PV0f.w + -(PV0f.y); -// 2 -R3f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV1f.x); -PV0f.x = R3f.x; -R3f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV1f.y); -R4f.z = PV1f.w; -PV0f.z = R4f.z; -R4f.w = PV1f.z; -PV0f.w = R4f.w; -// 3 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -R0f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PV0f.x); -PS1f = R0f.x; -// 4 -R2f.x = (intBitsToFloat(uf_remappedVS[0].x) / resXScale * 2.0 + PS1f); -R0f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + R3f.y); -PV0f.y = R0f.y; -R3f.z = PV1f.y; -PV0f.z = R3f.z; -R3f.w = PV1f.x; -PV0f.w = R3f.w; -// 5 -R2f.y = (intBitsToFloat(uf_remappedVS[0].y) / resYScale * 2.0 + PV0f.y); -R123f.z = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.z = R123f.z; -R123f.w = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.w = R123f.w; -// 6 -R0f.z = PV1f.w; -PV0f.z = R0f.z; -R0f.w = PV1f.z; -PV0f.w = R0f.w; -// 7 -R123f.x = (-(intBitsToFloat(uf_remappedVS[0].y)) / resYScale * 2.0 + PV0f.w); -PV1f.x = R123f.x; -R123f.y = (-(intBitsToFloat(uf_remappedVS[0].x)) / resXScale * 2.0 + PV0f.z); -PV1f.y = R123f.y; -// 8 -R2f.z = PV1f.y; -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem139 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -passParameterSem138 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem137 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// export -passParameterSem136 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -} diff --git a/Source/TokyoMirage/b367f45a902e71b9_0000000f0f249249_ps.txt b/Source/TokyoMirage/b367f45a902e71b9_0000000f0f249249_ps.txt deleted file mode 100644 index 62d04c79..00000000 --- a/Source/TokyoMirage/b367f45a902e71b9_0000000f0f249249_ps.txt +++ /dev/null @@ -1,1555 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader b367f45a902e71b9 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x34f50000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x34ef8000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x34ea0000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R8i.y = R127i.z; -R127i.z = R2i.x; -R7i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R8i.w = R2i.z; -R8i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS1i = R8i.x; -// 4 -R11i.x = 0; -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R7i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R11i.y = 0; -PS0i = R11i.y; -// 5 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R11i.z = 0; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 8 -R1i.x = PV1i.w << 0x00000002; -R10i.y = PV1i.w << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R9i.x = floatBitsToInt(tempResultf); -PS0i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R9i.y; -backupReg1i = R4i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R9i.x))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.x))); -PV0i.z = backupReg1i << R2i.w; -R3i.w = R10i.y + 0x00000e10; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R9i.x))); -PS0i = R6i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(backupReg0i)); -// 4 -R10i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R12i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R12i.y; -backupReg0i = R12i.y; -R5i.x = 0; -R12i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R0i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R1i.x)),-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R1i.z)),-(intBitsToFloat(R5i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -// 4 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R7i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R7i.z; -PV0i.y = R3i.w + R7i.z; -R7i.z = backupReg0i + int(1); -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R0i.x)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000005; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.z].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R4i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R4i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R4i.z > R4i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.y; -backupReg0i = R4i.y; -R4i.y = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R1i.y << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R0i.x)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R10i.z + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R127i.z = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R125i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R125i.z; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.y)); -R126i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R124i.w; -// 4 -R125i.x = ((R127i.z == 0)?(0):(0x3f800000)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -R5i.z = ((R126i.w == 0)?(0):(0x3f800000)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R124i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PS0i = R124i.x; -// 5 -R0i.x = floatBitsToInt(-(intBitsToFloat(R125i.w)) + 1.0); -PV1i.x = R0i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(R125i.z)) + 1.0); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R124i.w))); -R125i.w = floatBitsToInt(min(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.w))); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS1i = R127i.x; -// 6 -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.z) + 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(R125i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -R124i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R124i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PS0i))); -R126i.z = clampFI32(R126i.z); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PS1i = R127i.y; -// 8 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.z))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R8i.x))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -PV0i.z = R127i.z; -R124i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PV0i.w = R124i.w; -R124i.z = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w)); -PS0i = R124i.z; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.y))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R1i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R1i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R1i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R126i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R124i.w; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.z))); -R125i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R7i.y)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R7i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PS1i = R127i.y; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.z))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R126i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.y))); -// 13 -backupReg0i = R127i.x; -backupReg1i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R8i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(PS0i))); -PS1i = R127i.w; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(R126i.x))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(R124i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 17 -R4i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.y = R124i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R125i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.x))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R125i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R125i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R10i.w = 0x3f800000; -PV0i.w = R10i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[2].w)); -R4i.x = floatBitsToInt(uf_blockPS8[23].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R7i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R4i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R8i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R7i.z)); -PS0i = R8i.x; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.y)); -// 6 -R4i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R7i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[6].w)); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS0i = R8i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R8i.x = floatBitsToInt(uf_blockPS8[24].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.w; -PV0i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.w))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R4i.z))); -PV0i.w = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -PS0i = R2i.x; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.y = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.x))); -R6i.w = 0; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.y; -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].x)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + 1.0)); -R123i.x = clampFI32(R123i.x); -PV1i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PS1i = R2i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.z = floatBitsToInt(tempResultf); -PS0i = R127i.z; -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 6 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -// 7 -R4i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R127i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i)); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.x))); -// 7 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[2].x)); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), uf_blockPS10[2].z)); -PV0i.z = R5i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R5i.w; -// 2 -R1i.xyz = ivec3(R6i.x,R6i.w,R6i.w); -R1i.w = R6i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/b5b078876f8aea16_0000000000f1c2c9_ps.txt b/Source/TokyoMirage/b5b078876f8aea16_0000000000f1c2c9_ps.txt deleted file mode 100644 index 437bbd47..00000000 --- a/Source/TokyoMirage/b5b078876f8aea16_0000000000f1c2c9_ps.txt +++ /dev/null @@ -1,655 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader b5b078876f8aea16 -uniform ivec4 uf_remappedPS[25]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1a7c7000 res 32x32x1 dim 1 tm: 2 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x6) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1a7c8800 res 32x32x1 dim 1 tm: 2 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x6) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1a692000 res 128x128x1 dim 3 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.y = R1i.x; -PS0i = R126i.y; -// 1 -R127i.x = PV0i.w; -R125i.y = R1i.y; -R126i.z = R2i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -R125i.z = R2i.y; -PS1i = R125i.z; -// 2 -R126i.x = R127i.y; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R127i.w = R2i.z; -R124i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -PS0i = R124i.x; -// 3 -R127i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R5i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R124i.z = floatBitsToInt(sqrt(intBitsToFloat(PV0i.y))); -PS1i = R124i.z; -// 4 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.z),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R125i.z))); -// 5 -backupReg0i = R125i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R127i.w))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R1i.z),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.z))); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), -(intBitsToFloat(uf_remappedPS[1].z)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(PS1i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS0i = R127i.w; -// 9 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(PV0i.x),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[1].x)),-(intBitsToFloat(uf_remappedPS[1].y)),1.0,0.0))); -PV1i.x = R0i.x; -PV1i.y = R0i.x; -PV1i.z = R0i.x; -PV1i.w = R0i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -PS1i = R4i.x; -// 10 -PV0i.x = ((0.0 >= intBitsToFloat(PV1i.x))?int(0xFFFFFFFF):int(0x0)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R127i.w))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R127i.w))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.w)); -PS0i = floatBitsToInt(tempResultf); -// 11 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS0i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS0i))); -R1i.w = ((PV0i.x == 0)?(0):(0x3f800000)); -R4i.z = ((PV0i.x == 0)?(0):(0)); -PS1i = R4i.z; -// 12 -predResult = (R1i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[2].x) >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(uf_remappedPS[3].x))); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[4].x),intBitsToFloat(uf_remappedPS[4].y),intBitsToFloat(uf_remappedPS[4].z),intBitsToFloat(uf_remappedPS[4].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(uf_remappedPS[8].x)); -// 6 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].x)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].y)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R4i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(uf_remappedPS[14].y)) + intBitsToFloat(uf_remappedPS[14].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[8].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(uf_remappedPS[14].y)) + intBitsToFloat(uf_remappedPS[14].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(uf_remappedPS[16].x)); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = floatBitsToInt(min(intBitsToFloat(R5i.y), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R4i.y)),-(intBitsToFloat(R1i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].z)) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R5i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R4i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R7i.z)) + -(intBitsToFloat(R1i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].z)) + intBitsToFloat(uf_remappedPS[18].w)); -PS1i = R127i.w; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R1i.w; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R4i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R6i.y; -backupReg1i = R6i.x; -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R0i.w = 0; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PS0i = R6i.x; -// 5 -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 6 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.xyz = ivec3(R0i.x,R0i.w,R0i.w); -R5i.w = R0i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].z),-(intBitsToFloat(R4i.z))) + intBitsToFloat(uf_remappedPS[19].z))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R1i.w))); -PV1i.z = clampFI32(PV1i.z); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[20].x))); -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = R127i.z; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedPS[21].x)) + intBitsToFloat(uf_remappedPS[22].x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedPS[21].y)) + intBitsToFloat(uf_remappedPS[22].y))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R2i.y))); -PV0i.x = R0i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R2i.x))); -PV0i.y = R0i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedPS[21].z)) + intBitsToFloat(uf_remappedPS[22].z))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS0i = R0i.z; -// 5 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R6i.y)); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R6i.x)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R2i.z))); -PV1i.w = R1i.w; -// 6 -R2i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R6i.z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[17].w), intBitsToFloat(R0i.z))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 2 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[17].y), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[23].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[23].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[23].x))); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[24].x))); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[24].y))); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[24].z))); -PV0i.z = R3i.z; -// 7 -R4i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R4i.w = R3i.w; -} -// export -if( ((vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -} diff --git a/Source/TokyoMirage/b5b078876f8aea16_00000000078792c9_ps.txt b/Source/TokyoMirage/b5b078876f8aea16_00000000078792c9_ps.txt deleted file mode 100644 index e5de9b16..00000000 --- a/Source/TokyoMirage/b5b078876f8aea16_00000000078792c9_ps.txt +++ /dev/null @@ -1,653 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader b5b078876f8aea16 -uniform ivec4 uf_remappedPS[25]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1a68e000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1a660000 res 64x64x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1a692000 res 128x128x1 dim 3 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.y = R1i.x; -PS0i = R126i.y; -// 1 -R127i.x = PV0i.w; -R125i.y = R1i.y; -R126i.z = R2i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -R125i.z = R2i.y; -PS1i = R125i.z; -// 2 -R126i.x = R127i.y; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R127i.w = R2i.z; -R124i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -PS0i = R124i.x; -// 3 -R127i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R5i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R124i.z = floatBitsToInt(sqrt(intBitsToFloat(PV0i.y))); -PS1i = R124i.z; -// 4 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.z),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R125i.z))); -// 5 -backupReg0i = R125i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R127i.w))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R1i.z),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.z))); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), -(intBitsToFloat(uf_remappedPS[1].z)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(PS1i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS0i = R127i.w; -// 9 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(PV0i.x),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[1].x)),-(intBitsToFloat(uf_remappedPS[1].y)),1.0,0.0))); -PV1i.x = R0i.x; -PV1i.y = R0i.x; -PV1i.z = R0i.x; -PV1i.w = R0i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -PS1i = R4i.x; -// 10 -PV0i.x = ((0.0 >= intBitsToFloat(PV1i.x))?int(0xFFFFFFFF):int(0x0)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R127i.w))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R127i.w))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.w)); -PS0i = floatBitsToInt(tempResultf); -// 11 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS0i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS0i))); -R1i.w = ((PV0i.x == 0)?(0):(0x3f800000)); -R4i.z = ((PV0i.x == 0)?(0):(0)); -PS1i = R4i.z; -// 12 -predResult = (R1i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[2].x) >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(uf_remappedPS[3].x))); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[4].x),intBitsToFloat(uf_remappedPS[4].y),intBitsToFloat(uf_remappedPS[4].z),intBitsToFloat(uf_remappedPS[4].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(uf_remappedPS[8].x)); -// 6 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[9].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].x)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[9].y)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R4i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(uf_remappedPS[14].y)) + intBitsToFloat(uf_remappedPS[14].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[8].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(uf_remappedPS[14].y)) + intBitsToFloat(uf_remappedPS[14].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[11].x),intBitsToFloat(uf_remappedPS[11].y),intBitsToFloat(uf_remappedPS[11].z),intBitsToFloat(uf_remappedPS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].x)) + intBitsToFloat(uf_remappedPS[16].x)); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[15].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[15].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = floatBitsToInt(min(intBitsToFloat(R5i.y), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R4i.y)),-(intBitsToFloat(R1i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[17].z)) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R5i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R4i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R7i.z)) + -(intBitsToFloat(R1i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].z)) + intBitsToFloat(uf_remappedPS[18].w)); -PS1i = R127i.w; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R1i.w; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R4i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R6i.y; -backupReg1i = R6i.x; -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R0i.w = 0; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PS0i = R6i.x; -// 5 -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 6 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.xyz = ivec3(R0i.x,R0i.w,R0i.w); -R5i.w = R0i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].z),-(intBitsToFloat(R4i.z))) + intBitsToFloat(uf_remappedPS[19].z))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R1i.w))); -PV1i.z = clampFI32(PV1i.z); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[20].x))); -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.z) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = R127i.z; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedPS[21].x)) + intBitsToFloat(uf_remappedPS[22].x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedPS[21].y)) + intBitsToFloat(uf_remappedPS[22].y))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.x))); -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R2i.y))); -PV0i.x = R0i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R2i.x))); -PV0i.y = R0i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedPS[21].z)) + intBitsToFloat(uf_remappedPS[22].z))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R0i.z = floatBitsToInt(tempResultf); -PS0i = R0i.z; -// 5 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R6i.y)); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R6i.x)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R2i.z))); -PV1i.w = R1i.w; -// 6 -R2i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R6i.z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[17].w), intBitsToFloat(R0i.z))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 2 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[17].y), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[23].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[23].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[23].x))); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[24].x))); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[24].y))); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[24].z))); -PV0i.z = R3i.z; -// 7 -R4i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R4i.w = R3i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -} diff --git a/Source/TokyoMirage/ba19276703190072_0000000000001e49_ps.txt b/Source/TokyoMirage/ba19276703190072_0000000000001e49_ps.txt deleted file mode 100644 index e9eefe16..00000000 --- a/Source/TokyoMirage/ba19276703190072_0000000000001e49_ps.txt +++ /dev/null @@ -1,349 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader ba19276703190072 -uniform ivec4 uf_remappedPS[11]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5196000 res 1280x720x1 dim 1 tm: 4 format 0810 compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4386000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2DShadow textureUnitPS2;// Tex2 addr 0xf551a000 res 512x512x1 dim 1 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem0); -R1i = floatBitsToInt(passParameterSem1); -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(intBitsToFloat(0xbe000000),intBitsToFloat(0xc1ff0000),intBitsToFloat(0xc5fe0100),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R1i.z)); -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(PS0i)); -R0i.z = floatBitsToInt(intBitsToFloat(R2i.w) * intBitsToFloat(0x42c80000)); -// 2 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.y))); -PV0i.x = R1i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PV1i.y))); -PV0i.y = R1i.y; -R1i.z = R127i.w; -PV0i.z = R1i.z; -// 3 -R2i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z))) + vec3(intBitsToFloat(uf_remappedPS[0].x),intBitsToFloat(uf_remappedPS[0].y),intBitsToFloat(uf_remappedPS[0].z))); -PV1i.x = R2i.x; -PV1i.y = R2i.y; -PV1i.z = R2i.z; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 5 -R0i.w = floatBitsToInt(sqrt(intBitsToFloat(PV0i.x))); -PS1i = R0i.w; -// 6 -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedPS[1].x))); -// 7 -predResult = (intBitsToFloat(R1i.w) >= 1.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -if( (0 == 0)) discard; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R0i.w)); -// 1 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS0i))); -PV1i.x = R6i.x; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(PS0i))); -PV1i.y = R6i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PS0i))); -PV1i.z = R5i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[2].x),intBitsToFloat(uf_remappedPS[2].y),intBitsToFloat(uf_remappedPS[2].z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -R0i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(uf_remappedPS[1].z))); -R0i.w = clampFI32(R0i.w); -// 4 -predResult = (0.0 >= intBitsToFloat(R0i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -if( (0 == 0)) discard; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R5i.xy = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[3].z) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[3].y) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[3].x) * 1.0); -R127i.w = 0; -R126i.y = 0; -PS0i = R126i.y; -// 1 -R127i.x = 0; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[4].z)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R2i.y = floatBitsToInt(-(intBitsToFloat(R1i.w)) + 1.0); -R2i.y = clampFI32(R2i.y); -PS1i = R2i.y; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(R0i.z), 2.0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(uf_remappedPS[5].z)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R1i.z)); -// 3 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(PV0i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(PV0i.x))); -R4i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), intBitsToFloat(0x42a00000))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R1i.x) + intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedPS[7].y)) + intBitsToFloat(uf_remappedPS[8].z))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R5i.y))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[7].z))); -R126i.z = uf_remappedPS[7].z; -PS1i = R126i.z; -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R125i.y)); -PV0i.y = PV1i.z; -PV0i.y = clampFI32(PV0i.y); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedPS[7].x)) + intBitsToFloat(uf_remappedPS[8].y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedPS[7].x)) + intBitsToFloat(uf_remappedPS[8].x))); -PV0i.w = R123i.w; -tempResultf = 1.0 / sqrt(intBitsToFloat(backupReg0i)); -R125i.x = floatBitsToInt(tempResultf); -PS0i = R125i.x; -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * 2.0 + -(1.0))); -PV1i.x = R123i.x; -R126i.y = uf_remappedPS[7].z; -R0i.z = PV0i.y; -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.z) * 2.0 + -(1.0))); -PV1i.w = R123i.w; -R1i.w = PV0i.y; -PS1i = R1i.w; -// 8 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[7].z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(uf_remappedPS[9].y)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(uf_remappedPS[9].x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -PV0i.w = backupReg0i; -PV0i.w = clampFI32(PV0i.w); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R5i.y)) + intBitsToFloat(R127i.z))); -PS0i = R122i.x; -// 9 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[9].z))); -PV1i.x = R126i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PS0i))); -R2i.z = PV0i.w; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[9].w))); -R3i.w = PV0i.w; -PS1i = R3i.w; -// 10 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.w)); -R4i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.x)),intBitsToFloat(R125i.x)) + intBitsToFloat(R6i.x))); -R127i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -PV0i.z = R127i.z; -R2i.w = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(PV1i.x)); -R1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.w)); -PS0i = R1i.x; -// 11 -R2i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.z)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R127i.w)); -R3i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[7].z) + intBitsToFloat(R126i.x)); -R4i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.y)),intBitsToFloat(R125i.x)) + intBitsToFloat(R6i.y))); -R1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.z)); -PS1i = R1i.y; -// 12 -backupReg0i = R1i.z; -backupReg1i = R0i.w; -R3i.x = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -R3i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[7].z) + intBitsToFloat(R127i.z)); -R1i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(backupReg0i)),intBitsToFloat(R125i.x)) + intBitsToFloat(R5i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedPS[1].w))); -} -if( activeMaskStackC[1] == true ) { -R0i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R0i.xy), intBitsToFloat(R0i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R2i.wx), intBitsToFloat(R2i.w)))); -R4i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.y),intBitsToFloat(R4i.w),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R4i.y),intBitsToFloat(R4i.w),intBitsToFloat(R1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(max(intBitsToFloat(R3i.x), -(intBitsToFloat(R3i.x)))); -PS0i = R127i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R1i.x)); -R125i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[2].w)) + 1.0); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(R0i.w))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R2i.x)); -R127i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R4i.x)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PS1i) * 0.25); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.z))); -tempResultf = log2(intBitsToFloat(R126i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R5i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedPS[1].y))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(uf_remappedPS[2].w))); -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.x))); -R123i.y = clampFI32(R123i.y); -PV0i.y = R123i.y; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[10].z))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.y = R125i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[10].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[10].x))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedPS[10].w))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.z))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.w))); -PS0i = R4i.x; -// 9 -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV0i.x))); -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -} diff --git a/Source/TokyoMirage/ba91c4a71ca3f482_0000000007879249_ps.txt b/Source/TokyoMirage/ba91c4a71ca3f482_0000000007879249_ps.txt deleted file mode 100644 index 38198b53..00000000 --- a/Source/TokyoMirage/ba91c4a71ca3f482_0000000007879249_ps.txt +++ /dev/null @@ -1,1339 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader ba91c4a71ca3f482 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x345d0000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R10i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R10i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R3i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R7i.x << R10i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R9i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.x & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R5i.z << R10i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.y << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R8i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.z; -PV0i.y = R4i.z + R8i.z; -R8i.z = backupReg0i + int(1); -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R5i.x << R10i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -backupReg0i = R10i.y; -R10i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R10i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -// 2 -R3i.y = ((PV1i.x == 0)?(0):(0)); -R3i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R3i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R1i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R13i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R13i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R11i.x = floatBitsToInt(uf_blockPS8[23].x); -R11i.x = floatBitsToInt(intBitsToFloat(R11i.x) / 2.0); -PS0i = R11i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R12i.y = floatBitsToInt(uf_blockPS8[23].y); -R12i.y = floatBitsToInt(intBitsToFloat(R12i.y) / 2.0); -PS1i = R12i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R12i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R5i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(R3i.x)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R6i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R10i.x))); -R6i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R13i.y))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R6i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R7i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R5i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R6i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R11i.x))); -PV0i.w = R12i.y; -R5i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R5i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R11i.x)) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[4] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R5i.w = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R5i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.w) + intBitsToFloat(PV0i.y)); -// 6 -R6i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R5i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R5i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R5i.y; -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R6i.x = floatBitsToInt(uf_blockPS8[24].x); -R6i.x = floatBitsToInt(intBitsToFloat(R6i.x) / 2.0); -PS1i = R6i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R12i.y = floatBitsToInt(uf_blockPS8[24].y); -R12i.y = floatBitsToInt(intBitsToFloat(R12i.y) / 2.0); -PS0i = R12i.y; -} -if( activeMaskStackC[4] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R10i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R12i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R10i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.w))?1.0:0.0); -R13i.y = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R2i.z)); -PS0i = R13i.y; -} -if( activeMaskStackC[4] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R5i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R13i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R13i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R12i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R6i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[5] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R13i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R13i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R6i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R6i.x = floatBitsToInt(uf_blockPS8[24].x); -R6i.x = floatBitsToInt(intBitsToFloat(R6i.x) / 2.0); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R11i.x; -// 4 -backupReg0i = R4i.w; -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R12i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R12i.y; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[3] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R10i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R11i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R12i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.w))?1.0:0.0); -R12i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); -PS0i = R12i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R12i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R6i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R6i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = floatBitsToInt(min(intBitsToFloat(R11i.y), intBitsToFloat(R6i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS0i = R127i.y; -// 1 -backupReg0i = R0i.z; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R3i.y))) + uf_blockPS10[1].z)); -PV1i.y = R123i.y; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = R3i.w; -// 2 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV1i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].x)); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].z)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[10].y)); -R5i.y = 0; -PS1i = R5i.y; -// 4 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -PV0i.y = clampFI32(PV0i.y); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 7 -R2i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -// 9 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -// 11 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R4i.y)) + intBitsToFloat(R0i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.z)) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R2i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R2i.y))); -PS0i = R3i.y; -// 5 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R2i.z))); -PV1i.z = R3i.z; -// 6 -R0i.xyz = ivec3(R3i.x,R3i.y,PV1i.z); -R0i.w = R3i.w; -// 7 -R1i.xyz = ivec3(R5i.z,R5i.y,R5i.y); -R1i.w = R5i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/bf0d3ea368f59c01_000000003c3c9249_ps.txt b/Source/TokyoMirage/bf0d3ea368f59c01_000000003c3c9249_ps.txt deleted file mode 100644 index be6a3000..00000000 --- a/Source/TokyoMirage/bf0d3ea368f59c01_000000003c3c9249_ps.txt +++ /dev/null @@ -1,1092 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader bf0d3ea368f59c01 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1996a000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1904e000 res 256x256x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x19976000 res 256x256x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x188a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.w; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(backupReg0i))) + uf_blockPS10[1].z)); -PV1i.w = R123i.w; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R1i.x))); -PS1i = R126i.w; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV0i.y = R123i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV1i.w)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R1i.y))); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.x; -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R1i.z))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(R127i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[21].x)); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS1i = R4i.w; -// 4 -R5i.y = 0; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.x))); -PV0i.w = clampFI32(PV0i.w); -// 5 -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.w) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.y))); -// 7 -R3i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -// 9 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.x))); -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R6i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R6i.x)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.w))); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R6i.z)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 4 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R3i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R3i.y))); -PS0i = R4i.y; -// 5 -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R3i.z))); -PV1i.z = R4i.z; -// 6 -R0i.xyz = ivec3(R4i.x,R4i.y,PV1i.z); -R0i.w = R4i.w; -// 7 -R1i.xyz = ivec3(R5i.z,R5i.y,R5i.y); -R1i.w = R5i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/bfc54e7c73074291_00000f0f0f249249_ps.txt b/Source/TokyoMirage/bfc54e7c73074291_00000f0f0f249249_ps.txt deleted file mode 100644 index 24833e21..00000000 --- a/Source/TokyoMirage/bfc54e7c73074291_00000f0f0f249249_ps.txt +++ /dev/null @@ -1,1745 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader bfc54e7c73074291 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x395b0000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x39608000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x395dc000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x39558000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R12i.x = 0; -PS0i = R12i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R12i.z = 0; -PS1i = R12i.z; -// 6 -R11i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R13i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -PV0i.x = R13i.x << R2i.w; -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R8i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = R10i.y + 0x00000e10; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R4i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R9i.x)); -// 4 -R9i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R6i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R13i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -R0i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R0i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R0i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R13i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R9i.x)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -PV0i.y = R3i.w + backupReg0i; -R0i.y = backupReg0i + int(1); -PS0i = R0i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R9i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R9i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R127i.w = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R124i.y = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R124i.y; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -R126i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R6i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R125i.y; -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.w; -R6i.x = ((R126i.y == 0)?(0):(0x3f800000)); -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R5i.z = ((backupReg1i == 0)?(0):(0x3f800000)); -PS0i = R5i.z; -// 5 -backupReg0i = R125i.y; -R5i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PV1i.x = R5i.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + 1.0); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R124i.y)) + 1.0); -R0i.x = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -PS1i = R0i.x; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.x) + 1.0)); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.z) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R126i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R124i.y))); -R126i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(PS0i)) + 1.0)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R6i.y))); -R126i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -// 8 -backupReg0i = R125i.y; -R126i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -R125i.y = clampFI32(R125i.y); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -backupReg0i = R127i.y; -backupReg1i = R126i.w; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R7i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R127i.y = clampFI32(R127i.y); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.x))); -PV1i.z = R124i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R7i.z))); -R124i.x = floatBitsToInt(-(intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i)); -PS1i = R124i.x; -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R1i.z)); -R124i.y = floatBitsToInt(intBitsToFloat(R124i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R1i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R1i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PS0i = R126i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R125i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.y))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.y) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(PV1i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(R126i.z))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PS1i))); -PS0i = R124i.w; -// 13 -backupReg0i = R125i.z; -PV1i.x = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R9i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R9i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R9i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R125i.x))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PS1i = R126i.x; -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(R7i.x))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(R7i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(R7i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -PS0i = R124i.z; -// 15 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(R126i.x))); -PV1i.y = R123i.y; -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS3[8].y)); -PS1i = R127i.w; -// 16 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS3[8].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS3[8].z)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R124i.y))); -PV0i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R124i.y = floatBitsToInt(tempResultf); -PS0i = R124i.y; -// 17 -backupReg0i = R124i.w; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS3[8].w)); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R124i.z)) + intBitsToFloat(R125i.z))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[5].x)); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.z))); -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126i.y = floatBitsToInt(tempResultf); -PS1i = R126i.y; -// 18 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R124i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[5].x)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[5].x)); -// 19 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS10[2].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(R126i.y))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].y)); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R126i.w; -// 20 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS10[0].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), uf_blockPS10[0].x)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), uf_blockPS10[2].z)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), uf_blockPS10[0].x)); -R126i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -PS0i = R126i.x; -// 21 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.w))); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R5i.w = 0; -R4i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(R126i.w))); -PS1i = R4i.z; -// 22 -R8i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(R126i.x))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.z = R124i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -// 4 -R0i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -R11i.w = floatBitsToInt(uf_blockPS4[2].x); -R11i.w = floatBitsToInt(intBitsToFloat(R11i.w) * 4.0); -PS0i = R11i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[2].w)); -R4i.x = floatBitsToInt(uf_blockPS8[23].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R7i.y = floatBitsToInt(uf_blockPS8[23].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS1i = R7i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R9i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R11i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R10i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(R9i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R12i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R11i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R6i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R7i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R12i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R12i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R12i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R7i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R4i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R7i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R5i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R9i.y; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R10i.y; -// 4 -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -R5i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[6].w)); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS0i = R0i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R11i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R5i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R5i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R10i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R11i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R7i.z = floatBitsToInt(uf_blockPS4[2].x); -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R5i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R5i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R10i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(R8i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), uf_blockPS3[21].x)); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.w))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -R8i.w = 0; -// 1 -R1i.x = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(PV0i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PV0i.y))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.w)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R125i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -// 3 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].z)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R125i.z)); -// 5 -R3i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R2i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -backupReg0i = R7i.w; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -// 8 -R6i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R5i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R0i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R3i.x)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R2i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R125i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(R125i.z))); -PV1i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R6i.y))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -// 8 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R6i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(R2i.w))); -R7i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(R1i.z))); -R7i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(R6i.y))); -// 1 -R2i.xyz = ivec3(R9i.x,R8i.y,R8i.z); -R2i.w = R5i.w; -// 2 -R0i.xyz = ivec3(R7i.x,R7i.y,R7i.z); -R0i.w = R7i.w; -// 3 -R1i.xyz = ivec3(R8i.x,R8i.w,R8i.w); -R1i.w = R8i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/c119d6dc3845973c_00000001e1e49249_ps.txt b/Source/TokyoMirage/c119d6dc3845973c_00000001e1e49249_ps.txt deleted file mode 100644 index d2aee663..00000000 --- a/Source/TokyoMirage/c119d6dc3845973c_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1468 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader c119d6dc3845973c -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3890a000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x389c2000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x389b6000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R9i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R9i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R10i.x = 0; -PS0i = R10i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R10i.y = 0; -PS1i = R10i.y; -// 4 -R10i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R3i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R3i.x << R9i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R11i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R7i.y = PV1i.x & 0x0000ffff; -PS0i = R7i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R7i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R11i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R9i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R3i.y << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R8i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -PV0i.y = R11i.z + R3i.y; -R3i.y = backupReg0i + int(1); -PS0i = R3i.y; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.x << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) + -(intBitsToFloat(R5i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.z)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R3i.z << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R3i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.z; -backupReg0i = R3i.z; -R3i.z = backupReg0i + int(1); -PV0i.w = R11i.z + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.x & 0x0000ffff; -// 3 -PV1i.w = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + int(1); -R5i.y = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.z].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(backupReg2i))); -R127i.w = clampFI32(R127i.w); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.x))); -PV0i.w = clampFI32(PV0i.w); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.w)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.z))); -// 10 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.x; -// 1 -R126i.x = ((intBitsToFloat(R6i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R127i.z = ((intBitsToFloat(R6i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = ((intBitsToFloat(R6i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R126i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -// 3 -R125i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.y)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R124i.x = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -PS1i = R124i.x; -// 4 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.z))); -R124i.z = ((R126i.x == 0)?(0):(0x3f800000)); -R1i.w = ((R127i.w == 0)?(0):(0x3f800000)); -R4i.z = ((R127i.z == 0)?(0):(0x3f800000)); -PS0i = R4i.z; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R124i.x))); -R127i.z = floatBitsToInt(min(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R125i.x)) + 1.0); -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.w)); -PS1i = R125i.z; -// 6 -R125i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.z) + 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.w) + 1.0)); -R126i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.z) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -R4i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(R125i.z)) + 1.0)); -PV1i.y = R4i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PS0i))); -R127i.z = clampFI32(R127i.z); -R127i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R6i.x)); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R6i.y)); -PS1i = R127i.y; -// 8 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R6i.y))); -PV0i.x = R124i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(R6i.x))); -PV0i.y = R126i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R6i.z))); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R6i.z)); -PV0i.w = R125i.w; -R124i.w = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.x)); -PS0i = R124i.w; -// 9 -R125i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R5i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R5i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R126i.w = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R5i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R125i.z))); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.z) + intBitsToFloat(0x40400000))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS0i = R127i.z; -// 11 -backupReg0i = R126i.z; -backupReg1i = R126i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R7i.y)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R125i.x)) + intBitsToFloat(PV0i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.z))); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(backupReg1i))); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS1i = R125i.x; -// 12 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R6i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R7i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(backupReg0i))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R125i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R6i.y))); -// 13 -backupReg0i = R127i.w; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R6i.z))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R125i.x))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.z))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PS0i))); -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(R126i.z)) + intBitsToFloat(R124i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(R125i.w))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(R126i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R124i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 16 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[0].x)); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 17 -R4i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -PV0i.w = R123i.w; -// 1 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R124i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.y = R124i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV1i.x))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R6i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.z = floatBitsToInt(uf_blockPS4[2].x); -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R0i.x = floatBitsToInt(uf_blockPS8[23].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R3i.y = floatBitsToInt(uf_blockPS8[23].y); -R3i.y = floatBitsToInt(intBitsToFloat(R3i.y) / 2.0); -PS1i = R3i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R3i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R4i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R8i.w = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(R5i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R8i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R8i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R8i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R3i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R3i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.w))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R0i.x; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.x)); -// 6 -R10i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922)); -// 7 -backupReg0i = R0i.x; -predResult = (intBitsToFloat(backupReg0i) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -PV1i.y = R4i.y; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS1i = R4i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS0i = R0i.y; -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.z; -R3i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R10i.z)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R10i.w = floatBitsToInt(uf_blockPS4[2].x); -R10i.w = floatBitsToInt(intBitsToFloat(R10i.w) * 4.0); -PS0i = R10i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R3i.y = floatBitsToInt(uf_blockPS8[24].y); -R3i.y = floatBitsToInt(intBitsToFloat(R3i.y) / 2.0); -PS1i = R3i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R3i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R4i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R10i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R3i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.w)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R4i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R10i.z))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -R1i.y = 0; -PS0i = R1i.y; -// 1 -R1i.z = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].z)); -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), uf_blockPS10[2].x)); -PV0i.x = R2i.x; -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[2].z)); -PV0i.z = R2i.z; -// 1 -backupReg0i = R2i.w; -R2i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R2i.w = backupReg0i; -// 2 -R3i.xyz = ivec3(R1i.x,R1i.y,R1i.y); -R3i.w = R1i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -passPixelColor2 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -} diff --git a/Source/TokyoMirage/c47311db5ad96d40_00000001e1e49649_ps.txt b/Source/TokyoMirage/c47311db5ad96d40_00000001e1e49649_ps.txt deleted file mode 100644 index a4587987..00000000 --- a/Source/TokyoMirage/c47311db5ad96d40_00000001e1e49649_ps.txt +++ /dev/null @@ -1,1270 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader c47311db5ad96d40 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x19d7d000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x19788000 res 64x64x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x19d81000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x19bd6000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x188a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R9i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R9i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R9i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R8i.x = R127i.w; -R8i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R8i.z = R2i.z; -R8i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R10i.y; -// 4 -R10i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R9i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R13i.x = 0; -PS0i = R13i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R8i.w),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R13i.z = 0; -PS1i = R13i.z; -// 6 -R12i.xyz = ivec3(0,0,0); -R0i.y = 0; -PS0i = R0i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R11i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R9i.w = floatBitsToInt(tempResultf); -PS1i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R10i.y; -PV0i.x = R4i.x << R2i.w; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.w))); -R3i.w = R11i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R9i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R10i.x)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = 0; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R1i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R1i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R1i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R1i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R1i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R1i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R9i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.z > R0i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R0i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R1i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.w; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 11 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R10i.x)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.x) >> uint(R10i.x)); -// 2 -PV0i.w = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R6i.z + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000003; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.x = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.y))); -R125i.w = clampFI32(R125i.w); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(R126i.x)); -PS0i = R126i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.z = clampFI32(PV1i.z); -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R125i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = R126i.w; -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].z),-(uf_blockPS2[1].y)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R5i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R5i.w; -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R0i.y = ((PS1i == 0)?(0):(0)); -R2i.z = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.w))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R2i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.wy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R3i.xyzw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(backupReg0i)),-(intBitsToFloat(R10i.y)),-(intBitsToFloat(R11i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.y; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R0i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R10i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R11i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -PS1i = R127i.z; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R126i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R6i.x; -backupReg1i = R6i.y; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R3i.x))); -PS0i = R4i.y; -// 5 -PV1i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R0i.y)) + uf_blockPS3[19].w)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R2i.w = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.z)); -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R3i.y))); -PS1i = R1i.x; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(R127i.y))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.x))); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R3i.z))); -PS0i = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -// 7 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R126i.z))); -R1i.y = clampFI32(R1i.y); -R1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); -R2i.y = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R2i.y; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R1i.y))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.y) + intBitsToFloat(0x40400000))); -PV0i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R1i.w)),intBitsToFloat(R2i.y)) + 1.0)); -R122i.x = clampFI32(R122i.x); -PS0i = R122i.x; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.z))); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS1i))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.y))); -R0i.w = 0; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R0i.y; -// 4 -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[21].x)); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PV0i.z))); -// 8 -R3i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -// 9 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R1i.x; -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R7i.z)) + intBitsToFloat(PV0i.y))); -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.z))); -PV1i.w = R3i.w; -// 10 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i)); -R4i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R1i.z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -PV0i.z = R126i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(PV0i.z)) + intBitsToFloat(R3i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R1i.x)) + intBitsToFloat(PV1i.y)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(R3i.z))); -PV0i.w = R123i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(PV0i.w)); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.w))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R0i.y)) + intBitsToFloat(R1i.x))); -PV1i.w = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R6i.x)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.z))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R6i.y)); -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.z))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R6i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.y))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 7 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PS1i = R2i.y; -// 8 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -// 3 -R1i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R1i.w = R2i.w; -// 4 -R2i.xyz = ivec3(R0i.x,R0i.w,R0i.w); -R2i.w = R0i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor2 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/c584bebcdcb93b8d_00000001e1e49249_ps.txt b/Source/TokyoMirage/c584bebcdcb93b8d_00000001e1e49249_ps.txt deleted file mode 100644 index 953e65fb..00000000 --- a/Source/TokyoMirage/c584bebcdcb93b8d_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1457 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader c584bebcdcb93b8d -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x320a2000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3204a000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R10i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R10i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R3i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R7i.x << R10i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R9i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R10i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.x & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R10i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R10i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.y << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R8i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.z > R8i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.y; -backupReg0i = R8i.y; -R8i.y = backupReg0i + int(1); -PV0i.w = R10i.z + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PV1i.x = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R10i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R11i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.y > R11i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R11i.x; -backupReg0i = R11i.x; -R11i.x = backupReg0i + int(1); -PV0i.z = R10i.z + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R5i.y << R10i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -R127i.w = clampFI32(R127i.w); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.x))); -PV1i.z = clampFI32(PV1i.z); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.x))); -// 9 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.z; -// 1 -R127i.x = ((intBitsToFloat(R6i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R6i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = ((intBitsToFloat(R6i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.w = R127i.w; -R126i.x = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R126i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.y = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.w)); -R124i.z = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -PS1i = R124i.z; -// 4 -R125i.x = ((R127i.y == 0)?(0):(0x3f800000)); -R124i.y = ((R127i.x == 0)?(0):(0x3f800000)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.x))); -R4i.y = ((R126i.z == 0)?(0):(0x3f800000)); -PS0i = R4i.y; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R125i.z)) + 1.0); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R127i.w = floatBitsToInt(min(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.z))); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS1i = R127i.x; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.y) + 1.0)); -R126i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.y) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R127i.x = clampFI32(R127i.x); -R127i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R6i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R124i.x)) + 1.0); -R124i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.w = R124i.w; -R127i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R6i.y)); -PS1i = R127i.w; -// 8 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R6i.x))); -PV0i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R6i.z))); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R6i.z)); -PV0i.z = R125i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R6i.y))); -PV0i.w = R125i.w; -R125i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R125i.y; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R5i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R5i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R5i.z)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.w))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R127i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + intBitsToFloat(0x40400000))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -PS0i = R5i.x; -// 11 -backupReg0i = R127i.w; -backupReg1i = R125i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R7i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w))); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.y)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R124i.z = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R7i.z)); -R124i.z = floatBitsToInt(intBitsToFloat(R124i.z) * 2.0); -PS1i = R124i.z; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R125i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(backupReg0i))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R6i.z))); -// 13 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R6i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(backupReg2i)) + intBitsToFloat(PV0i.y))); -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R5i.y)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R124i.z)) + intBitsToFloat(R126i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -tempResultf = log2(intBitsToFloat(R127i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(R125i.y))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 16 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 17 -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.w))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PV1i.x))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = floatBitsToInt(uf_blockPS4[2].x); -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R7i.x = floatBitsToInt(uf_blockPS8[23].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -PS0i = R7i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R7i.y = floatBitsToInt(uf_blockPS8[23].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS1i = R7i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -R10i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R3i.z)); -PS0i = R10i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R10i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R7i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R9i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R9i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV0i.w)); -// 6 -R4i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R9i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R7i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.y = floatBitsToInt(uf_blockPS8[24].y); -R4i.y = floatBitsToInt(intBitsToFloat(R4i.y) / 2.0); -PS0i = R4i.y; -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R4i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -R8i.x = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R2i.z)); -PS0i = R8i.x; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R4i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R9i.w = floatBitsToInt(uf_blockPS4[2].x); -R9i.w = floatBitsToInt(intBitsToFloat(R9i.w) * 4.0); -PS0i = R9i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R7i.y = floatBitsToInt(uf_blockPS8[24].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS1i = R7i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R9i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R7i.x)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R7i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.x))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -R1i.y = 0; -PS0i = R1i.y; -// 1 -R1i.z = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].z)); -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), uf_blockPS10[2].x)); -PV0i.x = R2i.x; -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[2].z)); -PV0i.z = R2i.z; -// 1 -backupReg0i = R2i.w; -R2i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R2i.w = backupReg0i; -// 2 -R3i.xyz = ivec3(R1i.x,R1i.y,R1i.y); -R3i.w = R1i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -passPixelColor2 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -} diff --git a/Source/TokyoMirage/c90f7d197e8cef8f_0000003c3c3c9249_ps.txt b/Source/TokyoMirage/c90f7d197e8cef8f_0000003c3c3c9249_ps.txt deleted file mode 100644 index ab76a3d0..00000000 --- a/Source/TokyoMirage/c90f7d197e8cef8f_0000003c3c3c9249_ps.txt +++ /dev/null @@ -1,1030 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader c90f7d197e8cef8f -uniform ivec4 uf_remappedPS[33]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3d5c6000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0x2aa61000 res 1024x1024x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].y), intBitsToFloat(uf_remappedPS[1].z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[0].x), intBitsToFloat(uf_remappedPS[1].z))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].x)); -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x394ccccd)); -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x394ccccd)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS0i)) + -(intBitsToFloat(uf_remappedPS[1].x)))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[0].y)); -// 2 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + intBitsToFloat(uf_remappedPS[2].x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(PS1i)) + -(intBitsToFloat(uf_remappedPS[1].y)))); -PV0i.z = R123i.z; -R1i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + intBitsToFloat(uf_remappedPS[2].y)); -// 3 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + intBitsToFloat(uf_remappedPS[2].z)); -} -if( activeMaskStackC[1] == true ) { -R5i.xyzw = floatBitsToInt(texture(textureUnitPS7, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R5i.x) * 2.0 + -(1.0))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R5i.z) * 2.0 + -(1.0))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R6i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R5i.y) * 2.0 + -(1.0))); -PV0i.w = R123i.w; -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(uf_remappedPS[3].w))); -PS0i = R2i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(R1i.x))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(R1i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(R1i.z))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), -(intBitsToFloat(uf_remappedPS[4].z)))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R1i.w)) + intBitsToFloat(PV0i.z))); -PS1i = R122i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.w),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[4].x)),-(intBitsToFloat(uf_remappedPS[4].y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = tempi.x; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R6i.y)) + intBitsToFloat(PS1i))); -PS0i = R126i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.x = ((PS1i == 0)?(0):(0x3f800000)); -R5i.w = ((PS1i == 0)?(0):(0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.z)); -PS1i = floatBitsToInt(tempResultf); -// 6 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PS1i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -// 7 -predResult = (R1i.x == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.z = R1i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 4.0); -PV0i.z = clampFI32(PV0i.z); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.z), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -// 3 -R10i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[5].x) >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(uf_remappedPS[6].x))); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R9i.w = uf_remappedPS[7].x; -R9i.w = floatBitsToInt(intBitsToFloat(R9i.w) * 4.0); -PS0i = R9i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[10].x),intBitsToFloat(uf_remappedPS[10].y),intBitsToFloat(uf_remappedPS[10].z),intBitsToFloat(uf_remappedPS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(uf_remappedPS[12].w))); -R10i.x = uf_remappedPS[11].x; -R10i.x = floatBitsToInt(intBitsToFloat(R10i.x) / 2.0); -PS0i = R10i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[12].z)) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R11i.y = uf_remappedPS[11].y; -R11i.y = floatBitsToInt(intBitsToFloat(R11i.y) / 2.0); -PS1i = R11i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[12].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[12].x)) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R6i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R11i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R5i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R3i.x)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.w))?1.0:0.0); -R3i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R6i.z)); -PS0i = R3i.x; -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R6i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R3i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R3i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R11i.y; -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R5i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R10i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R8i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R8i.x))?1.0:0.0); -R127i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R8i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R3i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(uf_remappedPS[13].x)); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R11i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R11i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.y)); -// 6 -R3i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R11i.y) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R6i.w)),vec4(intBitsToFloat(uf_remappedPS[16].x),intBitsToFloat(uf_remappedPS[16].y),intBitsToFloat(uf_remappedPS[16].z),intBitsToFloat(uf_remappedPS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R3i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R7i.y; -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(uf_remappedPS[18].y)) + intBitsToFloat(uf_remappedPS[18].x))); -PS1i = R8i.y; -// 4 -R10i.x = uf_remappedPS[17].x; -R10i.x = floatBitsToInt(intBitsToFloat(R10i.x) / 2.0); -R3i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(uf_remappedPS[19].w))); -R10i.y = uf_remappedPS[17].y; -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS0i = R10i.y; -} -if( activeMaskStackC[4] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[19].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R6i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R6i.x))?1.0:0.0); -R6i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R6i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R3i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R10i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[5] == true ) { -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R6i.w))?1.0:0.0); -R127i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R7i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[13].x)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R3i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(uf_remappedPS[18].y)) + intBitsToFloat(uf_remappedPS[18].x))); -R4i.z = uf_remappedPS[7].x; -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 4.0); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R5i.w)),vec4(intBitsToFloat(uf_remappedPS[16].x),intBitsToFloat(uf_remappedPS[16].y),intBitsToFloat(uf_remappedPS[16].z),intBitsToFloat(uf_remappedPS[16].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R5i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(uf_remappedPS[19].w))); -R3i.x = uf_remappedPS[17].x; -R3i.x = floatBitsToInt(intBitsToFloat(R3i.x) / 2.0); -PS0i = R3i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedPS[19].z)) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R3i.y = uf_remappedPS[17].y; -R3i.y = floatBitsToInt(intBitsToFloat(R3i.y) / 2.0); -PS1i = R3i.y; -} -if( activeMaskStackC[3] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedPS[19].y)) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[19].x)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = R3i.y; -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R7i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R7i.x))?1.0:0.0); -R7i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R7i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R7i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R7i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R7i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R4i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R6i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R3i.y; -backupReg0i = R3i.y; -R2i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R3i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R7i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R7i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[7].x) == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R7i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(uf_remappedPS[20].x)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[20].x)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.w = floatBitsToInt(min(intBitsToFloat(R4i.w), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[21].z)) + 1.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[22].z),-(intBitsToFloat(R5i.w))) + intBitsToFloat(uf_remappedPS[22].z))); -PV1i.z = R123i.z; -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[3].x)) + 1.0); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PS1i = R2i.x; -// 2 -R0i.x = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV1i.z)); -R3i.y = 0; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[23].y), intBitsToFloat(uf_remappedPS[24].w))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -PS0i = R126i.w; -// 3 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[25].x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[25].y))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[25].z))); -PS1i = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.w))); -// 4 -R127i.x = floatBitsToInt(max(intBitsToFloat(PS1i), -(intBitsToFloat(PS1i)))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(uf_remappedPS[3].x), intBitsToFloat(0x33d6bf95))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.w))); -PV0i.z = clampFI32(PV0i.z); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(uf_remappedPS[26].x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(uf_remappedPS[26].y))); -PS0i = R127i.w; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[23].y), intBitsToFloat(uf_remappedPS[27].x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[23].y), intBitsToFloat(uf_remappedPS[27].y))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(backupReg0i)),intBitsToFloat(PS1i)) + 1.0)); -R127i.x = clampFI32(R127i.x); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[23].y), intBitsToFloat(uf_remappedPS[27].w))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[23].y), intBitsToFloat(uf_remappedPS[27].z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R5i.w = 0; -PS0i = R5i.w; -// 7 -backupReg0i = R127i.w; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedPS[28].x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedPS[26].w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(uf_remappedPS[26].z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[28].x))); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[28].x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[21].w), intBitsToFloat(PS1i))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[28].x))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedPS[28].x))); -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(uf_remappedPS[29].x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedPS[29].y))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 10 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.x))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_remappedPS[29].z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[21].y), intBitsToFloat(PS1i))); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R3i.x; -// 11 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R125i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R126i.z))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R125i.x))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); -PS1i = R5i.z; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(uf_remappedPS[30].y)) + intBitsToFloat(uf_remappedPS[31].y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(uf_remappedPS[30].x)) + intBitsToFloat(uf_remappedPS[31].x))); -PV0i.z = R123i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(uf_remappedPS[30].z)) + intBitsToFloat(uf_remappedPS[31].z))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV0i.z))); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].z)) + intBitsToFloat(uf_remappedPS[0].w)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i))); -PV0i.z = R126i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R0i.z))); -PV0i.w = R125i.w; -// 3 -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.z)) + intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.w)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R1i.z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R1i.y)) + intBitsToFloat(R125i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(R2i.z)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -// 6 -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R126i.z))); -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R125i.w))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.z)); -// 7 -backupReg0i = R3i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R127i.y))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(uf_remappedPS[32].z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(uf_remappedPS[32].y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_remappedPS[32].x))); -// 1 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[29].x), intBitsToFloat(PV0i.w))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[29].y), intBitsToFloat(PV0i.z))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[29].z), intBitsToFloat(PV0i.y))); -// 2 -R2i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -R2i.w = R5i.w; -// 3 -R0i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -R0i.w = R6i.w; -// 4 -R1i.xyz = ivec3(R3i.z,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/c9a715140538a7a6_0000000787879249_ps.txt b/Source/TokyoMirage/c9a715140538a7a6_0000000787879249_ps.txt deleted file mode 100644 index 95c701a2..00000000 --- a/Source/TokyoMirage/c9a715140538a7a6_0000000787879249_ps.txt +++ /dev/null @@ -1,1291 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader c9a715140538a7a6 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x34e1c000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R7i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R9i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R6i.x = floatBitsToInt(tempResultf); -PS0i = R6i.x; -// 7 -R5i.x = PV0i.w << 0x00000002; -R5i.y = PV0i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = R5i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.x))); -PV0i.z = R7i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.x + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R5i.z << R3i.z; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.y = R3i.x + backupReg0i; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -backupReg0i = R3i.y; -R3i.y = backupReg0i + int(1); -PV0i.z = R3i.x + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R7i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R9i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R9i.z))); -// 2 -R0i.y = ((PV1i.x == 0)?(0):(0)); -R4i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R4i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R7i.w = 0x3f800000; -PV0i.w = R7i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -// 4 -R6i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS8[2].w)); -R3i.x = floatBitsToInt(uf_blockPS8[23].x); -R3i.x = floatBitsToInt(intBitsToFloat(R3i.x) / 2.0); -PS0i = R3i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = floatBitsToInt(uf_blockPS8[23].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R6i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R4i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R11i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R6i.x; -R5i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R6i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(backupReg0i)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(R11i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R4i.z; -R0i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R4i.z = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + intBitsToFloat(backupReg2i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R0i.xy)).xyzw); -R11i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R5i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = R10i.y; -R5i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R5i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R3i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R11i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R11i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R11i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -backupReg0i = R3i.w; -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w)); -PS0i = R3i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.y)); -// 6 -R11i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R0i.y; -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R9i.x = floatBitsToInt(uf_blockPS8[24].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS1i = R9i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R12i.y = floatBitsToInt(uf_blockPS8[24].y); -R12i.y = floatBitsToInt(intBitsToFloat(R12i.y) / 2.0); -PS0i = R12i.y; -} -if( activeMaskStackC[4] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R12i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R0i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(backupReg1i))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R2i.z)); -PS0i = R3i.y; -} -if( activeMaskStackC[4] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R5i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R3i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R3i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R12i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R12i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[5] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R3i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R11i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R11i.y; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R3i.x = floatBitsToInt(uf_blockPS8[24].x); -R3i.x = floatBitsToInt(intBitsToFloat(R3i.x) / 2.0); -R3i.y = floatBitsToInt(uf_blockPS8[24].y); -R3i.y = floatBitsToInt(intBitsToFloat(R3i.y) / 2.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R7i.w = floatBitsToInt(uf_blockPS4[2].x); -R7i.w = floatBitsToInt(intBitsToFloat(R7i.w) * 4.0); -PS0i = R7i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -backupReg0i = R4i.w; -R0i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R0i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R0i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = R3i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R0i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R0i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R9i.x))); -R0i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -R11i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); -PS0i = R11i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R0i.xy)).xyzw); -R10i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R11i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R0i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R3i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = R3i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R0i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R3i.x)) + vec3(intBitsToFloat(R0i.x),intBitsToFloat(R0i.y),intBitsToFloat(R0i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R0i.y)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R11i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R11i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt(min(intBitsToFloat(R9i.y), intBitsToFloat(R11i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), uf_blockPS3[8].x)); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), uf_blockPS3[8].y)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -R2i.w = 0; -PS0i = R2i.w; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[5].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS3[8].w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), uf_blockPS3[8].z)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[5].x)); -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS10[2].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[5].x)); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[5].x)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS0i = R3i.w; -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, uf_blockPS3[20].z)); -R1i.z = 0; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.y; -// 4 -R0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, uf_blockPS3[20].y)); -R0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, uf_blockPS3[20].x)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -PS0i = R2i.z; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.z))); -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R4i.z))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), intBitsToFloat(R127i.x))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(PV1i.x))); -// 5 -R6i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R6i.w = R2i.w; -// 6 -R4i.xyz = ivec3(R3i.x,R3i.y,R3i.z); -R4i.w = R3i.w; -// 7 -R5i.xyz = ivec3(R1i.y,R1i.z,R1i.z); -R5i.w = R1i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/cb60585a374f1761_0000000000f0f2c9_ps.txt b/Source/TokyoMirage/cb60585a374f1761_0000000000f0f2c9_ps.txt deleted file mode 100644 index 9b857ec1..00000000 --- a/Source/TokyoMirage/cb60585a374f1761_0000000000f0f2c9_ps.txt +++ /dev/null @@ -1,1003 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader cb60585a374f1761 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1bda0000 res 64x64x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1c2ba000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R10i.x = 0; -PS0i = R10i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R10i.y = 0; -PS1i = R10i.y; -// 4 -R10i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R11i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R7i.x << R0i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R9i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.x & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R5i.z << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = (R1i.w > R8i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.z; -PV0i.y = R4i.z + R8i.z; -R8i.z = backupReg0i + int(1); -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R5i.x << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R11i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R11i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R11i.z > R9i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.y; -backupReg0i = R9i.y; -R9i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R0i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -// 2 -R5i.y = ((PV1i.x == 0)?(0):(0)); -R4i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R4i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R4i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = floatBitsToInt(min(intBitsToFloat(R7i.y), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(-(intBitsToFloat(R9i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.x)) + -(intBitsToFloat(R9i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R3i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.z)) + -(intBitsToFloat(R3i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R5i.y))) + uf_blockPS10[1].z)); -PS1i = R127i.y; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R4i.x = floatBitsToInt(cubeMapSTM.x); -R4i.y = floatBitsToInt(cubeMapSTM.y); -R4i.z = floatBitsToInt(cubeMapSTM.z); -R4i.w = cubeMapFaceId; -PV0i.x = R4i.x; -PV0i.y = R4i.y; -PV0i.z = R4i.z; -PV0i.w = R4i.w; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R1i.w; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R0i.z; -backupReg3i = R0i.w; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(backupReg3i))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -PS0i = R3i.w; -// 5 -R0i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(R127i.y)); -R1i.y = 0; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -// 6 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R4i.yx),R4i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R1i.w))); -PV0i.z = clampFI32(PV0i.z); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R2i.y))); -PV0i.x = R0i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R2i.x))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -PS0i = R127i.w; -// 3 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R4i.y)); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R4i.x)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R2i.z))); -PV1i.w = R1i.w; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R2i.z = floatBitsToInt(tempResultf); -PS1i = R2i.z; -// 4 -R2i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R4i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R2i.z))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 2 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -PV0i.z = R3i.z; -// 7 -R2i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R2i.w = R3i.w; -// 8 -R3i.xyz = ivec3(R1i.x,R1i.y,R1i.y); -R3i.w = R1i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -passPixelColor2 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -} diff --git a/Source/TokyoMirage/ce2ff6b2fd939478_0000000f0f249249_ps.txt b/Source/TokyoMirage/ce2ff6b2fd939478_0000000f0f249249_ps.txt deleted file mode 100644 index 2bfe8b67..00000000 --- a/Source/TokyoMirage/ce2ff6b2fd939478_0000000f0f249249_ps.txt +++ /dev/null @@ -1,1506 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader ce2ff6b2fd939478 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x34f50000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x34ef8000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x34ea0000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R8i.y = R127i.z; -R127i.z = R2i.x; -R7i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R8i.w = R2i.z; -R8i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS1i = R8i.x; -// 4 -R11i.x = 0; -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R7i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R11i.y = 0; -PS0i = R11i.y; -// 5 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R11i.z = 0; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 8 -R1i.x = PV1i.w << 0x00000002; -R10i.y = PV1i.w << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R9i.x = floatBitsToInt(tempResultf); -PS0i = R9i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R9i.y; -backupReg1i = R4i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R9i.x))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R9i.x))); -PV0i.z = backupReg1i << R2i.w; -R3i.w = R10i.y + 0x00000e10; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R9i.x))); -PS0i = R6i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(backupReg0i)); -// 4 -R10i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R12i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R12i.y; -backupReg0i = R12i.y; -R5i.x = 0; -R12i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R1i.z << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.x) >> uint(R0i.x)); -// 2 -PV0i.w = PV1i.y & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R1i.x)),-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R1i.z)),-(intBitsToFloat(R5i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -// 4 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.y << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R7i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R7i.z; -PV0i.y = R3i.w + R7i.z; -R7i.z = backupReg0i + int(1); -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R0i.x)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000005; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.z].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R4i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R4i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R4i.z > R4i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.y; -backupReg0i = R4i.y; -R4i.y = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R1i.y << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R0i.x)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R10i.z + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R7i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R127i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.x = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R126i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R9i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -R126i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R124i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R124i.y; -// 4 -R125i.x = ((R126i.y == 0)?(0):(0x3f800000)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.x))); -R124i.w = ((R127i.w == 0)?(0):(0x3f800000)); -R124i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PS0i = R124i.x; -// 5 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R124i.y))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R127i.z = floatBitsToInt(min(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.w)); -PS1i = R127i.x; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.w) + 1.0)); -R125i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R127i.x = clampFI32(R127i.x); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.x)) + 1.0); -R5i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.z = R5i.z; -R127i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PS1i = R127i.z; -// 8 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R8i.z))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.y))); -PV0i.y = R124i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R8i.x))); -PV0i.z = R126i.z; -R126i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PV0i.w = R126i.w; -R125i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -PS0i = R125i.w; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R1i.z)); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R1i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R1i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R127i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -PS0i = R2i.w; -// 11 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R7i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R7i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R7i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS1i = R127i.z; -// 12 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R124i.y))); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R126i.z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R8i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R8i.y))); -PS0i = R125i.z; -// 13 -backupReg0i = R127i.x; -backupReg1i = R127i.z; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R8i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV0i.w))); -tempResultf = log2(intBitsToFloat(backupReg2i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R1i.w)) + intBitsToFloat(R126i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R124i.z)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R2i.w)) + intBitsToFloat(R125i.z))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 16 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -// 6 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = R127i.z; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R3i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R10i.w = 0x3f800000; -PV0i.w = R10i.w; -R9i.w = floatBitsToInt(uf_blockPS4[2].x); -R9i.w = floatBitsToInt(intBitsToFloat(R9i.w) * 4.0); -PS0i = R9i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[23].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R7i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R9i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R7i.z)); -PS0i = R9i.x; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R9i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R9i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R0i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.y)); -// 6 -R4i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R0i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R8i.y; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R9i.y; -// 4 -R7i.x = floatBitsToInt(uf_blockPS8[24].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[6].w)); -R7i.y = floatBitsToInt(uf_blockPS8[24].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS0i = R7i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R6i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R7i.z = floatBitsToInt(uf_blockPS4[2].x); -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R7i.x = floatBitsToInt(uf_blockPS8[24].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -PS0i = R7i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R7i.y = floatBitsToInt(uf_blockPS8[24].y); -R7i.y = floatBitsToInt(intBitsToFloat(R7i.y) / 2.0); -PS1i = R7i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R6i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R7i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R7i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.w))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -R1i.y = 0; -PS0i = R1i.y; -// 1 -R1i.z = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[10].z)); -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), uf_blockPS10[2].x)); -PV0i.x = R2i.x; -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[2].z)); -PV0i.z = R2i.z; -// 1 -backupReg0i = R2i.w; -R2i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R2i.w = backupReg0i; -// 2 -R3i.xyz = ivec3(R1i.x,R1i.y,R1i.y); -R3i.w = R1i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -passPixelColor2 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -} diff --git a/Source/TokyoMirage/d35885ced93e745a_0000000007879249_ps.txt b/Source/TokyoMirage/d35885ced93e745a_0000000007879249_ps.txt deleted file mode 100644 index eb24f004..00000000 --- a/Source/TokyoMirage/d35885ced93e745a_0000000007879249_ps.txt +++ /dev/null @@ -1,1279 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader d35885ced93e745a -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3cc3a000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R7i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R9i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R6i.x = floatBitsToInt(tempResultf); -PS0i = R6i.x; -// 7 -R5i.x = PV0i.w << 0x00000002; -R5i.y = PV0i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = R5i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.x))); -PV0i.z = R7i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.x + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R5i.z << R3i.z; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.y = R3i.x + backupReg0i; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -backupReg0i = R3i.y; -R3i.y = backupReg0i + int(1); -PV0i.z = R3i.x + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R7i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R9i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R9i.z))); -// 2 -R0i.y = ((PV1i.x == 0)?(0):(0)); -R4i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R4i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(R1i.x), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R7i.w = 0x3f800000; -PV0i.w = R7i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R6i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS8[2].w)); -R7i.x = floatBitsToInt(uf_blockPS8[23].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -PS0i = R7i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = floatBitsToInt(uf_blockPS8[23].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R6i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.w)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R4i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R11i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R6i.x; -R5i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R5i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R6i.y))); -R6i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(backupReg0i)); -PS1i = R6i.x; -// 2 -backupReg0i = R6i.y; -R6i.y = floatBitsToInt(intBitsToFloat(R11i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R5i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R6i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R4i.z; -R3i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R0i.y)) + intBitsToFloat(backupReg2i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R11i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R0i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R0i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R5i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R10i.y; -R5i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R5i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[4] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R11i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R11i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R11i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -backupReg0i = R3i.w; -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w)); -PS0i = R3i.w; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.y)); -// 6 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R5i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R5i.y; -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R7i.x = floatBitsToInt(uf_blockPS8[24].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -PS1i = R7i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R11i.y = floatBitsToInt(uf_blockPS8[24].y); -R11i.y = floatBitsToInt(intBitsToFloat(R11i.y) / 2.0); -PS0i = R11i.y; -} -if( activeMaskStackC[4] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R11i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[5] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R2i.z)); -PS0i = R3i.y; -} -if( activeMaskStackC[4] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R5i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R3i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R3i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R11i.y))); -PV0i.y = R6i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R11i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[5] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R3i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R0i.y)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R3i.x = floatBitsToInt(uf_blockPS8[24].x); -R3i.x = floatBitsToInt(intBitsToFloat(R3i.x) / 2.0); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R7i.w = floatBitsToInt(uf_blockPS4[2].x); -R7i.w = floatBitsToInt(intBitsToFloat(R7i.w) * 4.0); -PS0i = R7i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -backupReg0i = R4i.w; -R5i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R3i.y; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -// 5 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R5i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.z)); -PS0i = R3i.y; -} -if( activeMaskStackC[3] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R10i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R3i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R3i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R3i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R3i.y))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.y; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(R9i.y), intBitsToFloat(backupReg0i))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/dd2a47af8d2caf76_00000001e1e49249_ps.txt b/Source/TokyoMirage/dd2a47af8d2caf76_00000001e1e49249_ps.txt deleted file mode 100644 index 5f4a2f81..00000000 --- a/Source/TokyoMirage/dd2a47af8d2caf76_00000001e1e49249_ps.txt +++ /dev/null @@ -1,1629 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader dd2a47af8d2caf76 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x39276000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x3932e000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x39322000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R5i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R10i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R10i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R9i.x = 0; -R9i.y = 0; -R3i.z = 0; -R1i.w = 0; -R9i.z = 0; -PS0i = R9i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS0i = R5i.w; -// 9 -R5i.x = PV0i.z << 0x00000002; -R5i.y = PV0i.z << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R7i.x << R10i.x; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = R5i.y + 0x00000e10; -PS0i = R10i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R10i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R5i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R5i.y = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R6i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + intBitsToFloat(R6i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R6i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R6i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R6i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R6i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),-(intBitsToFloat(R6i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R9i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R9i.x; -// 8 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.w = R10i.z + R1i.w; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.w; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.y; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R9i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R9i.x; -// 13 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R12i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R12i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R12i.z; -PV0i.z = R10i.z + R12i.z; -R12i.z = backupReg0i + int(1); -PS0i = R12i.z; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.y << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.z = R4i.w + PV0i.x; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + int(1); -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.x].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R125i.z))); -R125i.w = clampFI32(R125i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -// 10 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.x))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R10i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.w; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R126i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R125i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R125i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -PS1i = R124i.w; -// 4 -R126i.x = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R4i.y = ((R127i.y == 0)?(0):(0x3f800000)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R4i.z = ((R126i.w == 0)?(0):(0x3f800000)); -PS0i = R4i.z; -// 5 -R124i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PV1i.x = R124i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R125i.w)) + 1.0); -R127i.z = floatBitsToInt(-(intBitsToFloat(R126i.y)) + 1.0); -R125i.w = floatBitsToInt(-(intBitsToFloat(R125i.x)) + 1.0); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R124i.w))); -PS1i = R6i.y; -// 6 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.y) + 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.z) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R127i.y; -backupReg0i = R127i.y; -backupReg1i = R125i.w; -R4i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R125i.x))); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.y))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -// 8 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PS1i))); -R125i.x = clampFI32(R125i.x); -R126i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -R124i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -// 9 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PS0i))); -R126i.x = clampFI32(R126i.x); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R8i.y))); -PV1i.y = R125i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.x))); -PV1i.z = R124i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R8i.z))); -R124i.y = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.y)); -PS1i = R124i.y; -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R124i.w) + intBitsToFloat(R5i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R5i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R5i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS0i = R127i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R126i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R125i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(R125i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.x) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R5i.y; -// 13 -backupReg0i = R125i.z; -PV1i.x = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R10i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(R124i.w) + intBitsToFloat(R10i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R124i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R10i.y)); -R124i.w = floatBitsToInt(intBitsToFloat(R124i.w) * 2.0); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R125i.y))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PS1i = R127i.x; -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R8i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R8i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R8i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R125i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -PS0i = R124i.z; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R124i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(PS1i))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R127i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -backupReg0i = R5i.y; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[0].x)); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[0].x)); -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 18 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 19 -R4i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -// 20 -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R124i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PV1i.y))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R6i.z = floatBitsToInt(uf_blockPS4[2].x); -R6i.z = floatBitsToInt(intBitsToFloat(R6i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[23].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R11i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -R10i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R3i.z)); -PS0i = R10i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R11i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R11i.w) >= intBitsToFloat(R10i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R11i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R11i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R7i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R8i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R10i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R10i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R10i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R10i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV0i.w)); -// 6 -R4i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R10i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R8i.y; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R10i.y; -// 4 -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.y = floatBitsToInt(uf_blockPS8[24].y); -R4i.y = floatBitsToInt(intBitsToFloat(R4i.y) / 2.0); -PS0i = R4i.y; -} -if( activeMaskStackC[3] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R4i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -R7i.x = floatBitsToInt(-(intBitsToFloat(R10i.y)) + intBitsToFloat(R2i.z)); -PS0i = R7i.x; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R7i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R4i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R7i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(uf_blockPS8[24].y); -R8i.y = floatBitsToInt(intBitsToFloat(R8i.y) / 2.0); -PS1i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R8i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R10i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R8i.x)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(R11i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R11i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R8i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R8i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R11i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R11i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R11i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R11i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R11i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R11i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.x))) + uf_blockPS10[1].z)); -PV0i.x = R123i.x; -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R0i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS3[21].x)); -R4i.y = 0; -PS0i = R4i.y; -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.w))); -PS1i = R127i.x; -// 2 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + uf_blockPS3[19].w)); -PV0i.z = R123i.z; -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -// 3 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); -// 4 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].z)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].y)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(R1i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -// 2 -backupReg0i = R1i.y; -backupReg1i = R0i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS3[20].x)); -// 1 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R3i.z; -// 2 -R0i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R0i.w = R3i.w; -// 3 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/df01ee93f5e32259_000003c3c9249249_ps.txt b/Source/TokyoMirage/df01ee93f5e32259_000003c3c9249249_ps.txt deleted file mode 100644 index b406144a..00000000 --- a/Source/TokyoMirage/df01ee93f5e32259_000003c3c9249249_ps.txt +++ /dev/null @@ -1,1703 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader df01ee93f5e32259 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3658c000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x36638000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36484000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x3632c000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x36664000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0x2aa61000 res 1024x1024x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -R11i.xyzw = floatBitsToInt(texture(textureUnitPS7, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R8i.y = R127i.y; -R127i.z = R2i.x; -R7i.w = R1i.y; -R126i.w = int(uint(intBitsToFloat(PV1i.y))); -PS0i = R126i.w; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R8i.w = R2i.z; -R9i.w = floatBitsToInt((intBitsToFloat(R11i.x) * 2.0 + -(1.0))); -PS1i = R9i.w; -// 4 -R8i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R7i.z = floatBitsToInt((intBitsToFloat(R11i.y) * 2.0 + -(1.0))); -R10i.w = floatBitsToInt((intBitsToFloat(R11i.z) * 2.0 + -(1.0))); -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PS0i = R8i.z; -// 5 -R9i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R12i.y = 0; -R12i.z = 0; -R6i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.x = 0; -PS1i = R12i.x; -// 6 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R11i.x = 0; -PS0i = R11i.x; -// 7 -R11i.y = 0; -R11i.z = 0; -R2i.w = 0; -R126i.x = int(uint(R126i.w) * uint(0x00000050)); -PS1i = R126i.x; -// 8 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 9 -PV1i.z = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 10 -R1i.x = PV1i.z << 0x00000002; -R10i.y = PV1i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.x)); -R12i.w = floatBitsToInt(tempResultf); -PS0i = R12i.w; -} -if( activeMaskStackC[1] == true ) { -R13i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),uf_blockPS3[18].z) + intBitsToFloat(R127i.z))); -PV0i.x = R124i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),uf_blockPS3[18].z) + intBitsToFloat(PS1i))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),uf_blockPS3[18].z) + intBitsToFloat(PV1i.x))); -PV0i.z = R127i.z; -PV0i.w = R13i.x << R9i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), uf_blockPS3[18].w)); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R126i.w = int(uint(PV0i.w) >> uint(R6i.w)); -PS1i = R126i.w; -// 4 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R12i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R12i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R12i.w))); -R3i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R9i.z = R10i.y + 0x00000e10; -PS0i = R9i.z; -// 5 -R7i.y = R126i.w & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -PS1i = floatBitsToInt(tempResultf); -// 6 -R13i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS1i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.y = (R7i.y > R2i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R2i.w; -PV0i.z = R9i.z + R2i.w; -R5i.w = 0; -R2i.w = backupReg0i + int(1); -PS0i = R2i.w; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R1i.z << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.y = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R5i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R13i.x)) + intBitsToFloat(R5i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.y)) + intBitsToFloat(R5i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),-(intBitsToFloat(R5i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),-(intBitsToFloat(R5i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),-(intBitsToFloat(R5i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R13i.y << R9i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R6i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R2i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R8i.x > R2i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -PV0i.w = R9i.z + R2i.w; -R2i.w = backupReg0i + int(1); -PS0i = R2i.w; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.x << R9i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R6i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000005; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.z].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.w; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R13i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.y; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R4i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R13i.z << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.w)); -// 2 -R2i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R2i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R2i.w > R10i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.z; -PV0i.z = R9i.z + R10i.z; -R10i.z = backupReg0i + int(1); -PS0i = R10i.z; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R9i.x; -// 1 -PV1i.y = int(uint(PV0i.w) >> uint(R6i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.z = R3i.w + PV0i.x; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + int(1); -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R125i.z))); -R125i.w = clampFI32(R125i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R13i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R4i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -// 10 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R10i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.z = R127i.z; -R127i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R125i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R125i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -// 3 -R126i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R124i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.z)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R125i.y; -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.w; -R124i.x = ((R126i.y == 0)?(0):(0x3f800000)); -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R5i.z = ((backupReg1i == 0)?(0):(0x3f800000)); -PS0i = R5i.z; -// 5 -backupReg0i = R125i.y; -R6i.x = ((R127i.x == 0)?(0):(0x3f800000)); -PV1i.x = R6i.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R127i.z = floatBitsToInt(-(intBitsToFloat(R124i.y)) + 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(R125i.x)) + 1.0); -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(backupReg0i))); -PS1i = R5i.x; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.x) + 1.0)); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.z) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R125i.y; -backupReg0i = R125i.y; -backupReg1i = R126i.w; -R7i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(PS0i)) + 1.0)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R5i.x)) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R125i.x))); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R124i.y))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -// 8 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PS1i))); -R125i.x = clampFI32(R125i.x); -R124i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PS0i))); -R127i.x = clampFI32(R127i.x); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R8i.y))); -PV1i.y = R125i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R8i.x))); -PV1i.z = R124i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R8i.z))); -R124i.w = floatBitsToInt(-(intBitsToFloat(R7i.x)) + intBitsToFloat(backupReg0i)); -PS1i = R124i.w; -// 10 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R1i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R1i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R1i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS0i = R127i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R127i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(R125i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.x) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R126i.y; -// 13 -backupReg0i = R125i.z; -PV1i.x = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R9i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R9i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R9i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R125i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PS1i = R126i.x; -// 14 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R8i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -PS0i = R124i.z; -// 15 -backupReg0i = R126i.x; -backupReg1i = R127i.z; -backupReg2i = R127i.w; -backupReg3i = R127i.y; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(backupReg2i)) + intBitsToFloat(PV0i.z))); -tempResultf = log2(intBitsToFloat(backupReg3i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(R124i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -tempResultf = log2(intBitsToFloat(R126i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R124i.z)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -// 18 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[0].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -R3i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 19 -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -PV0i.w = R123i.w; -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -// 2 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV1i.z))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV1i.w))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 4 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -// 5 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 7 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.y))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.x))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = floatBitsToInt(uf_blockPS4[2].x); -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 4.0); -R7i.w = 0x3f800000; -PV0i.w = R7i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS8[2].w)); -R7i.x = floatBitsToInt(uf_blockPS8[23].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -PS0i = R7i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R4i.y = floatBitsToInt(uf_blockPS8[23].y); -R4i.y = floatBitsToInt(intBitsToFloat(R4i.y) / 2.0); -PS1i = R4i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R9i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R4i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R9i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R5i.z)); -PS0i = R9i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R9i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R9i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R4i.y; -backupReg0i = R4i.y; -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R9i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R9i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R9i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R8i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R8i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -// 6 -R7i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R8i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R2i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R9i.x; -// 3 -R8i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.z))); -PV1i.y = R9i.y; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R12i.y; -// 4 -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -R8i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS8[6].w)); -R4i.y = floatBitsToInt(uf_blockPS8[24].y); -R4i.y = floatBitsToInt(intBitsToFloat(R4i.y) / 2.0); -PS0i = R4i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R8i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R8i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -// 3 -backupReg0i = R2i.z; -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R4i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R8i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.y)); -} -if( activeMaskStackC[4] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -R6i.x = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(R2i.z)); -PS0i = R6i.x; -} -if( activeMaskStackC[3] == true ) { -R12i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R12i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R6i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R12i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R4i.y; -backupReg0i = R4i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R12i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R12i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R12i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R6i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R6i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R7i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R7i.x; -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R7i.w = floatBitsToInt(uf_blockPS4[2].x); -R7i.w = floatBitsToInt(intBitsToFloat(R7i.w) * 4.0); -PS0i = R7i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R7i.x = floatBitsToInt(uf_blockPS8[24].x); -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) / 2.0); -PS0i = R7i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R4i.y = floatBitsToInt(uf_blockPS8[24].y); -R4i.y = floatBitsToInt(intBitsToFloat(R4i.y) / 2.0); -PS1i = R4i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = R4i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R7i.z = floatBitsToInt(-(intBitsToFloat(R0i.x)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R7i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R7i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R7i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R4i.y; -backupReg0i = R4i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R7i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R7i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R7i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R10i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R10i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.x))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS3[21].x)); -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PS0i))); -R1i.z = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 2 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R4i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R7i.x)) + uf_blockPS3[19].w)); -PV0i.z = R123i.z; -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(R0i.y))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -PS0i = R3i.w; -// 3 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.z))); -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].z)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].y)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[10].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R1i.y; -backupReg1i = R0i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 3 -backupReg0i = R1i.x; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 4 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS3[20].x)); -// 1 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].x)); -PV1i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[2].y)); -PV1i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[2].z)); -PV1i.z = R3i.z; -// 2 -R0i.xyz = ivec3(PV1i.x,PV1i.y,PV1i.z); -R0i.w = R3i.w; -// 3 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/dfd09ecca1f42f08_000001e1e1e49249_ps.txt b/Source/TokyoMirage/dfd09ecca1f42f08_000001e1e1e49249_ps.txt deleted file mode 100644 index 061d6705..00000000 --- a/Source/TokyoMirage/dfd09ecca1f42f08_000001e1e1e49249_ps.txt +++ /dev/null @@ -1,1401 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader dfd09ecca1f42f08 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x34b86000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x34ad6000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R4i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R7i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R3i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R6i.x = floatBitsToInt(tempResultf); -PS0i = R6i.x; -// 7 -R5i.x = PV0i.w << 0x00000002; -R5i.y = PV0i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R9i.x = R5i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.x))); -PV0i.z = R7i.x << R4i.z; -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.x))); -PS0i = R9i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R9i.x + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R4i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R4i.z; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R9i.x + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.x << R4i.z; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.x = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + int(1); -R5i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.w].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R4i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R10i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.z; -backupReg0i = R10i.z; -R10i.z = backupReg0i + int(1); -PV0i.w = R9i.x + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.y << R4i.z; -// 1 -PV1i.w = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R7i.w + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R127i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -PV1i.y = clampFI32(PV1i.y); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R9i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R4i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -PV1i.x = ((intBitsToFloat(R9i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -R127i.w = ((intBitsToFloat(R9i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R126i.y; -// 2 -PV0i.x = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.z)); -R125i.y = ((PV1i.x == 0)?(0):(0x3f800000)); -PV0i.y = R125i.y; -PV0i.z = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(PV1i.z)); -R126i.w = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV0i.w = R126i.w; -R4i.w = ((PV1i.y == 0)?(0):(0x3f800000)); -PS0i = R4i.w; -// 3 -R125i.x = ((R127i.w == 0)?(0):(0x3f800000)); -PV1i.x = R125i.x; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -R127i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.y) + 1.0)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 4 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R126i.w), intBitsToFloat(PV1i.y))); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.w) + 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.w))); -R126i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.x)); -PS0i = R125i.w; -// 5 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.y))); -PV1i.x = R6i.x; -R126i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.y)); -PV1i.y = R126i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.w)) + 1.0)); -R124i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R9i.z)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R9i.x))); -PS1i = R1i.w; -// 6 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R9i.z))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R9i.y))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R5i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R5i.y)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -PS0i = R127i.w; -// 7 -R126i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R1i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.w) + intBitsToFloat(R5i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 8 -backupReg0i = R127i.z; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(R4i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(PS1i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R127i.x))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R4i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R1i.w))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R124i.w) + intBitsToFloat(R4i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R9i.y))); -PS1i = R125i.w; -// 10 -backupReg0i = R126i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R9i.x))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R9i.z))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -PS0i = R125i.y; -// 11 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(R125i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), uf_blockPS3[8].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), uf_blockPS3[8].y)); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), uf_blockPS3[8].z)); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(PV1i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), uf_blockPS3[8].w)); -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), uf_blockPS10[5].x)); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), uf_blockPS10[5].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[5].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[5].x)); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -PS1i = R4i.w; -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[2].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].z)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].y)); -// 15 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV0i.x))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), uf_blockPS10[0].x)); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), uf_blockPS10[0].x)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV0i.w))); -PS1i = R0i.y; -// 16 -R4i.y = floatBitsToInt(uf_blockPS10[1].y); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R127i.y))); -R5i.w = 0; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.w = R123i.w; -// 1 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R4i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R4i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.y))); -PV1i.z = R127i.z; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), -(uf_blockPS8[12].z))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS1i),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3de978d5)); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R127i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PS1i = R126i.z; -// 4 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS1i))); -R6i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 7 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PV0i.z))); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.y))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -// 8 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R10i.w = 0x3f800000; -PV0i.w = R10i.w; -R2i.w = floatBitsToInt(uf_blockPS4[2].x); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 4.0); -PS0i = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R8i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[2].w)); -R9i.x = floatBitsToInt(uf_blockPS8[23].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R9i.y = floatBitsToInt(uf_blockPS8[23].y); -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS1i = R9i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.w)); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R8i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R8i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.w))?1.0:0.0); -R5i.x = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(R8i.z)); -PS0i = R5i.x; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R9i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R8i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R5i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R9i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R8i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R9i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R10i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R5i.y; -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R8i.y; -// 4 -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), uf_blockPS8[6].w)); -R10i.y = floatBitsToInt(uf_blockPS8[24].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS0i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R7i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R5i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -R6i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.w))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R8i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R6i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R2i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R6i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R6i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R8i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R8i.w; -R8i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R9i.z = floatBitsToInt(uf_blockPS4[2].x); -R9i.z = floatBitsToInt(intBitsToFloat(R9i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS1i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(R2i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R7i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R8i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R8i.w))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R8i.w) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -// 5 -R6i.xyz = ivec3(R0i.x,R0i.y,R5i.z); -R6i.w = R5i.w; -// 6 -R4i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R4i.w = R2i.w; -// 7 -R5i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R5i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/e0702e915651fa43_000000003c3c9649_ps.txt b/Source/TokyoMirage/e0702e915651fa43_000000003c3c9649_ps.txt deleted file mode 100644 index b5941057..00000000 --- a/Source/TokyoMirage/e0702e915651fa43_000000003c3c9649_ps.txt +++ /dev/null @@ -1,1034 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader e0702e915651fa43 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c5d7000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x1bb7e000 res 128x128x1 dim 1 tm: 4 format 0035 compSel: 0 0 0 1 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x1c2ba000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R7i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R11i.x = 0; -PS0i = R11i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.w = tempi.x; -R11i.y = 0; -PS1i = R11i.y; -// 4 -R11i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS1i = R6i.w; -// 8 -R6i.x = PV1i.w << 0x00000002; -R6i.y = PV1i.w << 0x00000005; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R12i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -PV0i.z = R8i.x << R0i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -PS0i = R10i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R4i.z = R6i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PS1i))); -R9i.y = PV1i.x & 0x0000ffff; -PS0i = R9i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R9i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R4i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R6i.z << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R7i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.z)),-(intBitsToFloat(R7i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = (R1i.w > R9i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R3i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.z; -PV0i.y = R4i.z + R9i.z; -R9i.z = backupReg0i + int(1); -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.x << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R6i.z].xy); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R12i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R12i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R12i.z > R10i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R10i.y; -backupReg0i = R10i.y; -R10i.y = backupReg0i + int(1); -PV0i.z = R4i.z + backupReg0i; -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.y << R0i.x; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.y].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R11i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R11i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R11i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.xyz = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].y),-(uf_blockPS2[1].z)) + vec3(1.0,1.0,1.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R9i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R9i.z; -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.y = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).w); -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(R10i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.x; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R12i.x)) + -(intBitsToFloat(R10i.x)))); -R126i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R3i.y)))); -R126i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R3i.z)))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PS1i = R127i.y; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R125i.y; -// 3 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R1i.w = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(R127i.y)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = R2i.w; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.x))); -// 6 -redcCUBE(vec4(intBitsToFloat(R126i.z),intBitsToFloat(R126i.z),intBitsToFloat(R126i.x),intBitsToFloat(R126i.y)),vec4(intBitsToFloat(R126i.y),intBitsToFloat(R126i.x),intBitsToFloat(R126i.z),intBitsToFloat(R126i.z)),cubeMapSTM,cubeMapFaceId); -R0i.x = floatBitsToInt(cubeMapSTM.x); -R0i.y = floatBitsToInt(cubeMapSTM.y); -R0i.z = floatBitsToInt(cubeMapSTM.z); -R0i.w = cubeMapFaceId; -PV0i.x = R0i.x; -PV0i.y = R0i.y; -PV0i.z = R0i.z; -PV0i.w = R0i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -PS0i = clampFI32(PS0i); -// 7 -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PS0i) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(PS0i))); -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 8 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.z))); -} -if( activeMaskStackC[1] == true ) { -R0i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R0i.yx),R0i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV0i.y = R123i.y; -tempResultf = log2(intBitsToFloat(R1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS0i))); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.z))); -PV0i.y = R125i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.z = R123i.z; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -// 3 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R0i.z)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.y))); -PV0i.z = R126i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R4i.x))); -PV0i.w = R127i.w; -// 5 -R126i.x = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.y)); -R126i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV0i.x))); -// 6 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(R125i.y))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(R126i.z))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R127i.w))); -PV1i.z = R123i.z; -// 8 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[20].z)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[2].x)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), uf_blockPS10[2].y)); -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), uf_blockPS10[2].z)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -// 3 -R0i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R0i.w = R2i.w; -// 4 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/e0a01790582276ee_000003c3c9249249_ps.txt b/Source/TokyoMirage/e0a01790582276ee_000003c3c9249249_ps.txt deleted file mode 100644 index 43295cd2..00000000 --- a/Source/TokyoMirage/e0a01790582276ee_000003c3c9249249_ps.txt +++ /dev/null @@ -1,1750 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader e0a01790582276ee -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3658c000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x36638000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x36484000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x3632c000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x36664000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0x2aa61000 res 1024x1024x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R7i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -R11i.xyzw = floatBitsToInt(texture(textureUnitPS7, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R7i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R8i.y = R127i.y; -R127i.z = R2i.x; -R7i.w = R1i.y; -R126i.w = int(uint(intBitsToFloat(PV1i.y))); -PS0i = R126i.w; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R8i.w = R2i.z; -R9i.w = floatBitsToInt((intBitsToFloat(R11i.x) * 2.0 + -(1.0))); -PS1i = R9i.w; -// 4 -R8i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R7i.z = floatBitsToInt((intBitsToFloat(R11i.y) * 2.0 + -(1.0))); -R10i.w = floatBitsToInt((intBitsToFloat(R11i.z) * 2.0 + -(1.0))); -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PS0i = R8i.z; -// 5 -R9i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R4i.y = 0; -R4i.z = 0; -R6i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R4i.x = 0; -PS1i = R4i.x; -// 6 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R11i.x = 0; -PS0i = R11i.x; -// 7 -R11i.y = 0; -R11i.z = 0; -R2i.w = 0; -R126i.x = int(uint(R126i.w) * uint(0x00000050)); -PS1i = R126i.x; -// 8 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 9 -PV1i.z = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 10 -R1i.x = PV1i.z << 0x00000002; -R10i.y = PV1i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.x)); -R12i.w = floatBitsToInt(tempResultf); -PS0i = R12i.w; -} -if( activeMaskStackC[1] == true ) { -R12i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),uf_blockPS3[18].z) + intBitsToFloat(R127i.z))); -PV0i.x = R124i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),uf_blockPS3[18].z) + intBitsToFloat(PS1i))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),uf_blockPS3[18].z) + intBitsToFloat(PV1i.x))); -PV0i.z = R127i.z; -PV0i.w = R12i.x << R9i.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), uf_blockPS3[18].w)); -PS0i = R10i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R126i.w = int(uint(PV0i.w) >> uint(R6i.w)); -PS1i = R126i.w; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R12i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R12i.w))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R12i.w))); -R3i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R9i.z = R10i.y + 0x00000e10; -PS0i = R9i.z; -// 5 -R7i.y = R126i.w & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -PS1i = floatBitsToInt(tempResultf); -// 6 -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.y = (R7i.y > R2i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R2i.w; -PV0i.z = R9i.z + R2i.w; -R5i.w = 0; -R2i.w = backupReg0i + int(1); -PS0i = R2i.w; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R1i.z << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.y = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), -(intBitsToFloat(R5i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R12i.x)) + intBitsToFloat(R5i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.y)) + intBitsToFloat(R5i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + intBitsToFloat(R5i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),-(intBitsToFloat(R5i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),-(intBitsToFloat(R5i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),-(intBitsToFloat(R5i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R12i.y << R9i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R6i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R2i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R8i.x > R2i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -PV0i.w = R9i.z + R2i.w; -R2i.w = backupReg0i + int(1); -PS0i = R2i.w; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.x << R9i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R6i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000005; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.z].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.w; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R12i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.y; -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -backupReg3i = R11i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R12i.z << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.w)); -// 2 -R2i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R2i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R12i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R2i.w > R12i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R12i.z; -PV0i.z = R9i.z + R12i.z; -R12i.z = backupReg0i + int(1); -PS0i = R12i.z; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R9i.x; -// 1 -PV1i.y = int(uint(PV0i.w) >> uint(R6i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.z = R3i.w + PV0i.x; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + int(1); -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R125i.z))); -R125i.w = clampFI32(R125i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R12i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R10i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -// 10 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R8i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R9i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R126i.y = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.x)); -// 3 -PV1i.x = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.x)); -R124i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R125i.y; -// 4 -backupReg0i = R127i.z; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R1i.w = ((R126i.y == 0)?(0):(0x3f800000)); -R6i.x = ((backupReg0i == 0)?(0):(0x3f800000)); -PS0i = R6i.x; -// 5 -R127i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R0i.y = floatBitsToInt(-(intBitsToFloat(R126i.w)) + 1.0); -R125i.z = floatBitsToInt(-(intBitsToFloat(R124i.y)) + 1.0); -R2i.w = ((R127i.w == 0)?(0):(0x3f800000)); -PV1i.w = R2i.w; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.y))); -PS1i = R5i.w; -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.y; -backupReg0i = R127i.z; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.x) + 1.0)); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.w) + 1.0)); -R127i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.w) + 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R124i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R5i.w)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -// 8 -backupReg0i = R125i.z; -R125i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R124i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R125i.z = clampFI32(R125i.z); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -backupReg0i = R126i.z; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R7i.x))); -PV1i.x = R124i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R7i.y))); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R7i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -R127i.w = clampFI32(R127i.w); -R124i.w = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -PS1i = R124i.w; -// 10 -R126i.x = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R1i.y)); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R1i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R1i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.x))); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PS0i = R127i.x; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R125i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.z) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.w))); -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.w) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R126i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PS1i))); -PS0i = R126i.x; -// 13 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R8i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R124i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R8i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R125i.y))); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -PS1i = R125i.w; -// 14 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R126i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.z))); -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.y))); -PS0i = R1i.x; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R125i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R125i.x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R127i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(R124i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R126i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.x)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[0].x)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 18 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -R3i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 19 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -// 2 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(PV1i.x))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(PV1i.w))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 4 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -// 5 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -// 7 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.y))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.z))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R126i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R4i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R6i.z = floatBitsToInt(uf_blockPS4[2].x); -R6i.z = floatBitsToInt(intBitsToFloat(R6i.z) * 4.0); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[23].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R8i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R5i.z)); -PS0i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R10i.w) >= intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R8i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R7i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R7i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -// 6 -R7i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R7i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R2i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R12i.x; -// 3 -R8i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.z))); -PV1i.y = R7i.y; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R12i.y; -// 4 -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -R8i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS0i = R6i.y; -} -if( activeMaskStackC[3] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R8i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R8i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.w)); -// 3 -backupReg0i = R2i.z; -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R8i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R8i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.y)); -} -if( activeMaskStackC[4] == true ) { -R10i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R12i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.w))?1.0:0.0); -R8i.x = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(R2i.z)); -PS0i = R8i.x; -} -if( activeMaskStackC[3] == true ) { -R12i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R12i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R12i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R6i.y; -backupReg0i = R6i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R6i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R12i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R12i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R12i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R7i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R7i.x; -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R7i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R7i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R7i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R7i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R8i.y))); -R6i.z = floatBitsToInt(-(intBitsToFloat(R8i.x)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R6i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R6i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R9i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.x))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R9i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R9i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS3[21].x)); -// 1 -R1i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R7i.x)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R0i.x))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R7i.y = 0; -PS0i = R7i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PS1i = R127i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -R126i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -// 5 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), uf_blockPS3[10].z)); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 6 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.y)),intBitsToFloat(PS1i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV0i.w = R123i.w; -// 7 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R2i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS1i))); -// 9 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R0i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R2i.x)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R2i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R2i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.z))); -PV1i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.x))); -// 8 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R5i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[2].x)); -PV0i.x = R6i.x; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R6i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[2].z)); -PV0i.z = R6i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R6i.w; -// 2 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/e2f8996baff83d4d_00000000078e1649_ps.txt b/Source/TokyoMirage/e2f8996baff83d4d_00000000078e1649_ps.txt deleted file mode 100644 index 3ef59a1f..00000000 --- a/Source/TokyoMirage/e2f8996baff83d4d_00000000078e1649_ps.txt +++ /dev/null @@ -1,1087 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader e2f8996baff83d4d -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1971c000 res 256x128x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x19728000 res 128x64x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x19bd6000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x188a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R9i.y = R127i.z; -R127i.z = R2i.x; -R8i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R9i.w = R2i.z; -R9i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS1i = R9i.x; -// 4 -R12i.x = 0; -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R12i.y = 0; -PS0i = R12i.y; -// 5 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R12i.z = 0; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R10i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R10i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 8 -R1i.x = PV1i.w << 0x00000002; -R11i.y = PV1i.w << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R10i.x = floatBitsToInt(tempResultf); -PS0i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R9i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R10i.x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R10i.x))); -PV0i.z = backupReg0i << R2i.w; -R3i.w = R11i.y + 0x00000e10; -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R10i.x))); -PS0i = R11i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(backupReg0i)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R13i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R13i.y; -backupReg0i = R13i.y; -R8i.x = 0; -R13i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R1i.z << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R0i.x)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R1i.y = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R5i.y)),-(intBitsToFloat(R5i.z)),-(intBitsToFloat(R8i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) / 2.0); -// 2 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 3 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R4i.y << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -R9i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R9i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R9i.x > R5i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R5i.w; -PV0i.y = R3i.w + R5i.w; -R5i.w = backupReg0i + int(1); -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R0i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.x = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.y << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R6i.z + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R127i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -PV1i.y = clampFI32(PV1i.y); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].y),-(uf_blockPS2[1].z),-(uf_blockPS2[1].x)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -// 4 -PV0i.y = ((0.0 >= intBitsToFloat(R2i.z))?int(0xFFFFFFFF):int(0x0)); -// 5 -R0i.x = ((PV0i.y == 0)?(0):(0x3f800000)); -R3i.w = ((PV0i.y == 0)?(0):(0)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.z = R2i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 4.0); -PV0i.z = clampFI32(PV0i.z); -R127i.w = floatBitsToInt(max(intBitsToFloat(R2i.z), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -// 3 -R7i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -R4i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -R1i.z = PS0i; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.w))); -R2i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.w))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R1i.z = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R1i.z = floatBitsToInt(intBitsToFloat(R1i.z) / 2.0); -R2i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R4i.y)); -PS0i = R2i.z; -// 1 -predResult = (intBitsToFloat(R2i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.w)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.w))); -R1i.z = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.w))); -PS0i = R1i.y; -// 7 -R2i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.w)); -R1i.w = R126i.y; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R3i.z; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R1i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.zy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R1i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 3 -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.w = floatBitsToInt(min(intBitsToFloat(R5i.w), intBitsToFloat(R1i.z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(R4i.x)),-(intBitsToFloat(backupReg0i)),-(intBitsToFloat(R11i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R4i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R0i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R11i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R3i.w))) + uf_blockPS10[1].z)); -PS1i = R127i.y; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R1i.w; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R6i.x; -backupReg1i = R6i.y; -backupReg2i = R0i.z; -backupReg3i = R0i.w; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R0i.w = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R127i.y)); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(backupReg3i))); -PS0i = R0i.x; -// 5 -R4i.y = 0; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -PS1i = R3i.w; -// 6 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R1i.w))); -PV0i.z = clampFI32(PV0i.z); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R2i.y))); -PV0i.x = R1i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R2i.x))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -PS0i = R127i.w; -// 3 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R6i.y)); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R6i.x)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R2i.z))); -PV1i.w = R0i.w; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R2i.z = floatBitsToInt(tempResultf); -PS1i = R2i.z; -// 4 -R2i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R6i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R2i.z))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 2 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -PV0i.z = R3i.z; -// 7 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R3i.w; -// 8 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/e2f8996baff83d4d_000000003c3c9649_ps.txt b/Source/TokyoMirage/e2f8996baff83d4d_000000003c3c9649_ps.txt deleted file mode 100644 index 62163ab6..00000000 --- a/Source/TokyoMirage/e2f8996baff83d4d_000000003c3c9649_ps.txt +++ /dev/null @@ -1,1085 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader e2f8996baff83d4d -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1a249000 res 128x128x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x19a60000 res 64x64x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x19bd6000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R9i.y = R127i.z; -R127i.z = R2i.x; -R8i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R5i.x = R127i.w; -R1i.y = R1i.z; -R126i.z = R2i.y; -R9i.w = R2i.z; -R9i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -PS1i = R9i.x; -// 4 -R12i.x = 0; -R10i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -R12i.y = 0; -PS0i = R12i.y; -// 5 -R0i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R13i.y = 0; -R12i.z = 0; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R10i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R10i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R125i.x))); -PS1i = R5i.z; -// 8 -R1i.x = PV1i.w << 0x00000002; -R11i.y = PV1i.w << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R10i.x = floatBitsToInt(tempResultf); -PS0i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.w)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R9i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R10i.x))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R10i.x))); -PV0i.z = backupReg0i << R2i.w; -R3i.w = R11i.y + 0x00000e10; -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R10i.x))); -PS0i = R11i.z; -// 3 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(backupReg0i)); -// 4 -R6i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R5i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R5i.w > R13i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R13i.y; -backupReg0i = R13i.y; -R8i.x = 0; -R13i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R1i.z << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R0i.x)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R1i.y = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R10i.z)),vec4(-(intBitsToFloat(R5i.x)),-(intBitsToFloat(R5i.y)),-(intBitsToFloat(R5i.z)),-(intBitsToFloat(R8i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) / 2.0); -// 2 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 3 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R4i.y << R2i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -R9i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R9i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R9i.x > R5i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R5i.w; -PV0i.y = R3i.w + R5i.w; -R5i.w = backupReg0i + int(1); -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.x << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R0i.x)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PV1i.x = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R4i.z << R2i.w; -// 1 -backupReg0i = R0i.x; -PV1i.x = int(uint(PV0i.y) >> uint(backupReg0i)); -// 2 -R5i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R5i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R4i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R5i.w > R4i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.z; -backupReg0i = R4i.z; -R4i.z = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.y << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.z) >> uint(R0i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R6i.z + PV0i.y; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R127i.z; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.z))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -PV1i.y = clampFI32(PV1i.y); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.x)) + intBitsToFloat(R7i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -R5i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -R2i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -tempResultf = log2(intBitsToFloat(R1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.yzw = floatBitsToInt(vec3(-(uf_blockPS2[1].y),-(uf_blockPS2[1].z),-(uf_blockPS2[1].x)) + vec3(1.0,1.0,1.0)); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R2i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 3 -backupReg0i = R1i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R7i.w))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -// 4 -PV0i.y = ((0.0 >= intBitsToFloat(R2i.z))?int(0xFFFFFFFF):int(0x0)); -// 5 -R0i.x = ((PV0i.y == 0)?(0):(0x3f800000)); -R3i.w = ((PV0i.y == 0)?(0):(0)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[1].y)); -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -// 2 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.x))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.z = R2i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 4.0); -PV0i.z = clampFI32(PV0i.z); -R127i.w = floatBitsToInt(max(intBitsToFloat(R2i.z), 0.0)); -PV0i.w = R127i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -// 3 -R7i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -R4i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -R1i.z = PS0i; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.w))); -R2i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.w))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R1i.z = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R1i.z = floatBitsToInt(intBitsToFloat(R1i.z) / 2.0); -R2i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R4i.y)); -PS0i = R2i.z; -// 1 -predResult = (intBitsToFloat(R2i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.z))); -R3i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.w)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.w))); -R1i.z = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.w))); -PS0i = R1i.y; -// 7 -R2i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.w)); -R1i.w = R126i.y; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R3i.z; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R1i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.zy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R1i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 3 -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.w = floatBitsToInt(min(intBitsToFloat(R5i.w), intBitsToFloat(R1i.z))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(-(intBitsToFloat(R4i.x)),-(intBitsToFloat(backupReg0i)),-(intBitsToFloat(R11i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R4i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.y)) + -(intBitsToFloat(R0i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.z)) + -(intBitsToFloat(R11i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R3i.w))) + uf_blockPS10[1].z)); -PS1i = R127i.y; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R1i.w; -// 3 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R6i.x; -backupReg1i = R6i.y; -backupReg2i = R0i.z; -backupReg3i = R0i.w; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R0i.w = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R127i.y)); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(backupReg3i))); -PS0i = R0i.x; -// 5 -R4i.y = 0; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[5].x)); -PS1i = R3i.w; -// 6 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R1i.w))); -PV0i.z = clampFI32(PV0i.z); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R2i.y))); -PV0i.x = R1i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R2i.x))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -PS0i = R127i.w; -// 3 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R6i.y)); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R6i.x)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R2i.z))); -PV1i.w = R0i.w; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R2i.z = floatBitsToInt(tempResultf); -PS1i = R2i.z; -// 4 -R2i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R6i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R2i.z))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 2 -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[20].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS3[20].x)); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -PV0i.z = R3i.z; -// 7 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R3i.w; -// 8 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/e6594de142bd3d05_00000000078e1649_ps.txt b/Source/TokyoMirage/e6594de142bd3d05_00000000078e1649_ps.txt deleted file mode 100644 index 98b168c5..00000000 --- a/Source/TokyoMirage/e6594de142bd3d05_00000000078e1649_ps.txt +++ /dev/null @@ -1,700 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader e6594de142bd3d05 -uniform ivec4 uf_remappedPS[27]; -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x19738000 res 192x64x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x1a5bf000 res 32x32x1 dim 1 tm: 2 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0x6) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 9) uniform samplerCubeArray textureUnitPS9;// Tex9 addr 0x19bd6000 res 128x128x1 dim 3 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x3) sliceView: 0x0 (num 0x6) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x188a2000 res 2048x2048x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 7) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex9 = 0.0; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -R7i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R5i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.y = R1i.x; -PS0i = R126i.y; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -R125i.y = PV0i.w; -R127i.z = R2i.x; -R127i.w = R1i.y; -R125i.z = R2i.y; -PS1i = R125i.z; -// 2 -R124i.y = R1i.z; -R1i.z = R2i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -tempResultf = log2(intBitsToFloat(R9i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126i.z = floatBitsToInt(tempResultf); -PS0i = R126i.z; -// 3 -R125i.x = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -R1i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R5i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.x)) + intBitsToFloat(R7i.w))); -R124i.z = floatBitsToInt(sqrt(intBitsToFloat(PV0i.w))); -PS1i = R124i.z; -// 4 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.y),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].w), intBitsToFloat(R126i.z))); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R124i.z),-0.0),vec4(intBitsToFloat(R125i.y),intBitsToFloat(R127i.w),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.y)) + intBitsToFloat(R7i.w))); -PS1i = R8i.z; -// 6 -backupReg0i = R124i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(R1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = tempi.x; -R124i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + 1.0); -PS0i = R124i.y; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R9i.z)) + intBitsToFloat(R7i.w))); -PS1i = R7i.y; -// 8 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R1i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R1i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].y)) + 1.0); -PS0i = R127i.w; -// 9 -PV1i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(R127i.y))); -// 10 -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].y))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].x))); -R7i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[1].z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.y)); -PS0i = floatBitsToInt(tempResultf); -// 11 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -backupReg0i = R5i.z; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS1i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedPS[2].x)),-(intBitsToFloat(uf_remappedPS[2].y)),-(intBitsToFloat(uf_remappedPS[2].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.x = R123i.x; -PV1i.y = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].w)) + 1.0)); -PV1i.w = R123i.w; -// 2 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R7i.z))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R7i.w))); -R3i.w = ((PV1i.y == 0)?(0):(0)); -R2i.z = ((PV1i.y == 0)?(0):(0x3f800000)); -PS0i = R2i.z; -// 3 -predResult = (R2i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R2i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (intBitsToFloat(uf_remappedPS[4].x) >= -(intBitsToFloat(R4i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(uf_remappedPS[5].x))); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),intBitsToFloat(uf_remappedPS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[7].x),intBitsToFloat(uf_remappedPS[7].y),intBitsToFloat(uf_remappedPS[7].z),intBitsToFloat(uf_remappedPS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[8].x),intBitsToFloat(uf_remappedPS[8].y),intBitsToFloat(uf_remappedPS[8].z),intBitsToFloat(uf_remappedPS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),intBitsToFloat(uf_remappedPS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[10].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -backupReg0i = R4i.w; -R1i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[11].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R2i.z = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R4i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R2i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[11].y)) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R2i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R2i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R2i.z)); -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R4i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R3i.z = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R3i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R3i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.zy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[10].x)); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R2i.w; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(uf_remappedPS[16].x))); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedPS[12].x),intBitsToFloat(uf_remappedPS[12].y),intBitsToFloat(uf_remappedPS[12].z),intBitsToFloat(uf_remappedPS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),intBitsToFloat(uf_remappedPS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),intBitsToFloat(uf_remappedPS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),intBitsToFloat(uf_remappedPS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[18].x)); -R3i.w = PS0i; -PS1i = R3i.w; -// 6 -R3i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[17].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].x)) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R2i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[18].x)) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[17].y)) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R2i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R3i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(R2i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R3i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.w = floatBitsToInt(min(intBitsToFloat(R6i.z), intBitsToFloat(R2i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(-(intBitsToFloat(R4i.x)),-(intBitsToFloat(R4i.y)),-(intBitsToFloat(R5i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[19].z)) + 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R4i.x)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R4i.y)))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.z)) + -(intBitsToFloat(R5i.z)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[20].z),-(intBitsToFloat(R3i.w))) + intBitsToFloat(uf_remappedPS[20].z))); -PS1i = R127i.y; -// 2 -redcCUBE(vec4(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)),vec4(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)),cubeMapSTM,cubeMapFaceId); -R6i.x = floatBitsToInt(cubeMapSTM.x); -R6i.y = floatBitsToInt(cubeMapSTM.y); -R6i.z = floatBitsToInt(cubeMapSTM.z); -R6i.w = cubeMapFaceId; -PV0i.x = R6i.x; -PV0i.y = R6i.y; -PV0i.z = R6i.z; -PV0i.w = R6i.w; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R1i.w; -// 3 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV0i.z))); -// 4 -backupReg0i = R6i.x; -backupReg1i = R6i.y; -backupReg2i = R0i.z; -backupReg3i = R0i.w; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS1i)) + 1.5)); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS1i)) + 1.5)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R0i.w = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(R127i.y)); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(backupReg3i))); -PS0i = R0i.x; -// 5 -R4i.y = 0; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[21].x))); -PS1i = R3i.w; -// 6 -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R127i.z))); -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(texture(textureUnitPS9, vec4(redcCUBEReverse(intBitsToFloat(R6i.yx),R6i.w),cubeMapArrayIndex9)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[22].y)) + intBitsToFloat(uf_remappedPS[23].y))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R1i.w))); -PV0i.z = clampFI32(PV0i.z); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[22].x)) + intBitsToFloat(uf_remappedPS[23].x))); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.z) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[22].z)) + intBitsToFloat(uf_remappedPS[23].z))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.x))); -// 2 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R2i.y))); -PV0i.x = R1i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R2i.x))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[24].z)) + intBitsToFloat(uf_remappedPS[24].w)); -PS0i = R127i.w; -// 3 -R2i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R6i.y)); -R2i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R6i.x)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R2i.z))); -PV1i.w = R0i.w; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R2i.z = floatBitsToInt(tempResultf); -PS1i = R2i.z; -// 4 -R2i.w = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(R6i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.w)); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].w), intBitsToFloat(R2i.z))); -// 1 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 2 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[19].y), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV1i.z)) + intBitsToFloat(R1i.x))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedPS[25].z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedPS[25].y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[25].x))); -// 6 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedPS[26].x))); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(uf_remappedPS[26].y))); -PV0i.y = R3i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedPS[26].z))); -PV0i.z = R3i.z; -// 7 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R3i.w; -// 8 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.y); -R1i.w = R4i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/e717b6f3bc364ae6_0000000f0f249249_ps.txt b/Source/TokyoMirage/e717b6f3bc364ae6_0000000f0f249249_ps.txt deleted file mode 100644 index a98e312d..00000000 --- a/Source/TokyoMirage/e717b6f3bc364ae6_0000000f0f249249_ps.txt +++ /dev/null @@ -1,1684 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader e717b6f3bc364ae6 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x3810a000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x3826e000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x38262000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x381b6000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R5i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R10i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R10i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R6i.w),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R9i.x = 0; -R9i.y = 0; -R3i.z = 0; -R1i.w = 0; -R9i.z = 0; -PS0i = R9i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS0i = R5i.w; -// 9 -R5i.x = PV0i.z << 0x00000002; -R5i.y = PV0i.z << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R7i.x << R10i.x; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R10i.z = R5i.y + 0x00000e10; -PS0i = R10i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PS1i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R10i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R5i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R5i.y = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R6i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.x)) + intBitsToFloat(R6i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.y)) + intBitsToFloat(R6i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R6i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R6i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),-(intBitsToFloat(R6i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),-(intBitsToFloat(R6i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R9i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R9i.x; -// 8 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.y = (R8i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.w = R10i.z + R1i.w; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.z].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.w; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.y; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -backupReg3i = R9i.x; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg2i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R9i.x; -// 13 -backupReg0i = R9i.y; -backupReg1i = R9i.z; -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R10i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R12i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R12i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R12i.z; -PV0i.z = R10i.z + R12i.z; -R12i.z = backupReg0i + int(1); -PS0i = R12i.z; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.y << R10i.x; -// 1 -PV1i.y = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.z = R4i.w + PV0i.x; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + int(1); -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.x].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R125i.z))); -R125i.w = clampFI32(R125i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -// 10 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.x))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R10i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -R8i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R126i.y = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.x)); -// 3 -PV1i.x = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.x)); -R124i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R125i.y; -// 4 -backupReg0i = R127i.z; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R1i.w = ((R126i.y == 0)?(0):(0x3f800000)); -R4i.x = ((backupReg0i == 0)?(0):(0x3f800000)); -PS0i = R4i.x; -// 5 -R127i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R0i.y = floatBitsToInt(-(intBitsToFloat(R126i.w)) + 1.0); -R125i.z = floatBitsToInt(-(intBitsToFloat(R124i.y)) + 1.0); -R4i.w = ((R127i.w == 0)?(0):(0x3f800000)); -PV1i.w = R4i.w; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.y))); -PS1i = R5i.w; -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.y; -backupReg0i = R127i.z; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.x) + 1.0)); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.w) + 1.0)); -R127i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.w) + 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R6i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R124i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R5i.w)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -// 8 -backupReg0i = R125i.z; -R125i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R124i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R125i.z = clampFI32(R125i.z); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -backupReg0i = R126i.z; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R7i.x))); -PV1i.x = R124i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R7i.y))); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R7i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -R127i.w = clampFI32(R127i.w); -R124i.w = floatBitsToInt(-(intBitsToFloat(R6i.x)) + intBitsToFloat(backupReg1i)); -PS1i = R124i.w; -// 10 -R126i.x = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R5i.y)); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R5i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R5i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.x))); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PS0i = R127i.x; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R125i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.z) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.w))); -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.w) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R126i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PS1i))); -PS0i = R126i.x; -// 13 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R10i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(R124i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R10i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R10i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.y), intBitsToFloat(R125i.y))); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -PS1i = R125i.w; -// 14 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R126i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.z))); -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.y))); -PS0i = R5i.x; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R125i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R125i.x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R127i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(R124i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R126i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -backupReg0i = R6i.x; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[0].x)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 18 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -R4i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 19 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.w = R123i.w; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.z = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -// 6 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.z))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R126i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R10i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = floatBitsToInt(uf_blockPS4[2].x); -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R13i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R12i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R12i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R12i.x = floatBitsToInt(uf_blockPS8[23].x); -R12i.x = floatBitsToInt(intBitsToFloat(R12i.x) / 2.0); -PS0i = R12i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = floatBitsToInt(uf_blockPS8[23].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R3i.xy)).xyzw); -R11i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R12i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R3i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R13i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R12i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -R12i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R3i.z)); -PS0i = R12i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R11i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R11i.w) >= intBitsToFloat(R12i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R11i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R11i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R6i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R12i.x))); -PV0i.w = R10i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R12i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R12i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R12i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R11i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R11i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV0i.w)); -// 6 -R11i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R11i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R3i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R4i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -PV1i.y = R10i.y; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R11i.y; -// 4 -R12i.x = floatBitsToInt(uf_blockPS8[24].x); -R12i.x = floatBitsToInt(intBitsToFloat(R12i.x) / 2.0); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.y = floatBitsToInt(uf_blockPS8[24].y); -R4i.y = floatBitsToInt(intBitsToFloat(R4i.y) / 2.0); -PS0i = R4i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R3i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R12i.x))); -PV0i.w = R4i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -R4i.x = floatBitsToInt(-(intBitsToFloat(R11i.y)) + intBitsToFloat(R2i.z)); -PS0i = R4i.x; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R10i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R4i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R4i.y))); -PV0i.y = R3i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R12i.x))); -PV0i.w = R4i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R12i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R4i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R4i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R11i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R11i.x; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R8i.w = floatBitsToInt(uf_blockPS4[2].x); -R8i.w = floatBitsToInt(intBitsToFloat(R8i.w) * 4.0); -PS0i = R8i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R12i.x; -// 4 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R11i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R10i.x = floatBitsToInt(uf_blockPS8[24].x); -R10i.x = floatBitsToInt(intBitsToFloat(R10i.x) / 2.0); -PS0i = R10i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R10i.y = floatBitsToInt(uf_blockPS8[24].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS1i = R10i.y; -} -if( activeMaskStackC[2] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R3i.x)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R3i.y)); -} -if( activeMaskStackC[3] == true ) { -R6i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R12i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R11i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R11i.x)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R11i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(R11i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R11i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R8i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R10i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R11i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R11i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R11i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R11i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R11i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R11i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(R8i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R11i.x))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R8i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R8i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS3[21].x)); -// 1 -R1i.x = floatBitsToInt(intBitsToFloat(R11i.x) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R11i.x)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R125i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R0i.x))); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -PS0i = R3i.x; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].z)); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R125i.z)); -// 5 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R8i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R3i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -backupReg0i = R7i.w; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -R7i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -// 8 -R6i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R5i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R2i.x)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R1i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R3i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PS1i))); -PS0i = R8i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R125i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(R125i.z))); -PV1i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R6i.y))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -// 8 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R6i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS10[2].x)); -PV0i.x = R7i.x; -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R7i.y; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), uf_blockPS10[2].z)); -PV0i.z = R7i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R7i.w; -// 2 -R1i.xyz = ivec3(R8i.x,R8i.z,R8i.z); -R1i.w = R8i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/ed51eb916a78aefe_00000f0f0f249249_ps.txt b/Source/TokyoMirage/ed51eb916a78aefe_00000f0f0f249249_ps.txt deleted file mode 100644 index 20e21d0d..00000000 --- a/Source/TokyoMirage/ed51eb916a78aefe_00000f0f0f249249_ps.txt +++ /dev/null @@ -1,1461 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader ed51eb916a78aefe -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x340dc000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x10067000 res 1x1x1 dim 1 tm: 2 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x34084000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x3402c000 res 512x512x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R127i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R9i.x = R127i.y; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R127i.z = R2i.x; -R1i.w = R1i.y; -R127i.y = int(uint(intBitsToFloat(PV1i.z))); -PS0i = R127i.y; -// 3 -R7i.x = R127i.w; -R7i.y = R1i.z; -R126i.z = R2i.y; -R127i.w = R2i.z; -R3i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R3i.w; -// 4 -R4i.x = 0; -R4i.y = 0; -R6i.z = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R6i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = 0; -PS0i = R4i.z; -// 5 -R0i.x = 0; -R126i.x = int(uint(R127i.y) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.x = R126i.x + PS0i; -PS1i = floatBitsToInt(sqrt(intBitsToFloat(R126i.y))); -// 8 -R1i.x = PV1i.x << 0x00000002; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R126i.z))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.w))); -R7i.w = PV1i.x << 0x00000005; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(R127i.z))); -PS0i = R5i.x; -} -if( activeMaskStackC[1] == true ) { -R10i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.x),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R1i.w)) + intBitsToFloat(R1i.y))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R9i.x)) + intBitsToFloat(PS0i))); -PS1i = R126i.y; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -R0i.y = R7i.w + 0x00000e10; -PV0i.z = R10i.x << R3i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.z) >> uint(R6i.z)); -// 4 -R2i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.y = (R2i.w > R0i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -R5i.x = 0; -PV0i.w = R0i.y + R0i.x; -R0i.x = backupReg0i + int(1); -PS0i = R0i.x; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R1i.z << R3i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.y = PS1i + 0x00000003; -R1i.w = PS1i + 0x00000004; -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),intBitsToFloat(R9i.z)),vec4(-(intBitsToFloat(R1i.x)),-(intBitsToFloat(R1i.y)),-(intBitsToFloat(R1i.z)),-(intBitsToFloat(R5i.x))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R10i.y << R3i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -R2i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R2i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R0i.x = (R2i.w > R7i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -backupReg0i = R0i.x; -predResult = (backupReg0i != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R7i.z; -backupReg0i = R7i.z; -R7i.z = backupReg0i + int(1); -PV0i.w = R0i.y + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.x << R3i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R6i.z)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.y = PS0i + int(1); -R1i.w = PS0i + 0x00000005; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.w].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.y; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R10i.z << R3i.w; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R6i.z)); -// 2 -R0i.x = PV1i.y & 0x0000ffff; -// 3 -backupReg0i = R0i.x; -predResult = (backupReg0i > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R2i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R0i.x > R2i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -PV0i.z = R0i.y + R2i.w; -R2i.w = backupReg0i + int(1); -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R1i.y << R3i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R6i.z)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.z = R6i.w + PV0i.w; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000003; -R1i.y = PS0i + 0x00000005; -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.y].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R125i.z))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -PV0i.x = clampFI32(PV0i.x); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x))); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 10 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R8i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R6i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.x; -// 1 -PV1i.x = ((intBitsToFloat(R8i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -R127i.z = ((intBitsToFloat(R8i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(R8i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -PS1i = R126i.x; -// 2 -R125i.x = ((PV1i.x == 0)?(0):(0x3f800000)); -PV0i.x = R125i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(PV1i.y)); -R126i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -PV0i.z = R126i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -R7i.z = ((PV1i.w == 0)?(0):(0x3f800000)); -PS0i = R7i.z; -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -R125i.y = ((R127i.z == 0)?(0):(0x3f800000)); -PV1i.y = R125i.y; -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + 1.0)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R127i.z; -// 4 -backupReg0i = R127i.x; -backupReg1i = R126i.z; -R127i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R7i.z) + 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.y) + 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg1i), intBitsToFloat(PV1i.x))); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.x)); -PS0i = R125i.z; -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.y)); -PV1i.x = R126i.x; -R124i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(R127i.z)) + 1.0)); -R127i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R8i.z)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(backupReg0i))); -PV1i.w = R124i.w; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R8i.x))); -PS1i = R124i.z; -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R8i.y))); -PV0i.y = R127i.y; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R8i.z))); -PV0i.z = R5i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R1i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R1i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PS0i = R126i.z; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R124i.z))); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R1i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(R124i.y)) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 8 -backupReg0i = R126i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.x))); -R126i.y = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R6i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R6i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -PS0i = R125i.w; -// 9 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.y))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R8i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R8i.y))); -// 10 -backupReg0i = R126i.x; -backupReg1i = R127i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R8i.z))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R5i.z))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(R127i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), uf_blockPS3[8].x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), uf_blockPS3[8].y)); -PS1i = R127i.z; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R124i.z)) + intBitsToFloat(R126i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), uf_blockPS3[8].z)); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.z))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS3[8].w)); -// 13 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), uf_blockPS10[5].x)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[5].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), uf_blockPS10[5].x)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), uf_blockPS10[5].x)); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -PS1i = R7i.z; -// 14 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[2].z)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS10[2].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), uf_blockPS10[2].x)); -// 15 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[0].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), uf_blockPS10[0].x)); -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.w))); -PS1i = R8i.x; -// 16 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R127i.z))); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R127i.x))); -R3i.w = 0; -R6i.y = floatBitsToInt(uf_blockPS10[1].y); -PS0i = R6i.y; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R4i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R4i.y))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R4i.x))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R6i.y))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R6i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R6i.y))); -PV1i.z = R127i.z; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), -(uf_blockPS8[12].z))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(PS1i),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3de978d5)); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PS1i = R127i.w; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 7 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV0i.y))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.x))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -// 8 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R9i.z = floatBitsToInt(uf_blockPS4[2].x); -R9i.z = floatBitsToInt(intBitsToFloat(R9i.z) * 4.0); -R5i.w = 0x3f800000; -PV0i.w = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS8[2].w)); -R9i.x = floatBitsToInt(uf_blockPS8[23].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS0i = R9i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R9i.y = floatBitsToInt(uf_blockPS8[23].y); -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS1i = R9i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R4i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R4i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R4i.x)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(R4i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R4i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R6i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R9i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R7i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R5i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R5i.x; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.x)); -// 6 -R7i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R5i.x) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R5i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 3 -R6i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -PV1i.y = R7i.y; -R6i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R9i.x = floatBitsToInt(uf_blockPS8[24].x); -R9i.x = floatBitsToInt(intBitsToFloat(R9i.x) / 2.0); -PS1i = R9i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), uf_blockPS8[6].w)); -R6i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R6i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R6i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R6i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R6i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R6i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R6i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R6i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R6i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R7i.x; -backupReg1i = R7i.y; -R7i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(backupReg0i))); -R7i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt(-(intBitsToFloat(R6i.w)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(R6i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R10i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R9i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R9i.x)) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[4] == true ) { -R6i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R6i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R6i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R10i.z))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R10i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PS1i))); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R7i.z)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R7i.z; -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R5i.w = floatBitsToInt(uf_blockPS4[2].x); -R5i.w = floatBitsToInt(intBitsToFloat(R5i.w) * 4.0); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R5i.x = floatBitsToInt(uf_blockPS8[24].x); -R5i.x = floatBitsToInt(intBitsToFloat(R5i.x) / 2.0); -PS0i = R5i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS1i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R6i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R4i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R4i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R9i.y))); -R4i.z = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R7i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(R7i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R6i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R6i.w) >= intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R6i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R6i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R5i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R5i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R5i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R7i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R7i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R7i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R4i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R7i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R4i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.w)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.z = 0; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.z))) + uf_blockPS10[1].z)); -PV0i.w = R123i.w; -// 1 -R0i.z = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(PV0i.w)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.y = R123i.y; -// 1 -backupReg0i = R0i.z; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV0i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS3[20].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockPS3[20].x)); -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS3[20].z)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PS1i = R2i.y; -// 4 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.y))); -// 5 -R6i.xyz = ivec3(R8i.x,R0i.y,R8i.z); -R6i.w = R3i.w; -// 6 -R4i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R4i.w = R2i.w; -// 7 -R5i.xyz = ivec3(R3i.x,R3i.z,R3i.z); -R5i.w = R3i.z; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Source/TokyoMirage/ee74120dadf200d1_000003c3c9249249_ps.txt b/Source/TokyoMirage/ee74120dadf200d1_000003c3c9249249_ps.txt deleted file mode 100644 index e4ed552d..00000000 --- a/Source/TokyoMirage/ee74120dadf200d1_000003c3c9249249_ps.txt +++ /dev/null @@ -1,1774 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading//shadows -// shader ee74120dadf200d1 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x35866000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x359be000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x357ee000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x35696000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x35912000 res 1024x1024x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0x2aa61000 res 1024x1024x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R10i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS1[0].y, uf_blockPS3[11].z)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -PV0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS1[0].x, uf_blockPS3[11].z)); -PS0i = floatBitsToInt(1.0 / uf_blockPS1[0].x); -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x394ccccd)); -PV1i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x394ccccd)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS0i)) + -(uf_blockPS3[11].x))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / uf_blockPS1[0].y); -// 2 -backupReg0i = R127i.y; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(backupReg0i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.x), intBitsToFloat(R10i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(PS1i)) + -(uf_blockPS3[11].y))); -PV0i.w = R123i.w; -PS0i = int(uint(intBitsToFloat(PV1i.y))); -// 3 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R10i.y)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R127i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R127i.x; -// 4 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R5i.w))); -R7i.z = R1i.x; -R5i.w = R2i.x; -PS0i = int(uint(intBitsToFloat(R127i.y))); -// 5 -R8i.x = R126i.x; -R8i.y = R1i.y; -R5i.z = R127i.x + PS0i; -PV1i.z = R5i.z; -R1i.w = R2i.y; -R9i.x = R127i.z; -PS1i = R9i.x; -// 6 -R1i.x = PV1i.z << 0x00000002; -R1i.y = R1i.z; -R1i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS0i = R9i.y; -} -if( activeMaskStackC[1] == true ) { -R11i.xyzw = floatBitsToInt(texture(textureUnitPS7, intBitsToFloat(R7i.xy)).xyzw); -R12i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R1i.x = floatBitsToInt((intBitsToFloat(R11i.y) * 2.0 + -(1.0))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.y = R126i.y; -R8i.z = floatBitsToInt((intBitsToFloat(R11i.x) * 2.0 + -(1.0))); -R8i.w = floatBitsToInt((intBitsToFloat(R11i.z) * 2.0 + -(1.0))); -R4i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS0i = R4i.x; -// 1 -PV1i.x = R12i.x << PS0i; -R127i.y = R5i.z << 0x00000005; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PV1i.w = R2i.w; -R13i.x = 0; -PS1i = R13i.x; -// 2 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),1.0,0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -PS0i = int(uint(PV1i.x) >> uint(PV1i.w)); -// 3 -R11i.x = 0; -R7i.y = PS0i & 0x0000ffff; -R10i.z = R127i.y + 0x00000e10; -R3i.w = 0; -R13i.y = 0; -PS1i = R13i.y; -// 4 -R11i.y = 0; -R13i.z = 0; -R11i.z = 0; -PS0i = R11i.z; -// 5 -R127i.z = floatBitsToInt(sqrt(intBitsToFloat(R5i.x))); -PS1i = R127i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),intBitsToFloat(R5i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS0i = R127i.w; -// 7 -backupReg0i = R8i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = tempi.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS0i))); -PS1i = R0i.x; -// 8 -backupReg0i = R9i.x; -R9i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV0i.x = R9i.x; -PV0i.y = R9i.x; -PV0i.z = R9i.x; -PV0i.w = R9i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R127i.w))); -PS0i = R0i.y; -// 9 -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R127i.w))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS3[18].z) + intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS3[18].z) + intBitsToFloat(R8i.y))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),uf_blockPS3[18].z) + intBitsToFloat(R9i.x))); -PV0i.z = R127i.z; -R6i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), uf_blockPS3[18].w)); -PS0i = R6i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.y = (R7i.y > R3i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R3i.w; -PV0i.z = R10i.z + R3i.w; -R5i.w = 0; -R3i.w = backupReg0i + int(1); -PS0i = R3i.w; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.y = R1i.z << R4i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.w * 0x00000005; -// 4 -R1i.y = PS1i + 0x00000004; -R1i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R4i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), -(intBitsToFloat(R5i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.x)) + intBitsToFloat(R5i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.y)) + intBitsToFloat(R5i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R9i.z)) + intBitsToFloat(R5i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),-(intBitsToFloat(R5i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),-(intBitsToFloat(R5i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.x),-(intBitsToFloat(R5i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R11i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R12i.y << R4i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R8i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R8i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.y = (R8i.x > R3i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.w; -PV0i.w = R10i.z + R3i.w; -R3i.w = backupReg0i + int(1); -PS0i = R3i.w; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R1i.x << R4i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000004; -R1i.z = PS0i + 0x00000005; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.z].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R4i.y),intBitsToFloat(R9i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.w; -// 6 -backupReg0i = R127i.w; -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -PS0i = R126i.y; -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R127i.z))); -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R4i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R11i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R12i.z << R4i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R3i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R12i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = (R3i.w > R12i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R12i.z; -PV0i.z = R10i.z + R12i.z; -R12i.z = backupReg0i + int(1); -PS0i = R12i.z; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R4i.x; -// 1 -PV1i.y = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.y & 0x0000ffff; -// 3 -PV1i.z = R6i.w + PV0i.x; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + int(1); -R1i.z = PS0i + 0x00000004; -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R125i.z))); -R125i.w = clampFI32(R125i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R4i.y),intBitsToFloat(R9i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R9i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R4i.y),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -// 10 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R8i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R10i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R126i.y = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.z = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.z; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R4i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.x)); -// 3 -PV1i.x = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.x)); -R124i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R125i.y; -// 4 -backupReg0i = R127i.z; -PV0i.x = floatBitsToInt(min(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R1i.w = ((R126i.y == 0)?(0):(0x3f800000)); -R6i.x = ((backupReg0i == 0)?(0):(0x3f800000)); -PS0i = R6i.x; -// 5 -R127i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + 1.0); -R0i.y = floatBitsToInt(-(intBitsToFloat(R126i.w)) + 1.0); -R125i.z = floatBitsToInt(-(intBitsToFloat(R124i.y)) + 1.0); -R2i.w = ((R127i.w == 0)?(0):(0x3f800000)); -PV1i.w = R2i.w; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.y))); -PS1i = R5i.w; -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.y; -backupReg0i = R127i.z; -R126i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R6i.x) + 1.0)); -R127i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.w) + 1.0)); -R127i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.w) + 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 7 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R5i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(PS0i)) + 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R124i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R5i.w)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -// 8 -backupReg0i = R125i.z; -R125i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R124i.y = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PS1i))); -R125i.z = clampFI32(R125i.z); -R125i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -backupReg0i = R126i.z; -backupReg1i = R127i.w; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R7i.x))); -PV1i.x = R124i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R7i.y))); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R7i.z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -R127i.w = clampFI32(R127i.w); -R124i.w = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -PS1i = R124i.w; -// 10 -R126i.x = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R1i.y)); -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -R127i.y = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R1i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R1i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.x))); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.y))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PS0i = R127i.x; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R125i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R123i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.z) + intBitsToFloat(0x40400000))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.w))); -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.w) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R126i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PS1i))); -PS0i = R126i.x; -// 13 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R8i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R124i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R8i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R125i.y))); -R125i.w = floatBitsToInt(intBitsToFloat(R125i.w) * 2.0); -PS1i = R125i.w; -// 14 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R126i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.z))); -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.y))); -PS0i = R1i.x; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(R125i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R125i.x)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R127i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(R124i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R126i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 17 -backupReg0i = R5i.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[0].x)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.x)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[0].x)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 18 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), uf_blockPS10[0].x)); -R3i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -// 19 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(PS0i))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -PV0i.w = R123i.w; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -// 2 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.x))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.w))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -PV0i.z = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 4 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(0x2edbe6ff))); -// 5 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 6 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -// 7 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.y))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.z))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R126i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -// 4 -R4i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R6i.z = floatBitsToInt(uf_blockPS4[2].x); -R6i.z = floatBitsToInt(intBitsToFloat(R6i.z) * 4.0); -R6i.w = 0x3f800000; -PV0i.w = R6i.w; -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -PS0i = R5i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[2].w)); -R8i.x = floatBitsToInt(uf_blockPS8[23].x); -R8i.x = floatBitsToInt(intBitsToFloat(R8i.x) / 2.0); -PS0i = R8i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[23].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R8i.y = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(R5i.z)); -PS0i = R8i.y; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R7i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.w) >= intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R8i.y))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.z = ((PV1i.x == 0)?(0):(PV1i.w)); -PS0i = R1i.z; -// 5 -R2i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R8i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R8i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R7i.x) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R7i.y) >= intBitsToFloat(R8i.y))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R7i.z) >= intBitsToFloat(R8i.y))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R7i.z = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R7i.z; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -// 6 -R7i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R7i.z) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R2i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R6i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R12i.x; -// 3 -R8i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R2i.z))); -PV1i.y = R7i.y; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R12i.y; -// 4 -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -R8i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), uf_blockPS8[6].w)); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS0i = R6i.y; -} -if( activeMaskStackC[3] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R8i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R8i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.w)); -// 3 -backupReg0i = R2i.z; -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(backupReg0i))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R8i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R8i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R8i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R8i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.y)); -} -if( activeMaskStackC[4] == true ) { -R9i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R12i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.w))?1.0:0.0); -R8i.x = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(R2i.z)); -PS0i = R8i.x; -} -if( activeMaskStackC[3] == true ) { -R12i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R12i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R12i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R6i.y; -backupReg0i = R6i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R6i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R6i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R12i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R12i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R12i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R8i.x))?1.0:0.0); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R12i.z))?1.0:0.0); -PS0i = R127i.x; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R8i.x))?1.0:0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PS1i))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.y)); -// 6 -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R7i.x)))); -PV0i.y = R123i.y; -// 7 -backupReg0i = R7i.x; -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R9i.x; -// 4 -R7i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R8i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R7i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[24].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R3i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R7i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R7i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R7i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R9i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R8i.y))); -R6i.z = floatBitsToInt(-(intBitsToFloat(R8i.x)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R9i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R9i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R6i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R6i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R9i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R9i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R9i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R6i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.y))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R9i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R6i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3dcccccd)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.y)); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 4 -PV0i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.x)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.x))); -// 6 -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 8 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.y))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R10i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R7i.x))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R10i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R10i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS3[21].x)); -// 1 -R1i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R7i.x)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R0i.x))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R7i.y = 0; -PS0i = R7i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -PS1i = R127i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -R126i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -// 5 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), uf_blockPS3[10].z)); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -// 6 -R2i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.y)),intBitsToFloat(PS1i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV0i.w = R123i.w; -// 7 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R2i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS1i))); -// 9 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R0i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(R2i.x)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R2i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R1i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R2i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.z))); -PV1i.x = R123i.x; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.x))); -// 8 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R5i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS10[2].x)); -PV0i.x = R6i.x; -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[2].y)); -PV0i.y = R6i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), uf_blockPS10[2].z)); -PV0i.z = R6i.z; -// 1 -R0i.xyz = ivec3(PV0i.x,PV0i.y,PV0i.z); -R0i.w = R6i.w; -// 2 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/f4525e13d6671be9_00000000001e3849_ps.txt b/Source/TokyoMirage/f4525e13d6671be9_00000000001e3849_ps.txt deleted file mode 100644 index a4f47fdc..00000000 --- a/Source/TokyoMirage/f4525e13d6671be9_00000000001e3849_ps.txt +++ /dev/null @@ -1,852 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader f4525e13d6671be9 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1b28e000 res 256x256x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1a5c4000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R8i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R10i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R7i.x = floatBitsToInt(tempResultf); -PS0i = R7i.x; -// 7 -R6i.x = PV0i.w << 0x00000002; -R6i.y = PV0i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = R6i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.x))); -PV0i.z = R8i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R7i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.x + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R6i.z << R3i.z; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R7i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.z)),-(intBitsToFloat(R7i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.y << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R9i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.x; -backupReg0i = R9i.x; -R9i.x = backupReg0i + int(1); -PV0i.y = R3i.x + backupReg0i; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R6i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.y = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -R11i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R11i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R11i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -backupReg0i = R3i.y; -R3i.y = backupReg0i + int(1); -PV0i.z = R3i.x + backupReg0i; -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.y << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R8i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.y].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.x = floatBitsToInt(-(uf_blockPS2[1].y) + 1.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(-(uf_blockPS2[1].z) + 1.0); -R127i.w = floatBitsToInt(-(uf_blockPS2[1].x) + 1.0); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.y = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R0i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R3i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R0i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/f4525e13d6671be9_0000000000f0f249_ps.txt b/Source/TokyoMirage/f4525e13d6671be9_0000000000f0f249_ps.txt deleted file mode 100644 index 20c8281f..00000000 --- a/Source/TokyoMirage/f4525e13d6671be9_0000000000f0f249_ps.txt +++ /dev/null @@ -1,850 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader f4525e13d6671be9 -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1b658000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x1a4c4000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R8i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R10i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R7i.x = floatBitsToInt(tempResultf); -PS0i = R7i.x; -// 7 -R6i.x = PV0i.w << 0x00000002; -R6i.y = PV0i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = R6i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.x))); -PV0i.z = R8i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R7i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.x + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R6i.z << R3i.z; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R7i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.z)),-(intBitsToFloat(R7i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R8i.y << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R9i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.x; -backupReg0i = R9i.x; -R9i.x = backupReg0i + int(1); -PV0i.y = R3i.x + backupReg0i; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R6i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.y = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -R11i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R11i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R11i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -backupReg0i = R3i.y; -R3i.y = backupReg0i + int(1); -PV0i.z = R3i.x + backupReg0i; -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.y << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R8i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.y].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -backupReg2i = R10i.z; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R10i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R10i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R10i.x))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.x = floatBitsToInt(-(uf_blockPS2[1].y) + 1.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(-(uf_blockPS2[1].z) + 1.0); -R127i.w = floatBitsToInt(-(uf_blockPS2[1].x) + 1.0); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.y = tempi.x; -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R0i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R3i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.z; -R1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R1i.z))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -R0i.y = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/f5714975b9b463ed_000001e1e1e49249_ps.txt b/Source/TokyoMirage/f5714975b9b463ed_000001e1e1e49249_ps.txt deleted file mode 100644 index f8d5cf5b..00000000 --- a/Source/TokyoMirage/f5714975b9b463ed_000001e1e1e49249_ps.txt +++ /dev/null @@ -1,1545 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader f5714975b9b463ed -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x35adc000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x35fec000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x35d8c000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -R5i.z = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R9i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R9i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R3i.x = 0; -PS0i = R3i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.y),intBitsToFloat(R5i.z),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R3i.y = 0; -PS1i = R3i.y; -// 4 -R3i.z = 0; -R1i.w = 0; -PS0i = int(uint(intBitsToFloat(R127i.z))); -// 5 -R126i.x = int(uint(PS0i) * uint(0x00000050)); -PS1i = R126i.x; -// 6 -PS0i = int(uint(intBitsToFloat(R127i.x))); -// 7 -PV1i.w = R126i.x + PS0i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.y)); -R5i.w = floatBitsToInt(tempResultf); -PS1i = R5i.w; -// 8 -R5i.x = PV1i.w << 0x00000002; -R5i.y = PV1i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R8i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R5i.w))); -PV0i.z = R8i.x << R9i.x; -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.w))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -R9i.z = R5i.y + 0x00000e10; -tempResultf = 1.0 / sqrt(intBitsToFloat(R6i.w)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R7i.y = PV1i.x & 0x0000ffff; -PS0i = R7i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R5i.y = (R7i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R9i.z + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = R5i.z << R9i.x; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -// 4 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.y << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R11i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R11i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R11i.z > R8i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.y; -PV0i.y = R9i.z + R8i.y; -R8i.y = backupReg0i + int(1); -PS0i = R8i.y; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R5i.x << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.w) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) + -(intBitsToFloat(R5i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.z)),intBitsToFloat(backupReg0i)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -// 7 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -// 9 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R8i.z << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -R1i.w = PV1i.x & 0x0000ffff; -// 3 -predResult = (R1i.w > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R11i.z = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R5i.x = (R1i.w > R11i.z)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R5i.x != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R11i.z; -backupReg0i = R11i.z; -R11i.z = backupReg0i + int(1); -PV0i.w = R9i.z + backupReg0i; -// 1 -R5i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R9i.x; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.x & 0x0000ffff; -// 3 -PV1i.w = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R5i.x = PS0i + int(1); -R5i.y = PS0i + 0x00000004; -R5i.z = PS0i + 0x00000005; -R5i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.z].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.w; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(backupReg2i))); -R127i.w = clampFI32(R127i.w); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) / 2.0); -// 7 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.x))); -PV0i.w = clampFI32(PV0i.w); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.w)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.z))); -// 10 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -R5i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R4i.xy)).xyz); -R9i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.z; -// 1 -R127i.x = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.z = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.w = R127i.w; -R125i.y = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -PS1i = R125i.y; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.y = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R125i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.w)); -R124i.z = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -PS1i = R124i.z; -// 4 -R125i.x = ((R127i.x == 0)?(0):(0x3f800000)); -R4i.y = ((R126i.z == 0)?(0):(0x3f800000)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.x))); -R124i.y = ((R127i.y == 0)?(0):(0x3f800000)); -PS0i = R124i.y; -// 5 -backupReg0i = R125i.z; -PV1i.x = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R124i.z))); -R125i.z = floatBitsToInt(min(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.z))); -R5i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PV1i.w = R5i.w; -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS1i = R127i.x; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R125i.y))); -R125i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.x) + 1.0)); -R124i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R4i.y) + 1.0)); -R127i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R124i.y) + 1.0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R126i.y = clampFI32(R126i.y); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R6i.y)) + 1.0); -R124i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(backupReg0i)) + 1.0)); -PV1i.w = R124i.w; -R126i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -PS1i = R126i.w; -// 8 -backupReg0i = R125i.y; -backupReg1i = R127i.w; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R7i.x))); -PV0i.x = R126i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.y))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -PV0i.z = R125i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R7i.z))); -R127i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R127i.y; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R5i.y)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R124i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R5i.z)); -R124i.z = floatBitsToInt(intBitsToFloat(R124i.z) * 2.0); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R5i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 2.0); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R126i.y) + intBitsToFloat(0x40400000))); -PV0i.x = R123i.x; -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.y))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(PS1i))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R124i.z)) + intBitsToFloat(PV0i.z))); -R126i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R9i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.x))); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R9i.y)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R9i.z)); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -PS1i = R127i.x; -// 12 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R7i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R125i.y))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(backupReg0i))); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R7i.z))); -PS0i = R124i.z; -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R7i.y))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS3[8].x)); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS3[8].y)); -PS1i = R127i.x; -// 14 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(R125i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(R124i.z))); -PV0i.y = R123i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS3[8].z)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R125i.w)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS3[8].w)); -PS0i = R124i.z; -// 15 -backupReg0i = R126i.x; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R5i.y)) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), uf_blockPS10[5].x)); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.y))); -tempResultf = log2(intBitsToFloat(backupReg1i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 16 -backupReg0i = R125i.z; -backupReg1i = R124i.z; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), uf_blockPS10[5].x)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(PS1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), uf_blockPS10[5].x)); -PS0i = R124i.z; -// 17 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[2].y)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), uf_blockPS10[2].x)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].z)); -R124i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R124i.x; -// 18 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS10[0].x)); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), uf_blockPS10[0].x)); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), uf_blockPS10[0].x)); -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PV1i.y))); -PS0i = R7i.x; -// 19 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R127i.x))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(R124i.w))); -R11i.w = 0; -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(R124i.x))); -PS1i = R0i.y; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R3i.x))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R3i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R3i.z))); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[1].y)); -PV1i.z = R124i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.z))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R124i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R124i.w; -// 2 -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R124i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -// 4 -R9i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R124i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R7i.z = floatBitsToInt(uf_blockPS4[2].x); -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[2].w)); -R0i.x = floatBitsToInt(uf_blockPS8[23].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R9i.y = floatBitsToInt(uf_blockPS8[23].y); -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS1i = R9i.y; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R11i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R9i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R4i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R4i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R11i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R4i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R4i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R4i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -R4i.w = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R4i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R4i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R9i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R9i.y; -R4i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R4i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R10i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R4i.xy)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R4i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R4i.w))?1.0:0.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -R0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.z)); -PS0i = R0i.x; -// 3 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.x)); -// 6 -R10i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922)); -// 7 -backupReg0i = R0i.x; -predResult = (intBitsToFloat(backupReg0i) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R5i.x; -// 3 -R3i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.z))); -PV1i.y = R5i.y; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R10i.x = floatBitsToInt(uf_blockPS8[24].x); -R10i.x = floatBitsToInt(intBitsToFloat(R10i.x) / 2.0); -PS1i = R10i.x; -// 4 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R3i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R10i.y = floatBitsToInt(uf_blockPS8[24].y); -R10i.y = floatBitsToInt(intBitsToFloat(R10i.y) / 2.0); -PS0i = R10i.y; -} -if( activeMaskStackC[3] == true ) { -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R3i.xy)).xyzw); -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R3i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R8i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.w)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.z))); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R3i.x))); -R8i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R10i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R3i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R3i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R3i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(backupReg0i)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(R8i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[4] == true ) { -R8i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R8i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R8i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R8i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R5i.x; -backupReg1i = R5i.y; -backupReg2i = R2i.z; -R5i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(backupReg0i))); -R5i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(backupReg1i))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(backupReg2i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.x))?1.0:0.0); -R1i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.w))?1.0:0.0); -PS0i = R1i.y; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R5i.xy)).xyzw); -R9i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R5i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R4i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R4i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R4i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R8i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R4i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(R7i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R1i.y = ((PV1i.x == 0)?(0):(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.y != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.y = floatBitsToInt(-(intBitsToFloat(R10i.y))); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R10i.x))); -PV0i.w = R10i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R2i.y; -// 1 -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R10i.x)) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R5i.y)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R9i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R9i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R9i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R10i.z)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R6i.w = floatBitsToInt(uf_blockPS4[2].x); -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 4.0); -PS0i = R6i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R3i.x; -// 4 -R4i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R9i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS8[6].w)); -R0i.x = floatBitsToInt(uf_blockPS8[24].x); -R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) / 2.0); -PS0i = R0i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R4i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R5i.y = floatBitsToInt(uf_blockPS8[24].y); -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) / 2.0); -PS1i = R5i.y; -} -if( activeMaskStackC[2] == true ) { -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R4i.xy)).xyzw); -R8i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(R10i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV1i.w)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R1i.z))); -PS0i = R2i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R4i.x))); -R10i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R5i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R4i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R4i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R4i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R4i.y))); -R4i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(backupReg0i)); -PS1i = R4i.x; -// 2 -backupReg0i = R4i.y; -R4i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R10i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R10i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R10i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R10i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R4i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.z; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R3i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R9i.y))); -R2i.z = floatBitsToInt(-(intBitsToFloat(R3i.y)) + intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.x))?1.0:0.0); -R2i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.w))?1.0:0.0); -PS0i = R2i.w; -} -if( activeMaskStackC[2] == true ) { -R4i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R3i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.w)); -PV0i.y = floatBitsToInt((intBitsToFloat(R8i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R8i.w) >= intBitsToFloat(R2i.z))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R8i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R10i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R8i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -R127i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PS0i = R127i.x; -// 3 -PV1i.x = ((intBitsToFloat(R6i.w) != intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = ((intBitsToFloat(PV0i.x) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -R1i.w = ((PV1i.x == 0)?(0):(PV1i.w)); -// 5 -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R4i.y = floatBitsToInt(-(intBitsToFloat(R5i.y))); -PV0i.y = R4i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R0i.x))); -PV0i.w = R5i.y; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R0i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R4i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R4i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R4i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R3i.x) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R3i.y) >= intBitsToFloat(R2i.z))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.y))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R4i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -PV1i.w = floatBitsToInt((intBitsToFloat(R3i.z) >= intBitsToFloat(R2i.z))?1.0:0.0); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.w)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.y)); -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.z; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.z)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.w; -PV0i.x = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R10i.z))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(R0i.y))); -PV0i.w = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -PS0i = R2i.x; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -R0i.y = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.w) + -(intBitsToFloat(PV0i.x))); -R6i.w = 0; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R127i.y; -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS3[10].x)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + 1.0)); -R123i.x = clampFI32(R123i.x); -PV1i.x = R123i.x; -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.z))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.w))); -R2i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -PS1i = R2i.y; -// 4 -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.z = floatBitsToInt(tempResultf); -PS0i = R127i.z; -// 5 -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -// 6 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -// 7 -R4i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R3i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R0i.w))); -PV1i.x = R127i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R0i.z))); -PV1i.w = R127i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg0i)); -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.y)); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.w))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.x)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.z))); -PV0i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.y))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R4i.x))); -// 7 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R4i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(R1i.w))); -R5i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(R0i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(R4i.y))); -// 1 -R2i.xyz = ivec3(R7i.x,R6i.y,R6i.z); -R2i.w = R11i.w; -// 2 -R0i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -R0i.w = R5i.w; -// 3 -R1i.xyz = ivec3(R6i.x,R6i.w,R6i.w); -R1i.w = R6i.w; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/f579e3ba9295354e_000000000003c709_ps.txt b/Source/TokyoMirage/f579e3ba9295354e_000000000003c709_ps.txt deleted file mode 100644 index 1bc41d3e..00000000 --- a/Source/TokyoMirage/f579e3ba9295354e_000000000003c709_ps.txt +++ /dev/null @@ -1,818 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader f579e3ba9295354e -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -uniform float uf_alphaTestRef; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1bc3e000 res 128x128x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R7i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R9i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R6i.x = floatBitsToInt(tempResultf); -PS0i = R6i.x; -// 7 -R5i.x = PV0i.w << 0x00000002; -R5i.y = PV0i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = R5i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.x))); -PV0i.z = R7i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.x + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R5i.z << R3i.z; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.y = R3i.x + backupReg0i; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -backupReg0i = R3i.y; -R3i.y = backupReg0i + int(1); -PV0i.z = R3i.x + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R7i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R9i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R9i.z))); -// 2 -R0i.y = ((PV1i.x == 0)?(0):(0)); -R3i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R3i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -if( ((vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))).a > uf_alphaTestRef) == false) discard; -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/f579e3ba9295354e_00000000001e1e49_ps.txt b/Source/TokyoMirage/f579e3ba9295354e_00000000001e1e49_ps.txt deleted file mode 100644 index 8f6d0d2f..00000000 --- a/Source/TokyoMirage/f579e3ba9295354e_00000000001e1e49_ps.txt +++ /dev/null @@ -1,816 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader f579e3ba9295354e -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c371000 res 256x256x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R3i.z = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R4i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -PS0i = R4i.w; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.z = floatBitsToInt(floor(intBitsToFloat(PV0i.w))); -R7i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 2 -R9i.xyz = ivec3(0,0,0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + intBitsToFloat(PS1i))); -R1i.w = 0; -PS0i = R1i.w; -// 3 -PS1i = int(uint(intBitsToFloat(R127i.z))); -// 4 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 6 -PV0i.w = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R6i.x = floatBitsToInt(tempResultf); -PS0i = R6i.x; -// 7 -R5i.x = PV0i.w << 0x00000002; -R5i.y = PV0i.w << 0x00000005; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R3i.x = R5i.y + 0x00000e10; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.x))); -PV0i.z = R7i.x << R3i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.x))); -PS0i = R4i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R2i.w = (R3i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R2i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.x + R1i.w; -R6i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R5i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.w = R5i.z << R3i.z; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R4i.w)); -// 2 -PV0i.y = PV1i.z & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R5i.x = PS1i + 0x00000004; -R5i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),intBitsToFloat(R4i.z)),vec4(-(intBitsToFloat(R6i.x)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.z)),-(intBitsToFloat(R6i.w))))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -// 2 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 3 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R7i.y << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -R3i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R3i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R3i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.y = R3i.x + backupReg0i; -// 1 -R5i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.z = R5i.x << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R4i.w)); -// 2 -PV0i.w = PV1i.x & 0x0000ffff; -// 3 -PV1i.y = floatBitsToInt(uf_blockPS11[0].x) + PV0i.w; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000005; -R5i.y = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R5i.x].xy); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.z; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.w)),intBitsToFloat(R126i.z)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.w))); -// 7 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R7i.z << R3i.z; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R3i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.y; -backupReg0i = R3i.y; -R3i.y = backupReg0i + int(1); -PV0i.z = R3i.x + backupReg0i; -// 1 -R5i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R5i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R5i.y << R3i.z; -// 1 -PV1i.w = int(uint(PV0i.y) >> uint(R4i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.x = R7i.w + PV0i.z; -// 4 -PS0i = PV1i.x * 0x00000005; -// 5 -R5i.x = PS0i + 0x00000003; -R5i.y = PS0i + 0x00000005; -R5i.z = PS0i + 0x00000004; -R5i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R6i.xyz = floatBitsToInt(uf_blockPS11[R5i.w].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R5i.x].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R5i.y].xyzw); -R5i.xyz = floatBitsToInt(uf_blockPS11[R5i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.x))); -R127i.w = clampFI32(R127i.w); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R126i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV0i.z))); -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PV1i.x)); -// 7 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.y))); -PV1i.z = clampFI32(PV1i.z); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.y))); -// 9 -backupReg0i = R9i.x; -backupReg1i = R9i.y; -backupReg2i = R9i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z)) + intBitsToFloat(backupReg0i))); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg1i))); -R9i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -// 1 -PV1i.x = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R9i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R9i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R9i.z))); -// 2 -R0i.y = ((PV1i.x == 0)?(0):(0)); -R3i.z = ((PV1i.x == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS10[1].y)); -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS10[1].y)); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), uf_blockPS10[1].y)); -// 1 -predResult = (R3i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = backupReg0i; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -PV0i.z = R127i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -// 3 -R2i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(PV0i.x)) + intBitsToFloat(PV0i.x))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.z))); -R5i.z = PS0i; -R1i.w = PS0i; -PS1i = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 6 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.wy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R3i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R1i.z) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R4i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R3i.w; -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(R3i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R3i.y = 0; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R0i.y))) + uf_blockPS10[1].z)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -// 1 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PS0i = R3i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.w = R123i.w; -// 1 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.z = R123i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), uf_blockPS3[20].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R4i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R4i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), uf_blockPS3[20].y)); -PS0i = R127i.z; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R4i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), uf_blockPS3[20].z)); -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.x))); -PS1i = R2i.x; -// 4 -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.z))); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.y))); -PV0i.z = R2i.z; -// 5 -R0i.xyz = ivec3(R2i.x,PV0i.y,PV0i.z); -R0i.w = R2i.w; -// 6 -R1i.xyz = ivec3(R3i.x,R3i.y,R3i.y); -R1i.w = R3i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/fd9b21e74d99c2cc_0000000007879249_ps.txt b/Source/TokyoMirage/fd9b21e74d99c2cc_0000000007879249_ps.txt deleted file mode 100644 index 28f1fa3d..00000000 --- a/Source/TokyoMirage/fd9b21e74d99c2cc_0000000007879249_ps.txt +++ /dev/null @@ -1,1046 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader fd9b21e74d99c2cc -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x1c188000 res 256x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x1c19e000 res 128x256x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0x9) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 10) uniform sampler2D textureUnitPS10;// Tex10 addr 0x184a2000 res 4096x4096x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler10 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 13) uniform sampler2DShadow textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2DShadow textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 1) in vec4 passParameterSem130; -layout(location = 2) in vec4 passParameterSem128; -layout(location = 3) in vec4 passParameterSem144; -layout(location = 4) in vec4 passParameterSem136; -layout(location = 5) in vec4 passParameterSem137; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem130); -R2i = floatBitsToInt(passParameterSem128); -R3i = floatBitsToInt(passParameterSem144); -R4i = floatBitsToInt(passParameterSem136); -R5i = floatBitsToInt(passParameterSem137); -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R2i.x)) + uf_blockPS1[2].x); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(0x3d800000)); -R7i.w = floatBitsToInt(-(intBitsToFloat(R2i.y)) + uf_blockPS1[2].y); -R6i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + uf_blockPS1[2].z); -PS0i = R6i.z; -// 1 -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R1i.z))); -R2i.w = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R0i.x = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -PS1i = R0i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R13i.x = 0; -PS0i = R13i.x; -// 3 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.y),intBitsToFloat(R7i.w),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R13i.y = 0; -PS1i = R13i.y; -// 4 -R12i.x = 0; -R12i.y = 0; -R13i.z = 0; -R1i.w = 0; -R12i.z = 0; -PS0i = R12i.z; -// 5 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 6 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 8 -PV0i.z = R126i.x + PS1i; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -R6i.w = floatBitsToInt(tempResultf); -PS0i = R6i.w; -// 9 -R6i.x = PV0i.z << 0x00000002; -R6i.y = PV0i.z << 0x00000005; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -R9i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R9i.x << backupReg0i; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.w))); -R11i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R6i.w))); -R4i.w = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R3i.z = R6i.y + 0x00000e10; -PS0i = R3i.z; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R7i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PS1i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(PS1i))); -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R8i.y = PV1i.w & 0x0000ffff; -PS0i = R8i.y; -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R6i.y = (R8i.y > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.y = R3i.z + R1i.w; -R7i.w = 0; -R1i.w = backupReg0i + int(1); -PS0i = R1i.w; -// 1 -R6i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R6i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.z << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PS1i = PV0i.z * 0x00000005; -// 4 -R6i.x = PS1i + 0x00000004; -R6i.w = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), -(intBitsToFloat(R7i.w)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R10i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R11i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -// 6 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg2i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.y << R0i.x; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R9i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R9i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R9i.y > R3i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R3i.x; -backupReg0i = R3i.x; -R3i.x = backupReg0i + int(1); -PV0i.w = R3i.z + backupReg0i; -// 1 -R6i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.y = R6i.x << R0i.x; -// 1 -PV1i.z = int(uint(PV0i.y) >> uint(R2i.w)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.w = floatBitsToInt(uf_blockPS11[0].x) + PV0i.x; -// 4 -PS0i = PV1i.w * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000005; -R6i.z = PS0i + 0x00000004; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R6i.xy = floatBitsToInt(uf_blockPS11[R6i.x].xy); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.z].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(intBitsToFloat(R6i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.y)),intBitsToFloat(R126i.x)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R13i.x; -backupReg1i = R13i.z; -backupReg2i = R13i.y; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg2i))); -PS0i = R13i.y; -// 11 -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R9i.z << R0i.x; -// 1 -PV1i.y = int(uint(PV0i.z) >> uint(R2i.w)); -// 2 -R3i.x = PV1i.y & 0x0000ffff; -// 3 -predResult = (R3i.x > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = (R3i.x > R1i.w)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R6i.y != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R1i.w; -PV0i.z = R3i.z + R1i.w; -R1i.w = backupReg0i + int(1); -// 1 -R6i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R6i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = R6i.y << backupReg0i; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R2i.w)); -// 2 -PV0i.z = PV1i.w & 0x0000ffff; -// 3 -PV1i.y = R4i.w + PV0i.z; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R6i.x = PS0i + 0x00000003; -R6i.y = PS0i + 0x00000004; -R6i.z = PS0i + 0x00000005; -R6i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R6i.w].xyz); -R8i.xyz = floatBitsToInt(uf_blockPS11[R6i.x].xyz); -R9i.xyzw = floatBitsToInt(uf_blockPS11[R6i.z].xyzw); -R6i.xyz = floatBitsToInt(uf_blockPS11[R6i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R2i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R2i.z))) + vec3(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(intBitsToFloat(R9i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.w = floatBitsToInt(-(intBitsToFloat(R9i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.y))); -R126i.w = clampFI32(R126i.w); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R10i.x)) + -(intBitsToFloat(R126i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R11i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),-(intBitsToFloat(R126i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -// 9 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(PV0i.x))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R127i.x))); -PV1i.w = clampFI32(PV1i.w); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -// 11 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.y))); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R6i.z))); -PV1i.w = R126i.w; -R125i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R125i.x; -// 12 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -backupReg2i = R13i.z; -backupReg3i = R12i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x)) + intBitsToFloat(backupReg1i))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg3i))); -PS0i = R12i.x; -// 13 -backupReg0i = R12i.y; -backupReg1i = R12i.z; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R6i.xyzw = floatBitsToInt(texture(textureUnitPS10, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -R7i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R13i.y))); -R7i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R13i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R13i.x))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.x)) + intBitsToFloat(R5i.w))); -tempResultf = log2(intBitsToFloat(R6i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 1 -R127i.xyz = floatBitsToInt(vec3(-(uf_blockPS2[1].x),-(uf_blockPS2[1].y),-(uf_blockPS2[1].z)) + vec3(1.0,1.0,1.0)); -PV1i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS2[1].w, intBitsToFloat(PS0i))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R6i.y)) + intBitsToFloat(R5i.w))); -PS1i = R8i.z; -// 2 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R1i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R3i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R3i.z; -// 3 -backupReg0i = R5i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PS0i)) + uf_blockPS2[1].z)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PS0i)) + uf_blockPS2[1].x)); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z)) + intBitsToFloat(R5i.w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PS0i)) + uf_blockPS2[1].y)); -PS1i = ((0.0 >= intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 4 -R6i.z = ((PS1i == 0)?(0):(0)); -R2i.w = ((PS1i == 0)?(0):(0x3f800000)); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS10[1].y)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS10[1].y)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS10[1].y)); -// 1 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R5i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.x))); -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),uf_blockPS10[0].w) + intBitsToFloat(PV1i.z))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.y))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),uf_blockPS10[0].w) + intBitsToFloat(PV1i.w))); -// 3 -predResult = (R2i.w == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = R1i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 4.0); -PV0i.x = clampFI32(PV0i.x); -R127i.w = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.w = R127i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.x) + intBitsToFloat(0x40400000))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.z))); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.y)) + intBitsToFloat(PV0i.y))); -// 4 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R3i.w))); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[2].x,uf_blockPS8[2].y,uf_blockPS8[2].z,uf_blockPS8[2].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)); -PS0i = clampFI32(PS0i); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -R1i.w = PS0i; -R5i.w = PS0i; -PS1i = R5i.w; -// 6 -backupReg0i = R3i.w; -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -R5i.z = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R3i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.y)); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -} -if( activeMaskStackC[3] == true ) { -R1i.w = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R5i.z = floatBitsToInt(texture(textureUnitPS13, vec3(intBitsToFloat(R5i.zy), intBitsToFloat(R5i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R4i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R5i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -// 1 -predResult = (intBitsToFloat(R3i.w) > 0.0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R127i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PS1i))); -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -PS0i = R1i.x; -// 5 -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R127i.z)); -PV1i.z = clampFI32(PV1i.z); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -PS1i = R1i.y; -// 6 -R2i.w = PV1i.z; -R1i.w = PV1i.z; -PS0i = R1i.w; -} -if( activeMaskStackC[4] == true ) { -R2i.y = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -PS0i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS0i))); -// 2 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[6].x,uf_blockPS8[6].y,uf_blockPS8[6].z,uf_blockPS8[6].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R1i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(PS1i)); -R126i.y = clampFI32(R126i.y); -PS0i = R126i.y; -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(R127i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -R2i.w = PS0i; -PS1i = R2i.w; -// 6 -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(PV1i.x))); -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -R1i.w = R126i.y; -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PV1i.x))); -PS0i = R1i.x; -// 7 -R3i.x = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R127i.z))); -R5i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.z)); -PS1i = R5i.w; -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R2i.z = floatBitsToInt(texture(textureUnitPS14, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R3i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R2i.w) + intBitsToFloat(R2i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PV0i.y = R126i.y; -// 1 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R5i.w))); -// 2 -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R6i.z = floatBitsToInt(min(intBitsToFloat(R1i.z), intBitsToFloat(R4i.w))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R4i.xy)).xyz); -R4i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R3i.y),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.z = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R123i.w = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R6i.z))) + uf_blockPS10[1].z)); -PV1i.w = R123i.w; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(R1i.x))); -PS1i = R126i.w; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R6i.z)) + uf_blockPS3[19].w)); -PV0i.y = R123i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(PV1i.w)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R1i.y))); -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R127i.x; -// 3 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R0i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R1i.z))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(R127i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS3[21].x)); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), uf_blockPS10[5].x)); -PS1i = R5i.w; -// 4 -R6i.y = 0; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.x))); -PV0i.w = clampFI32(PV0i.w); -// 5 -R123i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV0i.w) + intBitsToFloat(0x40400000))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.y))); -// 7 -R3i.xyz = ivec3(floatBitsToInt(uf_blockPS10[2].x),floatBitsToInt(uf_blockPS10[2].y),floatBitsToInt(uf_blockPS10[2].z)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(PS1i))); -// 9 -R1i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(PS1i))); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.x))); -// 12 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.x))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -// 1 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.w = R123i.w; -// 2 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R0i.y))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV1i.w))); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R4i.z)) + intBitsToFloat(R0i.w))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R1i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R1i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -// 4 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R3i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R3i.y))); -PS0i = R5i.y; -// 5 -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R3i.z))); -PV1i.z = R5i.z; -// 6 -R0i.xyz = ivec3(R5i.x,R5i.y,PV1i.z); -R0i.w = R5i.w; -// 7 -R1i.xyz = ivec3(R6i.z,R6i.y,R6i.y); -R1i.w = R6i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Source/TokyoMirage/fdb5a87dd0368c6b_000000000000f249_ps.txt b/Source/TokyoMirage/fdb5a87dd0368c6b_000000000000f249_ps.txt deleted file mode 100644 index d46f0ef2..00000000 --- a/Source/TokyoMirage/fdb5a87dd0368c6b_000000000000f249_ps.txt +++ /dev/null @@ -1,477 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //shadows -// shader fdb5a87dd0368c6b -uniform ivec4 uf_remappedPS[23]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4386000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2DShadow textureUnitPS1;// Tex1 addr 0xf551a000 res 1024x1024x1 dim 1 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 2) uniform sampler2DShadow textureUnitPS2;// Tex2 addr 0xf571a000 res 1024x1024x1 dim 1 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 3) uniform sampler2DShadow textureUnitPS3;// Tex3 addr 0xf591a000 res 512x512x1 dim 1 tm: 4 format 0005 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 6 6 6 border: 2 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem0); -R1i = floatBitsToInt(passParameterSem1); -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[0].x),intBitsToFloat(uf_remappedPS[0].y),intBitsToFloat(uf_remappedPS[0].z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.w = tempi.x; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(PS0i)); -R6i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].y) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].x) * 1.0); -R4i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].x) * 1.0); -PS1i = R4i.x; -// 2 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PV1i.x))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(PV1i.x))); -R5i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[1].z) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[2].z) * 1.0); -// 3 -backupReg0i = R127i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].x)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].z)) + intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[3].y)) + intBitsToFloat(backupReg0i))); -PV1i.w = R123i.w; -// 4 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(PV1i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(R4i.x))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(R6i.y))); -// 5 -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].z)) + intBitsToFloat(R5i.z))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[4].z)) + intBitsToFloat(R127i.z))); -// 6 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(R126i.z))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[7].y)) + intBitsToFloat(backupReg0i))); -PV0i.y = R127i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[7].x)) + intBitsToFloat(backupReg1i))); -PV0i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(backupReg2i))); -// 7 -backupReg0i = R126i.y; -backupReg1i = R126i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + -(0.5)); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + -(0.5)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(backupReg0i))); -PV1i.z = R123i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[7].z)) + intBitsToFloat(backupReg1i))); -// 8 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(R127i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].y)) + intBitsToFloat(R127i.w))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].z)) + intBitsToFloat(PV1i.z))); -R2i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PS0i = R2i.x; -// 9 -R127i.x = ((0.5 > intBitsToFloat(PS0i))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(uf_remappedPS[9].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(uf_remappedPS[10].z)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R126i.y), -(intBitsToFloat(R126i.y)))); -PS1i = R0i.y; -// 10 -R126i.x = ((0.5 > intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(uf_remappedPS[11].z)); -PV0i.z = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(uf_remappedPS[12].z)); -R0i.w = PV1i.y; -R0i.w = clampFI32(R0i.w); -R1i.w = PV1i.z; -R1i.w = clampFI32(R1i.w); -PS0i = R1i.w; -// 11 -R0i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[9].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[13].z)); -R0i.z = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(uf_remappedPS[9].y)); -R2i.w = PV0i.z; -R2i.w = clampFI32(R2i.w); -R3i.w = PV0i.y; -R3i.w = clampFI32(R3i.w); -PS1i = R3i.w; -// 12 -R1i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[10].x)); -R1i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(uf_remappedPS[10].y)); -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[12].x)); -R4i.w = PV1i.y; -R4i.w = clampFI32(R4i.w); -R2i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(uf_remappedPS[12].y)); -PS0i = R2i.y; -// 13 -R3i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[11].x)); -R3i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(uf_remappedPS[11].y)); -R4i.z = floatBitsToInt(intBitsToFloat(R6i.x) + intBitsToFloat(uf_remappedPS[13].x)); -R6i.w = ((R127i.x == 0)?(0):(R126i.x)); -R4i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(uf_remappedPS[13].y)); -PS1i = R4i.y; -} -if( activeMaskStackC[1] == true ) { -R8i.x = floatBitsToInt(texture(textureUnitPS1, vec3(intBitsToFloat(R0i.xz), intBitsToFloat(R0i.w)))); -R0i.x = floatBitsToInt(texture(textureUnitPS1, vec3(intBitsToFloat(R1i.xy), intBitsToFloat(R1i.w)))); -R9i.x = floatBitsToInt(texture(textureUnitPS1, vec3(intBitsToFloat(R2i.zy), intBitsToFloat(R2i.w)))); -R10i.x = floatBitsToInt(texture(textureUnitPS1, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R4i.zy), intBitsToFloat(R4i.w)))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R7i.x = floatBitsToInt(intBitsToFloat(uf_remappedPS[14].x) * 1.0); -PV0i.x = R7i.x; -R1i.y = floatBitsToInt(intBitsToFloat(uf_remappedPS[14].y) * 1.0); -PV0i.y = R1i.y; -R2i.z = floatBitsToInt(intBitsToFloat(uf_remappedPS[14].z) * 1.0); -PV0i.z = R2i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(PV0i.x))); -PV1i.w = R123i.w; -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV1i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(PV1i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -// 3 -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV0i.y))); -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PV0i.w))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(PV0i.z))); -// 4 -predResult = (R6i.w != 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.x) + intBitsToFloat(R0i.x)); -R5i.w = floatBitsToInt(max(intBitsToFloat(R2i.x), intBitsToFloat(R0i.y))); -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R9i.x)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R10i.x)); -// 3 -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * 0.25); -// 4 -predResult = (intBitsToFloat(R5i.w) > intBitsToFloat(0x3eae147b)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(uf_remappedPS[18].x)); -R0i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[18].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[18].z)); -PV0i.z = R1i.z; -// 1 -R8i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(uf_remappedPS[19].x)); -R8i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[19].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[19].z)); -PV1i.z = R1i.z; -R0i.w = PV0i.z; -R0i.w = clampFI32(R0i.w); -// 2 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(uf_remappedPS[20].x)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[20].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[20].z)); -PV0i.z = R1i.z; -R8i.w = PV1i.z; -R8i.w = clampFI32(R8i.w); -// 3 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(uf_remappedPS[21].x)); -R3i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(uf_remappedPS[21].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[21].z)); -PV1i.z = R1i.z; -R2i.w = PV0i.z; -R2i.w = clampFI32(R2i.w); -// 4 -R3i.w = PV1i.z; -R3i.w = clampFI32(R3i.w); -} -if( activeMaskStackC[3] == true ) { -R1i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R0i.xy), intBitsToFloat(R0i.w)))); -R0i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R8i.xy), intBitsToFloat(R8i.w)))); -R2i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R3i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R3i.xy), intBitsToFloat(R3i.w)))); -} -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.y = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.w) + -(intBitsToFloat(0x3eae147b))); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R2i.x)); -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c80000)); -// 2 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R3i.x)); -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * 0.25 + -(intBitsToFloat(R1i.w)))); -PV1i.x = R123i.x; -// 4 -backupReg0i = R1i.w; -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].z)) + intBitsToFloat(R2i.z))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].y)) + intBitsToFloat(R1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[15].x)) + intBitsToFloat(R7i.x))); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[16].x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[16].z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[16].y)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -// 2 -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].y)) + intBitsToFloat(PV1i.w))); -PV0i.y = R3i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[17].z)) + intBitsToFloat(PV1i.z))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + -(0.5)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + -(0.5)); -// 4 -R0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.w), -(intBitsToFloat(PV1i.w)))); -PV0i.x = R0i.x; -R0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), -(intBitsToFloat(PV1i.z)))); -PV0i.y = R0i.y; -// 5 -PV1i.x = ((0.5 > intBitsToFloat(PV0i.y))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((0.5 > intBitsToFloat(PV0i.x))?int(0xFFFFFFFF):int(0x0)); -// 6 -R0i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 7 -predResult = (R0i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[18].z)); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(uf_remappedPS[19].z)); -R6i.w = floatBitsToInt(max(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y))); -// 1 -R0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(uf_remappedPS[19].x)); -R0i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[19].y)); -R1i.z = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(uf_remappedPS[18].x)); -R0i.w = PV0i.z; -R0i.w = clampFI32(R0i.w); -R1i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[18].y)); -PS1i = R1i.y; -// 2 -backupReg0i = R0i.z; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(uf_remappedPS[20].x)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[20].y)); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(uf_remappedPS[20].z)); -R1i.w = R127i.x; -R1i.w = clampFI32(R1i.w); -// 3 -backupReg0i = R3i.x; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(uf_remappedPS[21].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(uf_remappedPS[21].z)); -R3i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(uf_remappedPS[21].y)); -R2i.w = PV0i.z; -R2i.w = clampFI32(R2i.w); -// 4 -R3i.w = PV1i.y; -R3i.w = clampFI32(R3i.w); -} -if( activeMaskStackC[3] == true ) { -R0i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R0i.xy), intBitsToFloat(R0i.w)))); -R1i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R1i.zy), intBitsToFloat(R1i.w)))); -R2i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R2i.xy), intBitsToFloat(R2i.w)))); -R3i.x = floatBitsToInt(texture(textureUnitPS2, vec3(intBitsToFloat(R3i.xz), intBitsToFloat(R3i.w)))); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.y = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R1i.x)); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R2i.x)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R3i.x)); -// 3 -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * 0.25); -// 4 -predResult = (intBitsToFloat(R6i.w) > intBitsToFloat(0x3eae147b)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].x)) + intBitsToFloat(backupReg0i))); -PV0i.x = R4i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].y)) + intBitsToFloat(R6i.y))); -PV0i.y = R1i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[5].z)) + intBitsToFloat(R5i.z))); -PV0i.z = R0i.z; -// 1 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R4i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R1i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R0i.z; -// 2 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R4i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].y)) + intBitsToFloat(PV1i.y))); -PV0i.y = R1i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedPS[8].z)) + intBitsToFloat(PV1i.z))); -PV0i.z = R0i.z; -// 3 -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedPS[13].x)); -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(uf_remappedPS[13].y)); -R0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(uf_remappedPS[13].z)); -PV1i.z = R0i.z; -// 4 -R4i.w = PV1i.z; -R4i.w = clampFI32(R4i.w); -} -if( activeMaskStackC[4] == true ) { -R0i.x = floatBitsToInt(texture(textureUnitPS3, vec3(intBitsToFloat(R4i.xy), intBitsToFloat(R4i.w)))); -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R1i.w)) + intBitsToFloat(R0i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.w) + -(intBitsToFloat(0x3eae147b))); -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c80000)); -// 2 -backupReg0i = R1i.w; -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R1i.x)) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.y) + -(0.5)); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(0.5)); -// 1 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); -// 2 -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(0x3ecccccd))); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x41200000)); -PV0i.y = clampFI32(PV0i.y); -// 5 -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R1i.x))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(uf_remappedPS[22].x)) + intBitsToFloat(uf_remappedPS[22].y))); -R0i.w = 0; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.x), intBitsToFloat(R0i.x), intBitsToFloat(R0i.w)); -} diff --git a/Source/TokyoMirage/fdea68787e2969ab_0000787879249249_ps.txt b/Source/TokyoMirage/fdea68787e2969ab_0000787879249249_ps.txt deleted file mode 100644 index 36be88bc..00000000 --- a/Source/TokyoMirage/fdea68787e2969ab_0000787879249249_ps.txt +++ /dev/null @@ -1,1752 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -const float resScale = ; //self shading -// shader fdea68787e2969ab -layout(binding = 33, std140) uniform uniformBlockPS1 -{ -vec4 uf_blockPS1[1024]; -}; - -layout(binding = 34, std140) uniform uniformBlockPS2 -{ -vec4 uf_blockPS2[1024]; -}; - -layout(binding = 35, std140) uniform uniformBlockPS3 -{ -vec4 uf_blockPS3[1024]; -}; - -layout(binding = 36, std140) uniform uniformBlockPS4 -{ -vec4 uf_blockPS4[1024]; -}; - -layout(binding = 40, std140) uniform uniformBlockPS8 -{ -vec4 uf_blockPS8[1024]; -}; - -layout(binding = 42, std140) uniform uniformBlockPS10 -{ -vec4 uf_blockPS10[1024]; -}; - -layout(binding = 43, std140) uniform uniformBlockPS11 -{ -vec4 uf_blockPS11[1024]; -}; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x348b4000 res 1024x1024x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x35020000 res 512x512x1 dim 1 tm: 4 format 0431 compSel: 0 1 2 5 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x34b64000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0xa) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x34a0c000 res 1024x1024x1 dim 1 tm: 4 format 0235 compSel: 0 1 4 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0x34f74000 res 1024x1024x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 5 mipView: 0x0 (num 0xb) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 0 0 2 border: 0 -layout(binding = 8) uniform sampler2D textureUnitPS8;// Tex8 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler8 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 13) uniform sampler2D textureUnitPS13;// Tex13 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler13 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 14) uniform sampler2D textureUnitPS14;// Tex14 addr 0x27fb9000 res 1024x1024x1 dim 1 tm: 4 format 0011 compSel: 0 0 0 0 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler14 ClampX/Y/Z: 6 6 6 border: 2 -layout(binding = 15) uniform sampler2D textureUnitPS15;// Tex15 addr 0x277b8800 res 1024x2048x1 dim 1 tm: 4 format 001a compSel: 3 3 3 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler15 ClampX/Y/Z: 6 6 6 border: 1 -layout(location = 1) in vec4 passParameterSem143; -layout(location = 2) in vec4 passParameterSem130; -layout(location = 3) in vec4 passParameterSem128; -layout(location = 4) in vec4 passParameterSem144; -layout(location = 5) in vec4 passParameterSem142; -layout(location = 6) in vec4 passParameterSem136; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 4) out vec4 passPixelColor4; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R30i = ivec4(0); -ivec4 R48i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[4]; -bool activeMaskStackC[5]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem143); -R2i = floatBitsToInt(passParameterSem130); -R3i = floatBitsToInt(passParameterSem128); -R4i = floatBitsToInt(passParameterSem144); -R5i = floatBitsToInt(passParameterSem142); -R6i = floatBitsToInt(passParameterSem136); -if( activeMaskStackC[1] == true ) { -R8i.xy = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R6i.xy)).xy); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3d800000)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R8i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(0x3d800000)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))); -PS0i = R126i.w; -// 1 -backupReg0i = R5i.w; -R127i.x = floatBitsToInt(floor(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(floor(intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(backupReg0i))); -R5i.y = R1i.x; -PS1i = R5i.y; -// 2 -R7i.x = R127i.w; -R7i.y = R1i.y; -R127i.z = R2i.x; -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R126i.z = R2i.y; -PS0i = R126i.z; -// 3 -R5i.x = R126i.w; -R1i.y = R1i.z; -R7i.z = R2i.z; -R7i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + uf_blockPS1[2].x); -R9i.y = floatBitsToInt(-(intBitsToFloat(R3i.y)) + uf_blockPS1[2].y); -PS1i = R9i.y; -// 4 -R9i.x = floatBitsToInt(uf_blockPS10[6].x) & 0x0000ffff; -R12i.y = 0; -R8i.z = floatBitsToInt(-(intBitsToFloat(R3i.z)) + uf_blockPS1[2].z); -PV0i.z = R8i.z; -R2i.w = int(floatBitsToUint(uf_blockPS10[6].x) >> uint(0x00000010)); -R12i.x = 0; -PS0i = R12i.x; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R7i.w),intBitsToFloat(R9i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R12i.z = 0; -PS1i = R12i.z; -// 6 -R11i.xyz = ivec3(0,0,0); -R14i.y = 0; -PS0i = R14i.y; -// 7 -PS1i = int(uint(intBitsToFloat(R127i.y))); -// 8 -R126i.x = int(uint(PS1i) * uint(0x00000050)); -PS0i = R126i.x; -// 9 -PS1i = int(uint(intBitsToFloat(R127i.x))); -// 10 -PV0i.z = R126i.x + PS1i; -R5i.z = floatBitsToInt(sqrt(intBitsToFloat(R127i.w))); -PS0i = R5i.z; -// 11 -R1i.x = PV0i.z << 0x00000002; -R10i.y = PV0i.z << 0x00000005; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R127i.z))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.x)); -R8i.w = floatBitsToInt(tempResultf); -PS1i = R8i.w; -} -if( activeMaskStackC[1] == true ) { -R13i.xyz = floatBitsToInt(vec3(0.0,0.0,0.0)); -} -if( activeMaskStackC[1] == true ) { -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(R1i.w))); -PS0i = R122i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.y; -// 2 -PV0i.x = R13i.x << R2i.w; -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R8i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R8i.w))); -R3i.w = R10i.y + 0x00000e10; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R8i.w))); -PS0i = R0i.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = int(uint(PV0i.x) >> uint(R9i.x)); -// 4 -R9i.z = floatBitsToInt(uf_blockPS11[0].x) + floatBitsToInt(uf_blockPS11[0].y); -R1i.w = PS1i & 0x0000ffff; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -} -while( activeMaskStackC[1] == true ) -{ -if( activeMaskStackC[1] == true ) { -// 0 -R1i.z = (R1i.w > R14i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.z != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R14i.y; -backupReg0i = R14i.y; -R5i.x = 0; -R14i.y = backupReg0i + int(1); -PV0i.w = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.w << 0x00000002; -} -if( activeMaskStackC[1] == true ) { -R1i.z = floatBitsToInt(vec3(0.0,0.0,0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.z = R1i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.x & 0x0000ffff; -// 3 -PS1i = PV0i.y * 0x00000005; -// 4 -R1i.x = PS1i + 0x00000004; -R1i.z = PS1i + 0x00000003; -} -if( activeMaskStackC[1] == true ) { -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.x].xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), -(intBitsToFloat(R5i.x)))); -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R4i.x)) + intBitsToFloat(R7i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R0i.y)) + intBitsToFloat(R7i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R6i.z)) + intBitsToFloat(R7i.z))); -PV1i.z = R123i.z; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),-(intBitsToFloat(R7i.z))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),-(intBitsToFloat(R7i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 3 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),-(intBitsToFloat(R7i.x))) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) / 2.0); -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -// 6 -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 7 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(PS0i)) + intBitsToFloat(backupReg3i))); -PS1i = R11i.x; -// 8 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.z = R13i.y << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.z) >> uint(R9i.x)); -// 2 -R8i.y = PV1i.x & 0x0000ffff; -// 3 -predResult = (R8i.y > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R8i.x = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R8i.y > R8i.x)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R8i.x; -backupReg0i = R8i.x; -R8i.x = backupReg0i + int(1); -PV0i.z = R3i.w + backupReg0i; -// 1 -R1i.x = PV0i.z << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.x = floatBitsToInt(0.0); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = R1i.x << R2i.w; -// 1 -PV1i.w = int(uint(PV0i.x) >> uint(R9i.x)); -// 2 -PV0i.y = PV1i.w & 0x0000ffff; -// 3 -PV1i.z = floatBitsToInt(uf_blockPS11[0].x) + PV0i.y; -// 4 -PS0i = PV1i.z * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.w = PS0i + int(1); -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R7i.xy = floatBitsToInt(uf_blockPS11[R1i.x].xy); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R7i.y))); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R126i.y)) + 1.0)); -R127i.w = clampFI32(R127i.w); -PV0i.w = R127i.w; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R127i.w))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 7 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R127i.w))); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -tempResultf = log2(intBitsToFloat(PV0i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 11 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -backupReg3i = R11i.x; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(backupReg2i))); -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PS1i)) + intBitsToFloat(backupReg3i))); -PS0i = R11i.x; -// 13 -backupReg0i = R11i.y; -backupReg1i = R11i.z; -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.y = R13i.z << R2i.w; -// 1 -PV1i.x = int(uint(PV0i.y) >> uint(R9i.x)); -// 2 -R10i.z = PV1i.x & 0x0000ffff; -// 3 -predResult = (R10i.z > 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R9i.y = 0; -} -while( activeMaskStackC[2] == true ) -{ -if( activeMaskStackC[2] == true ) { -// 0 -R1i.w = (R10i.z > R9i.y)?int(0xFFFFFFFF):int(0x0); -// 1 -predResult = (R1i.w != 0); -if( predResult == false ) break; -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R9i.y; -PV0i.y = R3i.w + R9i.y; -R9i.y = backupReg0i + int(1); -PS0i = R9i.y; -// 1 -R1i.x = PV0i.y << 0x00000002; -} -if( activeMaskStackC[2] == true ) { -R1i.y = floatBitsToInt(vec2(0.0,0.0).x); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.w = R1i.y << R2i.w; -// 1 -PV1i.z = int(uint(PV0i.w) >> uint(R9i.x)); -// 2 -PV0i.x = PV1i.z & 0x0000ffff; -// 3 -PV1i.y = R9i.z + PV0i.x; -// 4 -PS0i = PV1i.y * 0x00000005; -// 5 -R1i.x = PS0i + 0x00000005; -R1i.y = PS0i + 0x00000004; -R1i.z = PS0i + int(1); -R1i.w = PS0i + 0x00000003; -} -if( activeMaskStackC[2] == true ) { -R5i.xyz = floatBitsToInt(uf_blockPS11[R1i.z].xyz); -R7i.xyz = floatBitsToInt(uf_blockPS11[R1i.w].xyz); -R8i.xyzw = floatBitsToInt(uf_blockPS11[R1i.x].xyzw); -R1i.xyz = floatBitsToInt(uf_blockPS11[R1i.y].xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = floatBitsToInt(vec3(-(intBitsToFloat(R3i.x)),-(intBitsToFloat(R3i.y)),-(intBitsToFloat(R3i.z))) + vec3(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z))); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.x) + -(intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.w)); -PS0i = R126i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R125i.y; -// 2 -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.y)) + intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -R125i.w = clampFI32(R125i.w); -R126i.z = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R126i.z; -// 5 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),-0.0),vec4(-(intBitsToFloat(PV0i.x)),-(intBitsToFloat(PV0i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), -(intBitsToFloat(PV0i.z)))); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R4i.x)) + -(intBitsToFloat(R127i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R0i.y)) + -(intBitsToFloat(R127i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV1i.x)),intBitsToFloat(R6i.z)) + -(intBitsToFloat(R127i.z)))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),-(intBitsToFloat(R127i.y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 7 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),-(intBitsToFloat(R127i.x))) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R8i.z)) + intBitsToFloat(PS1i)); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(R126i.z))); -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.w), 0.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -// 10 -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].x, intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.x))); -PV1i.y = R127i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.y))); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R1i.z))); -PV1i.w = R125i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -// 12 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -backupReg2i = R12i.z; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(backupReg0i))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(backupReg1i))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(backupReg2i))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -// 13 -backupReg0i = R11i.x; -backupReg1i = R11i.y; -backupReg2i = R11i.z; -R11i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R127i.y)) + intBitsToFloat(backupReg0i))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.z)) + intBitsToFloat(backupReg1i))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg2i))); -} -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R7i.xyzw = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyzw); -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R6i.xy)).xyz); -R8i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R6i.xy)).xyzw); -R9i.xyz = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R6i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(uf_blockPS3[9].x + -(uf_blockPS3[9].y)); -PS0i = R127i.x; -// 1 -R126i.x = ((intBitsToFloat(R7i.x) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[1].x, intBitsToFloat(PV0i.x))); -PV1i.y = R127i.y; -R127i.z = ((intBitsToFloat(R7i.z) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R127i.w = ((intBitsToFloat(R7i.y) > 0.5)?int(0xFFFFFFFF):int(0x0)); -R126i.y = floatBitsToInt(-(uf_blockPS3[15].z) + 1.0); -PS1i = R126i.y; -// 2 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(uf_blockPS3[9].y) + intBitsToFloat(PV1i.y)); -// 3 -R125i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[9].w) + intBitsToFloat(R127i.y)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R126i.w = floatBitsToInt(-(uf_blockPS3[21].z) + 1.0); -R124i.x = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -PS1i = R124i.x; -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.z))); -R126i.z = floatBitsToInt(uf_blockPS3[9].z + -(uf_blockPS3[9].w)); -R1i.w = ((R126i.x == 0)?(0):(0x3f800000)); -R5i.z = ((R127i.w == 0)?(0):(0x3f800000)); -PS0i = R5i.z; -// 5 -R126i.x = ((R127i.z == 0)?(0):(0x3f800000)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(R126i.w)) + 1.0); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R124i.x))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R126i.y)) + 1.0); -R0i.x = floatBitsToInt(-(intBitsToFloat(R125i.x)) + 1.0); -PS1i = R0i.x; -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R5i.z) + 1.0)); -R125i.y = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R1i.w) + 1.0)); -R127i.z = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(PV1i.x) + 1.0)); -PV0i.w = floatBitsToInt(min(intBitsToFloat(R126i.z), intBitsToFloat(backupReg0i))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R126i.z)); -// 7 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R127i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.y))); -R124i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.w)),intBitsToFloat(PS0i)) + 1.0)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.w))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + 1.0); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -// 8 -backupReg0i = R127i.y; -R125i.x = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.z)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -R127i.y = clampFI32(R127i.y); -R125i.z = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.y)); -R126i.w = floatBitsToInt(-(0.5) + intBitsToFloat(R7i.x)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 9 -backupReg0i = R125i.y; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R7i.y))); -PV1i.x = R124i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -R125i.y = clampFI32(R125i.y); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.x))); -PV1i.z = R124i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R7i.z))); -R124i.w = floatBitsToInt(-(intBitsToFloat(R124i.y)) + intBitsToFloat(R127i.w)); -PS1i = R124i.w; -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R126i.y = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R1i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(R1i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R1i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -PS0i = R126i.z; -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R125i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R125i.y))); -R123i.w = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R127i.y) + intBitsToFloat(0x40400000))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(0xc0000000) * intBitsToFloat(R125i.y) + intBitsToFloat(0x40400000))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(PV1i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(R126i.z))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PS1i))); -PS0i = R2i.w; -// 13 -backupReg0i = R125i.z; -PV1i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R8i.x)); -PV1i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 2.0); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(R124i.z))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R8i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R125i.z) * 2.0); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R8i.y)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R124i.x))); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS1i = R125i.x; -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.z))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R7i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R125i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.y))); -PS0i = R124i.z; -// 15 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R126i.w)) + intBitsToFloat(R125i.x))); -PV1i.y = R123i.y; -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), uf_blockPS3[8].y)); -PS1i = R127i.w; -// 16 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), uf_blockPS3[8].x)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), uf_blockPS3[8].z)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.y))); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w))); -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126i.y = floatBitsToInt(tempResultf); -PS0i = R126i.y; -// 17 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS3[8].w)); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R124i.z)) + intBitsToFloat(R125i.z))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[5].x)); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.z))); -tempResultf = log2(intBitsToFloat(R2i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R124i.y = floatBitsToInt(tempResultf); -PS1i = R124i.y; -// 18 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].w, intBitsToFloat(R126i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), uf_blockPS10[5].x)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), uf_blockPS10[5].x)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), uf_blockPS10[5].x)); -// 19 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), uf_blockPS10[2].x)); -PV1i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].w, intBitsToFloat(R124i.y))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), uf_blockPS10[2].y)); -R124i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R124i.w; -// 20 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockPS10[0].x)); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), uf_blockPS10[0].x)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), uf_blockPS10[2].z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), uf_blockPS10[0].x)); -R126i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.z))); -PS0i = R126i.x; -// 21 -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.x))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.w))); -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.z))); -R9i.w = 0; -R4i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS3[15].y, intBitsToFloat(R124i.w))); -PS1i = R4i.z; -// 22 -R6i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS3[21].y, intBitsToFloat(R126i.x))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].z,uf_blockPS2[0].w) + intBitsToFloat(R12i.z))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].y,uf_blockPS2[0].w) + intBitsToFloat(R12i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockPS2[0].x,uf_blockPS2[0].w) + intBitsToFloat(R12i.x))); -PV0i.z = R123i.z; -// 1 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), uf_blockPS10[1].y)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), uf_blockPS10[1].y)); -PV1i.y = R127i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), uf_blockPS10[1].y)); -PV1i.z = R124i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(0x3e991687),intBitsToFloat(0x3f1645a2),intBitsToFloat(0x3de978d5),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x2edbe6ff))); -// 4 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -// 6 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV1i.x))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(PV1i.w))); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(-(uf_blockPS8[12].x),-(uf_blockPS8[12].y),-(uf_blockPS8[12].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R127i.w; -// 2 -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 3 -R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV0i.z)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -// 4 -R0i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.x))); -// 5 -predResult = (uf_blockPS8[13].x >= -(intBitsToFloat(R4i.w))); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[16].y) + uf_blockPS8[16].x)); -R3i.w = 0x3f800000; -PV0i.w = R3i.w; -R11i.w = floatBitsToInt(uf_blockPS4[2].x); -R11i.w = floatBitsToInt(intBitsToFloat(R11i.w) * 4.0); -PS0i = R11i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[3].x,uf_blockPS8[3].y,uf_blockPS8[3].z,uf_blockPS8[3].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[0].x,uf_blockPS8[0].y,uf_blockPS8[0].z,uf_blockPS8[0].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[1].x,uf_blockPS8[1].y,uf_blockPS8[1].z,uf_blockPS8[1].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R7i.x; -// 4 -R5i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.z))); -PV0i.y = R7i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[2].w)); -R4i.x = floatBitsToInt(uf_blockPS8[23].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[2].z) + intBitsToFloat(PV0i.z))); -R5i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R6i.y = floatBitsToInt(uf_blockPS8[23].y); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R5i.xy)).xyzw); -R10i.xyzw = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R5i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[2].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[2].x) + intBitsToFloat(PS0i))); -PV1i.y = R123i.y; -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.w)); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R1i.z))); -PS0i = R8i.z; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.z) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R11i.w) != intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[23].x) /resScale * 0.5 + intBitsToFloat(R5i.x))); -R12i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[23].y) /resScale * 0.5 + intBitsToFloat(R5i.y))); -PS0i = R1i.y; -// 1 -backupReg0i = R5i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R5i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R5i.y))); -R5i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(backupReg0i)); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R12i.y) + intBitsToFloat(backupReg0i)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R5i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.w))?1.0:0.0); -R7i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R8i.z)); -PS0i = R7i.x; -} -if( activeMaskStackC[2] == true ) { -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS15, intBitsToFloat(R1i.xy)).xyzw); -R12i.xyz = floatBitsToInt(textureGather(textureUnitPS13, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R10i.w) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(R5i.w)); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R7i.x))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PS0i)); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(PV1i.z)); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R127i.w; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R11i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.w)); -R1i.w = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -R7i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -// 6 -predResult = (R1i.w != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R2i.x = floatBitsToInt((uf_blockPS8[23].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R5i.y = floatBitsToInt(-(intBitsToFloat(R6i.y))); -PV0i.y = R5i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R6i.y; -R2i.y = floatBitsToInt((uf_blockPS8[23].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R5i.x = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.xy)).x); -R5i.y = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R2i.xy)).x); -R5i.z = floatBitsToInt(texture(textureUnitPS15, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R12i.x) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R12i.y) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.x))?1.0:0.0); -R127i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R5i.z))?1.0:0.0); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.y = floatBitsToInt((intBitsToFloat(R12i.z) >= intBitsToFloat(R7i.x))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[21].x); -// 2 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(PV1i.y)); -R6i.y = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.w)); -PS0i = R6i.y; -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -// 4 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.y)); -// 6 -R4i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e124922)); -// 7 -predResult = (intBitsToFloat(R6i.y) > 0.0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R3i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PS1i))); -PS0i = R10i.x; -// 3 -R7i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS0i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -PV1i.y = R10i.y; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -PS1i = R12i.y; -// 4 -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -R7i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV1i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), uf_blockPS8[6].w)); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS0i = R0i.y; -} -if( activeMaskStackC[3] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(R1i.z))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R11i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R1i.w))); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R7i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R7i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[4] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[3] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R10i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R11i.w) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[4] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -R127i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.w; -// 1 -PV1i.x = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(1.0 / uf_blockPS8[21].x); -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.x)); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(PV1i.y)); -// 5 -PV1i.w = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.x)); -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e124922) + -(intBitsToFloat(R4i.w)))); -PV0i.x = R123i.x; -// 7 -backupReg0i = R4i.w; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),uf_blockPS8[17].y) + uf_blockPS8[17].x)); -R8i.z = floatBitsToInt(uf_blockPS4[2].x); -R8i.z = floatBitsToInt(intBitsToFloat(R8i.z) * 4.0); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(PV0i.w)),vec4(uf_blockPS8[7].x,uf_blockPS8[7].y,uf_blockPS8[7].z,uf_blockPS8[7].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[4].x,uf_blockPS8[4].y,uf_blockPS8[4].z,uf_blockPS8[4].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R1i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R2i.w)),vec4(uf_blockPS8[5].x,uf_blockPS8[5].y,uf_blockPS8[5].z,uf_blockPS8[5].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -PS1i = R10i.x; -// 4 -R7i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(PS1i))); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.y = R10i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), uf_blockPS8[6].w)); -R4i.x = floatBitsToInt(uf_blockPS8[24].x); -R4i.x = floatBitsToInt(intBitsToFloat(R4i.x) / 2.0); -PS0i = R4i.x; -// 5 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),uf_blockPS8[6].z) + intBitsToFloat(PV0i.z))); -R7i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt(uf_blockPS8[24].y); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) / 2.0); -PS1i = R0i.y; -} -if( activeMaskStackC[2] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R7i.xy)).xyzw); -R5i.xyzw = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R7i.xy)).xyzw); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R2i.w)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),uf_blockPS8[6].y) + intBitsToFloat(R1i.x))); -PS0i = R122i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),uf_blockPS8[6].x) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -// 2 -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R1i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 4 -R1i.z = ((PV1i.y == 0)?(0):(PV1i.x)); -// 5 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt((-(uf_blockPS8[24].x) /resScale * 0.5 + intBitsToFloat(R7i.x))); -R3i.y = floatBitsToInt(-(intBitsToFloat(R0i.y))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = R0i.y; -R1i.y = floatBitsToInt((-(uf_blockPS8[24].y) /resScale * 0.5 + intBitsToFloat(R7i.y))); -PS0i = R1i.y; -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w)); -R1i.z = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R7i.x))); -R1i.w = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R7i.y))); -R3i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R7i.x)); -PS1i = R3i.x; -// 2 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R7i.y)); -} -if( activeMaskStackC[3] == true ) { -R2i.w = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R2i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R2i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -R2i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R3i.xy)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R2i.w; -R1i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R10i.x))); -R1i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R10i.y))); -R1i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.x))?1.0:0.0); -R2i.w = floatBitsToInt(-(intBitsToFloat(R6i.y)) + intBitsToFloat(R3i.z)); -R1i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(backupReg0i))?1.0:0.0); -PS0i = R1i.w; -} -if( activeMaskStackC[2] == true ) { -R3i.xyzw = floatBitsToInt(textureGather(textureUnitPS8, intBitsToFloat(R1i.xy)).xyzw); -R10i.xyz = floatBitsToInt(textureGather(textureUnitPS14, intBitsToFloat(R1i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R3i.w)); -PV0i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.y))?1.0:0.0); -PV0i.z = floatBitsToInt((intBitsToFloat(R5i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.w = floatBitsToInt((intBitsToFloat(R5i.w) >= intBitsToFloat(R2i.w))?1.0:0.0); -PS0i = floatBitsToInt((intBitsToFloat(R5i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV0i.w)); -R127i.x = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R2i.z))?1.0:0.0); -PS1i = R127i.x; -// 2 -PV0i.x = floatBitsToInt((intBitsToFloat(R5i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x)); -R127i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PS0i = R127i.y; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.x)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = ((intBitsToFloat(R8i.z) != intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = ((intBitsToFloat(PV0i.w) != 0.0)?int(0xFFFFFFFF):int(0x0)); -// 4 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -R1i.z = ((PV1i.z == 0)?(0):(PV1i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y)); -// 5 -R5i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -// 6 -predResult = (R1i.z != 0); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R2i.x = floatBitsToInt((uf_blockPS8[24].x /resScale * 0.5 + intBitsToFloat(R1i.x))); -R0i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PV0i.y = R0i.y; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R4i.x))); -PV0i.w = backupReg0i; -R2i.y = floatBitsToInt((uf_blockPS8[24].y /resScale * 0.5 + intBitsToFloat(R1i.y))); -PS0i = R2i.y; -// 1 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + vec3(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg0i))); -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg1i)); -} -if( activeMaskStackC[3] == true ) { -R3i.x = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.xy)).x); -R3i.y = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R2i.xy)).x); -R3i.z = floatBitsToInt(texture(textureUnitPS8, intBitsToFloat(R1i.zw)).x); -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt((intBitsToFloat(R10i.x) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.y = floatBitsToInt((intBitsToFloat(R10i.y) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV0i.z = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.y))?1.0:0.0); -PV0i.w = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.x))?1.0:0.0); -R127i.y = floatBitsToInt((uf_blockPS4[2].x == intBitsToFloat(R3i.z))?1.0:0.0); -PS0i = R127i.y; -// 1 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.x)); -PV1i.z = floatBitsToInt((intBitsToFloat(R10i.z) >= intBitsToFloat(R2i.w))?1.0:0.0); -PV1i.w = floatBitsToInt(-(uf_blockPS8[13].x) + uf_blockPS8[14].x); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3dcccccd)); -PV0i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), 1.0)); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.y), 1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.z)); -// 3 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), 1.0)); -PV1i.y = floatBitsToInt(-(uf_blockPS8[14].x) + intBitsToFloat(PV0i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.y)); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.x)); -PS1i = R127i.w; -// 4 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(PV1i.w)); -// 5 -PV1i.y = floatBitsToInt(intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.w))); -// 6 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e124922)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 7 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -// 8 -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(R9i.x))); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockPS10[1].z,-(intBitsToFloat(R4i.w))) + uf_blockPS10[1].z)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R9i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R9i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), uf_blockPS3[21].x)); -// 1 -R1i.x = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(-(uf_blockPS3[19].w) + 1.0); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PS0i))); -PS1i = R126i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.w)) + uf_blockPS3[19].w)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS3[18].x) + 1.0); -R125i.z = floatBitsToInt(max(uf_blockPS3[18].x, intBitsToFloat(0x33d6bf95))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(R6i.w))); -R7i.y = 0; -PS0i = R7i.y; -// 3 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.y))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.x))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[13].w)); -// 4 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].x)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].z)); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), uf_blockPS3[10].y)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R125i.z)); -// 5 -backupReg0i = R0i.z; -R0i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].y)); -R0i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].x)); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.y)),intBitsToFloat(PS0i)) + 1.0)); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -// 6 -PV0i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].w)); -R0i.w = floatBitsToInt(mul_nonIEEE(uf_blockPS10[0].y, uf_blockPS3[17].z)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV0i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS3[18].y, intBitsToFloat(PS0i))); -R6i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), uf_blockPS10[5].x)); -// 8 -R5i.xyz = ivec3(floatBitsToInt(uf_blockPS3[20].x),floatBitsToInt(uf_blockPS3[20].y),floatBitsToInt(uf_blockPS3[20].z)); -R4i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].y) + uf_blockPS8[19].y)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].x) + uf_blockPS8[19].x)); -PV0i.w = R123i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV0i.w)) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),uf_blockPS8[20].z) + uf_blockPS8[19].z)); -PV1i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -// 2 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(R2i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R127i.x; -PV0i.y = floatBitsToInt(-(uf_blockPS1[0].z) + uf_blockPS1[0].w); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R1i.y))); -PV0i.z = R123i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(R2i.w)) + intBitsToFloat(PV1i.w))); -PV0i.w = R127i.w; -// 3 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(backupReg0i)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(R2i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(R0i.y)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(R0i.w)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R127i.w))); -PV0i.w = R123i.w; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.x)) + intBitsToFloat(R125i.z))); -PV1i.z = R123i.z; -// 6 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(R127i.x))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R125i.z)) + intBitsToFloat(PV1i.z)); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R4i.x)) + intBitsToFloat(R125i.z))); -PV1i.x = R123i.x; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R5i.y))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R5i.x))); -// 8 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R5i.z))); -} -if( activeMaskStackC[1] == true ) { -// 0 -R6i.x = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].x, intBitsToFloat(R0i.w))); -R6i.y = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].y, intBitsToFloat(R0i.z))); -R6i.z = floatBitsToInt(mul_nonIEEE(uf_blockPS10[2].z, intBitsToFloat(R5i.y))); -// 1 -R2i.xyz = ivec3(R8i.x,R8i.y,R7i.z); -R2i.w = R9i.w; -// 2 -R0i.xyz = ivec3(R6i.x,R6i.y,R6i.z); -R0i.w = R6i.w; -// 3 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.y); -R1i.w = R7i.y; -} -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor4 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Source/TokyoMirage/patches.txt b/Source/TokyoMirage/patches.txt deleted file mode 100644 index 36150177..00000000 --- a/Source/TokyoMirage/patches.txt +++ /dev/null @@ -1,20 +0,0 @@ - - -[TMS_219_EUv16] -moduleMatches = 0x2249A57A - -0x10006C18 = .float -0x10014400 = .float -0x10067140 = .float - -_ \ No newline at end of file diff --git a/Source/TokyoMirage/rules.txt b/Source/TokyoMirage/rules.txt index 9339f90b..ed456307 100644 --- a/Source/TokyoMirage/rules.txt +++ b/Source/TokyoMirage/rules.txt @@ -1,145 +1,231 @@ - [Definition] titleIds = 00050000101ED700,00050000101ED800,0005000010131D00 -name = "Tokyo Mirage Sessions FE - " -version = 2 +name = Resolution +path = "Tokyo Mirage Sessions FE/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] #lod override, shimmer and sharper textures -formats = 0x011,0x235,0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a -overwriteRelativeLodBias = -4 # +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 [TextureRedefine] width = 1280 height = 720 -formats = 0x816 -overwriteFormat = 0x820 +#formats = 0x816,0x80e,0x01a,0x001 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 720 -formatsExcluded = 0x816 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 [TextureRedefine] width = 1280 height = 340 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +#formats = +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 340 -[TextureRedefine] -width = 1147 -height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +#[TextureRedefine] # Shadows cemu scaling broken? +#width = 1024 +#height = 2048 +#formats = 0x011,0x811 +#overwriteWidth = ($height/$gameHeight) * 1024 +#overwriteHeight = ($height/$gameHeight) * 2048 -[TextureRedefine] # shadows 0x011 -width = 1024 -height = 2048 -formats = 0x011,0x811 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Scale dyn shadows 0x011 -width = 1024 -height = 1024 -formats = 0x011,0x811 -overwriteWidth = -overwriteHeight = +#[TextureRedefine] #Shadows, cemu scaling broken? +#width = 1024 +#height = 1024 +#formats = 0x011,0x811 +#overwriteWidth = ($height/$gameHeight) * 1024 +#overwriteHeight = ($height/$gameHeight) * 1024 [TextureRedefine] width = 1014 height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +#formats = +overwriteWidth = ($width/$gameWidth) * 1014 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] -width = 881 -height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Pad +width = 864 +height = 480 +#formats = +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 -[TextureRedefine] +[TextureRedefine] # Pad width = 854 height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +#formats = +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 -[TextureRedefine] -width = 854 -height = 342 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Pad +width = 674 +height = 574 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 674 +overwriteHeight = ($height/$gameHeight) * 574 -[TextureRedefine] -width = 853 -height = 232 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +[TextureRedefine] # Pad +width = 657 +height = 574 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 657 +overwriteHeight = ($height/$gameHeight) * 574 [TextureRedefine] width = 640 height = 720 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +#formats = +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 720 + +[TextureRedefine] +width = 640 +height = 368 +#formats = 0x816,0x001 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 [TextureRedefine] width = 640 height = 360 +#formats = 0x816,0x001 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 -[TextureRedefine] #Bloom +[TextureRedefine] +width = 320 +height = 192 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] width = 320 height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 [TextureRedefine] -width = 300 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 266 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 254 -height = 480 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +width = 160 +height = 128 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 128 [TextureRedefine] width = 160 height = 120 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 120 \ No newline at end of file diff --git a/Source/TropicalFreeze/patches.txt b/Source/TropicalFreeze/patches.txt index e3f9731c..7221263d 100644 --- a/Source/TropicalFreeze/patches.txt +++ b/Source/TropicalFreeze/patches.txt @@ -1,20 +1,9 @@ - [TropicalFreeze2] moduleMatches = 0x4FF15DD2 -0x10018498 = .float -0x10094758 = .float +0x10018498 = .float $width/$height +0x10094758 = .float $width/$height [TropicalFreeze16] moduleMatches = 0xA37C99E1 -0x100184A8 = .float -0x100946F8 = .float \ No newline at end of file +0x100184A8 = .float $width/$height +0x100946F8 = .float $width/$height \ No newline at end of file diff --git a/Source/TropicalFreeze/rules.txt b/Source/TropicalFreeze/rules.txt index b7b90a51..98ed4d42 100644 --- a/Source/TropicalFreeze/rules.txt +++ b/Source/TropicalFreeze/rules.txt @@ -1,21 +1,276 @@ - [Definition] titleIds = 0005000010137F00,0005000010138300,0005000010144800 -name = "Donkey Kong Country: Tropical Freeze - " -version = 2 +name = Resolution +path = "Donkey Kong Country: Tropical Freeze/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] # game rendering resolution +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Multiples of 320x180 for aspect ratio +// Performance + +[Preset] +name = 320x180 +$width = 320 +$height = 180 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +// For [21:9] resolutions that are multiples of 420x180 +// Performance + +[Preset] +name = (21:9) 1260x540 +$width = 1260 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 1680x720 +$width = 1680 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 2100x900 +$width = 2100 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = (21:9) 2520x1080 +$width = 2520 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 3360x1440 +$width = 3360 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 5040x2160 +$width = 5040 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 6720x2880 +$width = 6720 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiats + +[Preset] +name = (21:9) 10080x4320 +$width = 10080 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = (21:9) 13440x5760 +$width = 13440 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +# Format Textures: +# - 0x001=Color-Red8 +# - 0x011=Depth24_Stencil8 +# - 0x01a=Color-RGBA8 +# - 0x80e=Depth32 + +# Main Game Renderer +[TextureRedefine] width = 1280 height = 720 -tileModesExcluded = 0x1 -formatsExcluded = 0x31 # exclude the intro background texture -overwriteWidth = -overwriteHeight = +formats = 0x001,0x011,0x01a,0x80e +tileModesExcluded = 0x001 # For Video Playback +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 + +# Loading Screen Dk Running +[TextureRedefine] +width = 1280 +height = 256 +formats = 0x01a,0x80e +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 256 + +# GamePad +[TextureRedefine] +width = 864 +height = 480 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + +# GamePad +[TextureRedefine] +width = 854 +height = 480 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 + +# Half-Res +[TextureRedefine] +width = 640 +height = 368 +formats = 0x01a,0x80e +formatsExcluded = 0x007 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 + +# Half-Res +[TextureRedefine] +width = 640 +height = 360 +formats = 0x01a,0x80e +tileModesExcluded = 0x001 # 0x007 half res hold color data and is used for video playback +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 + +# 1/4 Res +[TextureRedefine] +width = 320 +height = 192 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +# 1/4 Res +[TextureRedefine] +width = 320 +height = 180 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 + +# In-game UI Top left screen +[TextureRedefine] +width = 320 +height = 128 +formats = 0x01a,0x011 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 128 + +# 1/4 Res +[TextureRedefine] +width = 160 +height = 96 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 96 + +# 1/4 Res +[TextureRedefine] +width = 160 +height = 90 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 90 + + +# Additonal Textures GUI + +# DonkeyKongs Face in GUI +[TextureRedefine] +width = 96 +height = 108 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 96 +overwriteHeight = ($height/$gameHeight) * 108 + +# Menu Button Backgrounds GUI +[TextureRedefine] +width = 64 +height = 64 +formats = 0x01a +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 64 \ No newline at end of file diff --git a/Source/TurboSuperStuntSquad/rules.txt b/Source/TurboSuperStuntSquad/rules.txt deleted file mode 100644 index 52ecf70d..00000000 --- a/Source/TurboSuperStuntSquad/rules.txt +++ /dev/null @@ -1,37 +0,0 @@ - -[Definition] -titleIds = 0005000010133900,0005000010136700 -name = "Turbo Super Stunt Squad - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x031 #exclude intro/menu background -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/TwilightPrincessHD/patches.txt b/Source/TwilightPrincessHD/patches.txt deleted file mode 100644 index b41b7d3b..00000000 --- a/Source/TwilightPrincessHD/patches.txt +++ /dev/null @@ -1,24 +0,0 @@ - -[TPHDv81] -moduleMatches = 0x1A03E108 - -#rodata constants -0x1005AAD8 = .float -_aspectAddr = 0x1006AAD8 - - -#code changes -0x028D75B8 = lis r11, _aspectAddr@h -0x028D75C0 = lfs f0, _aspectAddr@l(r11) ; Main 3d Aspect -0x029BB184 = lis r12, _aspectAddr@h -0x029BB188 = lfs f2, _aspectAddr@l(r12) ; may just be the intro zelda graphic diff --git a/Source/TwilightPrincessHD/rules.txt b/Source/TwilightPrincessHD/rules.txt deleted file mode 100644 index 44bf2716..00000000 --- a/Source/TwilightPrincessHD/rules.txt +++ /dev/null @@ -1,47 +0,0 @@ - -[Definition] -titleIds = 000500001019C800,000500001019E600,000500001019E500 -name = "The Legend of Zelda: Twilight Princess HD - " -version = 2 - -[TextureRedefine] # game rendering resolution -width = 1920 -height = 1080 -formatsExcluded = 0x41A # exclude the intro background texture -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Blur, bloom -width = 960 -height = 540 -formatsExcluded = 0x8 # exclude the menu background textures -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #colour grading -width = 480 -height = 270 -formats = 0x01a -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] # shadows -width = 384 -height = 384 -#formats = 0x5 # find the format -overwriteWidth = -overwriteHeight = diff --git a/Source/WarriorsOrochi3/rules.txt b/Source/WarriorsOrochi3/rules.txt deleted file mode 100644 index 8f023d1d..00000000 --- a/Source/WarriorsOrochi3/rules.txt +++ /dev/null @@ -1,87 +0,0 @@ - -[Definition] -titleIds = 0005000010110200,0005000010112B00,000500001010EA00 -name = "Warriors Orochi 3 - " -version = 2 - -[TextureRedefine] #Game Resolution -width = 1280 -height = 720 -formatsExcluded = 0x431,0x433 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Only saw depth in Nsight -width = 640 -height = 360 -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Lighting? -width = 322 -height = 182 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Dupe of Main Game -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Lighting Blur? -width = 162 -height = 92 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #Lighting Blur? -width = 160 -height = 90 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #Shadows? -#width = 1024 -#height = 2048 -#formats = 0x005 -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #Dupe of Main Game? -#width = 64 -#height = 64 -#formats = 0x005 -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #Dupe of Main Game? -#width = 16 -#height = 16 -#formats = 0x005 -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #Dupe of Main Game? -#width = 4 -#height = 4 -#formats = 0x005 -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #Dupe of Main Game? -#width = 1 -#height = 1 -#formats = 0x005 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/WiiUBIOS/rules.txt b/Source/WiiUBIOS/rules.txt deleted file mode 100644 index 5bbebd30..00000000 --- a/Source/WiiUBIOS/rules.txt +++ /dev/null @@ -1,133 +0,0 @@ - -[Definition] -titleIds = 000500101004b100,000500301006d10a,000500101004c100,000500301001810a,000500301001510a,000500301001210a,000500101004a100,000500301001610a,000500301001910a,000500301001410a,000500301001310a,000500101004d100,0005001010048100,0005001010047100,0005001010062100,0005001010045100,0005001010049100,000500101005a100,000500301001710a,0005001010040100 -name = "Wii U BIOS - " -version = 2 - -[TextureRedefine] # tv 1080p -width = 1920 -height = 1080 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv full -width = 1280 -height = 720 -formatsExcluded = 0x31,0x1a -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 1280 -height = 504 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv half -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 640 -height = 252 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # tv quarter -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 256 -#height = 256 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] -width = 160 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 106 -height = 60 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 80 -height = 45 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 48 -#height = 48 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 32 -#height = 32 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 24 -#height = 24 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 16 -#height = 16 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 8 -#height = 8 -#formatsExcluded = -#overwriteWidth = -#overwriteHeight = - -[TextureRedefine] # gamepad full -width = 854 -height = 480 -formatsExcluded = 0x33 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad half -width = 427 -height = 240 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # browser -width = 2176 -height = 1248 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/WindWakerHD/1f83c0d47b1c4c34_0000000000000000_vs.txt b/Source/WindWakerHD/1f83c0d47b1c4c34_0000000000000000_vs.txt deleted file mode 100644 index b9124233..00000000 --- a/Source/WindWakerHD/1f83c0d47b1c4c34_0000000000000000_vs.txt +++ /dev/null @@ -1,84 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 1f83c0d47b1c4c34 // half res blur. Horizon, detail shadows, bloom base - -const float resScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = intBitsToFloat(0xbf800000); -R1f.w = 1.0; -PS0f = R2f.x + -(intBitsToFloat(uf_remappedVS[0].x)/resScale); -// 1 -backupReg0f = R2f.y; -backupReg1f = R2f.x; -PV1f.x = R2f.y + -(intBitsToFloat(uf_remappedVS[0].y) / resScale); -R2f.y = backupReg0f + intBitsToFloat(uf_remappedVS[0].y) / resScale; -R2f.z = PS0f; -R2f.x = backupReg1f + intBitsToFloat(uf_remappedVS[0].x) / resScale; -PS1f = R2f.x; -// 2 -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem3 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// 0 -} diff --git a/Source/WindWakerHD/4c426260188ace42_0000000000000000_vs.txt b/Source/WindWakerHD/4c426260188ace42_0000000000000000_vs.txt deleted file mode 100644 index 054f88e1..00000000 --- a/Source/WindWakerHD/4c426260188ace42_0000000000000000_vs.txt +++ /dev/null @@ -1,113 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 4c426260188ace42 -// shadows pyramid blend 2nd downscale -const float resScale = ; -uniform ivec4 uf_remappedVS[5]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = -(R1f.y); -PV0f.x = R127f.x; -R127f.y = (R1f.x > 0.0)?1.0:0.0; -R127f.y /= 2.0; -R126f.z = (0.0 > R1f.x)?1.0:0.0; -R126f.z /= 2.0; -R127f.w = 1.0; -PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].w) * intBitsToFloat(0x3fae8a72)/ resScale; -PS0f = R126f.x; -// 1 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R127f.z = (PV0f.x > 0.0)?1.0:0.0; -R127f.z /= 2.0; -PS1f = R127f.z; -// 2 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -PS0f = (0.0 > R127f.x)?1.0:0.0; -PS0f /= 2.0; -// 3 -backupReg0f = R127f.z; -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R127f.z = backupReg0f + -(PS0f); -PS1f = R127f.z; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -PS0f = R127f.y + -(R126f.z); -// 5 -R1f.x = PS0f + 0.5; -PV1f.y = R127f.z + 0.5; -// 6 -R1f.y = PV1f.y + -(R126f.x); -R1f.z = PV1f.y + R126f.x; -R1f.w = PV1f.y; -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// 0 -} diff --git a/Source/WindWakerHD/842a19b509f8b91a_0000000000000000_vs.txt b/Source/WindWakerHD/842a19b509f8b91a_0000000000000000_vs.txt deleted file mode 100644 index 4f39c642..00000000 --- a/Source/WindWakerHD/842a19b509f8b91a_0000000000000000_vs.txt +++ /dev/null @@ -1,107 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 842a19b509f8b91a //vert scale bloom -const float resScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = 0.0; -R1f.w = 1.0; -PS0f = intBitsToFloat(uf_remappedVS[0].y) * intBitsToFloat(0x3fb13a93)/ resScale; -// 1 -PV1f.x = intBitsToFloat(uf_remappedVS[0].y) * intBitsToFloat(0x404ec4f0) / resScale; -R127f.y = intBitsToFloat(uf_remappedVS[0].y) * intBitsToFloat(0x40a275f7); -R2f.z = R2f.y + PS0f; -PV1f.z = R2f.z; -R2f.w = R2f.y; -PV1f.w = R2f.w; -R0f.y = R2f.y + -(PS0f); -PS1f = R0f.y; -// 2 -R0f.x = R2f.x; -R3f.y = R2f.y + -(PV1f.x); -R0f.z = PV1f.z; -R0f.w = PV1f.w; -R2f.z = R2f.y + PV1f.x; -PS0f = R2f.z; -// 3 -R3f.x = R2f.x; -R4f.y = R2f.y + -(R127f.y); -R3f.z = PS0f; -R3f.w = R2f.y; -R2f.z = R2f.y + R127f.y; -PS1f = R2f.z; -// 4 -R4f.xzw = vec3(R2f.x,PS1f,R2f.y); -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem1 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// export -passParameterSem2 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -// 0 -} diff --git a/Source/WindWakerHD/8d68a0e3561ff525_0000000000000000_vs.txt b/Source/WindWakerHD/8d68a0e3561ff525_0000000000000000_vs.txt deleted file mode 100644 index 30dd4ff3..00000000 --- a/Source/WindWakerHD/8d68a0e3561ff525_0000000000000000_vs.txt +++ /dev/null @@ -1,105 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 8d68a0e3561ff525 //scale bloom to res -const float resScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = 0.0; -R1f.w = 1.0; -R127f.y = intBitsToFloat(uf_remappedVS[0].x) * intBitsToFloat(0x3fb13a93) / resScale; -PS0f = R127f.y; -// 1 -PV1f.x = intBitsToFloat(uf_remappedVS[0].x) * intBitsToFloat(0x404ec4f0) / resScale; -R126f.y = intBitsToFloat(uf_remappedVS[0].x) * intBitsToFloat(0x40a275f7); -R3f.z = R2f.x + PS0f; -R3f.w = R2f.x; -R3f.x = R2f.y; -PS1f = R3f.x; -// 2 -R0f.x = PS1f; -R3f.y = R2f.x + -(R127f.y); -R0f.z = R2f.x + PV1f.x; -R0f.w = R2f.x; -R0f.y = R2f.x + -(PV1f.x); -PS0f = R0f.y; -// 3 -backupReg0f = R2f.x; -backupReg0f = R2f.x; -backupReg0f = R2f.x; -R2f.x = R3f.x; -R2f.y = backupReg0f + -(R126f.y); -R2f.z = backupReg0f + R126f.y; -R2f.w = backupReg0f; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem1 = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem2 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// export -passParameterSem0 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// 0 -} diff --git a/Source/WindWakerHD/d283b9338c6b10c5_0000000000000000_vs.txt b/Source/WindWakerHD/d283b9338c6b10c5_0000000000000000_vs.txt deleted file mode 100644 index 3dd15633..00000000 --- a/Source/WindWakerHD/d283b9338c6b10c5_0000000000000000_vs.txt +++ /dev/null @@ -1,84 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader d283b9338c6b10c5 //AO noise/de-banding scaling -const float resScale = ; -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R1f.x; -backupReg1f = R1f.y; -R1f.x = backupReg0f; -R1f.x *= 2.0; -R1f.y = backupReg1f; -R1f.y *= 2.0; -R1f.z = 0.0; -R1f.w = 1.0; -PS0f = 1.0 / intBitsToFloat(uf_remappedVS[0].x)*resScale; -// 1 -PV1f.w = mul_nonIEEE(R2f.x, PS0f); -PS1f = 1.0 / intBitsToFloat(uf_remappedVS[0].y)*resScale; -// 2 -PV0f.y = mul_nonIEEE(PV1f.w, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.z = mul_nonIEEE(R2f.y, PS1f); -// 3 -PV1f.x = mul_nonIEEE(PV0f.z, intBitsToFloat(uf_remappedVS[0].w)); -R2f.z = PV0f.y; -// 4 -R2f.w = PV1f.x; -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem1 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -// 0 -} diff --git a/Source/WindWakerHD/d9c81460d6984bb2_0000000000000000_vs.txt b/Source/WindWakerHD/d9c81460d6984bb2_0000000000000000_vs.txt deleted file mode 100644 index 9397b8bd..00000000 --- a/Source/WindWakerHD/d9c81460d6984bb2_0000000000000000_vs.txt +++ /dev/null @@ -1,116 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader d9c81460d6984bb2 -//blur shadows step 1 -const float resScale = ; -uniform ivec4 uf_remappedVS[5]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -R127f.x = (R1f.x > 0.0)?1.0:0.0; -R127f.x /= 2.0; -R127f.y = -(R1f.y); -PV0f.y = R127f.y; -R127f.z = (0.0 > R1f.x)?1.0:0.0; -R127f.z /= 2.0; -R127f.w = 1.0; -PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].z) * intBitsToFloat(0x3fae8a72)/ resScale;// fix all... -PS0f = R126f.x; -// 1 -R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R126f.w = (PV0f.y > 0.0)?1.0:0.0; -R126f.w /= 2.0; -PS1f = R126f.w; -// 2 -backupReg0f = R127f.y; -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R127f.y = (0.0 > backupReg0f)?1.0:0.0; -R127f.y /= 2.0; -PS0f = R127f.y; -// 3 -backupReg0f = R127f.x; -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R127f.x = backupReg0f + -(R127f.z); -PS1f = R127f.x; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -PS0f = R126f.w + -(R127f.y); -// 5 -PV1f.y = PS0f + 0.5; -PV1f.z = R127f.x + 0.5; -// 6 -R1f.x = PV1f.y; -R1f.y = PV1f.z + -(R126f.x); -R1f.z = PV1f.z + R126f.x; -R1f.w = PV1f.z; -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.w); -// export -passParameterSem0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// 0 -} diff --git a/Source/WindWakerHD/ff71dcd2ad4defdc_00000000000003c9_ps.txt b/Source/WindWakerHD/ff71dcd2ad4defdc_00000000000003c9_ps.txt deleted file mode 100644 index 01370fd6..00000000 --- a/Source/WindWakerHD/ff71dcd2ad4defdc_00000000000003c9_ps.txt +++ /dev/null @@ -1,197 +0,0 @@ - -#version 420 -#extension GL_ARB_texture_gather : enable -// shader ff71dcd2ad4defdc -//AA ps -const float resScale = ; -uniform ivec4 uf_remappedPS[4]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5807800 res 1920x1080x1 dim 1 tm: 4 format 0019 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4000800 res 1920x1080x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem2; -if( activeMaskStackC[1] == true ) { -R1f.xyzw = (textureGather(textureUnitPS1, R0f.xy).wzxy); -R2f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0f.x = R1f.y + R1f.x; -R127f.y = intBitsToFloat(uf_remappedPS[0].z) * 0.25; -PV0f.z = R1f.w + -(R1f.x); -PV0f.w = R1f.z + -(R1f.y); -R127f.z = mul_nonIEEE(R2f.x, intBitsToFloat(uf_remappedPS[1].x)); -PS0f = R127f.z; -// 1 -R127f.x = PV0f.w + -(PV0f.z); -PV1f.x = R127f.x; -R126f.y = PV0f.w + PV0f.z; -PV1f.y = R126f.y; -PV1f.z = R1f.z + PV0f.x; -R127f.w = min(R1f.z, R1f.x); -R126f.w = min(R1f.w, R1f.y); -PS1f = R126f.w; -// 2 -PV0f.x = R1f.w + PV1f.z; -PV0f.y = max(PV1f.x, -(PV1f.x)); -PV0f.z = max(PV1f.y, -(PV1f.y)); -PV0f.w = max(R1f.z, R1f.x); -PS0f = max(R1f.w, R1f.y); -// 3 -PV1f.x = min(PV0f.z, PV0f.y); -R123f.y = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedPS[1].y)) + R127f.z); -PV1f.y = R123f.y; -R127f.z = min(R127f.w, R126f.w); -PV1f.z = R127f.z; -R123f.w = (mul_nonIEEE(R127f.y,PV0f.x) + intBitsToFloat(uf_remappedPS[0].w)); -PV1f.w = R123f.w; -R127f.w = max(PV0f.w, PS0f); -PS1f = R127f.w; -// 4 -PV0f.x = mul_nonIEEE(PS1f, intBitsToFloat(uf_remappedPS[2].x)); -PV0f.y = max(PV1f.y, PS1f); -PV0f.z = min(PV1f.y, PV1f.z); -PV0f.w = max(PV1f.w, PV1f.x); -R4f.z = -(PV1f.z) + PS1f; -PS0f = R4f.z; -// 5 -R3f.x = max(PV0f.x, intBitsToFloat(uf_remappedPS[2].y)); -R3f.y = -(PV0f.z) + PV0f.y; -R4f.w = R127f.z + R127f.w; -PS1f = 1.0 / PV0f.w; -// 6 -PV0f.x = mul_nonIEEE(R127f.x, PS1f); //p -PV0f.y = mul_nonIEEE(R126f.y, PS1f); -// 7 -PV1f.z = max(PV0f.x, -(intBitsToFloat(uf_remappedPS[0].y))); //p -PV1f.w = max(PV0f.y, -(intBitsToFloat(uf_remappedPS[0].y))); -// 8 -R1f.x = min(PV1f.w, intBitsToFloat(uf_remappedPS[0].y)); -R1f.y = min(PV1f.z, intBitsToFloat(uf_remappedPS[0].y)); -// 9 -predResult = (R3f.y > R3f.x); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R3f.x = (mul_nonIEEE(R1f.x,-(intBitsToFloat(uf_remappedPS[3].z) / resScale)) + R0f.x); -R3f.y = (mul_nonIEEE(R1f.y,-(intBitsToFloat(uf_remappedPS[3].w) / resScale)) + R0f.y); -R0f.z = (mul_nonIEEE(R1f.x,intBitsToFloat(uf_remappedPS[3].z)) + R0f.x); //leave out, looks better on avg -R0f.w = (mul_nonIEEE(R1f.y,intBitsToFloat(uf_remappedPS[3].w)) + R0f.y);//leave out, looks better on avg -R4f.x = (mul_nonIEEE(R1f.x,-(intBitsToFloat(uf_remappedPS[3].x) / resScale)) + R0f.x); -PS0f = R4f.x; -// 1 -R4f.y = (mul_nonIEEE(R1f.y,-(intBitsToFloat(uf_remappedPS[3].y)/resScale)) + R0f.y); -R3f.z = (mul_nonIEEE(R1f.x,intBitsToFloat(uf_remappedPS[3].x) / resScale) + R0f.x); -R3f.w = (mul_nonIEEE(R1f.y,intBitsToFloat(uf_remappedPS[3].y) / resScale) + R0f.y); -} -if( activeMaskStackC[2] == true ) { -R1f.xyzw = (texture(textureUnitPS0, R0f.zw).xyzw); -R0f.xyzw = (texture(textureUnitPS0, R3f.xy).xyzw); -R2f.xyzw = (texture(textureUnitPS0, R4f.xy).xyzw); -R3f.xyzw = (texture(textureUnitPS0, R3f.zw).xyzw); -} -if( activeMaskStackC[2] == true ) { -// 0 -R127f.xyz = vec3(R0f.x,R0f.w,R0f.z) + vec3(R1f.x,R1f.w,R1f.z); -PV0f.x = R127f.x; -PV0f.y = R127f.y; -PV0f.z = R127f.z; -R127f.w = R0f.y + R1f.y; -PV0f.w = R127f.w; -// 1 -PV1f.x = R2f.x + PV0f.x; -PV1f.y = R2f.w + PV0f.y; -PV1f.z = R2f.z + PV0f.z; -PV1f.w = R2f.y + PV0f.w; -// 2 -R126f.x = R3f.x + PV1f.x; -R126f.x /= 2.0; -PV0f.x = R126f.x; -R126f.y = R3f.w + PV1f.y; -R126f.y /= 2.0; -PV0f.y = R126f.y; -R126f.z = R3f.z + PV1f.z; -R126f.z /= 2.0; -PV0f.z = R126f.z; -R126f.w = R3f.y + PV1f.w; -R126f.w /= 2.0; -PV0f.w = R126f.w; -// 3 -backupReg0f = R127f.y; -R123f.x = (mul_nonIEEE(PV0f.x,intBitsToFloat(uf_remappedPS[1].x)) + -(R4f.w)); -PV1f.x = R123f.x; -R127f.yzw = vec3(R127f.z,R127f.w,R127f.x) + vec3(-(PV0f.z),-(PV0f.w),-(PV0f.x)); -R127f.x = backupReg0f + -(PV0f.y); -PS1f = R127f.x; -// 4 -R123f.w = (mul_nonIEEE(R126f.w,intBitsToFloat(uf_remappedPS[1].y)) + PV1f.x); -PV0f.w = R123f.w; -// 5 -PV1f.z = max(PV0f.w, -(PV0f.w)); -// 6 -PV0f.y = -(R4f.z) + PV1f.z; -// 7 -R123f.x = intBitsToFloat(((PV0f.y >= 0.0)?(floatBitsToInt(1.0)):(0))); -PV1f.x = R123f.x; -// 8 -R2f.x = (mul_nonIEEE(R127f.w,PV1f.x) + R126f.x)/2.0; -R2f.y = (mul_nonIEEE(R127f.z,PV1f.x) + R126f.w)/2.0; -R2f.z = (mul_nonIEEE(R127f.y,PV1f.x) + R126f.z)/2.0; -R2f.w = (mul_nonIEEE(R127f.x,PV1f.x) + R126f.y)/2.0; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -passPixelColor0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w); -} diff --git a/Source/WindWakerHD/patches.txt b/Source/WindWakerHD/patches.txt deleted file mode 100644 index fd5a4dff..00000000 --- a/Source/WindWakerHD/patches.txt +++ /dev/null @@ -1,28 +0,0 @@ - -[WWHDAspectEUR] -moduleMatches = 0xB7E748DE -0x1004AAF0 = .float -0x101417E0 = .float -0x101658A8 = .float - -[WWHDAspectJAP] -moduleMatches = 0x74BD3F6A -0x1004AAF0 = .float -0x101417F8 = .float -0x101658C0 = .float - -[WWHDAspectUSA] -moduleMatches = 0x475BD29F -0x1004AAF0 = .float -0x101417D0 = .float -0x10165898 = .float diff --git a/Source/WindWakerHD/rules.txt b/Source/WindWakerHD/rules.txt index 725af760..4a97ac67 100644 --- a/Source/WindWakerHD/rules.txt +++ b/Source/WindWakerHD/rules.txt @@ -1,75 +1,281 @@ - [Definition] titleIds = 0005000010143400,0005000010143600,0005000010143500 -name = "The Legend of Zelda: The Wind Waker HD - " -version = 2 +name = Resolution +path = "The Legend of Zelda: The Wind Waker HD/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] #0x01a, super sampling -formats = 0x01a -overwriteRelativeLodBias = -16 # +[Preset] +name = 1920x1080 (Default) +$width = 1920 +$height = 1080 +$gameWidth = 1920 +$gameHeight = 1080 +// Performance -[TextureRedefine] # game rendering resolution +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 1280x720 +$width = 1280 +$height = 720 +$gameWidth = 1920 +$gameHeight = 1080 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1920 +$gameHeight = 1080 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1920 +$gameHeight = 1080 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1920 +$gameHeight = 1080 + +[TextureRedefine] +width = 1920 +height = 1088 +#formats = 0x80e,0x019,0x001 +overwriteWidth = ($width/$gameWidth) * 1920 +overwriteHeight = ($height/$gameHeight) * 1088 + +[TextureRedefine] width = 1920 height = 1080 -formatsExcluded = 0x41A # exclude the intro background texture -overwriteWidth = -overwriteHeight = +#formatsExcluded = 0x41A +overwriteWidth = ($width/$gameWidth) * 1920 +overwriteHeight = ($height/$gameHeight) * 1080 -[TextureRedefine] # Shadow projection -width = 960 -height = 540 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # shadow blur, Bloom pyarmid start -width = 480 -height = 270 -#formatsExcluded = 0x816 # uncomment for original large bloom -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad rendering resolution -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # last shadow blur. Bloom pyramid 2 -width = 240 -height = 135 -#formatsExcluded = 0x816 # uncomment for original large bloom -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Bloom pyramid 3 -width = 120 -height = 67 -#formatsExcluded = 0x816 # uncomment for original large bloom -overwriteWidth = -overwriteHeight = - - -[TextureRedefine] # Bloom pyramid 4 last step -width = 60 -height = 33 -#formatsExcluded = 0x816 # uncomment for original large bloom -overwriteWidth = -overwriteHeight = - [TextureRedefine] #Shadows width = 1024 height = 1024 -formats = 0x005 -overwriteWidth = -overwriteHeight = \ No newline at end of file +formats = 0x005 #,0x034,0x431,0x034 +overwriteWidth = ($height/$gameHeight) * 1024 +overwriteHeight = ($height/$gameHeight) * 1024 + +[TextureRedefine] #Shadows +width = 1024 +height = 544 +#formats = 0x005,0x80e,0x019,0x001 #,0x034,0x431,0x034 +overwriteWidth = ($width/$gameWidth) * 1024 +overwriteHeight = ($height/$gameHeight) * 544 + + + +[TextureRedefine] +width = 960 +height = 540 +#formats = 0x816,0x806,0x019,0x01a +overwriteWidth = ($width/$gameWidth) * 960 +overwriteHeight = ($height/$gameHeight) * 540 + + +[TextureRedefine] +width = 960 +height = 544 +#formats = 0x816,0x806,0x019,0x01a +overwriteWidth = ($width/$gameWidth) * 960 +overwriteHeight = ($height/$gameHeight) * 544 + +[TextureRedefine] +width = 864 +height = 480 +#formats = +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + + +[TextureRedefine] +width = 854 +height = 480 +#formats = +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 + + + +[TextureRedefine] +width = 512 +height = 512 +formats = 0x806,0x019,0x01a +overwriteWidth = ($height/$gameHeight) * 512 +overwriteHeight = ($height/$gameHeight) * 512 + +[TextureRedefine] +width = 480 +height = 272 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 272 + +[TextureRedefine] +width = 480 +height = 270 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 270 + +#[TextureRedefine] +#width = 360 +#height = 346 +##formats = +#overwriteWidth = ($width/$gameWidth) * 360 +#overwriteHeight = ($height/$gameHeight) * 346 + +[TextureRedefine] +width = 256 +height = 144 +#formats = 0x816 +#formatsExcluded = 0x01a +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 144 + +[TextureRedefine] +width = 256 +height = 256 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 256 + +[TextureRedefine] +width = 256 +height = 144 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 144 + + +[TextureRedefine] +width = 240 +height = 135 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 240 +overwriteHeight = ($height/$gameHeight) * 135 + +[TextureRedefine] +width = 128 +height = 128 +formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 128 + +[TextureRedefine] +width = 128 +height = 80 +#formats = 0x816 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 80 + +[TextureRedefine] +width = 120 +height = 67 +#formats = +overwriteWidth = ($width/$gameWidth) * 120 +overwriteHeight = ($height/$gameHeight) * 67 + +[TextureRedefine] +width = 64 +height = 64 +formats = 0x816 +overwriteWidth = ($height/$gameHeight) * 64 +overwriteHeight = ($height/$gameHeight) * 64 + +[TextureRedefine] +width = 64 +height = 48 +#formats = +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 48 + +[TextureRedefine] +width = 60 +height = 33 +#formats = +overwriteWidth = ($width/$gameWidth) * 60 +overwriteHeight = ($height/$gameHeight) * 33 \ No newline at end of file diff --git a/Source/Wipeout3/rules.txt b/Source/Wipeout3/rules.txt deleted file mode 100644 index e2426864..00000000 --- a/Source/Wipeout3/rules.txt +++ /dev/null @@ -1,38 +0,0 @@ - -[Definition] -titleIds = 000500001010E800 -name = "Wipeout 3 - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -tileModesExcluded = 0x001 # fix for the green intro video (with cemu hook installed) -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -tileModesExcluded = 0x001 # fix for the green intro video (with cemu hook installed) -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/WipeoutCreate/rules.txt b/Source/WipeoutCreate/rules.txt deleted file mode 100644 index e9478cbc..00000000 --- a/Source/WipeoutCreate/rules.txt +++ /dev/null @@ -1,36 +0,0 @@ - -[Definition] -titleIds = 0005000010145500 -name = "Wipeout Create & Crash - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# q-res -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # gamepad -width = 854 -height = 480 -#overwriteWidth = -#overwriteHeight = diff --git a/Source/Wonderful101/rules.txt b/Source/Wonderful101/rules.txt index a105baea..9d9937a5 100644 --- a/Source/Wonderful101/rules.txt +++ b/Source/Wonderful101/rules.txt @@ -1,57 +1,192 @@ - [Definition] titleIds = 0005000010116300,000500001012DC00,0005000010135300 -name = "The Wonderful 101 - " -version = 2 +name = Resolution +path = "The Wonderful 101/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution width = 1280 height = 720 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 -[TextureRedefine] +[TextureRedefine] # Depth of Field Pass? Bloom Pass? +width = 640 +height = 368 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 368 + +[TextureRedefine] # Depth of Field Pass? Bloom Pass? width = 640 height = 360 tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 360 -[TextureRedefine] +[TextureRedefine] # Bloom Pass +width = 320 +height = 192 +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 192 + +[TextureRedefine] # Bloom Pass width = 320 height = 180 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 320 +overwriteHeight = ($height / $gameHeight) * 180 -[TextureRedefine] +[TextureRedefine] # Bloom Pass Mip +width = 160 +height = 96 +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 96 + +[TextureRedefine] # Bloom Pass Mip width = 160 height = 90 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 160 +overwriteHeight = ($height / $gameHeight) * 90 -[TextureRedefine] +[TextureRedefine] # Bloom Pass Mip +width = 96 +height = 48 +overwriteWidth = ($width / $gameWidth) * 96 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] # Bloom Pass Mip width = 80 -height = 22 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 40 height = 45 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 80 +overwriteHeight = ($height / $gameHeight) * 45 -[TextureRedefine] # gamepad -width = 854 +[TextureRedefine] # Bloom Pass Mip +width = 64 +height = 32 +formats = 0x1a +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 32 + +[TextureRedefine] # Bloom Pass Mip +width = 40 +height = 22 +overwriteWidth = ($width / $gameWidth) * 40 +overwriteHeight = ($height / $gameHeight) * 22 + +[TextureRedefine] # Gamepad Resolution +width = 864 height = 480 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 864 +overwriteHeight = ($height / $gameHeight) * 480 diff --git a/Source/WoollyWorld/patches.txt b/Source/WoollyWorld/patches.txt deleted file mode 100644 index 1264dc0e..00000000 --- a/Source/WoollyWorld/patches.txt +++ /dev/null @@ -1,15 +0,0 @@ - -[WoollyUW] -moduleMatches = 0x363CA665 -0x10274058 = .float -0x10001A44 = .float diff --git a/Source/WoollyWorld/rules.txt b/Source/WoollyWorld/rules.txt deleted file mode 100644 index b679e35e..00000000 --- a/Source/WoollyWorld/rules.txt +++ /dev/null @@ -1,26 +0,0 @@ - -[Definition] -titleIds = 0005000010131F00,0005000010184E00,0005000010184D00 -name = "Yoshi's Woolly World - " -version = 2 - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x033 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half res -width = 640 -height = 360 -overwriteWidth = -overwriteHeight = diff --git a/Source/WorldOfKeflings/rules.txt b/Source/WorldOfKeflings/rules.txt index 2b2b8a69..01190b76 100644 --- a/Source/WorldOfKeflings/rules.txt +++ b/Source/WorldOfKeflings/rules.txt @@ -1,18 +1,123 @@ - [Definition] titleIds = 000500001017b300 -name = "A World Of Keflings - " -version = 2 +name = Resolution +path = "A World of Keflings/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 + +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 [TextureRedefine] width = 1280 height = 720 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 diff --git a/Source/XenobladeX/007148d1db7f78e7_0000000000000000_vs.txt b/Source/XenobladeX/007148d1db7f78e7_0000000000000000_vs.txt deleted file mode 100644 index bac10148..00000000 --- a/Source/XenobladeX/007148d1db7f78e7_0000000000000000_vs.txt +++ /dev/null @@ -1,1428 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 007148d1db7f78e7 -//fog clouds -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -layout(location = 11) in uvec4 attrDataSem11; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R15i = ivec4(0); -ivec4 R16i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem11.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R12i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R126i.z; -R126i.w = R5i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R126i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R125i.x = R6i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R8i.x))); -R126i.z = R6i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R6i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R8i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R125i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 8 -R126i.x = R6i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R6i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R6i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R126i.z))); -R125i.x = R6i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.y))); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R125i.x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R125i.x))); -PS1i = R124i.x; -// 12 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R125i.x))); -PV0i.z = R125i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(backupReg0i)); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R8i.x))); -PV1i.x = R5i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R8i.y))); -PV1i.y = R0i.y; -R15i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(PV0i.z))); -R6i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R14i.x = 0; -PS1i = R14i.x; -// 14 -R5i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R13i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.z)); -R13i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R126i.y)); -R8i.w = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.x))); -R8i.y = 0; -PS0i = R8i.y; -// 15 -R8i.x = 0x3f800000; -R6i.y = 0x3f800000; -R8i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R7i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R4i.w = floatBitsToInt(-(intBitsToFloat(R127i.x)) + 1.0); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R0i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R6i.z = 0; -PS1i = R6i.z; -// 18 -R14i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R14i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R15i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R7i.x = PS0i; -R5i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R7i.y = PS0i; -PS1i = R7i.y; -// 26 -R12i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R12i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R1i.z,R0i.w,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R8i.x = uf_remappedVS[1].z; -PS0i = R8i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = uf_remappedVS[4].z; -PS1i = R8i.y; -// 4 -R8i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.z = tempi.x; -// 12 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R5i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -R0i.x = uf_remappedVS[1].x; -PS0i = R0i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R7i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.z), intBitsToFloat(R8i.z))); -R0i.y = uf_remappedVS[1].y; -R0i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R5i.y; -R5i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R14i.z; -R14i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.z))); -R16i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS1i))); -PS0i = R16i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R15i.x),intBitsToFloat(R7i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R15i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R0i.z; -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R14i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R14i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R14i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R14i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R0i.y = 0; -R0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R5i.y = 0x3f800000; -PS0i = R5i.y; -// 1 -R14i.y = 0; -R5i.z = 0; -R14i.z = uf_remappedVS[1].x; -PS1i = R14i.z; -// 2 -R11i.z = 0; -// 3 -R6i.z = R12i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R8i.x = backupReg1i; -PS0i = R8i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -R8i.y = R5i.z; -PS1i = R8i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R14i.x),intBitsToFloat(R14i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -R8i.z = R14i.z; -PS0i = R8i.z; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R15i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = R13i.x; -PV1i.y = R13i.x; -PV1i.z = R13i.x; -PV1i.w = R13i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.z))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R15i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R14i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R15i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R14i.x),intBitsToFloat(R14i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R13i.x = R13i.z; -R13i.z = R5i.x; -R6i.x = R14i.z; -PS0i = R6i.x; -// 1 -R6i.y = R1i.y; -R6i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R5i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R13i.z):(R13i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R5i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(R5i.x)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R13i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R14i.z):(R14i.z)); -PV0i.w = R123i.w; -R6i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R6i.x; -// 3 -backupReg0i = R6i.y; -R8i.x = ((R127i.y == 0)?(0):(R14i.x)); -R6i.y = ((R127i.y == 0)?(R127i.z):(R14i.z)); -R6i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R8i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R8i.y; -// 4 -backupReg0i = R8i.z; -R8i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.y), intBitsToFloat(R15i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R15i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.y), intBitsToFloat(R7i.y))); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R1i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R7i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R5i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R15i.x))); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R7i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.x))); -PS0i = R126i.x; -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R7i.x)) + intBitsToFloat(R127i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R5i.y)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R126i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R125i.x))); -PS0i = R124i.z; -// 5 -backupReg0i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R11i.z = 0; -PS1i = R11i.z; -// 6 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.w))); -// 7 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(R125i.x))); -// 8 -backupReg0i = R127i.z; -backupReg1i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(R124i.z))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R127i.x))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R125i.y; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R126i.z))); -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.x; -// 10 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.w))); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R127i.y),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.z; -backupReg1i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(R126i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedVS[6].z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.z))); -PS0i = R0i.x; -// 13 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.w))); -PS1i = R124i.x; -// 14 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R124i.y))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.z))); -// 15 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R124i.x))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(R0i.x))); -PS1i = R122i.x; -// 16 -backupReg0i = R127i.y; -backupReg1i = R126i.w; -backupReg1i = R126i.w; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedVS[6].y))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedVS[6].x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedVS[6].z))); -PS0i = R124i.x; -// 17 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg1i = R124i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R124i.z))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(R126i.y))); -PS1i = R122i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PS1i))); -PS0i = R124i.y; -// 19 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R124i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R126i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R124i.w))); -PS1i = R127i.x; -// 20 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R124i.z))); -PV0i.w = R123i.w; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.x))); -PS0i = R13i.x; -// 21 -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R127i.x))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R126i.y))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PS1i = R13i.z; -// 22 -R6i.z = R12i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -R0i.x = 0; -PS0i = R0i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R6i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R6i.x; -// 3 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R126i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R126i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.x; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R6i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -R127i.y = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.w))); -R126i.w = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.w; -// 7 -R5i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.x))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R126i.w; -// 9 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.y; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + -(0.0)); -R0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R126i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -PS0i = R126i.w; -// 11 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R5i.y = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.y = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R127i.y; -// 12 -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R12i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV1i.w))); -PV0i.y = R124i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV1i.w))); -PV0i.z = R125i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R125i.x = floatBitsToInt(sin((intBitsToFloat(R127i.x))/0.1591549367)); -PS0i = R125i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R125i.w))); -R127i.z = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -PS1i = R127i.z; -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.z)); -PV0i.x = R2i.x; -R12i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R12i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R2i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R126i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.w))); -PS0i = R126i.y; -// 15 -backupReg0i = R0i.w; -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R14i.x; -PV1i.y = R14i.x; -PV1i.z = R14i.x; -PV1i.w = R14i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.x)),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.w))); -PS1i = R125i.y; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R12i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(R124i.x))); -PS0i = R126i.z; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R12i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.x))); -PS1i = R122i.x; -// 18 -backupReg0i = R126i.z; -backupReg1i = R9i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(PS1i)) + intBitsToFloat(R10i.y))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(R9i.x))); -R2i.y = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -PS0i = R2i.y; -// 19 -backupReg0i = R10i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -PS1i = R10i.x; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R124i.x; -// 21 -backupReg0i = R1i.y; -R1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R1i.y = floatBitsToInt(intBitsToFloat(R126i.z) + 0.5); -R9i.z = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 0.5); -R10i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[12].w))); -PV1i.w = R10i.w; -R7i.x = floatBitsToInt(intBitsToFloat(R127i.w) + 0.5); -PS1i = R7i.x; -// 22 -backupReg0i = R0i.w; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R12i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = R12i.x; -PV0i.y = R12i.x; -PV0i.z = R12i.x; -PV0i.w = R12i.x; -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R124i.x))); -PS0i = R10i.z; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R12i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R1i.x))); -PS0i = R124i.y; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R12i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R10i.z)); -PS1i = R127i.x; -// 2 -backupReg0i = R9i.y; -backupReg1i = R10i.x; -R124i.x = ((R5i.x == 0)?(PS1i):(PS1i)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[0].z))); -R126i.w = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R124i.y)); -R10i.x = floatBitsToInt(intBitsToFloat(backupReg1i) + 0.5); -PS0i = R10i.x; -// 3 -backupReg0i = R0i.w; -backupReg1i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R12i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R124i.y = ((R5i.x == 0)?(PV0i.z):(backupReg1i)); -PS1i = R124i.y; -// 4 -R123i.x = ((R5i.x == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(R6i.z))); -R127i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((R5i.x == 0)?(R126i.w):(R126i.w)); -PV0i.w = R123i.w; -R1i.x = ((R6i.x == 0)?(R124i.x):(0x3f800000)); -PS0i = R1i.x; -// 5 -R0i.x = 0; -R14i.y = ((R6i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.z = ((R6i.x == 0)?(R124i.y):(0x3f800000)); -R0i.w = ((R6i.x == 0)?(PV0i.x):(0x3f800000)); -R7i.y = floatBitsToInt(intBitsToFloat(R12i.y) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R7i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R7i.z = 0; -PS0i = R7i.z; -// 7 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R2i.w = 0; -PS1i = R2i.w; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R12i.x = ((R127i.z == 0)?(backupReg0i):(R127i.x)); -PS0i = R12i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R126i.z = floatBitsToInt(tempResultf); -PS1i = R126i.z; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.x), intBitsToFloat(PS1i))); -PS0i = R124i.x; -// 11 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R126i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(R126i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PS1i))); -// 13 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -R12i.z = ((R127i.z == 0)?(R7i.z):(R125i.y)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PS0i), -(intBitsToFloat(PS0i)))); -R12i.y = ((R127i.z == 0)?(R7i.y):(R126i.w)); -PS1i = R12i.y; -// 14 -backupReg0i = R126i.y; -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -R126i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(uf_remappedVS[14].y))); -R7i.z = R2i.y; -R12i.w = ((R127i.z == 0)?(R2i.w):(backupReg0i)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 1.0); -PS0i = R7i.y; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R0i.z))); -PV1i.y = R123i.y; -R10i.z = floatBitsToInt(intBitsToFloat(R11i.x) * intBitsToFloat(0x3c800000)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -R10i.y = floatBitsToInt(-(intBitsToFloat(R9i.y)) + 1.0); -PS1i = R10i.y; -// 16 -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -R7i.w = R9i.z; -PS0i = R7i.w; -// 17 -backupReg0i = R0i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.x = R0i.x; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.z = R0i.z; -R10i.w = R11i.y; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 18 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(PS1i)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.z))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.y))); -PS0i = R1i.y; -// 19 -R123i.x = ((R5i.y == 0)?(PV0i.y):(0x3f800000)); -PV1i.x = R123i.x; -// 20 -R3i.z = PV1i.x; -R3i.z = clampFI32(R3i.z); -// 21 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(backupReg0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R0i.y))); -PV0i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R0i.z))); -PS0i = R127i.w; -// 1 -R4i.x = ((PV0i.w == 0)?(R1i.x):(0x3f800000)); -R4i.y = ((PV0i.w == 0)?(R14i.y):(0x3f800000)); -R4i.z = ((PV0i.w == 0)?(R2i.z):(0x3f800000)); -R4i.w = ((PV0i.w == 0)?(R0i.w):(0x3f800000)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[21].y))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R14i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), 0.0)); -PS0i = R127i.z; -// 3 -R0i.x = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R5i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = floatBitsToInt(max(intBitsToFloat(R1i.z), 0.0)); -PS1i = R0i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].z))); -R2i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.x = floatBitsToInt(max(intBitsToFloat(R126i.y), 0.0)); -PS0i = R2i.x; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].z), intBitsToFloat(R127i.z))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[24].w))); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedVS[21].w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[25].w))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 11 -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R126i.w; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.x = R123i.x; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].x)) + intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].y)) + intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].z)) + intBitsToFloat(PV0i.x))); -// 14 -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[19].w))); -} -// export - -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R4i.x)*(origRatio / newRatio), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R12i.x)*(origRatio / newRatio), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem5 = vec4(intBitsToFloat(R10i.x), intBitsToFloat(R10i.y), intBitsToFloat(R10i.z), intBitsToFloat(R10i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/0b8b33c2f133a514_0000000000000000_vs.txt b/Source/XenobladeX/0b8b33c2f133a514_0000000000000000_vs.txt deleted file mode 100644 index bbe9c93f..00000000 --- a/Source/XenobladeX/0b8b33c2f133a514_0000000000000000_vs.txt +++ /dev/null @@ -1,1396 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 0b8b33c2f133a514 -//transport flame 3 *dumped* -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R126i.z; -R126i.w = R4i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PV0i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV0i.z)); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R126i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R125i.x = R5i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R7i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R7i.x)); -R126i.z = R5i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R5i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R7i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R10i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R125i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R127i.w)); -PS1i = R127i.x; -// 8 -R126i.x = R5i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R5i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R5i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R126i.z)); -R125i.x = R5i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV0i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV0i.y)); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(backupReg0i)); -R126i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R125i.x)); -R124i.x = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R125i.x)); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R125i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R1i.z = 0; -PS0i = R1i.z; -// 13 -R4i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R7i.x)); -PV1i.x = R4i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R7i.y)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R7i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R14i.x = 0; -PS1i = R14i.x; -// 14 -R4i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R13i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(R126i.y)); -R10i.w = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.x))); -R12i.y = 0; -PS0i = R12i.y; -// 15 -R12i.x = 0x3f800000; -R7i.y = 0x3f800000; -R12i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R1i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R5i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R4i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R13i.z = 0; -PS1i = R13i.z; -// 18 -R7i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R6i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS1i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R0i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS0i)); -R6i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R5i.x = PS0i; -R4i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R5i.y = PS0i; -PS1i = R5i.y; -// 26 -R11i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R11i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R6i.x = uf_remappedVS[1].z; -PS0i = R6i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = uf_remappedVS[4].z; -PS1i = R6i.y; -// 4 -R6i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.x) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -// 12 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 14 -backupReg0i = R7i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R13i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R0i.x = uf_remappedVS[1].x; -PS0i = R0i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R13i.y),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R12i.z)); -R0i.y = uf_remappedVS[1].y; -R0i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R4i.y; -R4i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(backupReg0i)); -R13i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(PS1i))); -PS0i = R13i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R0i.z; -// 2 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R4i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R4i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R0i.y = 0; -R0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R4i.y = 0x3f800000; -PS0i = R4i.y; -// 1 -R12i.y = 0; -R4i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R10i.z = 0; -// 3 -R13i.z = R11i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -R6i.x = backupReg1i; -PS0i = R6i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -R6i.y = R4i.z; -PS1i = R6i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -R6i.z = R12i.z; -PS0i = R6i.z; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R10i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R4i.z)); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R12i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R13i.x = R14i.z; -R13i.z = R4i.x; -R7i.x = R7i.z; -PS0i = R7i.x; -// 1 -R7i.y = R1i.y; -R7i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R4i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R4i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(R4i.x)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R7i.z):(R7i.z)); -PV0i.w = R123i.w; -R7i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R7i.x; -// 3 -backupReg0i = R7i.y; -R12i.x = ((R127i.y == 0)?(0):(R14i.x)); -R7i.y = ((R127i.y == 0)?(R127i.z):(R7i.z)); -R7i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R12i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R12i.y; -// 4 -backupReg0i = R12i.z; -R12i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R6i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R6i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R5i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R5i.y)); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.x)); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R5i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.z)); -R126i.x = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R5i.x) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R4i.y) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R126i.w)); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R125i.x)); -R126i.z = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R10i.z = 0; -PS0i = R10i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(backupReg0i)); -R126i.w = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -PS1i = R125i.z; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -// 7 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R125i.z; -backupReg1i = R127i.y; -R124i.x = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV1i.y)); -R125i.z = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R126i.z)); -// 9 -backupReg0i = R124i.z; -backupReg1i = R125i.y; -R0i.x = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R0i.w = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS1i = R126i.w; -// 12 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(R126i.z) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[6].z)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R125i.w = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].x)); -R126i.y = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].y)); -PS0i = R126i.y; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(R124i.x)); -R123i.z = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R125i.z)); -// 15 -R5i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R125i.x))); -R5i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -R5i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS0i = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].y)); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -R125i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R125i.z))); -PS0i = R127i.y; -// 19 -backupReg0i = R0i.x; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -PS1i = R127i.w; -// 20 -R6i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R127i.x))); -R6i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R125i.w))); -R6i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.y))); -R7i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.y))); -PS0i = R7i.x; -// 21 -R7i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R126i.x))); -R7i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.w))); -// 22 -R13i.z = R11i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -R1i.w = 0; -PS0i = R1i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R4i.z = R3i.w; -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 2.0); -PS1i = R4i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R4i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R4i.x; -// 3 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.w))); -PV1i.x = R125i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.z))); -PV1i.y = R125i.y; -R124i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.y))); -PV1i.z = R124i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.w; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R13i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R10i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(intBitsToFloat(R13i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -R126i.y = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.w))); -R126i.w = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.z; -// 7 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R126i.y)); -R123i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R126i.w)); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.z; -// 9 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.x; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + -(0.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R2i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R126i.y = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -PS0i = R126i.y; -// 11 -R124i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R2i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R1i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.x; -// 12 -R11i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R11i.x; -R124i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R124i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.x))/0.1591549367)); -PS0i = R127i.w; -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R125i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R125i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R125i.z)); -R125i.z = floatBitsToInt(cos((intBitsToFloat(R126i.x))/0.1591549367)); -PS1i = R125i.z; -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(PV1i.y)); -PV0i.x = R2i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(PV1i.x)); -PV0i.y = R11i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R2i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R125i.x = floatBitsToInt((-(intBitsToFloat(R126i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(R126i.w))); -PS0i = R125i.x; -// 15 -backupReg0i = R0i.w; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R12i.x; -PV1i.y = R12i.x; -PV1i.z = R12i.x; -PV1i.w = R12i.x; -R126i.x = floatBitsToInt((-(intBitsToFloat(R127i.w)) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.y = tempi.x; -R4i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS0i = R4i.w; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -R122i.x = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(R124i.x))); -PS1i = R122i.x; -// 18 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg2i = R126i.z; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(PS1i) + intBitsToFloat(R8i.y))); -R1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -R126i.z = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R5i.x = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + 0.5); -PS0i = R5i.x; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt((intBitsToFloat(R8i.z) * intBitsToFloat(R125i.x) + intBitsToFloat(R8i.x))); -PS1i = R126i.w; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R125i.w; -// 21 -backupReg0i = R9i.x; -R9i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R8i.y = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(R126i.x) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.z = R9i.z; -R8i.w = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(R126i.z) + intBitsToFloat(R9i.y))); -R8i.x = floatBitsToInt(intBitsToFloat(R126i.w) + 0.5); -PS1i = R8i.x; -// 22 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.w = tempi.x; -R9i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R125i.w)); -PS0i = R9i.y; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R9i.z) * intBitsToFloat(R9i.x)); -PS0i = R126i.x; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(R9i.w) + intBitsToFloat(R9i.y)); -PS1i = R127i.w; -// 2 -backupReg0i = R126i.x; -R126i.x = ((R0i.x == 0)?(PS1i):(PS1i)); -R0i.y = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(backupReg0i)); -R9i.x = floatBitsToInt(intBitsToFloat(R8i.y) + 0.5); -PS0i = R9i.x; -// 3 -backupReg0i = R0i.w; -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R125i.x = ((R0i.x == 0)?(PV0i.z):(R1i.w)); -PS1i = R125i.x; -// 4 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -R0i.x = ((R4i.x == 0)?(R126i.x):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R126i.w):(R126i.w)); -PV0i.y = R123i.y; -R127i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((backupReg0i == 0)?(PV1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R9i.y = floatBitsToInt(intBitsToFloat(R8i.w) + 0.5); -PS0i = R9i.y; -// 5 -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z))); -R5i.y = ((R4i.x == 0)?(PV0i.y):(0x3f800000)); -R10i.z = ((R4i.x == 0)?(R125i.x):(0x3f800000)); -R0i.w = ((R4i.x == 0)?(PV0i.w):(0x3f800000)); -R1i.x = 0; -PS1i = R1i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = floatBitsToInt(intBitsToFloat(R11i.y) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS0i = R8i.y; -// 7 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R125i.w = floatBitsToInt(tempResultf); -PS1i = R125i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PS1i)); -PS0i = R126i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R127i.y = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(R125i.w)); -PS1i = R127i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R125i.w)); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PS0i),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS1i)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R2i.z = 0; -PV0i.z = R2i.z; -R1i.w = 0; -PV0i.w = R1i.w; -R6i.x = ((R127i.z == 0)?(R1i.x):(R127i.w)); -PS0i = R6i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -PV1i.x = R127i.x; -R6i.y = ((R127i.z == 0)?(R8i.y):(R126i.w)); -R6i.z = ((R127i.z == 0)?(PV0i.z):(backupReg0i)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -R6i.w = ((R127i.z == 0)?(PV0i.w):(R124i.x)); -PS1i = R6i.w; -// 14 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R2i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(uf_remappedVS[14].y))); -R8i.z = R1i.y; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(R0i.z))); -PV0i.w = R123i.w; -R8i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS0i = R8i.y; -// 15 -backupReg0i = R9i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R4i.w)); -R123i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(R2i.y))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -R9i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS1i = R9i.y; -// 16 -R123i.x = ((R1i.z == 0)?(PV1i.y):(0x3f800000)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R8i.w = R5i.x; -PS0i = R8i.w; -// 17 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) * intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV0i.y)); -R0i.z = PV0i.x; -R0i.z = clampFI32(R0i.z); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.w = R123i.w; -R9i.z = floatBitsToInt(intBitsToFloat(R10i.x) * intBitsToFloat(0x3c800000)); -PS1i = R9i.z; -// 18 -R2i.z = floatBitsToInt(intBitsToFloat(R3i.z) * intBitsToFloat(PV1i.w)); -R9i.w = 0x3f800000; -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R2i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R4i.z)); -PS0i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R5i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -R0i.x = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R5i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R10i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R4i.y) * intBitsToFloat(R4i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R12i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].y)); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(intBitsToFloat(R12i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(PS1i)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -PS0i = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[21].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].w)); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.y))); -} -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/0dbac1e3ebdc5c02_0000000000000000_vs.txt b/Source/XenobladeX/0dbac1e3ebdc5c02_0000000000000000_vs.txt deleted file mode 100644 index f2692e43..00000000 --- a/Source/XenobladeX/0dbac1e3ebdc5c02_0000000000000000_vs.txt +++ /dev/null @@ -1,1377 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 0dbac1e3ebdc5c02 -// float arrow ingame *dumped* -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R127i.z; -R127i.w = R4i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PV0i.x)); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV0i.z)); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R127i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R126i.y = R5i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R5i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R7i.x)); -R125i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R7i.y)); -R126i.w = R5i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R7i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R6i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y)); -R124i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(backupReg0i)); -PS1i = R124i.y; -// 8 -PV0i.x = R5i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R5i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R5i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R127i.x)); -R126i.y = R5i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV0i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV0i.z)); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y)); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R126i.y)); -R4i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PS1i = R4i.y; -// 12 -R126i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R127i.y)); -R11i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(PV1i.x))); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R7i.x)); -PV1i.x = R0i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R7i.y)); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R7i.x = 0; -PS1i = R7i.x; -// 14 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R13i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R13i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R12i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R11i.y = 0; -PS0i = R11i.y; -// 15 -R4i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R7i.y = 0x3f800000; -R11i.z = 0; -R5i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R7i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R7i.w; -// 16 -R11i.x = 0x3f800000; -R0i.z = floatBitsToInt(-(intBitsToFloat(R4i.y)) + 1.0); -R10i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R13i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R12i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R4i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R4i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R5i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R6i.x = PS0i; -R6i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R5i.y = PS0i; -PS1i = R5i.y; -// 26 -R10i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R10i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R4i.z,R0i.w,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R11i.x = uf_remappedVS[1].z; -PS0i = R11i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.y = uf_remappedVS[4].z; -PS1i = R11i.y; -// 4 -R11i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R13i.x; -PV1i.y = R13i.x; -PV1i.z = R13i.x; -PV1i.w = R13i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R13i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.z = tempi.x; -// 12 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R4i.x = uf_remappedVS[1].x; -PS0i = R4i.x; -// 1 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R11i.z)); -R4i.y = uf_remappedVS[1].y; -R4i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -backupReg1i = R6i.x; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R11i.z)); -R6i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(backupReg1i) + intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R4i.z; -// 2 -R4i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R4i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R4i.y = 0; -R4i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R12i.y = 0; -R0i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R6i.z = 0; -// 3 -R7i.z = R10i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -R11i.x = R4i.z; -PS0i = R11i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -R11i.y = backupReg1i; -PS1i = R11i.y; -// 2 -backupReg0i = R13i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -R11i.z = R12i.z; -PS0i = R11i.z; -// 3 -backupReg0i = R0i.z; -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R12i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R13i.x = R13i.z; -R13i.z = R0i.x; -R12i.x = R12i.z; -PS0i = R12i.x; -// 1 -R12i.y = R1i.y; -R12i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R0i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R13i.z):(R13i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R0i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(R0i.x)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R13i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R12i.z):(R12i.z)); -PV0i.w = R123i.w; -R12i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R12i.x; -// 3 -R11i.x = ((R127i.y == 0)?(0):(R7i.x)); -R12i.y = ((R127i.y == 0)?(R127i.z):(R12i.z)); -R12i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R11i.y = ((R127i.y == 0)?(0):(R7i.y)); -PS1i = R11i.y; -// 4 -backupReg0i = R11i.z; -R11i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R5i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R5i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R5i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R5i.y)); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R4i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R125i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R5i.x)); -PS1i = R125i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R5i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.z)); -R126i.x = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R0i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R6i.x) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R6i.y) + intBitsToFloat(backupReg1i))); -PV1i.w = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R125i.z)); -PS1i = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R126i.w)); -// 4 -backupReg0i = R126i.z; -R127i.x = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R125i.w) + intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R125i.x)); -R126i.z = floatBitsToInt((intBitsToFloat(R4i.x) * intBitsToFloat(R125i.w) + intBitsToFloat(R127i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(R4i.x) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 5 -backupReg0i = R126i.x; -backupReg1i = R0i.z; -R126i.x = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(R125i.z)); -R123i.y = floatBitsToInt((intBitsToFloat(R4i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(R126i.w)); -R126i.w = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -R125i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.w))); -PS1i = R125i.y; -// 6 -backupReg0i = R126i.y; -R5i.x = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y))); -PV0i.y = R126i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(R125i.x)); -R123i.w = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -R6i.z = 0; -PS0i = R6i.z; -// 7 -backupReg0i = R125i.w; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.w))); -R126i.z = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(PV0i.y)); -R125i.w = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(backupReg1i))); -PS1i = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(PV0i.y)); -// 8 -R6i.x = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R127i.x))); -R124i.y = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R127i.z) + intBitsToFloat(R127i.w))); -R127i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R127i.y) + intBitsToFloat(R126i.w))); -R4i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS1i))); -PS0i = R4i.x; -// 9 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.y),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.w))); -PS1i = R7i.x; -// 10 -backupReg0i = R127i.y; -backupReg1i = R126i.x; -backupReg2i = R126i.z; -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[6].y)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[6].z)); -R126i.z = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(backupReg1i))); -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[6].x)); -R0i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg2i))); -PS0i = R0i.x; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(R127i.z)); -PS1i = R127i.x; -// 12 -backupReg0i = R0i.y; -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R126i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R124i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.w))); -PS0i = R124i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -PV1i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R126i.z)); -R123i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.x))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R127i.z)); -// 14 -R13i.x = floatBitsToInt((intBitsToFloat(R125i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.x))); -R13i.y = floatBitsToInt((intBitsToFloat(R125i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV1i.w))); -R13i.z = floatBitsToInt((intBitsToFloat(R125i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV1i.z))); -R126i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R0i.y) + intBitsToFloat(PV1i.y))); -R125i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R124i.y) + intBitsToFloat(PS1i))); -PS0i = R125i.x; -// 15 -PV1i.x = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(R126i.z)); -R123i.w = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x))); -PV1i.w = R123i.w; -// 16 -R123i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(R0i.x))); -PV0i.x = R123i.x; -R124i.y = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[6].y)); -R126i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[6].z)); -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[6].x)); -R124i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(R0i.y) + intBitsToFloat(PV1i.x))); -PS0i = R124i.x; -// 17 -R123i.x = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].z)); -R125i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].y)); -// 18 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R126i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R124i.y))); -// 19 -backupReg0i = R124i.x; -backupReg1i = R127i.z; -R124i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R127i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(R7i.x) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R125i.w))); -R125i.w = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -// 20 -R11i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R126i.z))); -R11i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R127i.w))); -R123i.z = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R7i.x) + intBitsToFloat(R126i.w))); -PV0i.z = R123i.z; -R11i.z = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R125i.x))); -PS0i = R11i.z; -// 21 -R5i.x = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.x))); -R5i.y = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R127i.z))); -R5i.z = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R125i.w))); -// 22 -R7i.z = R10i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -R1i.w = 0; -PS0i = R1i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R10i.z = R3i.w; -R10i.z = floatBitsToInt(intBitsToFloat(R10i.z) * 2.0); -PS1i = R10i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R4i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R4i.x; -// 3 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R124i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R10i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R10i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.z)); -R126i.y = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.z = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(PV1i.y))); -R125i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.y; -// 7 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -R123i.z = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R127i.z)); -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.z; -// 9 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.x = R126i.x; -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.x; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + -(0.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R2i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R127i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.x))/0.1591549367)); -PS0i = R127i.w; -// 11 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R0i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R4i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R10i.y = floatBitsToInt(sin((intBitsToFloat(R126i.y))/0.1591549367)); -PS1i = R10i.y; -// 12 -backupReg0i = R126i.y; -R10i.x = floatBitsToInt(intBitsToFloat(R13i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R10i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R13i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R13i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R124i.x = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -PS0i = R124i.x; -// 13 -backupReg0i = R125i.y; -backupReg0i = R125i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R125i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(backupReg0i)); -PS1i = floatBitsToInt(cos((intBitsToFloat(R126i.x))/0.1591549367)); -// 14 -R2i.xyz = floatBitsToInt(vec3(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(R126i.z)) + vec3(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.w))); -PV0i.x = R2i.x; -PV0i.y = R2i.y; -PV0i.z = R2i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R122i.x = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(R1i.y) + intBitsToFloat(R127i.x))); -PS0i = R122i.x; -// 15 -backupReg0i = R0i.w; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(PS0i) + intBitsToFloat(R9i.y))); -PS1i = R125i.x; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -R127i.x = floatBitsToInt((-(intBitsToFloat(R127i.w)) * intBitsToFloat(R1i.y) + intBitsToFloat(R126i.w))); -PS0i = R127i.x; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -R4i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R4i.y; -// 18 -backupReg0i = R1i.y; -R123i.x = floatBitsToInt((-(intBitsToFloat(R10i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(R125i.y))); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(R127i.x) + intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.w))); -R125i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R1i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -PS0i = R1i.z; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt((intBitsToFloat(R8i.z) * intBitsToFloat(PV0i.x) + intBitsToFloat(R8i.x))); -PS1i = R125i.y; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R127i.w; -// 21 -backupReg0i = R8i.y; -R8i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R8i.y = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.y = R8i.y; -R9i.z = floatBitsToInt(intBitsToFloat(R125i.x) + 0.5); -R9i.w = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R126i.z) + intBitsToFloat(backupReg0i))); -R7i.x = floatBitsToInt(intBitsToFloat(R125i.y) + 0.5); -PS1i = R7i.x; -// 22 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.w = tempi.x; -R8i.z = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R127i.w)); -PS0i = R8i.z; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = tempi.x; -R125i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(R8i.x)); -PS0i = R125i.x; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(R8i.w) + intBitsToFloat(R8i.z)); -PS1i = R125i.w; -// 2 -backupReg0i = R125i.x; -R125i.x = ((R0i.x == 0)?(PS1i):(PS1i)); -R127i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R126i.w = floatBitsToInt(intBitsToFloat(R1i.y) + 0.5); -R1i.y = floatBitsToInt(intBitsToFloat(R9i.w) + 0.5); -PS0i = R1i.y; -// 3 -backupReg0i = R0i.w; -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R127i.x = ((R0i.x == 0)?(PV0i.z):(R1i.w)); -PS1i = R127i.x; -// 4 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -R0i.x = ((R4i.x == 0)?(R125i.x):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R127i.y):(R127i.y)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + 1.0); -R123i.w = ((backupReg0i == 0)?(PV1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R124i.y = floatBitsToInt(-(intBitsToFloat(R6i.z))); -PS0i = R124i.y; -// 5 -backupReg0i = R2i.y; -R2i.x = 0; -R8i.y = ((R4i.x == 0)?(PV0i.y):(0x3f800000)); -R8i.z = ((R4i.x == 0)?(R127i.x):(0x3f800000)); -R0i.w = ((R4i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R2i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = 0; -PS0i = R2i.z; -// 7 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS1i = R127i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = tempi.x; -R125i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PS1i)); -PS0i = R125i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R126i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R127i.w)); -PS1i = R126i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R127i.w)); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(PS0i),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -backupReg0i = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS1i)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R1i.w = 0; -R2i.x = ((R1i.z == 0)?(backupReg0i):(R125i.w)); -PS0i = R2i.x; -// 13 -backupReg0i = R2i.z; -backupReg1i = R2i.y; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -R2i.z = ((R1i.z == 0)?(backupReg0i):(R124i.y)); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -PV1i.w = R125i.w; -R2i.y = ((R1i.z == 0)?(backupReg1i):(R127i.y)); -PS1i = R2i.y; -// 14 -backupReg0i = R0i.z; -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R2i.w))); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(uf_remappedVS[14].y))); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -R2i.w = ((R1i.z == 0)?(R1i.w):(R124i.x)); -PS0i = R2i.w; -// 15 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -R123i.z = floatBitsToInt((intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(backupReg0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R4i.y)); -R7i.z = R126i.w; -PS1i = R7i.z; -// 16 -R123i.x = ((R4i.z == 0)?(PV1i.w):(0x3f800000)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R7i.w = R127i.z; -PS0i = R7i.w; -// 17 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.z)); -R3i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PV0i.y)); -R0i.z = PV0i.x; -R0i.z = clampFI32(R0i.z); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.w = R123i.w; -// 18 -backupReg0i = R3i.z; -R3i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.w)); -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R3i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R10i.z)); -PS0i = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R6i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -R0i.x = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R8i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R8i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R1i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].y)); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(PS1i)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -PS0i = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[21].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].w)); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.y))); -} -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R0i.x) *(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem3 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/14f760ff4d6b05f5_0000000000000000_vs.txt b/Source/XenobladeX/14f760ff4d6b05f5_0000000000000000_vs.txt deleted file mode 100644 index 7d6b751d..00000000 --- a/Source/XenobladeX/14f760ff4d6b05f5_0000000000000000_vs.txt +++ /dev/null @@ -1,549 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 14f760ff4d6b05f5 -//muzzle flash -uniform ivec4 uf_remappedVS[24]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem6; -layout(location = 6) in uvec4 attrDataSem7; -layout(location = 7) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.w) + -(0.5)); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R7i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R7i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R7i.z))); -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PV0i.w)); -PS1i = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(PS0i)); -// 2 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(R5i.y))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(R5i.z))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R5i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -PS0i = 0; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.y))); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.z = R126i.z; -R126i.w = floatBitsToInt(intBitsToFloat(PS0i) + intBitsToFloat(PV0i.y)); -R5i.z = 0; -PS1i = R5i.z; -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(backupReg0i)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].y) * 1.0); -PS0i = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -// 5 -backupReg0i = R126i.z; -R7i.x = PS0i; -R125i.y = floatBitsToInt(-(intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].z) * 1.0); -R125i.w = R126i.w; -PS1i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R125i.x = PS1i; -PV0i.x = R125i.x; -R7i.y = PS1i; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].w) * 1.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].x)) + intBitsToFloat(backupReg0i))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].y)) + intBitsToFloat(backupReg1i))); -PS0i = R124i.w; -// 7 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(R125i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R126i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].z)) + intBitsToFloat(R126i.z))); -PS1i = R126i.y; -// 8 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R126i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].w)) + intBitsToFloat(R127i.z))); -PS0i = R127i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R125i.w),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.y = R3i.w; -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) * 2.0); -PS1i = R0i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.w),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R126i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.w),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * 1.0); -PS1i = R127i.z; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].w)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].z)) + intBitsToFloat(R126i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].x)) + intBitsToFloat(R127i.w))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].y)) + intBitsToFloat(R124i.w))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R127i.w; -// 13 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.x))); -R126i.z = ((0.0 >= intBitsToFloat(R0i.y))?int(0xFFFFFFFF):int(0x0)); -PS1i = R126i.z; -// 14 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R126i.w)); -PV0i.x = R0i.x; -R5i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R127i.z)); -PV0i.y = R5i.y; -R0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.w)); -PV0i.z = R0i.z; -R127i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[7].w))?int(0xFFFFFFFF):int(0x0)); -R7i.z = 0; -PS0i = R7i.z; -// 15 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = 0; -PS1i = R6i.z; -// 16 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PS0i = R10i.x; -// 17 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.y),intBitsToFloat(R0i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R10i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -PS1i = R10i.y; -// 18 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.y),intBitsToFloat(backupReg1i),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.w = tempi.x; -R122i.x = ((R126i.z == 0)?(R10i.x):(0x3f800000)); -PS0i = R122i.x; -// 19 -R123i.x = ((R126i.z == 0)?(R10i.y):(0x3f800000)); -PV1i.x = R123i.x; -R123i.y = ((R126i.z == 0)?(PV0i.x):(0x3f800000)); -PV1i.y = R123i.y; -R123i.z = ((R126i.z == 0)?(R127i.z):(0x3f800000)); -PV1i.z = R123i.z; -R1i.w = uf_remappedVS[2].z; -R2i.x = ((R127i.w == 0)?(PS0i):(0x3f800000)); -PS1i = R2i.x; -// 20 -R9i.x = uf_remappedVS[3].z; -R2i.y = ((R127i.w == 0)?(PV1i.x):(0x3f800000)); -R2i.z = ((R127i.w == 0)?(PV1i.z):(0x3f800000)); -R2i.w = ((R127i.w == 0)?(PV1i.y):(0x3f800000)); -R1i.z = uf_remappedVS[4].z; -PS0i = R1i.z; -// 21 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -R6i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[12].x) + -(1.0)); -PS1i = R6i.x; -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R2i.x)*(origRatio / newRatio), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = tempi.x; -R124i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[12].y) + -(1.0)); -PS0i = R124i.w; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R8i.w)) + intBitsToFloat(R8i.y))); -PS1i = R127i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.x))); -PS0i = R127i.w; -// 3 -backupReg0i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -PS1i = R126i.w; -// 4 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R5i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w)))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R1i.x = floatBitsToInt(intBitsToFloat(R127i.w) + 0.5); -PS0i = R1i.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg2i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.y),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[14].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -R1i.y = floatBitsToInt(-(intBitsToFloat(R126i.w)) + 1.0); -PS1i = R1i.y; -// 6 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.y),intBitsToFloat(R0i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(R127i.z)); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + -(intBitsToFloat(uf_remappedVS[16].x))); -PS1i = R127i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 9 -backupReg0i = R126i.y; -backupReg1i = R127i.z; -backupReg2i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(uf_remappedVS[16].y))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 10 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS1i))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[12].z) + -(1.0)); -PS0i = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[17].x)),-(intBitsToFloat(uf_remappedVS[17].y)),-(intBitsToFloat(uf_remappedVS[17].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R124i.y = floatBitsToInt(tempResultf); -PS1i = R124i.y; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -// 13 -backupReg0i = R126i.w; -R126i.x = floatBitsToInt(max(intBitsToFloat(PS0i), 0.0)); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(uf_remappedVS[12].w)) + 1.0)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[12].w)) + 1.0)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedVS[12].w)) + 1.0)); -PS1i = R126i.w; -// 14 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.w),intBitsToFloat(R9i.x),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -PS0i = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + 1.0); -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.w),intBitsToFloat(R9i.x),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -tempResultf = log2(intBitsToFloat(PS0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R5i.y = floatBitsToInt(tempResultf); -PS1i = R5i.y; -// 16 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.w),intBitsToFloat(R9i.x),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R10i.z = floatBitsToInt(-(intBitsToFloat(backupReg0i))); -PS0i = R10i.z; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[19].x)) + intBitsToFloat(R125i.y))); -PS1i = R122i.x; -// 18 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedVS[19].z)) + intBitsToFloat(R126i.w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedVS[19].y)) + intBitsToFloat(R127i.z))); -PV0i.y = R123i.y; -R124i.w = floatBitsToInt(intBitsToFloat(PS1i) + -(1.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R126i.w = floatBitsToInt(tempResultf); -PS0i = R126i.w; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[20].x),intBitsToFloat(uf_remappedVS[20].y),intBitsToFloat(uf_remappedVS[20].z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0)); -PS1i = R125i.z; -// 20 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(uf_remappedVS[16].z))); -PV0i.y = floatBitsToInt(intBitsToFloat(R126i.x) + -(1.0)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(uf_remappedVS[21].w))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R126i.w))); -tempResultf = log2(intBitsToFloat(PV1i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 21 -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[19].w)) + 1.0)); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[22].w))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[19].w)) + 1.0)); -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(uf_remappedVS[19].w)) + 1.0)); -R0i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R0i.z; -// export -passParameterSem3 = vec4(intBitsToFloat(R10i.x), intBitsToFloat(R10i.y), intBitsToFloat(R10i.z), intBitsToFloat(R10i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.z)); -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R1i.w), -(intBitsToFloat(R1i.w)))); -R127i.y = floatBitsToInt(min(intBitsToFloat(R0i.z), 1.0)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(R9i.x))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(R0i.w))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(R1i.z))); -PS0i = R126i.w; -// 1 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R9i.x))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R0i.w))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R6i.z))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R6i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[21].x)) + intBitsToFloat(uf_remappedVS[23].x))); -PS1i = R127i.z; -// 2 -R0i.x = floatBitsToInt(max(intBitsToFloat(R125i.z), 0.0)); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[21].y)) + intBitsToFloat(uf_remappedVS[23].y))); -R0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R0i.y))); -R0i.y = floatBitsToInt(max(intBitsToFloat(R124i.w), 0.0)); -PS0i = R0i.y; -// 3 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[21].z)) + intBitsToFloat(uf_remappedVS[23].z))); -R3i.y = floatBitsToInt(max(intBitsToFloat(R124i.y), 0.0)); -R3i.z = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R3i.w = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(R5i.y))); -PS1i = R126i.w; -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[16].w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(uf_remappedVS[22].y)) + intBitsToFloat(R126i.y))); -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(uf_remappedVS[22].x)) + intBitsToFloat(R127i.z))); -PS0i = R5i.x; -// 5 -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[22].z)) + intBitsToFloat(R125i.x))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[17].w))); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R3i.w), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// 0 -} diff --git a/Source/XenobladeX/1bef7019c97eb2b1_0000000000000079_ps.txt b/Source/XenobladeX/1bef7019c97eb2b1_0000000000000079_ps.txt index 4b1454e4..3b2f3ddf 100644 --- a/Source/XenobladeX/1bef7019c97eb2b1_0000000000000079_ps.txt +++ b/Source/XenobladeX/1bef7019c97eb2b1_0000000000000079_ps.txt @@ -4,8 +4,8 @@ // shader 1bef7019c97eb2b1 //Vertlica line glare (anamorphic lens ) // To-do - As long as brigntess fix is needed, this is disabled. -const float resScale = 4.0; -//const float resScale = 3.0; +const float resScale = ($height/$gameHeight); + uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4f51000 res 80x46x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 6 6 6 border: 0 layout(location = 0) in vec4 passParameterSem0; diff --git a/Source/XenobladeX/1f915b133a255dab_0000000000000000_vs.txt b/Source/XenobladeX/1f915b133a255dab_0000000000000000_vs.txt deleted file mode 100644 index bc588cc8..00000000 --- a/Source/XenobladeX/1f915b133a255dab_0000000000000000_vs.txt +++ /dev/null @@ -1,219 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 1f915b133a255dab -//battle graph, dumped -uniform ivec4 uf_uniformRegisterVS[256]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].w) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].y) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[27].x) * 1.0); -PS0i = int(intBitsToFloat(R1i.z)); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[15].w) * 1.0); -R125i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[15].z) * 1.0); -R125i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[15].y) * 1.0); -R125i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[15].x) * 1.0); -R124i.x = floatBitsToInt(float(PS0i)); -PS1i = R124i.x; -// 2 -tempResultf = intBitsToFloat(PS1i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV0i.x = floatBitsToInt(tempResultf); -R124i.y = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].z) * 1.0); -R124i.z = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].y) * 1.0); -R124i.w = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].x) * 1.0); -R125i.x = floatBitsToInt(intBitsToFloat(uf_uniformRegisterVS[19].w) * 1.0); -PS0i = R125i.x; -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].z) * intBitsToFloat(uf_uniformRegisterVS[26].w) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].z) * intBitsToFloat(uf_uniformRegisterVS[26].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -// 4 -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].y) * intBitsToFloat(uf_uniformRegisterVS[25].w) + intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].y) * intBitsToFloat(uf_uniformRegisterVS[25].z) + intBitsToFloat(PV1i.y))); -// 5 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].z) * intBitsToFloat(uf_uniformRegisterVS[26].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].z) * intBitsToFloat(uf_uniformRegisterVS[26].x) + intBitsToFloat(backupReg1i))); -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].x) * intBitsToFloat(uf_uniformRegisterVS[24].w) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].x) * intBitsToFloat(uf_uniformRegisterVS[24].z) + intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].y) * intBitsToFloat(uf_uniformRegisterVS[25].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].y) * intBitsToFloat(uf_uniformRegisterVS[25].x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].w)); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].y)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[23].x)); -// 9 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R127i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].x) * intBitsToFloat(uf_uniformRegisterVS[24].y) + intBitsToFloat(backupReg0i))); -R127i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+4].x) * intBitsToFloat(uf_uniformRegisterVS[24].x) + intBitsToFloat(backupReg1i))); -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].w) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].z) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].y) + intBitsToFloat(R126i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_uniformRegisterVS[22].x) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -// 11 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[21].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 12 -backupReg0i = R127i.w; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].z) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[20].y) + intBitsToFloat(PV1i.z))); -R127i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_uniformRegisterVS[20].x) + intBitsToFloat(PV1i.w))); -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_uniformRegisterVS[3].x)); -// 14 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_uniformRegisterVS[2].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_uniformRegisterVS[1].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -// 16 -R1i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].x) + intBitsToFloat(PV1i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].y) + intBitsToFloat(PV1i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].z) + intBitsToFloat(PV1i.y))); -R1i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_uniformRegisterVS[0].w) + intBitsToFloat(PV1i.x))); -// 17 -backupReg0i = R125i.z; -backupReg1i = R125i.w; -R125i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[13].y) + intBitsToFloat(backupReg0i))); -R125i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[13].x) + intBitsToFloat(backupReg1i))); -// 18 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -R126i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[13].w) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].y) * intBitsToFloat(uf_uniformRegisterVS[13].z) + intBitsToFloat(backupReg1i))); -// 19 -backupReg0i = R124i.z; -backupReg1i = R124i.w; -R124i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].w) * intBitsToFloat(uf_uniformRegisterVS[17].y) + intBitsToFloat(backupReg0i))); -R124i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].w) * intBitsToFloat(uf_uniformRegisterVS[17].x) + intBitsToFloat(backupReg1i))); -// 20 -backupReg0i = R125i.x; -backupReg1i = R124i.y; -R125i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].w) * intBitsToFloat(uf_uniformRegisterVS[17].w) + intBitsToFloat(backupReg0i))); -R124i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].w) * intBitsToFloat(uf_uniformRegisterVS[17].z) + intBitsToFloat(backupReg1i))); -// 21 -R0i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[12].x) + intBitsToFloat(R125i.w))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[12].y) + intBitsToFloat(R125i.z))); -// 22 -R0i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[12].z) + intBitsToFloat(R125i.y))); -R0i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].x) * intBitsToFloat(uf_uniformRegisterVS[12].w) + intBitsToFloat(R126i.x))); -// 23 -R2i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[16].x) + intBitsToFloat(R124i.w))); -R2i.y = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[16].y) + intBitsToFloat(R124i.z))); -// 24 -R2i.z = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[16].z) + intBitsToFloat(R124i.y))); -R2i.w = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[ARi.x+8].z) * intBitsToFloat(uf_uniformRegisterVS[16].w) + intBitsToFloat(R125i.x))); -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// 0 -} diff --git a/Source/XenobladeX/20075cc6cf058a84_0000000000000000_vs.txt b/Source/XenobladeX/20075cc6cf058a84_0000000000000000_vs.txt deleted file mode 100644 index 13379ef9..00000000 --- a/Source/XenobladeX/20075cc6cf058a84_0000000000000000_vs.txt +++ /dev/null @@ -1,1299 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 20075cc6cf058a84 -// skell intro smoke -uniform ivec4 uf_remappedVS[26]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R127i.z; -R127i.w = R5i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PV0i.x)); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(PV0i.z)); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R127i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R126i.y = R6i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R6i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R8i.x)); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R8i.y)); -R126i.w = R6i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R8i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R7i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.y)); -R124i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(backupReg0i)); -PS1i = R124i.y; -// 8 -PV0i.x = R6i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R6i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R6i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R127i.x)); -R126i.y = R6i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PV0i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV0i.z)); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.y)); -R125i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.y)); -PS1i = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -// 12 -R126i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R127i.y)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R5i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R8i.x)); -PV1i.x = R5i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y)); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R0i.x = 0; -PS1i = R0i.x; -// 14 -R10i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R10i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R11i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R4i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R12i.y = 0; -PS0i = R12i.y; -// 15 -R6i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R5i.y = 0x3f800000; -R12i.z = 0; -R6i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R8i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R8i.w; -// 16 -R12i.x = 0x3f800000; -R0i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R127i.x))); -R9i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R10i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R10i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R10i.z = 0; -PS1i = R10i.z; -// 18 -R8i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R5i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R6i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R6i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R11i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R5i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R7i.x = PS0i; -R8i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R7i.y = PS0i; -PS1i = R7i.y; -// 26 -R9i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R9i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R13i.x = uf_remappedVS[1].z; -PS0i = R13i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = uf_remappedVS[4].z; -PS1i = R13i.y; -// 4 -R13i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R10i.x) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R10i.x) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R1i.x = PV1i.x; -PS0i = R1i.x; -// 9 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -R1i.y = R127i.y; -PS1i = R1i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -// 12 -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R8i.x; -PV0i.y = R8i.x; -PV0i.z = R8i.x; -PV0i.w = R8i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = tempi.x; -// 14 -backupReg0i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R8i.x; -PV0i.y = R8i.x; -PV0i.z = R8i.x; -PV0i.w = R8i.x; -R6i.x = uf_remappedVS[1].x; -PS0i = R6i.x; -// 1 -backupReg0i = R10i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R7i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R11i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R12i.z)); -R6i.y = uf_remappedVS[1].y; -R6i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -backupReg1i = R7i.x; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(backupReg0i)); -R7i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(backupReg1i) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R7i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R6i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R6i.z; -// 2 -R6i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R6i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R6i.y = 0; -R6i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R12i.y = 0; -R0i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R7i.z = 0; -// 3 -R10i.z = R9i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -R13i.x = R6i.z; -PS0i = R13i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -R13i.y = backupReg1i; -PS1i = R13i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -R13i.z = R12i.z; -PS0i = R13i.z; -// 3 -backupReg0i = R0i.z; -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R8i.x; -PV1i.y = R8i.x; -PV1i.z = R8i.x; -PV1i.w = R8i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R12i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R10i.x; -R10i.x = R11i.z; -R10i.z = backupReg0i; -R11i.x = R8i.z; -PS0i = R11i.x; -// 1 -R11i.y = R1i.y; -R11i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R10i.y):(R10i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R11i.z):(R11i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R10i.x):(R10i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R10i.x; -backupReg1i = R10i.y; -R10i.x = ((R127i.y == 0)?(PV1i.x):(backupReg0i)); -R10i.y = ((R127i.y == 0)?(PV1i.w):(R11i.z)); -R10i.z = ((R127i.y == 0)?(PV1i.y):(backupReg1i)); -R123i.w = ((R127i.x == 0)?(R8i.z):(R8i.z)); -PV0i.w = R123i.w; -R11i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R11i.x; -// 3 -R12i.x = ((R127i.y == 0)?(0):(R0i.x)); -R11i.y = ((R127i.y == 0)?(R127i.z):(R8i.z)); -R11i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R12i.y = ((R127i.y == 0)?(0):(R5i.y)); -PS1i = R12i.y; -// 4 -backupReg0i = R12i.z; -R12i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R5i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R5i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R7i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -R126i.x = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R7i.y)); -PS0i = R126i.x; -// 1 -R127i.x = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(PV0i.w))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.z))); -PV1i.z = R127i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R5i.x)); -PS1i = R125i.z; -// 2 -R125i.x = floatBitsToInt(intBitsToFloat(R8i.w) * intBitsToFloat(PV1i.x)); -R124i.y = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.z = floatBitsToInt(intBitsToFloat(R8i.w) * intBitsToFloat(PV1i.z)); -R125i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R7i.y)); -R124i.x = floatBitsToInt(intBitsToFloat(R8i.w) * intBitsToFloat(PV1i.y)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg1i = R127i.z; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(backupReg0i)); -R125i.y = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -R127i.z = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R127i.y)); -R126i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(backupReg1i)); -R124i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg1i)); -PS1i = R124i.w; -// 4 -backupReg0i = R127i.y; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(R7i.x) + intBitsToFloat(R126i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -R0i.z = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(R8i.y) + intBitsToFloat(backupReg1i))); -R0i.w = floatBitsToInt((intBitsToFloat(R11i.w) * 0.0 + intBitsToFloat(R127i.w))); -R124i.z = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R125i.z) + intBitsToFloat(R125i.x))); -PS0i = R124i.z; -// 5 -backupReg0i = R127i.x; -backupReg1i = R127i.z; -backupReg2i = R125i.y; -R127i.x = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R125i.z) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R124i.y) + intBitsToFloat(R124i.x))); -R127i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R125i.w) + intBitsToFloat(R126i.z))); -R125i.x = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R125i.z) + intBitsToFloat(backupReg2i))); -PS1i = R125i.x; -// 6 -R124i.x = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R125i.w) + intBitsToFloat(R126i.w))); -R7i.z = 0; -R126i.w = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(R127i.y))); -// 7 -backupReg0i = R125i.w; -R0i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R126i.x) + intBitsToFloat(R124i.z))); -R125i.w = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(R124i.w))); -// 8 -backupReg0i = R125i.y; -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R0i.z) + intBitsToFloat(R127i.w))); -PV0i.y = R125i.y; -R124i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R0i.w) + intBitsToFloat(backupReg0i))); -PV0i.z = R124i.z; -// 9 -backupReg0i = R127i.x; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(R126i.x) + intBitsToFloat(backupReg0i))); -R124i.y = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(R0i.z) + intBitsToFloat(R124i.x))); -R127i.z = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(R0i.w) + intBitsToFloat(backupReg1i))); -PV1i.w = floatBitsToInt(intBitsToFloat(R11i.y) * intBitsToFloat(PV0i.y)); -PS1i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(PV0i.z)); -// 10 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R126i.x) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R0i.z) + intBitsToFloat(R125i.w))); -R123i.z = floatBitsToInt((intBitsToFloat(R11i.z) * intBitsToFloat(R124i.z) + intBitsToFloat(PV1i.w))); -PV0i.z = R123i.z; -R122i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 11 -R13i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R0i.x) + intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R127i.z)); -R126i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R0i.w) + intBitsToFloat(R126i.w))); -R126i.w = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(R127i.z)); -R8i.x = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.z))); -PS1i = R8i.x; -// 12 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -R126i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R127i.x) + intBitsToFloat(R127i.y))); -PS1i = R126i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -// 15 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(R124i.y) + intBitsToFloat(R126i.w))); -R13i.y = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -PS1i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R126i.z)); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -// 17 -PV1i.x = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(R126i.z)); -R8i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.x))); -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.z = tempi.x; -// 19 -R10i.z = R9i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R10i.z)) + intBitsToFloat(uf_remappedVS[6].x)); -R127i.y = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(uf_remappedVS[6].w)); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].y) + -(intBitsToFloat(0x3dcccccd))); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].w) + -(intBitsToFloat(0x3dcccccd))); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS1i = R126i.x; -// 2 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R126i.y = ((intBitsToFloat(R127i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.z)) + -(intBitsToFloat(PV1i.x))); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[8].w)) + 1.0); -R0i.w = 0; -PS0i = R0i.w; -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[9].w) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[9].z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R127i.x)); -tempResultf = log2(intBitsToFloat(R9i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -R123i.x = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.x = R123i.x; -R123i.y = ((intBitsToFloat(PV1i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(fract(intBitsToFloat(PV1i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[9].x)); -PS0i = R127i.y; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R126i.y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R126i.x)); -R125i.w = floatBitsToInt(intBitsToFloat(R9i.x) + -(0.5)); -PS1i = R125i.w; -// 6 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e22f983)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].x) + -(1.0)); -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e22f983)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(backupReg0i))); -// 7 -R125i.x = floatBitsToInt(intBitsToFloat(PS0i) + -(0.5)); -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].y) + -(1.0)); -R126i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].z) + -(1.0)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + -(0.0)); -R127i.x = floatBitsToInt(sin((intBitsToFloat(PV0i.y))/0.1591549367)); -PS1i = R127i.x; -// 8 -R126i.x = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(PS1i)); -R123i.y = ((intBitsToFloat(PV1i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.y = R123i.y; -R1i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[10].w) + 1.0)); -R124i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].x) + -(intBitsToFloat(uf_remappedVS[11].y))); -R127i.z = floatBitsToInt(sin((intBitsToFloat(R127i.w))/0.1591549367)); -PS0i = R127i.z; -// 9 -backupReg0i = R127i.w; -R124i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV0i.y)); -PV1i.x = R124i.x; -R124i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PV0i.y)); -PV1i.y = R124i.y; -R125i.z = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV0i.y)); -PV1i.z = R125i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(PS0i)); -R125i.y = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -PS1i = R125i.y; -// 10 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(R126i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R126i.w)); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 11 -backupReg0i = R125i.w; -R5i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(PV0i.z)); -PV1i.x = R5i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = R5i.y; -R10i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.z = R10i.z; -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -R126i.w = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x))); -PS1i = R126i.w; -// 12 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R2i.y = floatBitsToInt((-(intBitsToFloat(R127i.z)) * intBitsToFloat(R125i.x) + intBitsToFloat(R127i.y))); -PS0i = R2i.y; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -R127i.y = floatBitsToInt((-(intBitsToFloat(R127i.x)) * intBitsToFloat(R125i.x) + intBitsToFloat(R125i.w))); -PS1i = R127i.y; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.z = tempi.x; -R9i.y = floatBitsToInt(1.0 / intBitsToFloat(R124i.w)); -PS0i = R9i.y; -// 15 -backupReg0i = R126i.y; -R1i.x = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[10].w) + 1.0)); -R126i.y = floatBitsToInt(-(intBitsToFloat(PV0i.x)) * intBitsToFloat(0x42800000)); -R5i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[10].w) + 1.0)); -R1i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(R125i.x) + intBitsToFloat(R127i.w))); -R6i.z = ((intBitsToFloat(uf_remappedVS[11].x) == intBitsToFloat(uf_remappedVS[11].y))?int(0xFFFFFFFF):int(0x0)); -PS1i = R6i.z; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = floatBitsToInt(-(intBitsToFloat(R9i.z))); -PS0i = R7i.z; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3a4ccccd)); -PS1i = R124i.y; -// 18 -R124i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3ab60b61)); -R1i.y = ((intBitsToFloat(uf_remappedVS[11].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R8i.z)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].w)); -PV0i.w = R127i.w; -R6i.x = 0; -PS0i = R6i.x; -// 19 -backupReg0i = R124i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.y = tempi.x; -R125i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(backupReg0i)); -PS1i = R125i.z; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(R124i.x)); -// 21 -R2i.x = floatBitsToInt((intBitsToFloat(R8i.y) * intBitsToFloat(R8i.y) + intBitsToFloat(R126i.z))); -R0i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R125i.z)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[14].w) + intBitsToFloat(uf_remappedVS[14].y))); -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PS0i)); -R9i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[14].z) + intBitsToFloat(uf_remappedVS[14].x))); -PS1i = R9i.x; -// 22 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = tempi.x; -R10i.x = ((backupReg0i == 0)?(PV1i.y):(PV1i.y)); -PS0i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R10i.y = ((R0i.x == 0)?(R2i.w):(R2i.w)); -PS0i = R10i.y; -// 1 -R124i.x = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R8i.x) + intBitsToFloat(R2i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[17].z) + intBitsToFloat(uf_remappedVS[17].x))); -R10i.z = ((R0i.x == 0)?(R2i.z):(R0i.w)); -R10i.w = ((R0i.x == 0)?(PV0i.x):(PV0i.x)); -R124i.y = floatBitsToInt((intBitsToFloat(R1i.w) * intBitsToFloat(uf_remappedVS[17].w) + intBitsToFloat(uf_remappedVS[17].y))); -PS1i = R124i.y; -// 2 -backupReg0i = R0i.z; -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -PS0i = R127i.x; -// 3 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R5i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -PS1i = R5i.x; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(R124i.y) + 0.5); -PS0i = R2i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.x)); -PS1i = floatBitsToInt(tempResultf); -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PS1i)); -PV0i.y = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(PS1i)); -R126i.w = floatBitsToInt(intBitsToFloat(R9i.x) + 0.5); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[18].x)),-(intBitsToFloat(uf_remappedVS[18].y)),-(intBitsToFloat(uf_remappedVS[18].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS0i)); -// 8 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PS1i), -(intBitsToFloat(PS1i)))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R126i.z = floatBitsToInt(-(intBitsToFloat(R127i.x)) + 1.0); -R7i.y = floatBitsToInt(intBitsToFloat(R5i.y) + -(intBitsToFloat(uf_remappedVS[11].w))); -PS0i = R7i.y; -// 9 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(uf_remappedVS[11].y))); -R0i.z = 0; -R0i.w = 0; -R5i.y = floatBitsToInt(-(intBitsToFloat(R2i.y)) + 1.0); -PS1i = R5i.y; -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].x) + intBitsToFloat(R1i.z))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R9i.y)); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].z) + intBitsToFloat(R1i.x))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].y) + intBitsToFloat(R5i.z))); -PV0i.w = R123i.w; -R5i.z = R126i.w; -PS0i = R5i.z; -// 11 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -R123i.z = ((R6i.z == 0)?(PV0i.y):(0x3f800000)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + -(1.0)); -R5i.w = R126i.z; -PS1i = R5i.w; -// 12 -R0i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[19].w) + 1.0)); -PV0i.x = R0i.x; -R2i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].w) + 1.0)); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[19].w) + 1.0)); -PV0i.z = R2i.z; -R8i.y = PV1i.z; -R8i.y = clampFI32(R8i.y); -PS0i = R8i.y; -// 13 -backupReg0i = R3i.z; -backupReg1i = R0i.y; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) * intBitsToFloat(PV0i.x)); -R0i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV0i.y)); -R3i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.z)); -R1i.x = ((R1i.y == 0)?(R6i.x):(backupReg1i)); -PS1i = R1i.x; -// 14 -backupReg0i = R1i.y; -backupReg0i = R1i.y; -backupReg0i = R1i.y; -R1i.y = ((backupReg0i == 0)?(R7i.y):(R2i.w)); -R1i.z = ((backupReg0i == 0)?(R0i.z):(R7i.z)); -R1i.w = ((backupReg0i == 0)?(R0i.w):(R126i.x)); -R3i.y = R3i.w; -R3i.y = floatBitsToInt(intBitsToFloat(R3i.y) * 2.0); -PS0i = R3i.y; -// 15 -predResult = (intBitsToFloat(uf_remappedVS[6].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(-(intBitsToFloat(R9i.z)) + -(intBitsToFloat(uf_remappedVS[6].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(uf_remappedVS[6].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[6].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(uf_remappedVS[6].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(uf_remappedVS[6].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R3i.y; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R6i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R6i.y),intBitsToFloat(R9i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R9i.z)) + -(intBitsToFloat(uf_remappedVS[20].x))); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R2i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R2i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[20].y)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R0i.x)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R127i.x = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(PS1i)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R9i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R4i.w = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(R3i.y)); -PS0i = R4i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -R4i.x = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -R4i.y = floatBitsToInt(max(intBitsToFloat(R0i.y), 0.0)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[20].z)); -R4i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS0i = R4i.z; -// 5 -R2i.x = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[22].z) * intBitsToFloat(R127i.z)); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[23].w)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -R127i.x = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[24].w)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[20].w)); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R127i.z; -// 9 -backupReg0i = R126i.y; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[23].y) + intBitsToFloat(uf_remappedVS[25].y))); -R126i.y = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[23].x) + intBitsToFloat(uf_remappedVS[25].x))); -R2i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -R2i.y = floatBitsToInt(max(intBitsToFloat(backupReg1i), 0.0)); -PS1i = R2i.y; -// 10 -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[23].z) + intBitsToFloat(uf_remappedVS[25].z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(exp2(intBitsToFloat(R127i.x))); -// 11 -R0i.x = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(R126i.x))); -R0i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(PV0i.w))); -// 12 -R0i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[18].w)); -} -// export -float origRatio = 1.777f; -float newRatio = 5.333f; -// *(origRatio / newRatio) - -gl_Position = vec4(intBitsToFloat(R10i.x)*(origRatio / newRatio), intBitsToFloat(R10i.y), intBitsToFloat(R10i.z), intBitsToFloat(R10i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/21eafb6c514a4b35_0000000000000000_vs.txt b/Source/XenobladeX/21eafb6c514a4b35_0000000000000000_vs.txt deleted file mode 100644 index 10b10a40..00000000 --- a/Source/XenobladeX/21eafb6c514a4b35_0000000000000000_vs.txt +++ /dev/null @@ -1,1415 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 21eafb6c514a4b35 -//flash creature -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -layout(location = 11) in uvec4 attrDataSem11; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem5; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 3) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R15i = ivec4(0); -ivec4 R16i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem11.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R12i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R126i.z; -R126i.w = R5i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R126i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R125i.x = R6i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R8i.x))); -R126i.z = R6i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R6i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R8i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R125i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 8 -R126i.x = R6i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R6i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R6i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R126i.z))); -R125i.x = R6i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.y))); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R125i.x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R125i.x))); -PS1i = R124i.x; -// 12 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R125i.x))); -PV0i.z = R125i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(backupReg0i)); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R8i.x))); -PV1i.x = R6i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R8i.y))); -PV1i.y = R0i.y; -R15i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(PV0i.z))); -R6i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R5i.x = 0; -PS1i = R5i.x; -// 14 -R7i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R8i.yzw = floatBitsToInt(vec3(intBitsToFloat(PV1i.y),intBitsToFloat(R0i.z),intBitsToFloat(R126i.x)) + vec3(intBitsToFloat(R126i.z),intBitsToFloat(R126i.y),-(intBitsToFloat(R124i.x)))); -R13i.y = 0; -PS0i = R13i.y; -// 15 -R13i.x = 0x3f800000; -R7i.y = 0x3f800000; -R13i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R6i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R4i.w = floatBitsToInt(-(intBitsToFloat(R127i.x)) + 1.0); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R0i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R14i.z = 0; -PS1i = R14i.z; -// 18 -R7i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R14i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R6i.x = PS0i; -R0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R12i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R12i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R1i.z,R0i.w,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R13i.x = uf_remappedVS[1].z; -PS0i = R13i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = uf_remappedVS[4].z; -PS1i = R13i.y; -// 4 -R13i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R8i.x; -PV1i.y = R8i.x; -PV1i.z = R8i.x; -PV1i.w = R8i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.z = tempi.x; -// 12 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -backupReg0i = R0i.y; -R15i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = R15i.x; -PV0i.y = R15i.x; -PV0i.z = R15i.x; -PV0i.w = R15i.x; -R5i.x = uf_remappedVS[1].x; -PS0i = R5i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R6i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R13i.z))); -R5i.y = uf_remappedVS[1].y; -R5i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R0i.y; -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R7i.z; -R7i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R13i.z))); -R16i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(PS1i))); -PS0i = R16i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R14i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R5i.z; -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R7i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R7i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R5i.y = 0; -R5i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R7i.y = 0; -R0i.z = 0; -R7i.z = uf_remappedVS[1].x; -PS1i = R7i.z; -// 2 -R11i.z = 0; -// 3 -R14i.z = R12i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R11i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R8i.x; -PV0i.y = R8i.x; -PV0i.z = R8i.x; -PV0i.w = R8i.x; -R13i.x = R5i.z; -PS0i = R13i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R11i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = tempi.x; -R13i.y = backupReg1i; -PS1i = R13i.y; -// 2 -backupReg0i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R11i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.z = tempi.x; -R13i.z = R7i.z; -PS0i = R13i.z; -// 3 -backupReg0i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R14i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R14i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R7i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R14i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R8i.x = R8i.z; -R8i.z = R7i.x; -R7i.x = R7i.z; -PS0i = R7i.x; -// 1 -R7i.y = R1i.y; -R7i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R8i.y):(R7i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R8i.z):(R8i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R7i.x):(R8i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R8i.y; -R8i.x = ((R127i.y == 0)?(PV1i.x):(R7i.x)); -R8i.y = ((R127i.y == 0)?(PV1i.w):(R8i.z)); -R8i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R7i.z):(R7i.z)); -PV0i.w = R123i.w; -R7i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R7i.x; -// 3 -backupReg0i = R7i.y; -R13i.x = ((R127i.y == 0)?(0):(R5i.x)); -R7i.y = ((R127i.y == 0)?(R127i.z):(R7i.z)); -R7i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R13i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R13i.y; -// 4 -backupReg0i = R13i.z; -R13i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R14i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R14i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R6i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R6i.y))); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R1i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R6i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R14i.x))); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.x))); -PS0i = R126i.x; -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R6i.x)) + intBitsToFloat(R127i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R126i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R125i.x))); -PS0i = R124i.z; -// 5 -backupReg0i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R11i.z = 0; -PS1i = R11i.z; -// 6 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.w))); -// 7 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(R125i.x))); -// 8 -backupReg0i = R127i.z; -backupReg1i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(R124i.z))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R127i.x))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R125i.y; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.z))); -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.x; -// 10 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.w))); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R127i.y),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.z; -backupReg1i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(R126i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedVS[6].z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(R127i.z))); -PS0i = R0i.x; -// 13 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.w))); -PS1i = R124i.x; -// 14 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R124i.y))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R127i.z))); -// 15 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R124i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(R0i.x))); -PS1i = R122i.x; -// 16 -backupReg0i = R127i.y; -backupReg1i = R126i.w; -backupReg1i = R126i.w; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedVS[6].y))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedVS[6].x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedVS[6].z))); -PS0i = R124i.x; -// 17 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg1i = R124i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R124i.z))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(R126i.y))); -PS1i = R122i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PS1i))); -PS0i = R124i.y; -// 19 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R124i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R126i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R124i.w))); -PS1i = R127i.x; -// 20 -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.z))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R124i.z))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.x))); -PS0i = R6i.x; -// 21 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R127i.x))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R126i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PS1i = R6i.z; -// 22 -R14i.z = R12i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -R0i.x = 0; -PS0i = R0i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R7i.z = R3i.w; -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 2.0); -PS1i = R7i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R126i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R126i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.y))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R14i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R14i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -R127i.x = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.x))); -R126i.w = ((intBitsToFloat(PV1i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.w; -// 7 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R12i.y = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R126i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R126i.w; -// 9 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -PV1i.x = R127i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.y; -// 10 -R2i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + -(0.0)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R126i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.x))/0.1591549367)); -PS0i = R126i.w; -// 11 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R2i.w = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R125i.z = floatBitsToInt(cos((intBitsToFloat(R127i.x))/0.1591549367)); -PS1i = R125i.z; -// 12 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV1i.x))); -PV0i.x = R124i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV1i.x))); -PV0i.y = R124i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PV1i.x))); -PV0i.z = R124i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R127i.y = floatBitsToInt(sin((intBitsToFloat(R127i.z))/0.1591549367)); -PS0i = R127i.y; -// 13 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R125i.w))); -R127i.x = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R127i.x; -// 14 -R12i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.z)); -PV0i.x = R12i.x; -R2i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R2i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.w))); -PS0i = R126i.z; -// 15 -backupReg0i = R0i.w; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R127i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R125i.y))); -PS0i = R126i.x; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(R125i.x))); -PS1i = R122i.x; -// 18 -backupReg0i = R126i.x; -backupReg1i = R9i.y; -backupReg2i = R126i.z; -R126i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(PS1i)) + intBitsToFloat(R10i.y))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),intBitsToFloat(backupReg2i)) + intBitsToFloat(R9i.x))); -R0i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -PS0i = R0i.z; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R10i.x))); -PS1i = R9i.w; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R124i.x; -// 21 -R10i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) + 0.5); -R9i.z = floatBitsToInt(-(intBitsToFloat(R11i.z))); -R10i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(uf_remappedVS[12].w))); -PV1i.w = R10i.w; -R7i.x = floatBitsToInt(intBitsToFloat(R127i.w) + 0.5); -PS1i = R7i.x; -// 22 -backupReg0i = R0i.w; -R9i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = R9i.x; -PV0i.y = R9i.x; -PV0i.z = R9i.x; -PV0i.w = R9i.x; -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R124i.x))); -PS0i = R10i.z; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R10i.x))); -PS0i = R124i.y; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R10i.z)); -PS1i = R126i.x; -// 2 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[0].z))); -R1i.y = floatBitsToInt(intBitsToFloat(R9i.y) + 0.5); -R126i.z = ((R12i.y == 0)?(PS1i):(PS1i)); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R124i.y)); -R8i.x = floatBitsToInt(intBitsToFloat(R9i.w) + 0.5); -PS0i = R8i.x; -// 3 -backupReg0i = R0i.w; -backupReg1i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R124i.y = ((R12i.y == 0)?(PV0i.x):(backupReg1i)); -PS1i = R124i.y; -// 4 -R123i.x = ((R12i.y == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R6i.z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(uf_remappedVS[2].z))); -R123i.w = ((R12i.y == 0)?(R127i.w):(R127i.w)); -PV0i.w = R123i.w; -R9i.x = ((R5i.x == 0)?(R126i.z):(0x3f800000)); -PS0i = R9i.x; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -R9i.y = ((R5i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.z = ((R5i.x == 0)?(R124i.y):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV0i.x):(0x3f800000)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.y),intBitsToFloat(uf_remappedVS[2].y)) + intBitsToFloat(PV0i.z))); -PS1i = R122i.x; -// 6 -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),intBitsToFloat(uf_remappedVS[2].x)) + intBitsToFloat(PS1i))); -R124i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(uf_remappedVS[3].z))); -R0i.x = 0; -PS0i = R0i.x; -// 7 -backupReg0i = R2i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R2i.y; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R8i.z = 0; -PS0i = R8i.z; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.y)); -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R3i.w = 0; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -// 12 -backupReg0i = R0i.z; -backupReg1i = R0i.x; -PV0i.x = floatBitsToInt(max(intBitsToFloat(PS1i), -(intBitsToFloat(PS1i)))); -R6i.y = ((R0i.z == 0)?(R2i.y):(R127i.w)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R6i.x = ((backupReg0i == 0)?(backupReg1i):(R126i.x)); -PS0i = R6i.x; -// 13 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -R6i.z = ((R0i.z == 0)?(R8i.z):(R9i.z)); -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R6i.w = ((R0i.z == 0)?(R3i.w):(R127i.y)); -PS1i = R6i.w; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R1i.z))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R5i.z))); -PV0i.w = R123i.w; -R7i.y = floatBitsToInt(-(intBitsToFloat(R0i.y)) + 1.0); -PS0i = R7i.y; -// 15 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -R8i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 1.0); -PS1i = R8i.y; -// 16 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.x = R0i.x; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.y = R0i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.z = R0i.z; -R8i.w = 0x3f800000; -R8i.z = floatBitsToInt(intBitsToFloat(R11i.x) * intBitsToFloat(0x3c800000)); -PS0i = R8i.z; -// 17 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV0i.x))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV0i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 18 -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -// 19 -R123i.w = ((R2i.w == 0)?(PV0i.z):(0x3f800000)); -PV1i.w = R123i.w; -// 20 -R3i.z = PV1i.w; -R3i.z = clampFI32(R3i.z); -// 21 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R7i.z; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R7i.z; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(backupReg0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R0i.y))); -PV0i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R0i.z))); -PS0i = R127i.w; -// 1 -R4i.x = ((PV0i.w == 0)?(R9i.x):(0x3f800000)); -R4i.y = ((PV0i.w == 0)?(R9i.y):(0x3f800000)); -R4i.z = ((PV0i.w == 0)?(R2i.z):(0x3f800000)); -R4i.w = ((PV0i.w == 0)?(R0i.w):(0x3f800000)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[21].y))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), 0.0)); -PS0i = R127i.z; -// 3 -R0i.x = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R7i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = floatBitsToInt(max(intBitsToFloat(R1i.z), 0.0)); -PS1i = R0i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].z))); -R2i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.x = floatBitsToInt(max(intBitsToFloat(R126i.y), 0.0)); -PS0i = R2i.x; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].z), intBitsToFloat(R127i.z))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[24].w))); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedVS[21].w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[25].w))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 11 -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R126i.w; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.x = R123i.x; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].x)) + intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].y)) + intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].z)) + intBitsToFloat(PV0i.x))); -// 14 -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[19].w))); -} -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) - -gl_Position = vec4(intBitsToFloat(R4i.x)*(origRatio / newRatio), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem5 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/2716141e287247da_0000000000000000_vs.txt b/Source/XenobladeX/2716141e287247da_0000000000000000_vs.txt deleted file mode 100644 index 7fdff24c..00000000 --- a/Source/XenobladeX/2716141e287247da_0000000000000000_vs.txt +++ /dev/null @@ -1,1311 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 2716141e287247da -//transport heat waves, desert -uniform ivec4 uf_remappedVS[21]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem1; -layout(location = 3) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R126i.z; -R126i.w = R4i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PV0i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV0i.z)); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R126i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R125i.x = R5i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R7i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R7i.x)); -R126i.z = R5i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R5i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R7i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R125i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R127i.w)); -PS1i = R127i.x; -// 8 -R126i.x = R5i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R5i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R5i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R126i.z)); -R125i.x = R5i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV0i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV0i.y)); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(backupReg0i)); -R126i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R125i.x)); -R124i.x = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R125i.x)); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R125i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R1i.z = 0; -PS0i = R1i.z; -// 13 -R5i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R7i.x)); -PV1i.x = R5i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R7i.y)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R7i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R4i.x = 0; -PS1i = R4i.x; -// 14 -R13i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(R1i.z)) + vec3(intBitsToFloat(R125i.w),intBitsToFloat(R126i.z),intBitsToFloat(R126i.y))); -R10i.w = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.x))); -R12i.y = 0; -PS0i = R12i.y; -// 15 -R12i.x = 0x3f800000; -R7i.y = 0x3f800000; -R12i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R1i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R5i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R4i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R14i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R5i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS1i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R4i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS0i)); -R6i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R5i.x = PS0i; -R0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R10i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R10i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R12i.x = uf_remappedVS[1].z; -PS0i = R12i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.y = uf_remappedVS[4].z; -PS1i = R12i.y; -// 4 -R12i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R13i.x) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R13i.x) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -// 12 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -backupReg0i = R0i.y; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R4i.x = uf_remappedVS[1].x; -PS0i = R4i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R14i.z) * intBitsToFloat(R12i.z)); -R4i.y = uf_remappedVS[1].y; -R4i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R0i.y; -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R5i.x; -R5i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(R14i.z) * intBitsToFloat(R12i.z)); -R14i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(PS1i))); -PS0i = R14i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R4i.z; -// 2 -R4i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R4i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R5i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R4i.y = 0; -R4i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R5i.y = 0; -R0i.z = 0; -R5i.z = uf_remappedVS[1].x; -PS1i = R5i.z; -// 2 -R11i.z = 0; -// 3 -R7i.z = R10i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -R12i.x = R4i.z; -PS0i = R12i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -R12i.y = backupReg1i; -PS1i = R12i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -R12i.z = R5i.z; -PS0i = R12i.z; -// 3 -backupReg0i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R10i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = R13i.x; -PV1i.y = R13i.x; -PV1i.z = R13i.x; -PV1i.w = R13i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R5i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R13i.x; -R13i.x = R13i.z; -R13i.z = backupReg0i; -R7i.x = R14i.z; -PS0i = R7i.x; -// 1 -R7i.y = R1i.y; -R7i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R13i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R13i.z):(R13i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R13i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(backupReg0i)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R13i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg1i)); -R123i.w = ((R127i.x == 0)?(R14i.z):(R14i.z)); -PV0i.w = R123i.w; -R7i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R7i.x; -// 3 -backupReg0i = R7i.y; -R12i.x = ((R127i.y == 0)?(0):(R4i.x)); -R7i.y = ((R127i.y == 0)?(R127i.z):(R14i.z)); -R7i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R12i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R12i.y; -// 4 -backupReg0i = R12i.z; -R12i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R6i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R6i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R6i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R6i.y)); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.x)); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.z)); -R126i.x = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R5i.x) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R0i.y) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R126i.w)); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R125i.x)); -R126i.z = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R11i.z = 0; -PS0i = R11i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(backupReg0i)); -R126i.w = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -PS1i = R125i.z; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -// 7 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R125i.z; -backupReg1i = R127i.y; -R124i.x = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV1i.y)); -R125i.z = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R126i.z)); -// 9 -backupReg0i = R124i.z; -backupReg1i = R125i.y; -R0i.x = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R0i.w = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS1i = R126i.w; -// 12 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(R126i.z) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[6].z)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R125i.w = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].x)); -R126i.y = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].y)); -PS0i = R126i.y; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(R124i.x)); -R123i.z = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R125i.z)); -// 15 -R6i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R125i.x))); -R6i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -R6i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS0i = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].y)); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -R125i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R125i.z))); -PS0i = R127i.y; -// 19 -backupReg0i = R0i.x; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -PS1i = R127i.w; -// 20 -R12i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R127i.x))); -R12i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R125i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.y))); -R13i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.y))); -PS0i = R13i.x; -// 21 -R13i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R126i.x))); -R13i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.w))); -// 22 -R7i.z = R10i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -R1i.w = 0; -PS0i = R1i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R0i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R0i.x; -// 3 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R124i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.x))); -PV1i.y = R124i.y; -R125i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.w))); -PV1i.z = R125i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.z))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(PV1i.y))); -R126i.y = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.w)); -R126i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.y; -// 7 -R2i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R126i.y)); -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R126i.w)); -R123i.w = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.z; -// 9 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.x = R127i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R126i.x; -// 10 -R4i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R0i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + -(0.0)); -R125i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R126i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.x))/0.1591549367)); -PS0i = R126i.w; -// 11 -R5i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R127i.y = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R4i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.z = floatBitsToInt(cos((intBitsToFloat(R127i.x))/0.1591549367)); -PS1i = R127i.z; -// 12 -R126i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R126i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R11i.y; -R124i.z = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R124i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R126i.y = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS0i = R126i.y; -// 13 -backupReg0i = R125i.y; -backupReg0i = R125i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R125i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(backupReg0i)); -R127i.x = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.x; -// 14 -R11i.x = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(PV1i.x)); -PV0i.x = R11i.x; -R2i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(PV1i.z)); -PV0i.y = R2i.y; -R0i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R0i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R125i.z = floatBitsToInt((-(intBitsToFloat(R126i.w)) * intBitsToFloat(R1i.y) + intBitsToFloat(R127i.w))); -PS0i = R125i.z; -// 15 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -R126i.z = floatBitsToInt((-(intBitsToFloat(R126i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.w))); -PS1i = R126i.z; -// 16 -backupReg0i = R127i.y; -backupReg1i = R125i.w; -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R127i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(R1i.y) + intBitsToFloat(backupReg0i))); -R1i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R125i.w = floatBitsToInt((intBitsToFloat(R8i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(R8i.x))); -R6i.x = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -PS0i = R6i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R11i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.x = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(R125i.y))); -PS1i = R1i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R11i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R126i.x; -// 19 -backupReg0i = R125i.x; -backupReg1i = R125i.w; -R125i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R11i.y = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(R126i.z) + intBitsToFloat(R9i.x))); -R2i.z = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R127i.y) + intBitsToFloat(R8i.y))); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.w = R125i.w; -R7i.x = floatBitsToInt(intBitsToFloat(backupReg1i) + 0.5); -PS1i = R7i.x; -// 20 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -backupReg2i = R126i.x; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R126i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(backupReg2i)); -PS0i = R126i.z; -// 21 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.w = tempi.x; -R8i.y = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(R125i.x)); -PS1i = R8i.y; -// 22 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R2i.y),intBitsToFloat(R0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.z = tempi.x; -R8i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R126i.z)); -PS0i = R8i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(uf_remappedVS[0].z)); -R5i.y = floatBitsToInt(intBitsToFloat(R2i.z) + 0.5); -R126i.z = ((R2i.x == 0)?(R8i.x):(R8i.x)); -R125i.w = floatBitsToInt(intBitsToFloat(R8i.w) + intBitsToFloat(R8i.y)); -R9i.x = floatBitsToInt(intBitsToFloat(R11i.y) + 0.5); -PS0i = R9i.x; -// 1 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -R126i.x = ((R2i.x == 0)?(PV0i.x):(R1i.w)); -PS1i = R126i.x; -// 2 -backupReg0i = R2i.x; -backupReg0i = R2i.x; -R2i.x = ((R0i.x == 0)?(R126i.z):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R125i.w):(R125i.w)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R13i.z) * intBitsToFloat(R13i.z)); -R123i.w = ((backupReg0i == 0)?(PV1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(R1i.x) + intBitsToFloat(R9i.y))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(R13i.y) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -R8i.y = ((R0i.x == 0)?(PV0i.y):(0x3f800000)); -R0i.z = ((R0i.x == 0)?(R126i.x):(0x3f800000)); -R0i.w = ((R0i.x == 0)?(PV0i.w):(0x3f800000)); -R6i.y = floatBitsToInt(intBitsToFloat(PS0i) + 0.5); -PS1i = R6i.y; -// 4 -R124i.x = floatBitsToInt(-(intBitsToFloat(R4i.y))); -R127i.y = floatBitsToInt((intBitsToFloat(R13i.x) * intBitsToFloat(R13i.x) + intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(uf_remappedVS[2].z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(uf_remappedVS[3].z)); -R0i.x = 0; -PS0i = R0i.x; -// 5 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),1.0,0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R122i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(uf_remappedVS[3].y) + intBitsToFloat(PV0i.w))); -PS1i = R122i.x; -// 6 -backupReg0i = R127i.y; -R1i.x = ((R1i.z == 0)?(R0i.x):(R8i.x)); -R127i.y = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(uf_remappedVS[3].x) + intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(uf_remappedVS[10].z)); -tempResultf = 1.0 / sqrt(intBitsToFloat(backupReg0i)); -R125i.x = floatBitsToInt(tempResultf); -PS0i = R125i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R13i.x) * intBitsToFloat(PS0i)); -PS1i = R127i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(intBitsToFloat(R13i.y) * intBitsToFloat(R125i.x)); -PS0i = R127i.y; -// 9 -R1i.y = floatBitsToInt(intBitsToFloat(R2i.y) + -(intBitsToFloat(uf_remappedVS[14].w))); -PV1i.z = floatBitsToInt(intBitsToFloat(R13i.z) * intBitsToFloat(R125i.x)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS1i)); -// 11 -backupReg0i = R1i.y; -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), -(intBitsToFloat(PS0i)))); -R1i.y = ((R1i.z == 0)?(backupReg0i):(R125i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -R1i.w = 0; -PV1i.w = R1i.w; -R2i.z = 0; -PS1i = R2i.z; -// 12 -backupReg0i = R1i.z; -backupReg0i = R1i.z; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(uf_remappedVS[14].y))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R1i.z = ((backupReg0i == 0)?(PS1i):(R124i.x)); -R1i.w = ((backupReg0i == 0)?(PV1i.w):(R125i.y)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -PS0i = R7i.y; -// 13 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R4i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R6i.x)); -R123i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(R5i.x))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(backupReg0i))); -PV1i.w = R123i.w; -R9i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + 1.0); -PS1i = R9i.y; -// 14 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -R123i.z = ((R4i.z == 0)?(PV1i.y):(0x3f800000)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R7i.z = uf_remappedVS[12].x; -PS0i = R7i.z; -// 15 -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.w = R123i.w; -R0i.y = PV0i.z; -R0i.y = clampFI32(R0i.y); -PS1i = R0i.y; -// 16 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.z)); -R3i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PV1i.y)); -R3i.z = floatBitsToInt(intBitsToFloat(backupReg2i) * intBitsToFloat(PV1i.w)); -R7i.w = uf_remappedVS[12].y; -R9i.z = floatBitsToInt(intBitsToFloat(R10i.x) * intBitsToFloat(0x3c800000)); -PS0i = R9i.z; -// 17 -R9i.w = 0x3f800000; -// 18 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R4i.y)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R3i.w = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R5i.z)); -// 1 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R0i.x = ((PV0i.x == 0)?(R2i.x):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R8i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -} -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x) *(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/330acac562ddee2b_0000000000000000_vs.txt b/Source/XenobladeX/330acac562ddee2b_0000000000000000_vs.txt deleted file mode 100644 index ad3d3ab9..00000000 --- a/Source/XenobladeX/330acac562ddee2b_0000000000000000_vs.txt +++ /dev/null @@ -1,1407 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 330acac562ddee2b // waterfall splash closeup -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R127i.z; -R127i.w = R5i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PV0i.x)); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(PV0i.z)); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R127i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R126i.y = R6i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R6i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R8i.x)); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R8i.y)); -R126i.w = R6i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R8i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.y)); -R124i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(backupReg0i)); -PS1i = R124i.y; -// 8 -PV0i.x = R6i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R6i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R6i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R127i.x)); -R126i.y = R6i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PV0i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV0i.z)); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.y)); -R125i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.y)); -PS1i = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -// 12 -R126i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R127i.y)); -R6i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R8i.x)); -PV1i.x = R0i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y)); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R13i.x = 0; -PS1i = R13i.x; -// 14 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R8i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R8i.y = 0; -PS0i = R8i.y; -// 15 -R5i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R5i.y = 0x3f800000; -R8i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R12i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R12i.w; -// 16 -R8i.x = 0x3f800000; -R0i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R127i.x))); -R4i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R13i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R12i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R14i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R6i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R14i.x = PS0i; -R13i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R13i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R13i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R8i.x = uf_remappedVS[1].z; -PS0i = R8i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = uf_remappedVS[4].z; -PS1i = R8i.y; -// 4 -R8i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R14i.x; -PV1i.y = R14i.x; -PV1i.z = R14i.x; -PV1i.w = R14i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.z = tempi.x; -// 12 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R13i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -R5i.x = uf_remappedVS[1].x; -PS0i = R5i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R7i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R8i.z)); -R5i.y = uf_remappedVS[1].y; -R5i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R8i.z)); -R7i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R14i.x) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R5i.z; -// 2 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R5i.y = 0; -R5i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R12i.y = 0; -R0i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R11i.z = 0; -// 3 -R7i.z = R13i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R14i.x; -PV0i.y = R14i.x; -PV0i.z = R14i.x; -PV0i.w = R14i.x; -R8i.x = R5i.z; -PS0i = R8i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = tempi.x; -R8i.y = backupReg1i; -PS1i = R8i.y; -// 2 -backupReg0i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.z = tempi.x; -R8i.z = R12i.z; -PS0i = R8i.z; -// 3 -backupReg0i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R12i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R7i.x = R14i.z; -R7i.z = R0i.x; -R12i.x = R12i.z; -PS0i = R12i.x; -// 1 -R12i.y = R1i.y; -R12i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R7i.y):(R0i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R0i.x):(R7i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R7i.y; -R7i.x = ((R127i.y == 0)?(PV1i.x):(R0i.x)); -R7i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R7i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R12i.z):(R12i.z)); -PV0i.w = R123i.w; -R12i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R12i.x; -// 3 -R8i.x = ((R127i.y == 0)?(0):(R13i.x)); -R12i.y = ((R127i.y == 0)?(R127i.z):(R12i.z)); -R12i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R8i.y = ((R127i.y == 0)?(0):(R5i.y)); -PS1i = R8i.y; -// 4 -backupReg0i = R8i.z; -R8i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R6i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(R6i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(R6i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R6i.y)); -PS0i = R127i.z; -// 1 -R126i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R14i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.x)); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.x)); -PS0i = R125i.x; -// 3 -R0i.x = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R14i.x) + intBitsToFloat(R127i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R13i.y) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R126i.w)); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(R125i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(backupReg0i)); -R126i.z = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(backupReg0i)); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R11i.z = 0; -PS1i = R11i.z; -// 6 -R127i.x = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(R125i.w))); -// 7 -backupReg0i = R126i.y; -backupReg1i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(R127i.y))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R125i.z))); -PS1i = R125i.x; -// 8 -backupReg0i = R127i.z; -R5i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(PV1i.z)); -R127i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.x))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(PV1i.z)); -// 9 -backupReg0i = R125i.y; -R6i.x = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R126i.w))); -R125i.z = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((intBitsToFloat(R8i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R125i.x; -// 10 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.z; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[6].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R124i.w = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R127i.z)); -PS0i = R0i.x; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 14 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -R125i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(R124i.y)); -R123i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R127i.z)); -// 15 -R14i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R127i.x))); -R14i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -R14i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R8i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(R0i.x))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.w; -backupReg0i = R124i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[6].y)); -R124i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].x)); -R126i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg1i = R125i.z; -R125i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R125i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R122i.x = floatBitsToInt((intBitsToFloat(R8i.z) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.y))); -PS1i = R122i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(PS1i))); -PS0i = R124i.y; -// 19 -R123i.x = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R126i.x))); -R123i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R124i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.w))); -PS1i = R127i.x; -// 20 -R8i.x = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R125i.z))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV1i.x))); -PS0i = R6i.x; -// 21 -R6i.y = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R127i.x))); -R8i.z = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.y))); -R6i.z = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.w))); -PS1i = R6i.z; -// 22 -R7i.z = R13i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -R0i.x = 0; -PS0i = R0i.x; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R126i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.w))); -PV1i.x = R126i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.y))); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.x; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(PV1i.w))); -R127i.z = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.w = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R126i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R126i.y; -// 7 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(R127i.x))); -R2i.y = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.z = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.z = R123i.z; -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R127i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R127i.w)); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.w; -// 9 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -PV1i.w = R126i.w; -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.y; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + -(0.0)); -R124i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R1i.w = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R124i.x = floatBitsToInt(sin((intBitsToFloat(PV1i.w))/0.1591549367)); -PS0i = R124i.x; -// 11 -R125i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R5i.y = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.y = floatBitsToInt(sin((intBitsToFloat(R127i.x))/0.1591549367)); -PS1i = R127i.y; -// 12 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R14i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R127i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R11i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R14i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R127i.w = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -PS0i = R127i.w; -// 13 -backupReg0i = R126i.y; -backupReg0i = R126i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R126i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(backupReg0i)); -PS1i = floatBitsToInt(cos((intBitsToFloat(R126i.w))/0.1591549367)); -// 14 -R11i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.w)); -PV0i.x = R11i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(PV1i.z)); -PV0i.y = R0i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = R2i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R122i.x = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(R1i.y) + intBitsToFloat(R125i.x))); -PS0i = R122i.x; -// 15 -backupReg0i = R0i.w; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R2i.x; -PV1i.y = R2i.x; -PV1i.z = R2i.x; -PV1i.w = R2i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(PS0i) + intBitsToFloat(R10i.y))); -PS1i = R126i.x; -// 16 -backupReg0i = R0i.w; -backupReg1i = R126i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R0i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.y = tempi.x; -R126i.w = floatBitsToInt((-(intBitsToFloat(R124i.x)) * intBitsToFloat(R1i.y) + intBitsToFloat(backupReg1i))); -PS0i = R126i.w; -// 17 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.z = tempi.x; -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(R124i.y)); -PS1i = R2i.w; -// 18 -backupReg0i = R126i.y; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R126i.y = floatBitsToInt((intBitsToFloat(R10i.z) * intBitsToFloat(R126i.w) + intBitsToFloat(R10i.x))); -R126i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(R1i.y) + intBitsToFloat(R125i.w))); -R123i.w = floatBitsToInt((-(intBitsToFloat(R127i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -R1i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + 0.5); -PS0i = R1i.y; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R11i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(PV0i.w) + intBitsToFloat(R9i.x))); -PS1i = R127i.y; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R11i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R127i.x; -// 21 -backupReg0i = R9i.y; -R9i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R9i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.y = R9i.y; -R9i.z = floatBitsToInt(intBitsToFloat(R126i.y) + 0.5); -R10i.w = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(R126i.z) + intBitsToFloat(backupReg0i))); -R7i.x = floatBitsToInt(intBitsToFloat(R127i.y) + 0.5); -PS1i = R7i.x; -// 22 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -R9i.w = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R127i.x)); -PS0i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R0i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R126i.z = floatBitsToInt(intBitsToFloat(R9i.y) * intBitsToFloat(R9i.x)); -PS0i = R126i.z; -// 1 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(R9i.w)); -PS1i = R126i.x; -// 2 -backupReg0i = R1i.y; -R127i.x = ((R2i.y == 0)?(PS1i):(PS1i)); -R1i.y = floatBitsToInt(intBitsToFloat(R10i.w) + 0.5); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R126i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R126i.z)); -R125i.x = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS0i = R125i.x; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -backupReg2i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R127i.y = ((R2i.y == 0)?(PV0i.z):(backupReg2i)); -PS1i = R127i.y; -// 4 -R123i.x = ((R2i.y == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R123i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R11i.z))); -R125i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((R2i.y == 0)?(R126i.w):(R126i.w)); -PV0i.w = R123i.w; -R0i.x = ((R5i.x == 0)?(R127i.x):(0x3f800000)); -PS0i = R0i.x; -// 5 -backupReg0i = R0i.y; -R1i.x = 0; -R2i.y = ((R5i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.z = ((R5i.x == 0)?(R127i.y):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV0i.x):(0x3f800000)); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R0i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R7i.z = 0; -PS0i = R7i.z; -// 7 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -R3i.w = 0; -PS1i = R3i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R126i.z = floatBitsToInt(tempResultf); -PS0i = R126i.z; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PS0i)); -PS1i = R124i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R126i.z)); -PS0i = R127i.y; -// 11 -R6i.x = ((R125i.z == 0)?(R1i.x):(R126i.x)); -R6i.y = ((R125i.z == 0)?(R0i.y):(R126i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.z)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -// 13 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), -(intBitsToFloat(PS0i)))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 1.0); -R6i.z = ((R125i.z == 0)?(R7i.z):(R126i.y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -R6i.w = ((R125i.z == 0)?(R3i.w):(R124i.z)); -PS1i = R6i.w; -// 14 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R7i.w = R125i.x; -R7i.z = R9i.z; -PS0i = R7i.z; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R2i.w)); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -// 16 -R123i.x = ((R5i.y == 0)?(PV1i.z):(0x3f800000)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -// 17 -R1i.x = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.x = R1i.x; -R0i.y = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.z = R0i.z; -R1i.z = PV0i.x; -R1i.z = clampFI32(R1i.z); -PS1i = R1i.z; -// 18 -backupReg0i = R3i.x; -backupReg1i = R3i.z; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.x)); -R1i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV1i.y)); -R3i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PV1i.z)); -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R1i.x)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R0i.y)); -PV0i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R0i.z)); -PS0i = R127i.w; -// 1 -R4i.x = ((PV0i.w == 0)?(R0i.x):(0x3f800000)); -R4i.y = ((PV0i.w == 0)?(R2i.y):(0x3f800000)); -R4i.z = ((PV0i.w == 0)?(R2i.z):(0x3f800000)); -R4i.w = ((PV0i.w == 0)?(R0i.w):(0x3f800000)); -PS1i = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[21].y)); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), 0.0)); -PS0i = R127i.z; -// 3 -R0i.x = floatBitsToInt(max(intBitsToFloat(R3i.x), 0.0)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -R0i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R5i.z)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R2i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(intBitsToFloat(R10i.y) * intBitsToFloat(PS1i)); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS1i = R0i.z; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -R2i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.x = floatBitsToInt(max(intBitsToFloat(R126i.y), 0.0)); -PS0i = R2i.x; -// 7 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[21].w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 11 -R125i.y = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R126i.w; -// 12 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.x = R123i.x; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.x))); -// 14 -R1i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[19].w)); -} -// export -float origRatio = 1.777f; -float newRatio = ; - -gl_Position = vec4(intBitsToFloat(R4i.x)*(origRatio / newRatio), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R6i.x)*(origRatio / newRatio), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/3fae14064195391b_0000000000000000_vs.txt b/Source/XenobladeX/3fae14064195391b_0000000000000000_vs.txt deleted file mode 100644 index 996e7cb8..00000000 --- a/Source/XenobladeX/3fae14064195391b_0000000000000000_vs.txt +++ /dev/null @@ -1,1313 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 3fae14064195391b -//ockserve engine late game -uniform ivec4 uf_remappedVS[21]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem1; -layout(location = 3) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R126i.z; -R126i.w = R4i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R125i.x = R5i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R7i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R7i.x))); -R126i.z = R5i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R5i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R7i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R125i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 8 -R126i.x = R5i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R5i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R5i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.z))); -R125i.x = R5i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R125i.x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R125i.x))); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R125i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R1i.z = 0; -PS0i = R1i.z; -// 13 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -PV1i.x = R5i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.y))); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R7i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R4i.x = 0; -PS1i = R4i.x; -// 14 -R13i.xyz = floatBitsToInt(vec3(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(R1i.z)) + vec3(intBitsToFloat(R125i.w),intBitsToFloat(R126i.z),intBitsToFloat(R126i.y))); -R10i.w = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.x))); -R12i.y = 0; -PS0i = R12i.y; -// 15 -R12i.x = 0x3f800000; -R7i.y = 0x3f800000; -R12i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R1i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R5i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R4i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R14i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R5i.x = PS0i; -R0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R10i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R10i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R12i.x = uf_remappedVS[1].z; -PS0i = R12i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.y = uf_remappedVS[4].z; -PS1i = R12i.y; -// 4 -R12i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.x), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.x), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -// 12 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -backupReg0i = R0i.y; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R4i.x = uf_remappedVS[1].x; -PS0i = R4i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.z), intBitsToFloat(R12i.z))); -R4i.y = uf_remappedVS[1].y; -R4i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R0i.y; -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R5i.x; -R5i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.z), intBitsToFloat(R12i.z))); -R14i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PS1i))); -PS0i = R14i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R4i.z; -// 2 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R5i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R4i.y = 0; -R4i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R5i.y = 0; -R0i.z = 0; -R5i.z = uf_remappedVS[1].x; -PS1i = R5i.z; -// 2 -R11i.z = 0; -// 3 -R7i.z = R10i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -R12i.x = R4i.z; -PS0i = R12i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -R12i.y = backupReg1i; -PS1i = R12i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -R12i.z = R5i.z; -PS0i = R12i.z; -// 3 -backupReg0i = R0i.z; -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R10i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = R13i.x; -PV1i.y = R13i.x; -PV1i.z = R13i.x; -PV1i.w = R13i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -backupReg0i = R13i.x; -R13i.x = R13i.z; -R13i.z = backupReg0i; -R7i.x = R14i.z; -PS0i = R7i.x; -// 1 -R7i.y = R1i.y; -R7i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R13i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R13i.z):(R13i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R13i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.x; -backupReg1i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(backupReg0i)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R13i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg1i)); -R123i.w = ((R127i.x == 0)?(R14i.z):(R14i.z)); -PV0i.w = R123i.w; -R7i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R7i.x; -// 3 -backupReg0i = R7i.y; -R12i.x = ((R127i.y == 0)?(0):(R4i.x)); -R7i.y = ((R127i.y == 0)?(R127i.z):(R14i.z)); -R7i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R12i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R12i.y; -// 4 -backupReg0i = R12i.z; -R12i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R6i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R6i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R6i.y))); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.x))); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.x))); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(R126i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = 0; -PS0i = R11i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -PS1i = R125i.z; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -// 7 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R127i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R125i.z; -backupReg1i = R127i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV1i.y))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R126i.z))); -// 9 -backupReg0i = R124i.z; -backupReg1i = R125i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.x))); -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS1i = R126i.w; -// 12 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_remappedVS[6].z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].y))); -PS0i = R126i.y; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R124i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R125i.z))); -// 15 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R125i.x))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[6].y))); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R125i.z))); -PS0i = R127i.y; -// 19 -backupReg0i = R0i.x; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -PS1i = R127i.w; -// 20 -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R127i.x))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R125i.w))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R127i.y))); -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R124i.y))); -PS0i = R13i.x; -// 21 -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R126i.x))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R127i.w))); -// 22 -R7i.z = R10i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -R1i.w = 0; -PS0i = R1i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R0i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R0i.x; -// 3 -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.x))); -PV1i.y = R124i.y; -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PV1i.z = R125i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(PV1i.y))); -R126i.y = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.w)); -R126i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.y; -// 7 -R2i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.z; -// 9 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.x = R127i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R126i.x; -// 10 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + -(0.0)); -R125i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R126i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.x))/0.1591549367)); -PS0i = R126i.w; -// 11 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R4i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.z = floatBitsToInt(cos((intBitsToFloat(R127i.x))/0.1591549367)); -PS1i = R127i.z; -// 12 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R126i.x; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV1i.w))); -PV0i.y = R11i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.w))); -PV0i.z = R124i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R126i.y = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS0i = R126i.y; -// 13 -backupReg0i = R125i.y; -backupReg0i = R125i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(backupReg0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(backupReg0i))); -R127i.x = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.x; -// 14 -R11i.x = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(PV1i.x)); -PV0i.x = R11i.x; -R2i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(PV1i.z)); -PV0i.y = R2i.y; -R0i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R0i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.w))); -PS0i = R125i.z; -// 15 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -R126i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.w))); -PS1i = R126i.z; -// 16 -backupReg0i = R127i.y; -backupReg1i = R125i.w; -R125i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(backupReg0i))); -R1i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(R8i.x))); -R6i.x = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -PS0i = R6i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R11i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(R125i.y))); -PS1i = R1i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R11i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R126i.x; -// 19 -backupReg0i = R125i.x; -backupReg1i = R125i.w; -R125i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(R9i.x))); -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(R8i.y))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[12].w))); -PV1i.w = R125i.w; -R7i.x = floatBitsToInt(intBitsToFloat(backupReg1i) + 0.5); -PS1i = R7i.x; -// 20 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -backupReg2i = R126i.x; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(backupReg2i))); -PS0i = R126i.z; -// 21 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.w = tempi.x; -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R125i.x))); -PS1i = R8i.y; -// 22 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R2i.y),intBitsToFloat(R0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.z = tempi.x; -R8i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R126i.z)); -PS0i = R8i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(uf_remappedVS[0].z))); -R5i.y = floatBitsToInt(intBitsToFloat(R2i.z) + 0.5); -R126i.z = ((R2i.x == 0)?(R8i.x):(R8i.x)); -R125i.w = floatBitsToInt(intBitsToFloat(R8i.w) + intBitsToFloat(R8i.y)); -R9i.x = floatBitsToInt(intBitsToFloat(R11i.y) + 0.5); -PS0i = R9i.x; -// 1 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -R126i.x = ((R2i.x == 0)?(PV0i.x):(R1i.w)); -PS1i = R126i.x; -// 2 -backupReg0i = R2i.x; -backupReg0i = R2i.x; -R2i.x = ((R0i.x == 0)?(R126i.z):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R125i.w):(R125i.w)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R13i.z) * intBitsToFloat(R13i.z)); -R123i.w = ((backupReg0i == 0)?(PV1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(R9i.y))); -PS0i = R122i.x; -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(R13i.y) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -R8i.y = ((R0i.x == 0)?(PV0i.y):(0x3f800000)); -R0i.z = ((R0i.x == 0)?(R126i.x):(0x3f800000)); -R0i.w = ((R0i.x == 0)?(PV0i.w):(0x3f800000)); -R6i.y = floatBitsToInt(intBitsToFloat(PS0i) + 0.5); -PS1i = R6i.y; -// 4 -R124i.x = floatBitsToInt(-(intBitsToFloat(R4i.y))); -R127i.y = floatBitsToInt((intBitsToFloat(R13i.x) * intBitsToFloat(R13i.x) + intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(uf_remappedVS[2].z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(uf_remappedVS[3].z))); -R0i.x = 0; -PS0i = R0i.x; -// 5 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),1.0,0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(uf_remappedVS[3].y)) + intBitsToFloat(PV0i.w))); -PS1i = R122i.x; -// 6 -backupReg0i = R127i.y; -R1i.x = ((R1i.z == 0)?(R0i.x):(R8i.x)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(uf_remappedVS[3].x)) + intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(uf_remappedVS[10].z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(backupReg0i)); -R125i.x = floatBitsToInt(tempResultf); -PS0i = R125i.x; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.x), intBitsToFloat(PS0i))); -PS1i = R127i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R125i.x))); -PS0i = R127i.y; -// 9 -R1i.y = floatBitsToInt(intBitsToFloat(R2i.y) + -(intBitsToFloat(uf_remappedVS[14].w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(R125i.x))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -// 11 -backupReg0i = R1i.y; -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), -(intBitsToFloat(PS0i)))); -R1i.y = ((R1i.z == 0)?(backupReg0i):(R125i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -R1i.w = 0; -PV1i.w = R1i.w; -R2i.z = 0; -PS1i = R2i.z; -// 12 -backupReg0i = R1i.z; -backupReg0i = R1i.z; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(uf_remappedVS[14].y))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R1i.z = ((backupReg0i == 0)?(PS1i):(R124i.x)); -R1i.w = ((backupReg0i == 0)?(PV1i.w):(R125i.y)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -PS0i = R7i.y; -// 13 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R4i.x))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R6i.x)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R5i.x))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(backupReg0i))); -PV1i.w = R123i.w; -R9i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + 1.0); -PS1i = R9i.y; -// 14 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -R123i.z = ((R4i.z == 0)?(PV1i.y):(0x3f800000)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R7i.z = uf_remappedVS[12].x; -PS0i = R7i.z; -// 15 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.w = R123i.w; -R0i.y = PV0i.z; -R0i.y = clampFI32(R0i.y); -PS1i = R0i.y; -// 16 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -backupReg2i = R3i.z; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.z))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PV1i.y))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PV1i.w))); -R7i.w = uf_remappedVS[12].y; -R9i.z = floatBitsToInt(intBitsToFloat(R10i.x) * intBitsToFloat(0x3c800000)); -PS0i = R9i.z; -// 17 -R9i.w = 0x3f800000; -// 18 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R4i.y)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R5i.z))); -// 1 -backupReg0i = R0i.z; -backupReg1i = R0i.w; -R0i.x = ((PV0i.x == 0)?(R2i.x):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R8i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -} -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) - -// export -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/430ac3a85ece61af_0000000000000079_ps.txt b/Source/XenobladeX/430ac3a85ece61af_0000000000000079_ps.txt index c47af4d2..041a586e 100644 --- a/Source/XenobladeX/430ac3a85ece61af_0000000000000079_ps.txt +++ b/Source/XenobladeX/430ac3a85ece61af_0000000000000079_ps.txt @@ -1,14 +1,7 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 430ac3a85ece61af // bloom sampling scale -const float resScale = ; +const float resScale = ($height/$gameHeight); highp float lineRand(vec2 co) //to reduce banding { highp float a = 12.9898; @@ -19,7 +12,7 @@ highp float lineRand(vec2 co) //to reduce banding return fract(sin(sn) * c); } -//const float resScale = 4.0; +//const float resScale = ($height/$gameHeight); // = 4.0; uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e12000 res 256x144x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 6 6 6 border: 0 layout(location = 0) in vec4 passParameterSem0; diff --git a/Source/XenobladeX/4c66e611ad14aabe_0000000000000000_vs.txt b/Source/XenobladeX/4c66e611ad14aabe_0000000000000000_vs.txt deleted file mode 100644 index 2166a0da..00000000 --- a/Source/XenobladeX/4c66e611ad14aabe_0000000000000000_vs.txt +++ /dev/null @@ -1,533 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 4c66e611ad14aabe -//intro dive splash -uniform ivec4 uf_remappedVS[24]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem5; -layout(location = 5) in uvec4 attrDataSem6; -layout(location = 6) in uvec4 attrDataSem7; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R5i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R2i.w) + -(0.5)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R6i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R6i.z))); -// 1 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(fract(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(PV0i.w)); -PS1i = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(PS0i)); -// 2 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(R4i.y))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(R4i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(R4i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -PS0i = 0; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R6i.x))); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.y))); -R125i.w = floatBitsToInt(intBitsToFloat(PS0i) + intBitsToFloat(PV0i.z)); -R4i.z = 0; -PS1i = R4i.z; -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.y)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(backupReg0i)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].y) * 1.0); -PS0i = floatBitsToInt(sin((intBitsToFloat(PV1i.y))/0.1591549367)); -// 5 -backupReg0i = R126i.y; -R6i.x = PS0i; -R126i.y = floatBitsToInt(-(intBitsToFloat(PS0i))); -R126i.z = R125i.w; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].z) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -R124i.x = PS1i; -PV0i.x = R124i.x; -R6i.y = PS1i; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].w) * 1.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].x)) + intBitsToFloat(backupReg0i))); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].y)) + intBitsToFloat(backupReg1i))); -PS0i = R125i.x; -// 7 -backupReg0i = R126i.w; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(R126i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].z)) + intBitsToFloat(backupReg0i))); -PS1i = R126i.w; -// 8 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R125i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].w)) + intBitsToFloat(backupReg1i))); -PS0i = R127i.z; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.w = R3i.w; -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) * 2.0); -PS1i = R4i.w; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R125i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * 1.0); -PS1i = R127i.y; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].y)) + intBitsToFloat(R125i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].w)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].z)) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R127i.w; -// 13 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.z))); -R125i.x = ((0.0 >= intBitsToFloat(R4i.w))?int(0xFFFFFFFF):int(0x0)); -PS1i = R125i.x; -// 14 -R4i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.w)); -PV0i.x = R4i.x; -R4i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.y)); -PV0i.y = R4i.y; -R5i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R127i.w)); -PV0i.z = R5i.z; -R125i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[7].w))?int(0xFFFFFFFF):int(0x0)); -R6i.z = 0; -PS0i = R6i.z; -// 15 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = 0; -PS1i = R0i.z; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R5i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PS0i = R9i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R5i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R9i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -PS1i = R9i.y; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R5i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.w = tempi.x; -R122i.x = ((R125i.x == 0)?(R9i.x):(0x3f800000)); -PS0i = R122i.x; -// 19 -R123i.x = ((R125i.x == 0)?(PV0i.x):(0x3f800000)); -PV1i.x = R123i.x; -R123i.y = ((R125i.x == 0)?(R127i.w):(0x3f800000)); -PV1i.y = R123i.y; -R123i.z = ((R125i.x == 0)?(R9i.y):(0x3f800000)); -PV1i.z = R123i.z; -R1i.w = uf_remappedVS[2].z; -R2i.x = ((R125i.w == 0)?(PS0i):(0x3f800000)); -PS1i = R2i.x; -// 20 -R5i.x = uf_remappedVS[3].z; -R2i.y = ((R125i.w == 0)?(PV1i.z):(0x3f800000)); -R2i.z = ((R125i.w == 0)?(PV1i.y):(0x3f800000)); -R2i.w = ((R125i.w == 0)?(PV1i.x):(0x3f800000)); -R1i.z = uf_remappedVS[4].z; -PS0i = R1i.z; -// 21 -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = R0i.x; -PV1i.y = R0i.x; -PV1i.z = R0i.x; -PV1i.w = R0i.x; -R8i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[12].x) + -(1.0)); -PS1i = R8i.z; -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R2i.x)*(origRatio / newRatio), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R124i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[12].y) + -(1.0)); -PS0i = R124i.y; -// 1 -backupReg0i = R0i.w; -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R5i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w)))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R7i.y))); -PS1i = R126i.y; -// 2 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R5i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[14].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = tempi.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R7i.z)) + intBitsToFloat(R7i.x))); -PS0i = R127i.z; -// 3 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R5i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(R126i.y) + 0.5); -PS1i = R124i.x; -// 4 -backupReg0i = R0i.z; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R127i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R4i.x = floatBitsToInt(intBitsToFloat(R127i.z) + 0.5); -PS0i = R4i.x; -// 5 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y),intBitsToFloat(backupReg1i),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R4i.y = floatBitsToInt(-(intBitsToFloat(R124i.x)) + 1.0); -PS1i = R4i.y; -// 6 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y),intBitsToFloat(R0i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R9i.z = floatBitsToInt(-(intBitsToFloat(R126i.z))); -PS0i = R9i.z; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + -(intBitsToFloat(uf_remappedVS[16].x))); -PS1i = R124i.x; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 9 -backupReg0i = R126i.z; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(uf_remappedVS[16].y))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 10 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -backupReg2i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -R127i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[12].z) + -(1.0)); -PS0i = R127i.x; -// 11 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y),intBitsToFloat(R126i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R125i.y = floatBitsToInt(tempResultf); -PS1i = R125i.y; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[18].x)),-(intBitsToFloat(uf_remappedVS[18].y)),-(intBitsToFloat(uf_remappedVS[18].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PS0i = R126i.x; -// 13 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.w),intBitsToFloat(R5i.x),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),0.0))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R125i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -PS1i = R125i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.w),intBitsToFloat(R5i.x),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R125i.w = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -PS0i = R125i.w; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.w),intBitsToFloat(R5i.x),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R126i.w = floatBitsToInt(max(intBitsToFloat(R125i.x), 0.0)); -PS1i = R126i.w; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(uf_remappedVS[12].w)) + 1.0)); -PS0i = R127i.w; -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(uf_remappedVS[16].z))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedVS[12].w)) + 1.0)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[12].w)) + 1.0)); -tempResultf = log2(intBitsToFloat(R125i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R8i.z = floatBitsToInt(tempResultf); -PS1i = R8i.z; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.y),intBitsToFloat(R126i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.z)); -PS0i = floatBitsToInt(tempResultf); -// 19 -backupReg0i = R125i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(backupReg0i))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R125i.z))); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.w = floatBitsToInt(tempResultf); -PS1i = R127i.w; -// 20 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(uf_remappedVS[21].w))); -R8i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(R127i.x))); -// 21 -R0i.x = floatBitsToInt(min(intBitsToFloat(PS0i), 1.0)); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[22].w))); -R0i.w = floatBitsToInt(max(intBitsToFloat(R125i.y), -(intBitsToFloat(R125i.y)))); -R5i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R5i.x; -// export -passParameterSem2 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.z)); -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(uf_remappedVS[16].w))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.w = R123i.w; -R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(R1i.y))); -PS0i = R8i.x; -// 1 -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV0i.y))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedVS[21].y)) + intBitsToFloat(uf_remappedVS[23].y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedVS[21].x)) + intBitsToFloat(uf_remappedVS[23].x))); -R8i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV0i.w))); -PS1i = R8i.z; -// 2 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(uf_remappedVS[21].z)) + intBitsToFloat(uf_remappedVS[23].z))); -PV0i.y = R123i.y; -R8i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), intBitsToFloat(R4i.w))); -PS0i = floatBitsToInt(exp2(intBitsToFloat(R1i.z))); -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[22].x)) + intBitsToFloat(R127i.w))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[22].y)) + intBitsToFloat(R125i.z))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[22].z)) + intBitsToFloat(PV0i.y))); -// 4 -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[18].w))); -// export -passParameterSem0 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// 0 -} diff --git a/Source/XenobladeX/4d4b09634a7eab30_0000000000001e49_ps.txt b/Source/XenobladeX/4d4b09634a7eab30_0000000000001e49_ps.txt index 4774738a..b9ce3827 100644 --- a/Source/XenobladeX/4d4b09634a7eab30_0000000000001e49_ps.txt +++ b/Source/XenobladeX/4d4b09634a7eab30_0000000000001e49_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 4d4b09634a7eab30 // Last step vertical blend. half tv scaled + pre-blending = aprox half step reduction // To-do candidate for multi pass / bokeh replacement -const float resScale = ; +const float resScale = ($width/$gameWidth); uniform ivec4 uf_remappedPS[7]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4fde000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf51aa000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 @@ -19,7 +12,7 @@ layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0xf4e12000 res layout(location = 0) in vec4 passParameterSem0; layout(location = 0) out vec4 passPixelColor0; uniform vec2 uf_fragCoordScale; -//const float resScale = 2.0; +//const float resScale = ($height/$gameHeight); // = 2.0; int clampFI32(int v) { if( v == 0x7FFFFFFF ) diff --git a/Source/XenobladeX/5098356af9ebfe85_0000000000000079_ps.txt b/Source/XenobladeX/5098356af9ebfe85_0000000000000079_ps.txt index 6b3b83e7..b5db070c 100644 --- a/Source/XenobladeX/5098356af9ebfe85_0000000000000079_ps.txt +++ b/Source/XenobladeX/5098356af9ebfe85_0000000000000079_ps.txt @@ -2,7 +2,7 @@ #extension GL_ARB_texture_gather : enable // shader 5098356af9ebfe85 //AO pass 3 vertical blur -const float resScale = 4.5; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5911000 res 640x360x1 dim 1 tm: 4 format 0007 compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem0; diff --git a/Source/XenobladeX/59df1c7e1806366c_00000000000003c9_ps.txt b/Source/XenobladeX/59df1c7e1806366c_00000000000003c9_ps.txt index eabbe109..83cafd45 100644 --- a/Source/XenobladeX/59df1c7e1806366c_00000000000003c9_ps.txt +++ b/Source/XenobladeX/59df1c7e1806366c_00000000000003c9_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable const float sharpen_strength = 0.2; //0 off, 1 full (edge haloing) note, off = use only blur aa // shader 59df1c7e1806366c // aa-restore + sharpen pass. AA removal will override any setting here -const float resScale = ; +const float resScale = ($height/$gameHeight); // = 3.0; uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e12000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/XenobladeX/5a41baf724c1cff3_0000000000000000_vs.txt b/Source/XenobladeX/5a41baf724c1cff3_0000000000000000_vs.txt deleted file mode 100644 index d7af0407..00000000 --- a/Source/XenobladeX/5a41baf724c1cff3_0000000000000000_vs.txt +++ /dev/null @@ -1,1410 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 5a41baf724c1cff3 // reflection water crystal -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 4) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R127i.z; -R127i.w = R5i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PV0i.x)); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(PV0i.z)); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R127i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R126i.y = R6i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R6i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R8i.x)); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R8i.y)); -R126i.w = R6i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R8i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.y)); -R124i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(backupReg0i)); -PS1i = R124i.y; -// 8 -PV0i.x = R6i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R6i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R6i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R127i.x)); -R126i.y = R6i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PV0i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV0i.z)); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.y)); -R125i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.y)); -PS1i = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -// 12 -R126i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R127i.y)); -R6i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R8i.x)); -PV1i.x = R0i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y)); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R13i.x = 0; -PS1i = R13i.x; -// 14 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R8i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R8i.y = 0; -PS0i = R8i.y; -// 15 -R5i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R5i.y = 0x3f800000; -R8i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R12i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R12i.w; -// 16 -R8i.x = 0x3f800000; -R0i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R127i.x))); -R4i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R13i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R12i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R14i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R6i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R14i.x = PS0i; -R13i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R13i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R13i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R8i.x = uf_remappedVS[1].z; -PS0i = R8i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = uf_remappedVS[4].z; -PS1i = R8i.y; -// 4 -R8i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R14i.x; -PV1i.y = R14i.x; -PV1i.z = R14i.x; -PV1i.w = R14i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.z = tempi.x; -// 12 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R13i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -R5i.x = uf_remappedVS[1].x; -PS0i = R5i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R7i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R8i.z)); -R5i.y = uf_remappedVS[1].y; -R5i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R8i.z)); -R7i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R14i.x) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R5i.z; -// 2 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R5i.y = 0; -R5i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R12i.y = 0; -R0i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R11i.z = 0; -// 3 -R7i.z = R13i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R14i.x; -PV0i.y = R14i.x; -PV0i.z = R14i.x; -PV0i.w = R14i.x; -R8i.x = R5i.z; -PS0i = R8i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = tempi.x; -R8i.y = backupReg1i; -PS1i = R8i.y; -// 2 -backupReg0i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.z = tempi.x; -R8i.z = R12i.z; -PS0i = R8i.z; -// 3 -backupReg0i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R12i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R7i.x = R14i.z; -R7i.z = R0i.x; -R12i.x = R12i.z; -PS0i = R12i.x; -// 1 -R12i.y = R1i.y; -R12i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R7i.y):(R0i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R0i.x):(R7i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R7i.y; -R7i.x = ((R127i.y == 0)?(PV1i.x):(R0i.x)); -R7i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R7i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R12i.z):(R12i.z)); -PV0i.w = R123i.w; -R12i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R12i.x; -// 3 -R8i.x = ((R127i.y == 0)?(0):(R13i.x)); -R12i.y = ((R127i.y == 0)?(R127i.z):(R12i.z)); -R12i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R8i.y = ((R127i.y == 0)?(0):(R5i.y)); -PS1i = R8i.y; -// 4 -backupReg0i = R8i.z; -R8i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R6i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(R6i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(R6i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R6i.y)); -PS0i = R127i.z; -// 1 -R126i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R14i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.x)); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.x)); -PS0i = R125i.x; -// 3 -R0i.x = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R14i.x) + intBitsToFloat(R127i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R13i.y) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R126i.w)); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(R125i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(backupReg0i)); -R126i.z = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(backupReg0i)); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R11i.z = 0; -PS1i = R11i.z; -// 6 -R127i.x = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(R125i.w))); -// 7 -backupReg0i = R126i.y; -backupReg1i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(R127i.y))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R125i.z))); -PS1i = R125i.x; -// 8 -backupReg0i = R127i.z; -R5i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(PV1i.z)); -R127i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.x))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(PV1i.z)); -// 9 -backupReg0i = R125i.y; -R6i.x = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R126i.w))); -R125i.z = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((intBitsToFloat(R8i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R125i.x; -// 10 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.z; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[6].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R124i.w = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R127i.z)); -PS0i = R0i.x; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 14 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -R125i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(R124i.y)); -R123i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R127i.z)); -// 15 -R14i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R127i.x))); -R14i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -R14i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R8i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(R0i.x))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.w; -backupReg0i = R124i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[6].y)); -R124i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].x)); -R126i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg1i = R125i.z; -R125i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R125i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R122i.x = floatBitsToInt((intBitsToFloat(R8i.z) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.y))); -PS1i = R122i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(PS1i))); -PS0i = R124i.y; -// 19 -R123i.x = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R126i.x))); -R123i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R124i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.w))); -PS1i = R127i.x; -// 20 -R8i.x = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R125i.z))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV1i.x))); -PS0i = R6i.x; -// 21 -R6i.y = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R127i.x))); -R8i.z = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.y))); -R6i.z = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.w))); -PS1i = R6i.z; -// 22 -R7i.z = R13i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -R0i.x = 0; -PS0i = R0i.x; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R126i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R124i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.x))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.z))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -R127i.x = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.y = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(PV1i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R126i.y; -// 7 -R123i.x = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -R0i.z = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R127i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(R127i.y)); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.w; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -R125i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -PV1i.y = R125i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.y; -// 10 -R125i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R2i.y = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + -(0.0)); -R1i.w = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R127i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.y))/0.1591549367)); -PS0i = R127i.w; -// 11 -R127i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R0i.y = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R125i.z = floatBitsToInt(sin((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R125i.z; -// 12 -R11i.x = floatBitsToInt(intBitsToFloat(R14i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R11i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R127i.y; -R124i.z = floatBitsToInt(intBitsToFloat(R14i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R124i.z; -R125i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R124i.x = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS0i = R124i.x; -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R126i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R126i.y)); -PS1i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.x)); -PV0i.x = R2i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(PV1i.w)); -PV0i.y = R11i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.z = R2i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R122i.x = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(R1i.y) + intBitsToFloat(R127i.x))); -PS0i = R122i.x; -// 15 -backupReg0i = R0i.w; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R12i.x; -PV1i.y = R12i.x; -PV1i.z = R12i.x; -PV1i.w = R12i.x; -R126i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(PS0i) + intBitsToFloat(R10i.y))); -PS1i = R126i.z; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -R127i.x = floatBitsToInt((-(intBitsToFloat(R125i.z)) * intBitsToFloat(R1i.y) + intBitsToFloat(R127i.z))); -PS0i = R127i.x; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.z = tempi.x; -R122i.x = floatBitsToInt((-(intBitsToFloat(R127i.w)) * intBitsToFloat(R1i.y) + intBitsToFloat(R126i.w))); -PS1i = R122i.x; -// 18 -backupReg0i = R126i.z; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R10i.z) * intBitsToFloat(PS1i) + intBitsToFloat(R10i.x))); -R124i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(R125i.w))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -R10i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -PS0i = R10i.y; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(R127i.x) + intBitsToFloat(R9i.x))); -PS1i = R127i.z; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R124i.z; -// 21 -backupReg0i = R9i.w; -backupReg1i = R9i.y; -R9i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R9i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.y = R9i.y; -R10i.z = floatBitsToInt(intBitsToFloat(R125i.x) + 0.5); -R9i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg1i))); -R7i.x = floatBitsToInt(intBitsToFloat(R127i.z) + 0.5); -PS1i = R7i.x; -// 22 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.z = tempi.x; -R11i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.z)); -PS0i = R11i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(R9i.y) * intBitsToFloat(R9i.x)); -PS0i = R125i.w; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(R11i.x)); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R126i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R125i.w)); -R124i.z = ((R0i.z == 0)?(PS1i):(PS1i)); -R126i.w = floatBitsToInt(-(intBitsToFloat(R10i.w)) + 1.0); -R7i.y = floatBitsToInt(intBitsToFloat(R9i.w) + 0.5); -PS0i = R7i.y; -// 3 -backupReg0i = R0i.z; -backupReg1i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R124i.y = ((backupReg0i == 0)?(PV0i.x):(backupReg1i)); -PS1i = R124i.y; -// 4 -backupReg0i = R124i.z; -R123i.x = ((R0i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(R11i.z))); -R124i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((R0i.z == 0)?(R126i.y):(R126i.y)); -PV0i.w = R123i.w; -R2i.x = ((R5i.x == 0)?(backupReg0i):(0x3f800000)); -PS0i = R2i.x; -// 5 -backupReg0i = R11i.y; -R0i.x = 0; -R11i.y = ((R5i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.z = ((R5i.x == 0)?(R124i.y):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV0i.x):(0x3f800000)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R9i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R0i.z = 0; -PS0i = R0i.z; -// 7 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R2i.w = 0; -PS1i = R2i.w; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R9i.x = ((R124i.z == 0)?(backupReg0i):(R127i.z)); -PS0i = R9i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.y)); -R125i.w = floatBitsToInt(tempResultf); -PS1i = R125i.w; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PS1i)); -PS0i = R125i.x; -// 11 -R6i.x = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -PV1i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R125i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R125i.w)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -// 13 -backupReg0i = R9i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PS0i), -(intBitsToFloat(PS0i)))); -R9i.z = ((R124i.z == 0)?(R0i.z):(R125i.y)); -R9i.w = ((R124i.z == 0)?(R2i.w):(R127i.w)); -R9i.y = ((R124i.z == 0)?(backupReg0i):(R126i.y)); -PS1i = R9i.y; -// 14 -backupReg0i = R7i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(uf_remappedVS[14].y))); -R7i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -R7i.z = R10i.z; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R7i.w = R126i.w; -PS0i = R7i.w; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R2i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R10i.y)); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -R6i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 0.5); -PS1i = R6i.y; -// 16 -R123i.x = ((R0i.y == 0)?(PV1i.z):(0x3f800000)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -// 17 -R0i.x = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.x = R0i.x; -R0i.y = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.z = R0i.z; -R1i.z = PV0i.x; -R1i.z = clampFI32(R1i.z); -PS1i = R1i.z; -// 18 -backupReg0i = R3i.z; -R1i.x = floatBitsToInt(intBitsToFloat(R3i.x) * intBitsToFloat(PV1i.x)); -R1i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV1i.y)); -R3i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.z)); -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(backupReg0i)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R0i.y)); -PV0i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R0i.z)); -PS0i = R127i.w; -// 1 -R4i.x = ((PV0i.w == 0)?(R2i.x):(0x3f800000)); -R4i.y = ((PV0i.w == 0)?(R11i.y):(0x3f800000)); -R4i.z = ((PV0i.w == 0)?(R2i.z):(0x3f800000)); -R4i.w = ((PV0i.w == 0)?(R0i.w):(0x3f800000)); -PS1i = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[21].y)); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), 0.0)); -PS0i = R127i.z; -// 3 -R0i.x = floatBitsToInt(max(intBitsToFloat(R1i.x), 0.0)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -R0i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R5i.z)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R12i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PS1i)); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS1i = R0i.z; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -R2i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.x = floatBitsToInt(max(intBitsToFloat(R126i.y), 0.0)); -PS0i = R2i.x; -// 7 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[21].w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 11 -R125i.y = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R126i.w; -// 12 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.x = R123i.x; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.x))); -// 14 -R1i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[19].w)); -} - -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R4i.x) *(origRatio / newRatio), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -// export -passParameterSem5 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/5b5c7c2a52ed1459_0000000000000079_ps.txt b/Source/XenobladeX/5b5c7c2a52ed1459_0000000000000079_ps.txt index 81d7e106..184d330e 100644 --- a/Source/XenobladeX/5b5c7c2a52ed1459_0000000000000079_ps.txt +++ b/Source/XenobladeX/5b5c7c2a52ed1459_0000000000000079_ps.txt @@ -2,8 +2,8 @@ #extension GL_ARB_texture_gather : enable // shader 5b5c7c2a52ed1459 // AO step 2 horizontal blur -const float resScale = 4.5; -//const float resScale = 4.0; +const float resScale = ($height/$gameHeight); + uniform ivec4 uf_remappedPS[2]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf589e000 res 640x360x1 dim 1 tm: 4 format 0007 compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem0; diff --git a/Source/XenobladeX/5eb82314ffb8484e_00000000000007f9_ps.txt b/Source/XenobladeX/5eb82314ffb8484e_00000000000007f9_ps.txt index d401ccb2..9bba089d 100644 --- a/Source/XenobladeX/5eb82314ffb8484e_00000000000007f9_ps.txt +++ b/Source/XenobladeX/5eb82314ffb8484e_00000000000007f9_ps.txt @@ -1,18 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 5eb82314ffb8484e // bg scale, probably overkill to scale -// Last step vertical blend. half tv scaled + pre-blending = aprox half step reduction -// To-do candidate for multi pass / bokeh replacement -const float resScale = ; +// Last step vertical blend + +const float resScale = ($height/$gameHeight); // = 1.5; -//const float resScale = 2.0; uniform ivec4 uf_remappedPS[7]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e12000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem0; diff --git a/Source/XenobladeX/6093720c5ca6289c_0000000000000000_vs.txt b/Source/XenobladeX/6093720c5ca6289c_0000000000000000_vs.txt deleted file mode 100644 index 24f85213..00000000 --- a/Source/XenobladeX/6093720c5ca6289c_0000000000000000_vs.txt +++ /dev/null @@ -1,531 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 6093720c5ca6289c -//lensflare -uniform ivec4 uf_remappedVS[8]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(binding = 32) uniform sampler2D textureUnitVS0;// Tex0 addr 0xf5f0a000 res 640x360x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler18 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem1.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(uf_remappedVS[0].x)),-(intBitsToFloat(uf_remappedVS[0].y)),-(intBitsToFloat(uf_remappedVS[0].z)),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[0].x)),-(intBitsToFloat(uf_remappedVS[0].y)),-(intBitsToFloat(uf_remappedVS[0].z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 1 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R0i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(uf_remappedVS[0].x)), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(uf_remappedVS[0].y)), intBitsToFloat(PS1i))); -R0i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(uf_remappedVS[0].z)), intBitsToFloat(PS1i))); -// 3 -predResult = (0.5 > intBitsToFloat(uf_remappedVS[1].w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R10i.xyz = ivec3(uf_remappedVS[1].x,uf_remappedVS[1].y,uf_remappedVS[1].z); -// 1 -R6i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].x) + -(intBitsToFloat(uf_remappedVS[2].x))); -R6i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].y) + -(intBitsToFloat(uf_remappedVS[2].y))); -// 2 -R6i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) + -(intBitsToFloat(uf_remappedVS[2].z))); -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R10i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].x) + intBitsToFloat(uf_remappedVS[3].x)); -R10i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].y) + intBitsToFloat(uf_remappedVS[3].y)); -R6i.x = uf_remappedVS[1].x; -PS0i = R6i.x; -// 1 -R10i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) + intBitsToFloat(uf_remappedVS[3].z)); -// 2 -R6i.y = uf_remappedVS[1].y; -R6i.z = uf_remappedVS[1].z; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.x = R123i.x; -R127i.y = ((0.0 > intBitsToFloat(R2i.x))?int(0xFFFFFFFF):int(0x0)); -R126i.z = ((intBitsToFloat(R2i.y) > intBitsToFloat(0x41400000))?int(0xFFFFFFFF):int(0x0)); -R1i.w = 0x3f800000; -PV0i.w = R1i.w; -R125i.y = floatBitsToInt(intBitsToFloat(R2i.z) * intBitsToFloat(0x42800000)); -PS0i = R125i.y; -// 1 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w)))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R127i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.x))); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.y = tempi.x; -R1i.z = 0; -PS0i = R1i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.x),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(PV0i.x),intBitsToFloat(PS0i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R122i.x; -// 4 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(R7i.x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y))); -R127i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x3e22f983)); -PV0i.z = R127i.z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedVS[6].w))); -R1i.z = 0; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(PS0i))); -R127i.x = floatBitsToInt(sin((intBitsToFloat(PV0i.z))/0.1591549367)); -PS1i = R127i.x; -// 6 -R123i.x = floatBitsToInt(((R127i.y == 0)?(intBitsToFloat(PV1i.w)):(-(intBitsToFloat(PV1i.w))))); -PV0i.x = R123i.x; -R123i.z = floatBitsToInt(((R127i.y == 0)?(intBitsToFloat(PV1i.x)):(-(intBitsToFloat(PV1i.x))))); -PV0i.z = R123i.z; -R0i.w = floatBitsToInt(1.0); -R127i.w = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS0i = R127i.w; -// 7 -backupReg0i = R126i.z; -R11i.x = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -R123i.y = ((R126i.z == 0)?(PV0i.z):(0)); -PV1i.y = R123i.y; -R126i.z = ((backupReg0i == 0)?(PV0i.x):(0x3f800000)); -PV1i.z = R126i.z; -R12i.y = floatBitsToInt(intBitsToFloat(R1i.y) + 0.5); -PS1i = R12i.y; -// 8 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(PV1i.y)), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(backupReg0i))); -PS0i = R127i.w; -// 9 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -PV1i.x = R127i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), -(intBitsToFloat(backupReg0i)))); -// 10 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.z)); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 12 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.x))); -R126i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x3a4ccccd)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS0i = R127i.w; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3ab60b61)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R126i.w))); -R2i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -PS0i = R2i.z; -// 15 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.w = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(R125i.x) * intBitsToFloat(PS0i)); -// 16 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(R2i.z)); -R126i.z = ((0.0 > intBitsToFloat(PV1i.x))?int(0xFFFFFFFF):int(0x0)); -PV0i.z = R126i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R127i.x))); -R0i.x = floatBitsToInt(intBitsToFloat(PS1i) + intBitsToFloat(R127i.w)); -PS0i = R0i.x; -// 17 -R6i.x = ((PV0i.z == 0)?(PS0i):(0x3f800000)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.y = R0i.y; -// 18 -backupReg0i = R1i.z; -R8i.y = ((R126i.z == 0)?(PV1i.y):(0x3f800000)); -R1i.z = ((R126i.z == 0)?(backupReg0i):(0x3f800000)); -R4i.w = ((R126i.z == 0)?(R0i.w):(0x3f800000)); -// 19 -predResult = (intBitsToFloat(R2i.w) > intBitsToFloat(R3i.y)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(R2i.w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(R3i.y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R11i.y; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(R3i.z) > intBitsToFloat(R2i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + intBitsToFloat(R2i.w)); -PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + -(intBitsToFloat(R3i.w))); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R11i.y; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].x) * intBitsToFloat(0x41000000)); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].y) * intBitsToFloat(0x41000000)); -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(R2i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.y) * intBitsToFloat(R2i.z)); -R127i.w = 0; -PS0i = R127i.w; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].z))); -PV1i.x = R127i.x; -PV1i.y = PV0i.z; -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) / 2.0); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) / 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedVS[6].z))); -PV1i.w = R125i.w; -R126i.w = 0; -PS1i = R126i.w; -// 2 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + 0.5); -PV0i.x = R0i.x; -R0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + 0.5); -PV0i.y = R0i.y; -PV0i.z = PV1i.x; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = PV1i.w; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(-(intBitsToFloat(PV1i.x))); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) * 2.0); -// 3 -R1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -R1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.w)); -PV1i.z = R125i.w; -PV1i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * 2.0); -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PS0i)); -PS1i = R127i.x; -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 4 -R3i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PS1i)); -R2i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV1i.z)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R125i.w))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -PV0i.w = floatBitsToInt(-(intBitsToFloat(R127i.x))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(-(intBitsToFloat(R125i.w))); -PS0i = floatBitsToInt(intBitsToFloat(PS0i) * 2.0); -// 5 -R2i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.w)); -R3i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PV0i.z)); -R2i.z = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PS0i)); -R6i.w = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(R127i.x)); -R6i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(R127i.w)); -PS1i = R6i.y; -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R125i.w))); -R7i.y = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(R126i.w)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R127i.x))); -PV0i.w = 0; -R9i.y = ((0.0 >= intBitsToFloat(R11i.y))?int(0xFFFFFFFF):int(0x0)); -PS0i = R9i.y; -// 7 -backupReg0i = R8i.y; -R7i.x = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.z)); -R8i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R0i.y)); -R8i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R0i.x)); -R0i.w = ((PS0i == 0)?(R6i.x):(0x3f800000)); -R0i.z = ((PS0i == 0)?(backupReg0i):(0x3f800000)); -PS1i = R0i.z; -} -if( activeMaskStackC[1] == true ) { -R0i.x = floatBitsToInt(textureLod(textureUnitVS0, intBitsToFloat(R0i.xy),0.0).x); -R1i.x = floatBitsToInt(textureLod(textureUnitVS0, intBitsToFloat(R1i.xy),0.0).x); -R6i.x = floatBitsToInt(textureLod(textureUnitVS0, intBitsToFloat(R2i.wy),0.0).x); -R3i.x = floatBitsToInt(textureLod(textureUnitVS0, intBitsToFloat(R3i.xy),0.0).x); -R2i.x = floatBitsToInt(textureLod(textureUnitVS0, intBitsToFloat(R2i.xz),0.0).x); -R8i.x = floatBitsToInt(textureLod(textureUnitVS0, intBitsToFloat(R6i.wy),0.0).x); -R7i.x = floatBitsToInt(textureLod(textureUnitVS0, intBitsToFloat(R7i.xy),0.0).x); -R9i.x = floatBitsToInt(textureLod(textureUnitVS0, intBitsToFloat(R8i.zy),0.0).x); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = ((R9i.y == 0)?(R1i.z):(0x3f800000)); -PS0i = R125i.w; -// 1 -backupReg0i = R9i.y; -backupReg1i = R5i.x; -R127i.x = floatBitsToInt(min(-(intBitsToFloat(PV0i.x)), intBitsToFloat(0x45fef900))); -PV1i.x = R127i.x; -R9i.y = ((backupReg0i == 0)?(R4i.w):(0x3f800000)); -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R11i.x)) + intBitsToFloat(backupReg1i))); -PS1i = R5i.x; -// 2 -backupReg0i = R5i.y; -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R0i.x)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R6i.x)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R12i.y)) + intBitsToFloat(backupReg0i))); -PS0i = R5i.y; -// 3 -R126i.x = ((0.0 > intBitsToFloat(PV0i.y))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((0.0 > intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R127i.z = ((0.0 > intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(R3i.x)); -PS1i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(R2i.x)); -// 4 -R125i.x = ((0.0 > intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -R127i.y = ((0.0 > intBitsToFloat(PV1i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(R8i.x)); -R126i.w = ((PV1i.y == 0)?(0):(0x3e4ccccd)); -PV0i.w = R126i.w; -PS0i = floatBitsToInt(-(intBitsToFloat(R127i.x)) + intBitsToFloat(R7i.x)); -// 5 -backupReg0i = R127i.x; -R127i.x = ((0.0 > intBitsToFloat(PV0i.z))?int(0xFFFFFFFF):int(0x0)); -R125i.y = ((0.0 > intBitsToFloat(PS0i))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(0x3dcccccd)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(R9i.x)); -// 6 -backupReg0i = R126i.w; -R124i.y = ((0.0 > intBitsToFloat(PV1i.w))?int(0xFFFFFFFF):int(0x0)); -R126i.w = ((R126i.x == 0)?(backupReg0i):(PV1i.z)); -PV0i.w = R126i.w; -// 7 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(0x3dcccccd)); -// 8 -R126i.y = ((R127i.z == 0)?(R126i.w):(PV1i.z)); -PV0i.y = R126i.y; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(0x3dcccccd)); -// 10 -R127i.z = ((R127i.y == 0)?(R126i.y):(PV1i.x)); -PV0i.z = R127i.z; -// 11 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(0x3dcccccd)); -// 12 -R127i.y = ((R125i.x == 0)?(R127i.z):(PV1i.z)); -PV0i.y = R127i.y; -// 13 -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(0x3dcccccd)); -// 14 -backupReg0i = R127i.y; -R127i.y = ((R127i.x == 0)?(backupReg0i):(PV1i.w)); -PV0i.y = R127i.y; -// 15 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(0x3dcccccd)); -// 16 -R126i.w = ((R125i.y == 0)?(R127i.y):(PV1i.y)); -PV0i.w = R126i.w; -// 17 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(0x3dcccccd)); -// 18 -R127i.z = ((R124i.y == 0)?(R126i.w):(PV1i.x)); -PV0i.z = R127i.z; -// 19 -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(0x3dcccccd)); -// 20 -R123i.y = ((R124i.y == 0)?(R127i.z):(PV1i.w)); -PV0i.y = R123i.y; -// 21 -PV1i.x = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -// 22 -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(PV1i.x))); -PV0i.w = R4i.w; -// 23 -PV1i.z = ((0.0 >= intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -// 24 -R0i.x = ((PV1i.z == 0)?(R0i.w):(0x3f800000)); -R0i.y = ((PV1i.z == 0)?(R0i.z):(0x3f800000)); -R0i.z = ((PV1i.z == 0)?(R125i.w):(0x3f800000)); -R0i.w = ((PV1i.z == 0)?(R9i.y):(0x3f800000)); -} -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/610a9c4cb60b0bdf_0000000000000000_vs.txt b/Source/XenobladeX/610a9c4cb60b0bdf_0000000000000000_vs.txt deleted file mode 100644 index ea903ae6..00000000 --- a/Source/XenobladeX/610a9c4cb60b0bdf_0000000000000000_vs.txt +++ /dev/null @@ -1,289 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 610a9c4cb60b0bdf -//flashlight -uniform ivec4 uf_remappedVS[13]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem5; -layout(location = 5) in uvec4 attrDataSem6; -layout(location = 6) in uvec4 attrDataSem7; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem2; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R5i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R2i.w) + -(0.5)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R6i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R6i.z))); -// 1 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(fract(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(PV0i.w)); -PS1i = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(PS0i)); -// 2 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(R4i.y))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(R4i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(R4i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -PS0i = 0; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R6i.x))); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R6i.y))); -R125i.w = floatBitsToInt(intBitsToFloat(PS0i) + intBitsToFloat(PV0i.z)); -R126i.z = 0; -PS1i = R126i.z; -// 4 -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R127i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].y) * 1.0); -PS0i = floatBitsToInt(sin((intBitsToFloat(PV1i.y))/0.1591549367)); -// 5 -backupReg0i = R126i.y; -R127i.x = PS0i; -R126i.y = floatBitsToInt(-(intBitsToFloat(PS0i))); -R125i.z = R125i.w; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].z) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -PV0i.x = PS1i; -R127i.y = PS1i; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].w) * 1.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].x)) + intBitsToFloat(backupReg0i))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].y)) + intBitsToFloat(backupReg1i))); -PS0i = R124i.z; -// 7 -backupReg0i = R126i.w; -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].z)) + intBitsToFloat(backupReg0i))); -PS1i = R126i.w; -// 8 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].w)) + intBitsToFloat(R127i.z))); -PS0i = R125i.y; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R7i.w)) + intBitsToFloat(R7i.y))); -PS1i = R127i.z; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R127i.x; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * 1.0); -PS1i = R125i.w; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].x)) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].w)) + intBitsToFloat(R125i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].y)) + intBitsToFloat(R124i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].z)) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R124i.z; -// 13 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R7i.z)) + intBitsToFloat(R7i.x))); -PS1i = R127i.w; -// 14 -backupReg0i = R127i.x; -backupReg1i = R124i.z; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(backupReg0i)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R125i.w)); -PV0i.y = R127i.y; -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(backupReg1i)); -PV0i.z = R124i.z; -R125i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[7].w))?int(0xFFFFFFFF):int(0x0)); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.z) + 0.5); -PS0i = R125i.y; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(intBitsToFloat(R127i.w) + 0.5); -PS1i = R7i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PS0i = R2i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -PS1i = R2i.y; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.w = tempi.x; -R1i.x = ((R125i.w == 0)?(R2i.x):(0x3f800000)); -PS0i = R1i.x; -// 19 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedVS[12].w))); -R1i.y = ((R125i.w == 0)?(R2i.y):(0x3f800000)); -R1i.z = ((R125i.w == 0)?(R127i.z):(0x3f800000)); -R1i.w = ((R125i.w == 0)?(PV0i.x):(0x3f800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -PS1i = R7i.y; -// 20 -backupReg0i = R3i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),intBitsToFloat(PV1i.x)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),1.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R3i.w = backupReg0i; -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) * 2.0); -PS0i = R3i.w; -// 21 -R2i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x))); -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) - -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem2 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.z)); -// 0 -} diff --git a/Source/XenobladeX/622450648ddbf1b2_0000000000000000_vs.txt b/Source/XenobladeX/622450648ddbf1b2_0000000000000000_vs.txt deleted file mode 100644 index a4138b3f..00000000 --- a/Source/XenobladeX/622450648ddbf1b2_0000000000000000_vs.txt +++ /dev/null @@ -1,474 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 622450648ddbf1b2 //car lights (float vs?) -uniform ivec4 uf_remappedVS[10]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.z = R123i.z; -PV0i.w = R6i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = R6i.y; -PS0i = floatBitsToInt(intBitsToFloat(PS0i) * 2.0); -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(fract(intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(fract(intBitsToFloat(PV0i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV0i.w)); -R10i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(PS0i)); -PS1i = R10i.y; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -R127i.y = R6i.z; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.z = R6i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS0i = R127i.z; -// 3 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -R7i.z = R6i.w; -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 2.0); -PV1i.z = R7i.z; -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -PV1i.w = R127i.w; -R126i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R10i.y)); -PS1i = R126i.z; -// 4 -R11i.x = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R127i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R127i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV1i.z)); -R126i.w = R6i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.y = floatBitsToInt(sin((intBitsToFloat(PV1i.w))/0.1591549367)); -PS0i = R127i.y; -// 5 -backupReg0i = R126i.z; -R126i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R8i.x)); -R124i.y = floatBitsToInt(intBitsToFloat(R2i.w) + -(0.5)); -R126i.z = PS0i; -R124i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R127i.w))/0.1591549367)); -// 6 -R124i.x = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -R7i.y = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R8i.z)); -R124i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R8i.y)); -R127i.w = PS1i; -PV0i.w = R127i.w; -PS0i = floatBitsToInt(cos((intBitsToFloat(R127i.x))/0.1591549367)); -// 7 -R10i.x = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R0i.y = floatBitsToInt(-(intBitsToFloat(R127i.y)) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(sin((intBitsToFloat(R127i.x))/0.1591549367)); -// 8 -backupReg0i = R126i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R127i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PV0i.y = R127i.y; -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 1.0); -R125i.x = floatBitsToInt(sin((intBitsToFloat(R126i.y))/0.1591549367)); -PS0i = R125i.x; -// 9 -R7i.x = R6i.x; -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R1i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * 0.0 + intBitsToFloat(PV0i.w))); -R127i.w = floatBitsToInt(-(intBitsToFloat(PS0i))); -R0i.z = floatBitsToInt(cos((intBitsToFloat(R126i.y))/0.1591549367)); -PS1i = R0i.z; -// 10 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R11i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(PS1i) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.w)); -R126i.w = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R7i.z)); -R0i.x = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R11i.x)); -PS0i = R0i.x; -// 11 -backupReg0i = R125i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R127i.w) + intBitsToFloat(PV0i.x))); -R126i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(R125i.z)); -R125i.z = ((intBitsToFloat(R124i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R0i.w = floatBitsToInt(intBitsToFloat(R125i.y) + -(intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -PS1i = R127i.y; -// 12 -backupReg0i = R127i.x; -backupReg1i = R125i.x; -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R124i.z)); -R125i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * 1.0); -R124i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R7i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(R125i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R124i.x) * intBitsToFloat(backupReg1i)); -PS0i = R125i.x; -// 13 -backupReg0i = R0i.z; -backupReg0i = R0i.z; -R12i.x = floatBitsToInt((intBitsToFloat(R124i.x) * 0.0 + intBitsToFloat(R0i.y))); -R124i.y = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(R11i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(backupReg0i)); -R5i.w = floatBitsToInt(intBitsToFloat(R124i.x) * intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(R126i.x)); -PS1i = R1i.w; -// 14 -R13i.x = floatBitsToInt((intBitsToFloat(R10i.x) * intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.z))); -R0i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R125i.z) + intBitsToFloat(R5i.y))); -R126i.z = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(R1i.z)); -R127i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R125i.z) + intBitsToFloat(R5i.x))); -R4i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R126i.w)); -PS0i = R4i.w; -// 15 -R127i.x = floatBitsToInt((intBitsToFloat(R124i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(R5i.z))); -R5i.y = 0; -R125i.z = floatBitsToInt(-(intBitsToFloat(R0i.x)) + 1.0); -R124i.w = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R7i.x)); -R127i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y)); -PS1i = R127i.y; -// 16 -backupReg0i = R125i.y; -backupReg1i = R6i.z; -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R8i.x)); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R126i.w))); -R6i.z = floatBitsToInt((intBitsToFloat(R10i.x) * 0.0 + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(R7i.z)); -R6i.w = floatBitsToInt(intBitsToFloat(R0i.w) * intBitsToFloat(R11i.y)); -PS0i = R6i.w; -// 17 -backupReg0i = R124i.y; -R124i.x = floatBitsToInt(intBitsToFloat(R0i.w) * intBitsToFloat(R1i.z)); -R124i.y = floatBitsToInt(intBitsToFloat(R0i.w) * intBitsToFloat(R126i.x)); -R127i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(R125i.x) + intBitsToFloat(backupReg0i))); -R0i.w = floatBitsToInt((intBitsToFloat(R10i.x) * intBitsToFloat(R0i.z) + intBitsToFloat(R125i.w))); -R8i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -PS1i = R8i.x; -// 18 -backupReg0i = R0i.y; -backupReg1i = R126i.x; -backupReg2i = R126i.z; -R126i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(R5i.w) + intBitsToFloat(R1i.w))); -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(backupReg0i)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(backupReg1i)); -R127i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(R12i.x) + intBitsToFloat(backupReg2i))); -R127i.y = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R1i.z)); -PS0i = R127i.y; -// 19 -backupReg0i = R127i.x; -backupReg1i = R126i.w; -R127i.x = floatBitsToInt(intBitsToFloat(R124i.w) + -(intBitsToFloat(R126i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(R11i.x)); -R7i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(backupReg0i)); -R126i.w = floatBitsToInt(intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i)); -R124i.w = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R11i.y)); -PS1i = R124i.w; -// 20 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(R0i.w) + intBitsToFloat(R127i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(R12i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(R125i.x) + intBitsToFloat(R6i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(R5i.w) + intBitsToFloat(R124i.y))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -PS0i = R6i.x; -// 21 -backupReg0i = R5i.w; -R10i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(R13i.x) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(R13i.x) + intBitsToFloat(R126i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(R6i.z) + intBitsToFloat(R127i.w))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(R6i.z) + intBitsToFloat(PV0i.y))); -PS1i = R1i.z; -// 22 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R11i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.z))); -PS0i = R11i.x; -// 23 -backupReg0i = R12i.x; -R12i.x = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R125i.x) + intBitsToFloat(R124i.w))); -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[0].x)); -R0i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[0].y)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[0].z)); -PS1i = R4i.w; -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.x),intBitsToFloat(R1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].x) * 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R0i.w) + intBitsToFloat(R12i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R13i.x) + intBitsToFloat(R5i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R6i.z) + intBitsToFloat(R0i.z))); -PV1i.z = R123i.z; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].y) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -PS1i = R127i.y; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R125i.y = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[2].x) + intBitsToFloat(R5i.y))); -PS0i = R125i.y; -// 3 -R127i.x = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[2].y) + intBitsToFloat(R6i.w))); -R123i.y = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R9i.z) + intBitsToFloat(R9i.x))); -PV1i.y = R123i.y; -R125i.z = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[2].z) + intBitsToFloat(R4i.w))); -R7i.w = floatBitsToInt(max(intBitsToFloat(R4i.y), 0.0)); -R6i.x = floatBitsToInt(max(intBitsToFloat(R3i.x), 0.0)); -PS1i = R6i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * 1.0); -R123i.y = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R9i.w) + intBitsToFloat(R9i.y))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[0].x) + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[0].y) + intBitsToFloat(backupReg1i))); -R1i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + 0.5); -PS0i = R1i.x; -// 5 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[3].y) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[0].z) + intBitsToFloat(backupReg0i))); -R124i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[0].w) + intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[3].x) + intBitsToFloat(R125i.y))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + 0.5); -PS1i = R127i.x; -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[3].z) + intBitsToFloat(R125i.z))); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.w) * 1.0); -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[2].x) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[2].y) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R127i.z; -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[2].w) + intBitsToFloat(R124i.z))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[2].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[3].x) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[3].y) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * 1.0); -PS1i = R126i.w; -// 8 -backupReg0i = R125i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[3].z) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(backupReg0i)); -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R127i.z)); -R127i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[3].w) + intBitsToFloat(PV1i.x))); -R124i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[4].w))?int(0xFFFFFFFF):int(0x0)); -PS0i = R124i.w; -// 9 -R7i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), 0.0)); -R1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -PV1i.z = R127i.z; -R6i.w = R3i.w; -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 2.0); -R6i.y = floatBitsToInt(max(intBitsToFloat(R3i.y), 0.0)); -PS1i = R6i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(PV1i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS0i = R6i.z; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -PS1i = R2i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PS0i = R2i.y; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.w = tempi.x; -R3i.x = ((R124i.w == 0)?(R2i.x):(0x3f800000)); -PS1i = R3i.x; -// 14 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[9].z)); -R3i.y = ((R124i.w == 0)?(R2i.y):(0x3f800000)); -R3i.z = ((R124i.w == 0)?(R126i.w):(0x3f800000)); -R3i.w = ((R124i.w == 0)?(PV1i.x):(0x3f800000)); -R7i.z = floatBitsToInt(max(intBitsToFloat(R4i.z), 0.0)); -PS0i = R7i.z; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.w),intBitsToFloat(PV0i.x)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].w),1.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 16 -R2i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x))); -// export -float origRatio = 1.777f; -float newRatio = ; - -gl_Position = vec4(intBitsToFloat(R3i.x)*(origRatio / newRatio), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem1 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.w), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.z)); -// 0 -} diff --git a/Source/XenobladeX/738c509776f2c113_0000000000000000_vs.txt b/Source/XenobladeX/738c509776f2c113_0000000000000000_vs.txt deleted file mode 100644 index e0becb89..00000000 --- a/Source/XenobladeX/738c509776f2c113_0000000000000000_vs.txt +++ /dev/null @@ -1,476 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 738c509776f2c113 // front lights -uniform ivec4 uf_remappedVS[10]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 3) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.z = R123i.z; -PV0i.w = R6i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = R6i.y; -PS0i = floatBitsToInt(intBitsToFloat(PS0i) * 2.0); -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(fract(intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(fract(intBitsToFloat(PV0i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV0i.w)); -R10i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(PS0i)); -PS1i = R10i.y; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -R127i.y = R6i.z; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.z = R6i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) * 2.0); -PS0i = R127i.z; -// 3 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -R7i.z = R6i.w; -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 2.0); -PV1i.z = R7i.z; -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -PV1i.w = R127i.w; -R126i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R10i.y)); -PS1i = R126i.z; -// 4 -R11i.x = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R127i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R127i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV1i.z)); -R126i.w = R6i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R127i.y = floatBitsToInt(sin((intBitsToFloat(PV1i.w))/0.1591549367)); -PS0i = R127i.y; -// 5 -backupReg0i = R126i.z; -R126i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R8i.x)); -R124i.y = floatBitsToInt(intBitsToFloat(R2i.w) + -(0.5)); -R126i.z = PS0i; -R124i.w = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R127i.w))/0.1591549367)); -// 6 -R124i.x = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -R7i.y = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R8i.z)); -R124i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R8i.y)); -R127i.w = PS1i; -PV0i.w = R127i.w; -PS0i = floatBitsToInt(cos((intBitsToFloat(R127i.x))/0.1591549367)); -// 7 -R10i.x = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R0i.y = floatBitsToInt(-(intBitsToFloat(R127i.y)) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(sin((intBitsToFloat(R127i.x))/0.1591549367)); -// 8 -backupReg0i = R126i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R127i.y = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PV0i.y = R127i.y; -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * 1.0); -R125i.x = floatBitsToInt(sin((intBitsToFloat(R126i.y))/0.1591549367)); -PS0i = R125i.x; -// 9 -R7i.x = R6i.x; -R7i.x = floatBitsToInt(intBitsToFloat(R7i.x) * 2.0); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R1i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * 0.0 + intBitsToFloat(PV0i.w))); -R127i.w = floatBitsToInt(-(intBitsToFloat(PS0i))); -R0i.z = floatBitsToInt(cos((intBitsToFloat(R126i.y))/0.1591549367)); -PS1i = R0i.z; -// 10 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R11i.y = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(PS1i) + intBitsToFloat(PV1i.y))); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.w)); -R126i.w = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R7i.z)); -R0i.x = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(R11i.x)); -PS0i = R0i.x; -// 11 -backupReg0i = R125i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R127i.w) + intBitsToFloat(PV0i.x))); -R126i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(R125i.z)); -R125i.z = ((intBitsToFloat(R124i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R0i.w = floatBitsToInt(intBitsToFloat(R125i.y) + -(intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -PS1i = R127i.y; -// 12 -backupReg0i = R127i.x; -backupReg1i = R125i.x; -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R124i.z)); -R125i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * 1.0); -R124i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R7i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(R125i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R124i.x) * intBitsToFloat(backupReg1i)); -PS0i = R125i.x; -// 13 -backupReg0i = R0i.z; -backupReg0i = R0i.z; -R12i.x = floatBitsToInt((intBitsToFloat(R124i.x) * 0.0 + intBitsToFloat(R0i.y))); -R124i.y = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(R11i.y)); -PV1i.z = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(backupReg0i)); -R5i.w = floatBitsToInt(intBitsToFloat(R124i.x) * intBitsToFloat(backupReg0i)); -R1i.w = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(R126i.x)); -PS1i = R1i.w; -// 14 -R13i.x = floatBitsToInt((intBitsToFloat(R10i.x) * intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.z))); -R0i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R125i.z) + intBitsToFloat(R5i.y))); -R126i.z = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(R1i.z)); -R127i.w = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R125i.z) + intBitsToFloat(R5i.x))); -R4i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R126i.w)); -PS0i = R4i.w; -// 15 -R127i.x = floatBitsToInt((intBitsToFloat(R124i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(R5i.z))); -R5i.y = 0; -R125i.z = floatBitsToInt(-(intBitsToFloat(R0i.x)) + 1.0); -R124i.w = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R7i.x)); -R127i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y)); -PS1i = R127i.y; -// 16 -backupReg0i = R125i.y; -backupReg1i = R6i.z; -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R8i.x)); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R126i.w))); -R6i.z = floatBitsToInt((intBitsToFloat(R10i.x) * 0.0 + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(R7i.z)); -R6i.w = floatBitsToInt(intBitsToFloat(R0i.w) * intBitsToFloat(R11i.y)); -PS0i = R6i.w; -// 17 -backupReg0i = R124i.y; -R124i.x = floatBitsToInt(intBitsToFloat(R0i.w) * intBitsToFloat(R1i.z)); -R124i.y = floatBitsToInt(intBitsToFloat(R0i.w) * intBitsToFloat(R126i.x)); -R127i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(R125i.x) + intBitsToFloat(backupReg0i))); -R0i.w = floatBitsToInt((intBitsToFloat(R10i.x) * intBitsToFloat(R0i.z) + intBitsToFloat(R125i.w))); -R8i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -PS1i = R8i.x; -// 18 -backupReg0i = R0i.y; -backupReg1i = R126i.x; -backupReg2i = R126i.z; -R126i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(R5i.w) + intBitsToFloat(R1i.w))); -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(backupReg0i)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(backupReg1i)); -R127i.w = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(R12i.x) + intBitsToFloat(backupReg2i))); -R127i.y = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R1i.z)); -PS0i = R127i.y; -// 19 -backupReg0i = R127i.x; -backupReg1i = R126i.w; -R127i.x = floatBitsToInt(intBitsToFloat(R124i.w) + -(intBitsToFloat(R126i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(R11i.x)); -R7i.z = floatBitsToInt(intBitsToFloat(R5i.y) + intBitsToFloat(backupReg0i)); -R126i.w = floatBitsToInt(intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i)); -R124i.w = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R11i.y)); -PS1i = R124i.w; -// 20 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(R0i.w) + intBitsToFloat(R127i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(R12i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(R125i.x) + intBitsToFloat(R6i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(R5i.w) + intBitsToFloat(R124i.y))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -PS0i = R6i.x; -// 21 -backupReg0i = R5i.w; -R10i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(R13i.x) + intBitsToFloat(PV0i.w))); -R123i.y = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(R13i.x) + intBitsToFloat(R126i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(R6i.z) + intBitsToFloat(R127i.w))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(R126i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(R6i.z) + intBitsToFloat(PV0i.y))); -PS1i = R1i.z; -// 22 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R11i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.z))); -PS0i = R11i.x; -// 23 -backupReg0i = R12i.x; -R12i.x = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R125i.x) + intBitsToFloat(R124i.w))); -R5i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[0].x)); -R0i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[0].y)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[0].z)); -PS1i = R4i.w; -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R10i.x),intBitsToFloat(R1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].x) * 1.0); -PS0i = R127i.z; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R0i.w) + intBitsToFloat(R12i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R13i.x) + intBitsToFloat(R5i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R6i.z) + intBitsToFloat(R0i.z))); -PV1i.z = R123i.z; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].y) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -PS1i = R127i.y; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R125i.y = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[2].x) + intBitsToFloat(R5i.y))); -PS0i = R125i.y; -// 3 -R127i.x = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[2].y) + intBitsToFloat(R6i.w))); -R123i.y = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R9i.z) + intBitsToFloat(R9i.x))); -PV1i.y = R123i.y; -R125i.z = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[2].z) + intBitsToFloat(R4i.w))); -R7i.w = floatBitsToInt(max(intBitsToFloat(R4i.y), 0.0)); -R6i.x = floatBitsToInt(max(intBitsToFloat(R3i.x), 0.0)); -PS1i = R6i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.w; -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * 1.0); -R123i.y = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R9i.w) + intBitsToFloat(R9i.y))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[0].x) + intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[0].y) + intBitsToFloat(backupReg1i))); -R1i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + 0.5); -PS0i = R1i.x; -// 5 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[3].y) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[0].z) + intBitsToFloat(backupReg0i))); -R124i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[0].w) + intBitsToFloat(PV0i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[3].x) + intBitsToFloat(R125i.y))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + 0.5); -PS1i = R127i.x; -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[3].z) + intBitsToFloat(R125i.z))); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.w) * 1.0); -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[2].x) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[2].y) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R127i.z; -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[2].w) + intBitsToFloat(R124i.z))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[2].z) + intBitsToFloat(R127i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[3].x) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[3].y) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * 1.0); -PS1i = R126i.w; -// 8 -backupReg0i = R125i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[3].z) + intBitsToFloat(PV1i.y))); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(backupReg0i)); -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R127i.z)); -R127i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[3].w) + intBitsToFloat(PV1i.x))); -R124i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[4].w))?int(0xFFFFFFFF):int(0x0)); -PS0i = R124i.w; -// 9 -R7i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), 0.0)); -R1i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -PV1i.z = R127i.z; -R6i.w = R3i.w; -R6i.w = floatBitsToInt(intBitsToFloat(R6i.w) * 2.0); -R6i.y = floatBitsToInt(max(intBitsToFloat(R3i.y), 0.0)); -PS1i = R6i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(PV1i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS0i = R6i.z; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -PS1i = R2i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PS0i = R2i.y; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.z),intBitsToFloat(R127i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.w = tempi.x; -R3i.x = ((R124i.w == 0)?(R2i.x):(0x3f800000)); -PS1i = R3i.x; -// 14 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[9].z)); -R3i.y = ((R124i.w == 0)?(R2i.y):(0x3f800000)); -R3i.z = ((R124i.w == 0)?(R126i.w):(0x3f800000)); -R3i.w = ((R124i.w == 0)?(PV1i.x):(0x3f800000)); -R7i.z = floatBitsToInt(max(intBitsToFloat(R4i.z), 0.0)); -PS0i = R7i.z; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),intBitsToFloat(R127i.w),intBitsToFloat(PV0i.x)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].w),1.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 16 -R2i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x))); -// export - -float origRatio = 1.777f; -float newRatio = ; - -gl_Position = vec4(intBitsToFloat(R3i.x)*(origRatio / newRatio), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.w), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.z)); -// 0 -} diff --git a/Source/XenobladeX/7d2d26ba00a66735_0000000000000000_vs.txt b/Source/XenobladeX/7d2d26ba00a66735_0000000000000000_vs.txt deleted file mode 100644 index 797ecb43..00000000 --- a/Source/XenobladeX/7d2d26ba00a66735_0000000000000000_vs.txt +++ /dev/null @@ -1,1429 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 7d2d26ba00a66735 -// waterfall cascade -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -layout(location = 11) in uvec4 attrDataSem11; -layout(location = 12) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R15i = ivec4(0); -ivec4 R16i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem10; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem11; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R12i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem12.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R13i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem3.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R126i.z; -R126i.w = R5i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R126i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R125i.x = R6i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R8i.x))); -R126i.z = R6i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R6i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R8i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R7i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R125i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 8 -R126i.x = R6i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R6i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R6i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R126i.z))); -R125i.x = R6i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.y))); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R7i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R125i.x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R125i.x))); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R125i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R1i.z = 0; -PS0i = R1i.z; -// 13 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R8i.x))); -PV1i.x = R5i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R8i.y))); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R6i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R15i.x = 0; -PS1i = R15i.x; -// 14 -R5i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R8i.yzw = floatBitsToInt(vec3(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.z),intBitsToFloat(R126i.x)) + vec3(intBitsToFloat(R126i.z),intBitsToFloat(R126i.y),-(intBitsToFloat(R124i.x)))); -R6i.y = 0; -PS0i = R6i.y; -// 15 -R6i.x = 0x3f800000; -R5i.y = 0x3f800000; -R6i.z = 0; -R10i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R13i.w; -// 16 -R1i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R14i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R14i.w; -// 17 -R4i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R13i.z = 0; -PS1i = R13i.z; -// 18 -R5i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R15i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R14i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R15i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R14i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R7i.x = PS0i; -R14i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R7i.y = PS0i; -PS1i = R7i.y; -// 26 -R10i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R10i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R14i.z,R0i.w,R15i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R14i.x = uf_remappedVS[1].z; -PS0i = R14i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = uf_remappedVS[4].z; -PS1i = R14i.y; -// 4 -R14i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R8i.x; -PV1i.y = R8i.x; -PV1i.z = R8i.x; -PV1i.w = R8i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.z = tempi.x; -// 12 -R15i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R15i.x; -PV0i.y = R15i.x; -PV0i.z = R15i.x; -PV0i.w = R15i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R15i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R15i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R14i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -R0i.x = uf_remappedVS[1].x; -PS0i = R0i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R6i.z))); -R0i.y = uf_remappedVS[1].y; -R0i.z = uf_remappedVS[1].z; -// 3 -R16i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R14i.y)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R5i.z; -backupReg1i = R7i.x; -R5i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R6i.z))); -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -backupReg0i = R7i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R14i.x),intBitsToFloat(backupReg0i),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R0i.z; -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R16i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R16i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R16i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R5i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R0i.y = 0; -R0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R16i.y = 0x3f800000; -PS0i = R16i.y; -// 1 -R5i.y = 0; -R16i.z = 0; -R5i.z = uf_remappedVS[1].x; -PS1i = R5i.z; -// 2 -R7i.z = 0; -// 3 -R13i.z = R10i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R8i.x; -PV0i.y = R8i.x; -PV0i.z = R8i.x; -PV0i.w = R8i.x; -R14i.x = backupReg1i; -PS0i = R14i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R16i.x),intBitsToFloat(R16i.y),intBitsToFloat(R16i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = tempi.x; -R14i.y = R16i.z; -PS1i = R14i.y; -// 2 -backupReg0i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.z = tempi.x; -R14i.z = R5i.z; -PS0i = R14i.z; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R15i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = R15i.x; -PV1i.y = R15i.x; -PV1i.z = R15i.x; -PV1i.w = R15i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R16i.z))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R16i.x),intBitsToFloat(R16i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R15i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R15i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R8i.x = R8i.z; -R8i.z = R5i.x; -R5i.x = R5i.z; -PS0i = R5i.x; -// 1 -R5i.y = R1i.y; -R5i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R8i.y):(R5i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R8i.z):(R8i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R5i.x):(R8i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R8i.y; -R8i.x = ((R127i.y == 0)?(PV1i.x):(R5i.x)); -R8i.y = ((R127i.y == 0)?(PV1i.w):(R8i.z)); -R8i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R5i.z):(R5i.z)); -PV0i.w = R123i.w; -R5i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R5i.x; -// 3 -backupReg0i = R5i.y; -R6i.x = ((R127i.y == 0)?(0):(R15i.x)); -R5i.y = ((R127i.y == 0)?(R127i.z):(R5i.z)); -R5i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R6i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R6i.y; -// 4 -backupReg0i = R6i.z; -R6i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.y), intBitsToFloat(R14i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R15i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R14i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R7i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.y), intBitsToFloat(R7i.y))); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R14i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R7i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R14i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R14i.x))); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R7i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.x))); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R7i.x)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R14i.y)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(R126i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R7i.z = 0; -PS0i = R7i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -PS1i = R125i.z; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R14i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R14i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -// 7 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R14i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R127i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R125i.z; -backupReg1i = R127i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.y))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R126i.z))); -// 9 -backupReg0i = R124i.z; -backupReg1i = R125i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.x))); -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS1i = R126i.w; -// 12 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_remappedVS[6].z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].y))); -PS0i = R126i.y; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R124i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R125i.z))); -// 15 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R125i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[6].y))); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R125i.z))); -PS0i = R127i.y; -// 19 -backupReg0i = R0i.x; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -PS1i = R127i.w; -// 20 -R14i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R127i.x))); -R14i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R125i.w))); -R14i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R127i.y))); -R15i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R124i.y))); -PS0i = R15i.x; -// 21 -R15i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R126i.x))); -R15i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R127i.w))); -// 22 -R13i.z = R10i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -R4i.w = 0; -PS0i = R4i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R10i.z = R3i.w; -R10i.z = floatBitsToInt(intBitsToFloat(R10i.z) * 2.0); -PS1i = R10i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.z))); -PV1i.x = R127i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.y))); -PV1i.y = R126i.y; -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PV1i.z = R125i.z; -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.x))); -PV1i.w = R2i.w; -R127i.y = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = floatBitsToInt((intBitsToFloat(R13i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R126i.w; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R7i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(intBitsToFloat(R13i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R13i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(PV1i.z))); -R127i.z = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.w = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R126i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R126i.z; -// 7 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = floatBitsToInt((intBitsToFloat(R13i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -R123i.z = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.z = R123i.z; -R123i.w = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R127i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.z))); -PV0i.z = floatBitsToInt(fract(intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R122i.x = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS0i = R122i.x; -// 9 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3e22f983)); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -R2i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS1i = R2i.z; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + -(0.0)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e22f983)); -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e22f983)); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R125i.y = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -PS0i = R125i.y; -// 11 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -R13i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R0i.z = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R0i.z; -// 12 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R125i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV1i.w))); -PV0i.y = R124i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PV1i.w))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R125i.w = floatBitsToInt(sin((intBitsToFloat(R127i.y))/0.1591549367)); -PS0i = R125i.w; -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R126i.z))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.z))); -R4i.z = floatBitsToInt(cos((intBitsToFloat(R127i.y))/0.1591549367)); -PS1i = R4i.z; -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -PV0i.x = R2i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(PV1i.x)); -PV0i.y = R0i.y; -R6i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R6i.z; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R2i.y = floatBitsToInt(sin((intBitsToFloat(R124i.z))/0.1591549367)); -PS0i = R2i.y; -// 15 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R127i.x = floatBitsToInt(cos((intBitsToFloat(R124i.z))/0.1591549367)); -PS1i = R127i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R0i.y),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PS0i = R1i.w; -// 17 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.z = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R2i.y))); -PS1i = R126i.y; -// 18 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R6i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.w))); -PS0i = R6i.w; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(R1i.y)) + intBitsToFloat(R124i.w))); -PS1i = R2i.z; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R0i.w; -// 21 -backupReg0i = R0i.z; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.y))); -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[12].w))); -R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R1i.y)) + intBitsToFloat(R1i.z))); -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -PS1i = R1i.z; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(R0i.w))); -PS0i = R126i.y; -// 1 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R13i.x))); -PS1i = R127i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R126i.y)); -PS0i = R125i.w; -// 3 -backupReg0i = R127i.x; -R127i.x = ((R0i.x == 0)?(PS0i):(PS0i)); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R5i.z))); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[0].z))); -R127i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R2i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(R1i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R2i.x; -backupReg1i = R0i.y; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R125i.x = ((R0i.x == 0)?(PV1i.w):(R4i.w)); -PS0i = R125i.x; -// 5 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -R0i.x = ((R5i.x == 0)?(R127i.x):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R126i.z):(R126i.z)); -PV1i.y = R123i.y; -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R5i.w)) + intBitsToFloat(R9i.y))); -R123i.w = ((backupReg0i == 0)?(PV0i.x):(PV0i.x)); -PV1i.w = R123i.w; -R124i.y = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -PS1i = R124i.y; -// 6 -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.z),intBitsToFloat(R2i.z)) + intBitsToFloat(R11i.x))); -R1i.y = ((R5i.x == 0)?(PV1i.y):(0x3f800000)); -R4i.z = ((R5i.x == 0)?(R125i.x):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV1i.w):(0x3f800000)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(R11i.y))); -PS0i = R125i.z; -// 7 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R15i.y),intBitsToFloat(R15i.z),-0.0),vec4(intBitsToFloat(R15i.x),intBitsToFloat(R15i.y),intBitsToFloat(R15i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R6i.w)) + intBitsToFloat(R9i.x))); -PS1i = R125i.x; -// 8 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R14i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R12i.x))); -PS0i = R10i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R14i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R13i.y)) + intBitsToFloat(R12i.y))); -PS1i = R127i.w; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R14i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R9i.x = floatBitsToInt(intBitsToFloat(R125i.x) + 0.5); -PS0i = R9i.x; -// 11 -backupReg0i = R126i.y; -backupReg0i = R126i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(R124i.z) + 0.5); -PS1i = R2i.y; -// 12 -R8i.x = floatBitsToInt(intBitsToFloat(R124i.x) + 0.5); -R7i.y = floatBitsToInt(intBitsToFloat(R125i.z) + 0.5); -R125i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R124i.w = floatBitsToInt(-(intBitsToFloat(R8i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.x)); -PS0i = floatBitsToInt(tempResultf); -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.x), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(PS0i))); -R5i.x = floatBitsToInt(intBitsToFloat(R10i.x) + 0.5); -PS1i = R5i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = floatBitsToInt(intBitsToFloat(R127i.w) + 0.5); -PS0i = R8i.y; -// 15 -backupReg0i = R0i.y; -R1i.x = 0; -R0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -// 16 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R9i.y = floatBitsToInt(-(intBitsToFloat(R2i.y)) + 1.0); -R0i.z = 0; -R1i.w = 0; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -PS0i = floatBitsToInt(tempResultf); -// 17 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R6i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R5i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R7i.z))); -PV1i.w = R123i.w; -R11i.x = ((R125i.z == 0)?(R1i.x):(R125i.w)); -PS1i = R11i.x; -// 18 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R11i.y = ((R125i.z == 0)?(backupReg0i):(R126i.z)); -PS0i = R11i.y; -// 19 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(uf_remappedVS[14].y))); -R11i.z = ((R125i.z == 0)?(R0i.z):(R124i.w)); -PS1i = R11i.z; -// 20 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV1i.z))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R1i.z)); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.x))); -R11i.w = ((R125i.z == 0)?(R1i.w):(backupReg0i)); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.y))); -PS0i = R2i.y; -// 21 -backupReg0i = R8i.y; -R8i.y = floatBitsToInt(-(intBitsToFloat(R7i.y)) + 1.0); -R5i.z = R4i.x; -R123i.w = ((R124i.y == 0)?(PV0i.y):(0x3f800000)); -PV1i.w = R123i.w; -R5i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS1i = R5i.y; -// 22 -R0i.z = PV1i.w; -R0i.z = clampFI32(R0i.z); -R5i.w = R4i.y; -// 23 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R10i.z))); -PS0i = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R8i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -R0i.x = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R1i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R4i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(R7i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].y))); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].z))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].z), intBitsToFloat(R127i.z))); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedVS[21].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[24].w))); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[25].w))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[19].w))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].x)) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].y)) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].z)) + intBitsToFloat(PV0i.y))); -} -// export - -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) - -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R11i.x)*(origRatio / newRatio), intBitsToFloat(R11i.y), intBitsToFloat(R11i.z), intBitsToFloat(R11i.w)); -// export -passParameterSem5 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/7ec11ebc6ad99936_0000000000000000_vs.txt b/Source/XenobladeX/7ec11ebc6ad99936_0000000000000000_vs.txt deleted file mode 100644 index c6fbf070..00000000 --- a/Source/XenobladeX/7ec11ebc6ad99936_0000000000000000_vs.txt +++ /dev/null @@ -1,1424 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 7ec11ebc6ad99936 -//Raindrops opening scene -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -layout(location = 11) in uvec4 attrDataSem11; -layout(location = 12) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem3; -layout(location = 3) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R15i = ivec4(0); -ivec4 R16i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem10; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem11; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R12i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem12.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R13i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem3.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R126i.z; -R126i.w = R5i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PV0i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(PV0i.z)); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R126i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R125i.x = R6i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R8i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R8i.x)); -R126i.z = R6i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R6i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R8i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R7i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R125i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R127i.w)); -PS1i = R127i.x; -// 8 -R126i.x = R6i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R6i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R6i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.z)); -R125i.x = R6i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PV0i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV0i.y)); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R7i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(backupReg0i)); -R126i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R125i.x)); -R124i.x = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R125i.x)); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R125i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R1i.z = 0; -PS0i = R1i.z; -// 13 -R5i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R8i.x)); -PV1i.x = R5i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R6i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R15i.x = 0; -PS1i = R15i.x; -// 14 -R5i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R8i.yzw = floatBitsToInt(vec3(intBitsToFloat(PV1i.y),intBitsToFloat(R1i.z),intBitsToFloat(R126i.x)) + vec3(intBitsToFloat(R126i.z),intBitsToFloat(R126i.y),-(intBitsToFloat(R124i.x)))); -R6i.y = 0; -PS0i = R6i.y; -// 15 -R6i.x = 0x3f800000; -R5i.y = 0x3f800000; -R6i.z = 0; -R10i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R13i.w; -// 16 -R1i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R14i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R14i.w; -// 17 -R4i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R13i.z = 0; -PS1i = R13i.z; -// 18 -R5i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R15i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS1i)); -R14i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R0i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS0i)); -R15i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R14i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R7i.x = PS0i; -R14i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R7i.y = PS0i; -PS1i = R7i.y; -// 26 -R10i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R10i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R14i.z,R0i.w,R15i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R14i.x = uf_remappedVS[1].z; -PS0i = R14i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = uf_remappedVS[4].z; -PS1i = R14i.y; -// 4 -R14i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R8i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R8i.x; -PV1i.y = R8i.x; -PV1i.z = R8i.x; -PV1i.w = R8i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.z = tempi.x; -// 12 -R15i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R15i.x; -PV0i.y = R15i.x; -PV0i.z = R15i.x; -PV0i.w = R15i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R15i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R15i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R14i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -R0i.x = uf_remappedVS[1].x; -PS0i = R0i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R6i.z)); -R0i.y = uf_remappedVS[1].y; -R0i.z = uf_remappedVS[1].z; -// 3 -R16i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R14i.y) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R5i.z; -backupReg1i = R7i.x; -R5i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R6i.z)); -R7i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(backupReg1i) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -backupReg0i = R7i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R14i.x),intBitsToFloat(backupReg0i),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R0i.z; -// 2 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R16i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R16i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R16i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R5i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R0i.y = 0; -R0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R16i.y = 0x3f800000; -PS0i = R16i.y; -// 1 -R5i.y = 0; -R16i.z = 0; -R5i.z = uf_remappedVS[1].x; -PS1i = R5i.z; -// 2 -R7i.z = 0; -// 3 -R13i.z = R10i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R8i.x; -PV0i.y = R8i.x; -PV0i.z = R8i.x; -PV0i.w = R8i.x; -R14i.x = backupReg1i; -PS0i = R14i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R16i.x),intBitsToFloat(R16i.y),intBitsToFloat(R16i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = tempi.x; -R14i.y = R16i.z; -PS1i = R14i.y; -// 2 -backupReg0i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.z = tempi.x; -R14i.z = R5i.z; -PS0i = R14i.z; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R15i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = R15i.x; -PV1i.y = R15i.x; -PV1i.z = R15i.x; -PV1i.w = R15i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R16i.z)); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R16i.x),intBitsToFloat(R16i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R15i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R5i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R15i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R8i.x = R8i.z; -R8i.z = R5i.x; -R5i.x = R5i.z; -PS0i = R5i.x; -// 1 -R5i.y = R1i.y; -R5i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R8i.y):(R5i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R8i.z):(R8i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R5i.x):(R8i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R8i.y; -R8i.x = ((R127i.y == 0)?(PV1i.x):(R5i.x)); -R8i.y = ((R127i.y == 0)?(PV1i.w):(R8i.z)); -R8i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R5i.z):(R5i.z)); -PV0i.w = R123i.w; -R5i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R5i.x; -// 3 -backupReg0i = R5i.y; -R6i.x = ((R127i.y == 0)?(0):(R15i.x)); -R5i.y = ((R127i.y == 0)?(R127i.z):(R5i.z)); -R5i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R6i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R6i.y; -// 4 -backupReg0i = R6i.z; -R6i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R15i.y) * intBitsToFloat(R14i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R15i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R14i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R7i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R15i.y) * intBitsToFloat(R7i.y)); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R14i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R14i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R14i.x)); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R7i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.z)); -R126i.x = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R7i.x) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R14i.y) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R126i.w)); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R125i.x)); -R126i.z = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R7i.z = 0; -PS0i = R7i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(intBitsToFloat(R10i.w) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt(intBitsToFloat(R10i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R10i.w) * intBitsToFloat(backupReg0i)); -R126i.w = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -PS1i = R125i.z; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(R14i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(R14i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -// 7 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(R14i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R125i.z; -backupReg1i = R127i.y; -R124i.x = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PV1i.y)); -R125i.z = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.z)); -// 9 -backupReg0i = R124i.z; -backupReg1i = R125i.y; -R0i.x = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R0i.w = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS1i = R126i.w; -// 12 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((intBitsToFloat(R5i.z) * intBitsToFloat(R126i.z) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[6].z)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R125i.w = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].x)); -R126i.y = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].y)); -PS0i = R126i.y; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R124i.x)); -R123i.z = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R125i.z)); -// 15 -R8i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R125i.x))); -R8i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -R8i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R5i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R5i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS0i = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].y)); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -R125i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R125i.z))); -PS0i = R127i.y; -// 19 -backupReg0i = R0i.x; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -PS1i = R127i.w; -// 20 -R14i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R127i.x))); -R14i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R125i.w))); -R14i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.y))); -R15i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.y))); -PS0i = R15i.x; -// 21 -R15i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R126i.x))); -R15i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.w))); -// 22 -R13i.z = R10i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -R4i.w = 0; -PS0i = R4i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R10i.z = R3i.w; -R10i.z = floatBitsToInt(intBitsToFloat(R10i.z) * 2.0); -PS1i = R10i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R127i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.z))); -PV1i.x = R127i.x; -R126i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.y))); -PV1i.y = R126i.y; -R125i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.w))); -PV1i.z = R125i.z; -R2i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.x))); -PV1i.w = R2i.w; -R127i.y = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = floatBitsToInt((intBitsToFloat(R13i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R126i.w; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R7i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(intBitsToFloat(R13i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R13i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(PV1i.z))); -R127i.z = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.w = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R126i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R126i.z; -// 7 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = floatBitsToInt((intBitsToFloat(R13i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -R123i.z = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.z = R123i.z; -R123i.w = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R127i.z)); -PV0i.z = floatBitsToInt(fract(intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R122i.x = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS0i = R122i.x; -// 9 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3e22f983)); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -R2i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS1i = R2i.z; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + -(0.0)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x3e22f983)); -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e22f983)); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R125i.y = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -PS0i = R125i.y; -// 11 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -R13i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R1i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R0i.z = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R0i.z; -// 12 -R125i.x = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R125i.x; -R124i.y = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R124i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R125i.w = floatBitsToInt(sin((intBitsToFloat(R127i.y))/0.1591549367)); -PS0i = R125i.w; -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R126i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R126i.z)); -R5i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R126i.z)); -R4i.z = floatBitsToInt(cos((intBitsToFloat(R127i.y))/0.1591549367)); -PS1i = R4i.z; -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.y)); -PV0i.x = R2i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(PV1i.x)); -PV0i.y = R0i.y; -R6i.z = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R6i.z; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R2i.y = floatBitsToInt(sin((intBitsToFloat(R124i.z))/0.1591549367)); -PS0i = R2i.y; -// 15 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -R127i.x = floatBitsToInt(cos((intBitsToFloat(R124i.z))/0.1591549367)); -PS1i = R127i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R0i.y),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -R1i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -PS0i = R1i.w; -// 17 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.z = tempi.x; -R126i.y = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R2i.y)); -PS1i = R126i.y; -// 18 -R6i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R5i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R7i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R6i.w = floatBitsToInt((-(intBitsToFloat(R125i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(R126i.w))); -PS0i = R6i.w; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.z = floatBitsToInt((-(intBitsToFloat(R125i.w)) * intBitsToFloat(R1i.y) + intBitsToFloat(R124i.w))); -PS1i = R2i.z; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R0i.w; -// 21 -backupReg0i = R0i.z; -backupReg1i = R13i.y; -R13i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R13i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(R126i.y))); -R0i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[12].w)); -R5i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R1i.y) + intBitsToFloat(R1i.z))); -R1i.z = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -PS1i = R1i.z; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R126i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(R0i.w)); -PS0i = R126i.y; -// 1 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R13i.x)); -PS1i = R127i.x; -// 2 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(R126i.y)); -PS0i = R125i.w; -// 3 -backupReg0i = R127i.x; -R127i.x = ((R0i.x == 0)?(PS0i):(PS0i)); -R126i.y = floatBitsToInt((intBitsToFloat(R4i.z) * intBitsToFloat(R1i.y) + intBitsToFloat(R5i.z))); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R127i.z = floatBitsToInt((-(intBitsToFloat(R2i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(R1i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R2i.x; -backupReg1i = R0i.y; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R6i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV0i.x = R2i.x; -PV0i.y = R2i.x; -PV0i.z = R2i.x; -PV0i.w = R2i.x; -R125i.x = ((R0i.x == 0)?(PV1i.w):(R4i.w)); -PS0i = R125i.x; -// 5 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -R0i.x = ((R5i.x == 0)?(R127i.x):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R126i.z):(R126i.z)); -PV1i.y = R123i.y; -R124i.z = floatBitsToInt((intBitsToFloat(R10i.y) * intBitsToFloat(R5i.w) + intBitsToFloat(R9i.y))); -R123i.w = ((backupReg0i == 0)?(PV0i.x):(PV0i.x)); -PV1i.w = R123i.w; -R124i.y = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -PS1i = R124i.y; -// 6 -R124i.x = floatBitsToInt((intBitsToFloat(R11i.z) * intBitsToFloat(R2i.z) + intBitsToFloat(R11i.x))); -R1i.y = ((R5i.x == 0)?(PV1i.y):(0x3f800000)); -R4i.z = ((R5i.x == 0)?(R125i.x):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV1i.w):(0x3f800000)); -R125i.z = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(R11i.y))); -PS0i = R125i.z; -// 7 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R15i.y),intBitsToFloat(R15i.z),-0.0),vec4(intBitsToFloat(R15i.x),intBitsToFloat(R15i.y),intBitsToFloat(R15i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R10i.x) * intBitsToFloat(R6i.w) + intBitsToFloat(R9i.x))); -PS1i = R125i.x; -// 8 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R14i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -R10i.x = floatBitsToInt((intBitsToFloat(R12i.z) * intBitsToFloat(R127i.z) + intBitsToFloat(R12i.x))); -PS0i = R10i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R14i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R13i.y) + intBitsToFloat(R12i.y))); -PS1i = R127i.w; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R14i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R9i.x = floatBitsToInt(intBitsToFloat(R125i.x) + 0.5); -PS0i = R9i.x; -// 11 -backupReg0i = R126i.y; -backupReg0i = R126i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(R124i.z) + 0.5); -PS1i = R2i.y; -// 12 -R8i.x = floatBitsToInt(intBitsToFloat(R124i.x) + 0.5); -R7i.y = floatBitsToInt(intBitsToFloat(R125i.z) + 0.5); -R125i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R124i.w = floatBitsToInt(-(intBitsToFloat(R8i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.x)); -PS0i = floatBitsToInt(tempResultf); -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(R15i.x) * intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(intBitsToFloat(R15i.y) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(R15i.z) * intBitsToFloat(PS0i)); -R5i.x = floatBitsToInt(intBitsToFloat(R10i.x) + 0.5); -PS1i = R5i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = floatBitsToInt(intBitsToFloat(R127i.w) + 0.5); -PS0i = R8i.y; -// 15 -backupReg0i = R0i.y; -R1i.x = 0; -R0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -// 16 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R9i.y = floatBitsToInt(-(intBitsToFloat(R2i.y)) + 1.0); -R0i.z = 0; -R1i.w = 0; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.y)); -PS0i = floatBitsToInt(tempResultf); -// 17 -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R6i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(R5i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(R7i.z))); -PV1i.w = R123i.w; -R11i.x = ((R125i.z == 0)?(R1i.x):(R125i.w)); -PS1i = R11i.x; -// 18 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R11i.y = ((R125i.z == 0)?(backupReg0i):(R126i.z)); -PS0i = R11i.y; -// 19 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(uf_remappedVS[14].y))); -R11i.z = ((R125i.z == 0)?(R0i.z):(R124i.w)); -PS1i = R11i.z; -// 20 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) * intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R1i.z)); -R2i.z = floatBitsToInt(intBitsToFloat(R3i.z) * intBitsToFloat(PV1i.x)); -R11i.w = ((R125i.z == 0)?(R1i.w):(backupReg0i)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV1i.y)); -PS0i = R2i.y; -// 21 -backupReg0i = R8i.y; -R8i.y = floatBitsToInt(-(intBitsToFloat(R7i.y)) + 1.0); -R5i.z = R4i.x; -R123i.w = ((R124i.y == 0)?(PV0i.y):(0x3f800000)); -PV1i.w = R123i.w; -R5i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS1i = R5i.y; -// 22 -R0i.z = PV1i.w; -R0i.z = clampFI32(R0i.z); -R5i.w = R4i.y; -// 23 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R2i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R10i.z)); -PS0i = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R8i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -R0i.x = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R1i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R4i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(R7i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].y)); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(PS1i)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -PS0i = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[21].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].w)); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.y))); -} -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -// skipped export to semanticId 255 -// export -// skipped export to semanticId 255 -// export -passParameterSem3 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/8236d4df96d36e25_0000000000000000_vs.txt b/Source/XenobladeX/8236d4df96d36e25_0000000000000000_vs.txt deleted file mode 100644 index 37dd2332..00000000 --- a/Source/XenobladeX/8236d4df96d36e25_0000000000000000_vs.txt +++ /dev/null @@ -1,301 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 8236d4df96d36e25 -//invation cutscene skell weapons -uniform ivec4 uf_remappedVS[13]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem6; -layout(location = 6) in uvec4 attrDataSem7; -layout(location = 7) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 3) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.w) + -(0.5)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R7i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R7i.x))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R7i.z))); -// 1 -R123i.x = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PV0i.y)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(PS0i)); -// 2 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(R5i.x))); -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(R5i.y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.x)) + intBitsToFloat(R5i.z))); -PV0i.w = R123i.w; -PS0i = 0; -// 3 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.x = R126i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.y))); -R126i.w = floatBitsToInt(intBitsToFloat(PS0i) + intBitsToFloat(PV0i.w)); -R125i.z = 0; -PS1i = R125i.z; -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(backupReg0i)); -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R127i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].y) * 1.0); -PS0i = floatBitsToInt(sin((intBitsToFloat(PV1i.x))/0.1591549367)); -// 5 -backupReg0i = R126i.x; -R126i.x = PS0i; -R127i.y = floatBitsToInt(-(intBitsToFloat(PS0i))); -R126i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].z) * 1.0); -R125i.w = R126i.w; -PS1i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -PV0i.x = PS1i; -R126i.y = PS1i; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].w) * 1.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].x)) + intBitsToFloat(backupReg0i))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].y)) + intBitsToFloat(backupReg1i))); -PS0i = R124i.w; -// 7 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.w),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].z)) + intBitsToFloat(R126i.z))); -PS1i = R127i.y; -// 8 -backupReg0i = R126i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].w)) + intBitsToFloat(R127i.z))); -PS0i = R127i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R125i.w),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R8i.w)) + intBitsToFloat(R8i.y))); -PS1i = R125i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.w),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R126i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.w),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * 1.0); -PS1i = R127i.z; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].w)) + intBitsToFloat(R127i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].z)) + intBitsToFloat(R127i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].x)) + intBitsToFloat(R127i.w))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].y)) + intBitsToFloat(R124i.w))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R127i.w; -// 13 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.x))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.x))); -PS1i = R125i.z; -// 14 -backupReg0i = R125i.y; -R125i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R126i.w)); -PV0i.x = R125i.x; -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R127i.z)); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.w)); -PV0i.z = R127i.z; -R126i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[7].w))?int(0xFFFFFFFF):int(0x0)); -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -PS0i = R127i.x; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(intBitsToFloat(R125i.z) + 0.5); -PS1i = R7i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PS0i = R8i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R8i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -PS1i = R8i.y; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.w = tempi.x; -R1i.x = ((R126i.w == 0)?(R8i.x):(0x3f800000)); -PS0i = R1i.x; -// 19 -R2i.x = floatBitsToInt(max(intBitsToFloat(R3i.x), 0.0)); -R1i.y = ((R126i.w == 0)?(R8i.y):(0x3f800000)); -R1i.z = ((R126i.w == 0)?(R127i.w):(0x3f800000)); -R1i.w = ((R126i.w == 0)?(PV0i.x):(0x3f800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R127i.x)) + 1.0); -PS1i = R7i.y; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.w = R3i.w; -R2i.w = floatBitsToInt(intBitsToFloat(R2i.w) * 2.0); -PS0i = R2i.w; -// 21 -R3i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), 0.0)); -R2i.y = floatBitsToInt(max(intBitsToFloat(R3i.y), 0.0)); -R8i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x))); -R3i.w = floatBitsToInt(max(intBitsToFloat(R4i.y), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS1i = R2i.z; -// 22 -R3i.z = floatBitsToInt(max(intBitsToFloat(R4i.z), 0.0)); -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.w), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.z)); -// 0 -} diff --git a/Source/XenobladeX/840947e29015aa9a_00000000000003c9_ps.txt b/Source/XenobladeX/840947e29015aa9a_00000000000003c9_ps.txt index ce8810e4..57b5af45 100644 --- a/Source/XenobladeX/840947e29015aa9a_00000000000003c9_ps.txt +++ b/Source/XenobladeX/840947e29015aa9a_00000000000003c9_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 840947e29015aa9a // Looking at LA cut-scene base blur // -//const float resScale = 3.0; -const float resScale = ; +//const float resScale = ($height/$gameHeight); +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[3]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4386000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/XenobladeX/8b8ade20f1ae78e7_0000000000000079_ps.txt b/Source/XenobladeX/8b8ade20f1ae78e7_0000000000000079_ps.txt index 97c6e3f3..99f0de22 100644 --- a/Source/XenobladeX/8b8ade20f1ae78e7_0000000000000079_ps.txt +++ b/Source/XenobladeX/8b8ade20f1ae78e7_0000000000000079_ps.txt @@ -1,16 +1,9 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 8b8ade20f1ae78e7 //light bleed, waterfall fog uniform ivec4 uf_remappedPS[5]; -const float resScale = ; +const float resScale = ($height/$gameHeight); layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5196000 res 320x180x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem0; layout(location = 0) out vec4 passPixelColor0; diff --git a/Source/XenobladeX/8c1e55fd967b0496_0000000000000079_ps.txt b/Source/XenobladeX/8c1e55fd967b0496_0000000000000079_ps.txt index ceaa92e9..61d61aa8 100644 --- a/Source/XenobladeX/8c1e55fd967b0496_0000000000000079_ps.txt +++ b/Source/XenobladeX/8c1e55fd967b0496_0000000000000079_ps.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 8c1e55fd967b0496 // 1/4 -> 1/16 bloom pyramid . Pixelated unless scaled but still needs blur for light bleed.. // To-do. Check if screen res is * samples stable -const float resScale = ; -const int sampleScale = ; +const float resScale = ($height/$gameHeight); // = 3.0; +const int sampleScale = 3; const float lightBloom = 0.95; highp float lineRand(vec2 co) { diff --git a/Source/XenobladeX/90bdbafc1c764ae6_0000000000000000_vs.txt b/Source/XenobladeX/90bdbafc1c764ae6_0000000000000000_vs.txt deleted file mode 100644 index b3762d15..00000000 --- a/Source/XenobladeX/90bdbafc1c764ae6_0000000000000000_vs.txt +++ /dev/null @@ -1,1411 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 90bdbafc1c764ae6 -//sand storm clouds pot -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 4) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R127i.z; -R127i.w = R5i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.z))); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R126i.y = R6i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R6i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R8i.x))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R8i.y))); -R126i.w = R6i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R8i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R126i.y))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(backupReg0i))); -PS1i = R124i.y; -// 8 -PV0i.x = R6i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R6i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R6i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.x))); -R126i.y = R6i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.x))); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.z))); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R126i.y))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R126i.y))); -PS1i = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -// 12 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R126i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R8i.x))); -PV1i.x = R0i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R8i.y))); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R13i.x = 0; -PS1i = R13i.x; -// 14 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R8i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R8i.y = 0; -PS0i = R8i.y; -// 15 -R5i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R5i.y = 0x3f800000; -R8i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R12i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R12i.w; -// 16 -R8i.x = 0x3f800000; -R0i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R127i.x))); -R4i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R13i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R12i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R14i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R14i.x = PS0i; -R13i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R13i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R13i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R8i.x = uf_remappedVS[1].z; -PS0i = R8i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = uf_remappedVS[4].z; -PS1i = R8i.y; -// 4 -R8i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R14i.x; -PV1i.y = R14i.x; -PV1i.z = R14i.x; -PV1i.w = R14i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.z = tempi.x; -// 12 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R13i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -R5i.x = uf_remappedVS[1].x; -PS0i = R5i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R7i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R8i.z))); -R5i.y = uf_remappedVS[1].y; -R5i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.z))); -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R14i.x)) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R5i.z; -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R5i.y = 0; -R5i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R12i.y = 0; -R0i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R11i.z = 0; -// 3 -R7i.z = R13i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R14i.x; -PV0i.y = R14i.x; -PV0i.z = R14i.x; -PV0i.w = R14i.x; -R8i.x = R5i.z; -PS0i = R8i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = tempi.x; -R8i.y = backupReg1i; -PS1i = R8i.y; -// 2 -backupReg0i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.z = tempi.x; -R8i.z = R12i.z; -PS0i = R8i.z; -// 3 -backupReg0i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R12i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R7i.x = R14i.z; -R7i.z = R0i.x; -R12i.x = R12i.z; -PS0i = R12i.x; -// 1 -R12i.y = R1i.y; -R12i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R7i.y):(R0i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R0i.x):(R7i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R7i.y; -R7i.x = ((R127i.y == 0)?(PV1i.x):(R0i.x)); -R7i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R7i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R12i.z):(R12i.z)); -PV0i.w = R123i.w; -R12i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R12i.x; -// 3 -R8i.x = ((R127i.y == 0)?(0):(R13i.x)); -R12i.y = ((R127i.y == 0)?(R127i.z):(R12i.z)); -R12i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R8i.y = ((R127i.y == 0)?(0):(R5i.y)); -PS1i = R8i.y; -// 4 -backupReg0i = R8i.z; -R8i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R6i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.y), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.y), intBitsToFloat(R6i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R6i.y))); -PS0i = R127i.z; -// 1 -R126i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R14i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.x))); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.x))); -PS0i = R125i.x; -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R14i.x)) + intBitsToFloat(R127i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R13i.y)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R126i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(R125i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(backupReg0i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = 0; -PS1i = R11i.z; -// 6 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.w))); -// 7 -backupReg0i = R126i.y; -backupReg1i = R124i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(R127i.y))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(R125i.z))); -PS1i = R125i.x; -// 8 -backupReg0i = R127i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.x))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R125i.y; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R126i.w))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R125i.x; -// 10 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R127i.w))); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.z; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedVS[6].z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.z))); -PS0i = R0i.x; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 14 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R124i.y))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R127i.z))); -// 15 -R14i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R127i.x))); -R14i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -R14i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(R0i.x))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.w; -backupReg0i = R124i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(uf_remappedVS[6].y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].x))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg1i = R125i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R125i.z))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(R127i.y))); -PS1i = R122i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(PS1i))); -PS0i = R124i.y; -// 19 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R125i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R126i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R124i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.w))); -PS1i = R127i.x; -// 20 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R125i.z))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.x))); -PS0i = R6i.x; -// 21 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R127i.x))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R127i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PS1i = R6i.z; -// 22 -R7i.z = R13i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -R0i.x = 0; -PS0i = R0i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.x))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -R127i.x = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.y = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(PV1i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R126i.y; -// 7 -R123i.x = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -R0i.z = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.y))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.w; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -R125i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -PV1i.y = R125i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.y; -// 10 -R125i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + -(0.0)); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R127i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.y))/0.1591549367)); -PS0i = R127i.w; -// 11 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R0i.y = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R125i.z = floatBitsToInt(sin((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R125i.z; -// 12 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R11i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.y), intBitsToFloat(PV1i.w))); -PV0i.y = R127i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.z), intBitsToFloat(PV1i.w))); -PV0i.z = R124i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R124i.x = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS0i = R124i.x; -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R126i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.y))); -PS1i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.x)); -PV0i.x = R2i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(PV1i.w)); -PV0i.y = R11i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.z = R2i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.x))); -PS0i = R122i.x; -// 15 -backupReg0i = R0i.w; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R12i.x; -PV1i.y = R12i.x; -PV1i.z = R12i.x; -PV1i.w = R12i.x; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(PS0i)) + intBitsToFloat(R10i.y))); -PS1i = R126i.z; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -R127i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.z))); -PS0i = R127i.x; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.w))); -PS1i = R122i.x; -// 18 -backupReg0i = R126i.z; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(PS1i)) + intBitsToFloat(R10i.x))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(R125i.w))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -R10i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -PS0i = R10i.y; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(R9i.x))); -PS1i = R127i.z; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R124i.z; -// 21 -backupReg0i = R9i.w; -backupReg1i = R9i.y; -R9i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedVS[12].w))); -PV1i.y = R9i.y; -R10i.z = floatBitsToInt(intBitsToFloat(R125i.x) + 0.5); -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.y)) + intBitsToFloat(backupReg1i))); -R7i.x = floatBitsToInt(intBitsToFloat(R127i.z) + 0.5); -PS1i = R7i.x; -// 22 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.z = tempi.x; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R124i.z))); -PS0i = R11i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R9i.x))); -PS0i = R125i.w; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(R11i.x)); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[0].z))); -R126i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R125i.w)); -R124i.z = ((R0i.z == 0)?(PS1i):(PS1i)); -R126i.w = floatBitsToInt(-(intBitsToFloat(R10i.w)) + 1.0); -R7i.y = floatBitsToInt(intBitsToFloat(R9i.w) + 0.5); -PS0i = R7i.y; -// 3 -backupReg0i = R0i.z; -backupReg1i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R124i.y = ((backupReg0i == 0)?(PV0i.x):(backupReg1i)); -PS1i = R124i.y; -// 4 -backupReg0i = R124i.z; -R123i.x = ((R0i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(R11i.z))); -R124i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((R0i.z == 0)?(R126i.y):(R126i.y)); -PV0i.w = R123i.w; -R2i.x = ((R5i.x == 0)?(backupReg0i):(0x3f800000)); -PS0i = R2i.x; -// 5 -backupReg0i = R11i.y; -R0i.x = 0; -R11i.y = ((R5i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.z = ((R5i.x == 0)?(R124i.y):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV0i.x):(0x3f800000)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R9i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R0i.z = 0; -PS0i = R0i.z; -// 7 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R2i.w = 0; -PS1i = R2i.w; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R9i.x = ((R124i.z == 0)?(backupReg0i):(R127i.z)); -PS0i = R9i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.y)); -R125i.w = floatBitsToInt(tempResultf); -PS1i = R125i.w; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PS1i))); -PS0i = R125i.x; -// 11 -R6i.x = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R125i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R125i.w))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 13 -backupReg0i = R9i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PS0i), -(intBitsToFloat(PS0i)))); -R9i.z = ((R124i.z == 0)?(R0i.z):(R125i.y)); -R9i.w = ((R124i.z == 0)?(R2i.w):(R127i.w)); -R9i.y = ((R124i.z == 0)?(backupReg0i):(R126i.y)); -PS1i = R9i.y; -// 14 -backupReg0i = R7i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(uf_remappedVS[14].y))); -R7i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -R7i.z = R10i.z; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R7i.w = R126i.w; -PS0i = R7i.w; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R2i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R10i.y)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -R6i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 0.5); -PS1i = R6i.y; -// 16 -R123i.x = ((R0i.y == 0)?(PV1i.z):(0x3f800000)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -// 17 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.x = R0i.x; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.z = R0i.z; -R1i.z = PV0i.x; -R1i.z = clampFI32(R1i.z); -PS1i = R1i.z; -// 18 -backupReg0i = R3i.z; -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.y))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.z))); -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(backupReg0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R0i.y))); -PV0i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R0i.z))); -PS0i = R127i.w; -// 1 -R4i.x = ((PV0i.w == 0)?(R2i.x):(0x3f800000)); -R4i.y = ((PV0i.w == 0)?(R11i.y):(0x3f800000)); -R4i.z = ((PV0i.w == 0)?(R2i.z):(0x3f800000)); -R4i.w = ((PV0i.w == 0)?(R0i.w):(0x3f800000)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[21].y))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), 0.0)); -PS0i = R127i.z; -// 3 -R0i.x = floatBitsToInt(max(intBitsToFloat(R1i.x), 0.0)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS1i = R0i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].z))); -R2i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.x = floatBitsToInt(max(intBitsToFloat(R126i.y), 0.0)); -PS0i = R2i.x; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].z), intBitsToFloat(R127i.z))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[24].w))); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedVS[21].w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[25].w))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 11 -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R126i.w; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.x = R123i.x; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].x)) + intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].y)) + intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].z)) + intBitsToFloat(PV0i.x))); -// 14 -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[19].w))); -} -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R4i.x)*(origRatio / newRatio), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R9i.x)*(origRatio / newRatio), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -// export -passParameterSem5 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/948500d0191d1ed8_0000000000000000_vs.txt b/Source/XenobladeX/948500d0191d1ed8_0000000000000000_vs.txt deleted file mode 100644 index 08bc9155..00000000 --- a/Source/XenobladeX/948500d0191d1ed8_0000000000000000_vs.txt +++ /dev/null @@ -1,320 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 948500d0191d1ed8 -// invation cutscene skell lights -uniform ivec4 uf_remappedVS[13]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem6; -layout(location = 6) in uvec4 attrDataSem7; -layout(location = 7) in uvec4 attrDataSem8; -layout(location = 8) in uvec4 attrDataSem9; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R2i.w) + -(0.5)); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R7i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R7i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R7i.z))); -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.z)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(PV0i.w)); -PS1i = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(PS0i)); -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.y)) + intBitsToFloat(R5i.z))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PV1i.y)) + intBitsToFloat(R5i.y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.y)) + intBitsToFloat(R5i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -PS0i = 0; -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.y))); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.z = R126i.z; -R125i.w = floatBitsToInt(intBitsToFloat(PS0i) + intBitsToFloat(PV0i.x)); -R125i.z = 0; -PS1i = R125i.z; -// 4 -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.z)); -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R127i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].y) * 1.0); -PS0i = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -// 5 -backupReg0i = R126i.z; -R127i.x = PS0i; -R127i.y = floatBitsToInt(-(intBitsToFloat(PS0i))); -R126i.z = R125i.w; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].z) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -PV0i.x = PS1i; -R126i.y = PS1i; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].w) * 1.0); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].x)) + intBitsToFloat(backupReg0i))); -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].y)) + intBitsToFloat(backupReg1i))); -PS0i = R124i.x; -// 7 -backupReg0i = R126i.w; -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].z)) + intBitsToFloat(backupReg0i))); -PS1i = R126i.w; -// 8 -backupReg0i = R126i.y; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[1].w)) + intBitsToFloat(backupReg1i))); -PS0i = R127i.z; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R9i.w)) + intBitsToFloat(R9i.y))); -PS1i = R124i.z; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R125i.z; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * 1.0); -PS1i = R126i.y; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].y)) + intBitsToFloat(R124i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].x)) + intBitsToFloat(R127i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].w)) + intBitsToFloat(R127i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[5].z)) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -R124i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R124i.x; -// 13 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R8i.w)) + intBitsToFloat(R8i.y))); -PS1i = R127i.z; -// 14 -backupReg0i = R126i.y; -R125i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -PV0i.x = R125i.x; -R126i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(backupReg0i)); -PV0i.y = R126i.y; -R125i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R124i.x)); -PV0i.z = R125i.z; -R127i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[7].w))?int(0xFFFFFFFF):int(0x0)); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R9i.z)) + intBitsToFloat(R9i.x))); -PS0i = R126i.w; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R126i.z)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt(intBitsToFloat(R124i.z) + 0.5); -PS1i = R125i.y; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.z),intBitsToFloat(R126i.z)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PS0i = R2i.x; -// 17 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.z),intBitsToFloat(R126i.z)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R2i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -PS1i = R2i.y; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.z),intBitsToFloat(R126i.z)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.w = tempi.x; -R9i.x = ((R127i.w == 0)?(R2i.x):(0x3f800000)); -PS0i = R9i.x; -// 19 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R8i.z)) + intBitsToFloat(R8i.x))); -R9i.y = ((R127i.w == 0)?(R2i.y):(0x3f800000)); -R9i.z = ((R127i.w == 0)?(backupReg0i):(0x3f800000)); -R9i.w = ((R127i.w == 0)?(PV0i.x):(0x3f800000)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) + 0.5); -PS1i = R127i.y; -// 20 -backupReg0i = R126i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.z),intBitsToFloat(R126i.z)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -// 21 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -R8i.y = floatBitsToInt(-(intBitsToFloat(R127i.y)) + 1.0); -R8i.z = PS0i; -R1i.w = R3i.w; -R1i.w = floatBitsToInt(intBitsToFloat(R1i.w) * 2.0); -R8i.x = floatBitsToInt(intBitsToFloat(R124i.x) + 0.5); -PS1i = R8i.x; -// 22 -R1i.x = floatBitsToInt(max(intBitsToFloat(R3i.x), 0.0)); -R1i.y = floatBitsToInt(max(intBitsToFloat(R3i.y), 0.0)); -R2i.z = floatBitsToInt(-(intBitsToFloat(R126i.w))); -R8i.w = PV1i.x; -R1i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS0i = R1i.z; -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R9i.x)*(origRatio / newRatio), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.w)); -// 0 -backupReg0i = R4i.x; -backupReg1i = R4i.y; -backupReg2i = R4i.z; -R4i.x = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -R4i.y = floatBitsToInt(max(intBitsToFloat(backupReg1i), 0.0)); -R4i.z = floatBitsToInt(max(intBitsToFloat(backupReg2i), 0.0)); -// export -passParameterSem1 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// 0 -} diff --git a/Source/XenobladeX/9ae7833e513d2c25_0000000000000079_ps.txt b/Source/XenobladeX/9ae7833e513d2c25_0000000000000079_ps.txt index 73be7a9e..fb8bf155 100644 --- a/Source/XenobladeX/9ae7833e513d2c25_0000000000000079_ps.txt +++ b/Source/XenobladeX/9ae7833e513d2c25_0000000000000079_ps.txt @@ -1,16 +1,8 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader 9ae7833e513d2c25 // bloom sampling scale -const float resScale = ; -//const float resScale = 4.0; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[1]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4f4c800 res 80x46x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(location = 0) in vec4 passParameterSem0; diff --git a/Source/XenobladeX/9bc5e526132c9534_0000000000000000_vs.txt b/Source/XenobladeX/9bc5e526132c9534_0000000000000000_vs.txt deleted file mode 100644 index 201b3c5a..00000000 --- a/Source/XenobladeX/9bc5e526132c9534_0000000000000000_vs.txt +++ /dev/null @@ -1,150 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader 9bc5e526132c9534 -// selection fill *dumped* -uniform ivec4 uf_remappedVS[11]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -uniform float uf_alphaTestRef; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem1.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder = attrDataSem0; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -PV0f.x = intBitsToFloat(uf_remappedVS[0].w) * 1.0; -PV0f.y = intBitsToFloat(uf_remappedVS[0].z) * 1.0; -PV0f.z = intBitsToFloat(uf_remappedVS[0].y) * 1.0; -PV0f.w = intBitsToFloat(uf_remappedVS[0].x) * 1.0; -// 1 -R123f.x = (R2f.y * intBitsToFloat(uf_remappedVS[1].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R2f.y * intBitsToFloat(uf_remappedVS[1].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R2f.y * intBitsToFloat(uf_remappedVS[1].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R2f.y * intBitsToFloat(uf_remappedVS[1].x) + PV0f.w); -PV1f.w = R123f.w; -// 2 -R123f.x = (R2f.x * intBitsToFloat(uf_remappedVS[2].w) + PV1f.x); -PV0f.x = R123f.x; -R127f.y = (R2f.x * intBitsToFloat(uf_remappedVS[2].z) + PV1f.y); -R127f.z = (R2f.x * intBitsToFloat(uf_remappedVS[2].y) + PV1f.z); -R127f.w = (R2f.x * intBitsToFloat(uf_remappedVS[2].x) + PV1f.w); -// 3 -PV1f.x = PV0f.x * intBitsToFloat(uf_remappedVS[3].w); -PV1f.y = PV0f.x * intBitsToFloat(uf_remappedVS[3].z); -PV1f.z = PV0f.x * intBitsToFloat(uf_remappedVS[3].y); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedVS[3].x); -// 4 -R123f.x = (R127f.y * intBitsToFloat(uf_remappedVS[4].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedVS[4].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.y * intBitsToFloat(uf_remappedVS[4].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R127f.y * intBitsToFloat(uf_remappedVS[4].x) + PV1f.w); -PV0f.w = R123f.w; -// 5 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedVS[5].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R127f.z * intBitsToFloat(uf_remappedVS[5].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R127f.z * intBitsToFloat(uf_remappedVS[5].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R127f.z * intBitsToFloat(uf_remappedVS[5].x) + PV0f.w); -PV1f.w = R123f.w; -// 6 -backupReg0f = R127f.w; -R123f.x = (R127f.w * intBitsToFloat(uf_remappedVS[6].w) + PV1f.x); -PV0f.x = R123f.x; -R127f.y = (R127f.w * intBitsToFloat(uf_remappedVS[6].z) + PV1f.y); -R127f.z = (R127f.w * intBitsToFloat(uf_remappedVS[6].y) + PV1f.z); -R127f.w = (backupReg0f * intBitsToFloat(uf_remappedVS[6].x) + PV1f.w); -// 7 -PV1f.x = PV0f.x * intBitsToFloat(uf_remappedVS[7].w); -PV1f.y = PV0f.x * intBitsToFloat(uf_remappedVS[7].z); -PV1f.z = PV0f.x * intBitsToFloat(uf_remappedVS[7].y); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedVS[7].x); -// 8 -R123f.x = (R127f.y * intBitsToFloat(uf_remappedVS[8].w) + PV1f.x); -PV0f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedVS[8].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.y * intBitsToFloat(uf_remappedVS[8].y) + PV1f.z); -PV0f.z = R123f.z; -R123f.w = (R127f.y * intBitsToFloat(uf_remappedVS[8].x) + PV1f.w); -PV0f.w = R123f.w; -// 9 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedVS[9].w) + PV0f.x); -PV1f.x = R123f.x; -R123f.y = (R127f.z * intBitsToFloat(uf_remappedVS[9].z) + PV0f.y); -PV1f.y = R123f.y; -R123f.z = (R127f.z * intBitsToFloat(uf_remappedVS[9].y) + PV0f.z); -PV1f.z = R123f.z; -R123f.w = (R127f.z * intBitsToFloat(uf_remappedVS[9].x) + PV0f.w); -PV1f.w = R123f.w; -// 10 -R2f.x = (R127f.w * intBitsToFloat(uf_remappedVS[10].x) + PV1f.w); -R2f.y = (R127f.w * intBitsToFloat(uf_remappedVS[10].y) + PV1f.z); -R2f.z = (R127f.w * intBitsToFloat(uf_remappedVS[10].z) + PV1f.y); -R2f.w = (R127f.w * intBitsToFloat(uf_remappedVS[10].w) + PV1f.x); -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(R2f.x*(origRatio / newRatio), R2f.y, R2f.z, R2f.w); -// export -passParameterSem0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// 0 -} diff --git a/Source/XenobladeX/_59df1c7e1806366c_00000000000003c9_ps.txt b/Source/XenobladeX/_59df1c7e1806366c_00000000000003c9_ps.txt deleted file mode 100644 index dde71f07..00000000 --- a/Source/XenobladeX/_59df1c7e1806366c_00000000000003c9_ps.txt +++ /dev/null @@ -1,214 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 59df1c7e1806366c -// aaremoval. Can't be combined with AA restore as they share the same shader. -uniform ivec4 uf_remappedPS[2]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e12000 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -/* -R0i = floatBitsToInt(passParameterSem0); -R1i = floatBitsToInt(passParameterSem1); -if( activeMaskStackC[1] == true ) { -R2i.xyzw = floatBitsToInt(textureGather(textureUnitPS0, intBitsToFloat(R0i.zw)).xyzw); -R0i.x = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R1i.xy)).x); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(0x3b2aaaab)); -PV0i.x = R2i.x; -R127i.y = floatBitsToInt(max(intBitsToFloat(R2i.y), intBitsToFloat(R2i.w))); -R127i.z = floatBitsToInt(min(intBitsToFloat(R2i.y), intBitsToFloat(R2i.w))); -// 1 -PV1i.y = floatBitsToInt(min(intBitsToFloat(R2i.z), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(R2i.z), intBitsToFloat(PV0i.x))); -// 2 -R4i.y = floatBitsToInt(max(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.w))); -PV0i.y = R4i.y; -R4i.z = floatBitsToInt(min(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.y))); -PV0i.z = R4i.z; -// 3 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedPS[0].x)); -PV1i.y = floatBitsToInt(max(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.z))); -// 4 -R0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -R0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedPS[0].y))); -// 5 -backupReg0i = R0i.x; -predResult = (intBitsToFloat(R0i.w) > intBitsToFloat(backupReg0i)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -if( (0 == 0)) discard; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(-(1.0),1.0,1.0,-(1.0)))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -R127i.z = 0; -PS0i = R127i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R2i.w)),vec4(-(1.0),1.0,-(1.0),1.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R4i.w = 0x3f800000; -PS1i = R4i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.x),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -// 3 -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.w = R127i.w; -// 5 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedPS[1].y)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedPS[1].x)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); -// 6 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(PV1i.z))); -R0i.y = floatBitsToInt(intBitsToFloat(R1i.y) + -(intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(min(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.w))); -R2i.w = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(PV1i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(PV1i.y)); -PS0i = R2i.y; -// 7 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedPS[0].z)); -// 8 -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 9 -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(PS0i)); -// 10 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.z), intBitsToFloat(0xc0000000))); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.w), intBitsToFloat(0xc0000000))); -// 11 -PV1i.z = floatBitsToInt(min(intBitsToFloat(PV0i.x), 2.0)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(PV0i.y), 2.0)); -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(uf_remappedPS[1].w)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedPS[1].z)); -// 13 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(PV0i.w))); -R1i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + -(intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.w)); -R0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(PV0i.x)); -} -if( activeMaskStackC[1] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).xyz); -R3i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.zw)).xyz); -R0i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.xy)).xyz); -R2i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.wy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(R3i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(R3i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(R3i.x)); -// 1 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R2i.x)); -R127i.y = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R2i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) * 0.25); -PV1i.w = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(R2i.y)); -PS1i = floatBitsToInt(intBitsToFloat(PV0i.z) * 0.25); -// 2 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * 0.25 + intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * 0.25); -R127i.z = PV1i.x; -R127i.z = floatBitsToInt(intBitsToFloat(R127i.z) / 2.0); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.w) * 0.25 + intBitsToFloat(PV1i.z))); -PV0i.w = R127i.w; -R126i.y = PV1i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) / 2.0); -PS0i = R126i.y; -// 3 -PV1i.x = ((intBitsToFloat(PV0i.w) > intBitsToFloat(R4i.y))?int(0xFFFFFFFF):int(0x0)); -PV1i.y = ((intBitsToFloat(R4i.z) > intBitsToFloat(PV0i.w))?int(0xFFFFFFFF):int(0x0)); -R126i.z = floatBitsToInt((intBitsToFloat(R127i.y) * 0.25 + intBitsToFloat(PV0i.y))); -R126i.w = R127i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) / 2.0); -// 4 -R123i.w = ((PV1i.y == 0)?(PV1i.x):(int(-1))); -PV0i.w = R123i.w; -// 5 -R4i.x = ((PV0i.w == 0)?(R127i.x):(R127i.z)); -R4i.y = ((PV0i.w == 0)?(R127i.w):(R126i.y)); -R4i.z = ((PV0i.w == 0)?(R126i.z):(R126i.w)); -} -// export -passPixelColor0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -*/ -} diff --git a/Source/XenobladeX/_cf4eda5057e1a527_0000000000000000_vs.txt b/Source/XenobladeX/_cf4eda5057e1a527_0000000000000000_vs.txt deleted file mode 100644 index f4135a3d..00000000 --- a/Source/XenobladeX/_cf4eda5057e1a527_0000000000000000_vs.txt +++ /dev/null @@ -1,67 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader cf4eda5057e1a527 -//shadow acne fix in city. -// to-do Magic value, review other solution. -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R2f.x; -backupReg1f = R2f.y; -R2f.x = backupReg0f; -R2f.y = backupReg1f; -PV0f.z = R1f.y * intBitsToFloat(uf_remappedVS[0].y); -PV0f.w = R1f.x * intBitsToFloat(uf_remappedVS[0].x); -// 1 -R1f.x = PV0f.w + intBitsToFloat(uf_remappedVS[0].z) + 0.0006; -R1f.y = PV0f.z + intBitsToFloat(uf_remappedVS[0].w); -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R2f.x, R2f.y, R2f.z, R2f.z); -// 0 -} diff --git a/Source/XenobladeX/_fe436d1abf8cc6f6_000000000000000f_ps.txt b/Source/XenobladeX/_fe436d1abf8cc6f6_000000000000000f_ps.txt deleted file mode 100644 index 3726873a..00000000 --- a/Source/XenobladeX/_fe436d1abf8cc6f6_000000000000000f_ps.txt +++ /dev/null @@ -1,61 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader fe436d1abf8cc6f6 -//noise texture for AO, don't scale, use AO sahder. -const float resScale = 1.0; -uniform ivec4 uf_uniformRegisterPS[256]; -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem0); -// 0 -R127i.y = R0i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 4.0/ resScale); -R0i.z = 0; -PV0i.w = R0i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 4.0/ resScale); -// 1 -PS1i = int(intBitsToFloat(PV0i.w)); -// 2 -PV0i.y = PS1i << 0x00000002; -PS0i = int(intBitsToFloat(R127i.y)); -// 3 -PV1i.x = PS0i + PV0i.y; -// 4 -R127i.w = floatBitsToInt(float(PV1i.x)); -PS0i = R127i.w; -// 5 -tempResultf = intBitsToFloat(PS0i); -tempResultf = floor(tempResultf); -tempResultf = clamp(tempResultf, -256.0, 255.0); -ARi.x = int(tempResultf); -PV1i.x = floatBitsToInt(tempResultf); -// 6 -R0i.x = uf_uniformRegisterPS[ARi.x+0].x; -R0i.y = uf_uniformRegisterPS[ARi.x+0].y; -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.z)); -} diff --git a/Source/XenobladeX/a225baec4db6d89e_0000000000000000_vs.txt b/Source/XenobladeX/a225baec4db6d89e_0000000000000000_vs.txt deleted file mode 100644 index 5a10c842..00000000 --- a/Source/XenobladeX/a225baec4db6d89e_0000000000000000_vs.txt +++ /dev/null @@ -1,1410 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader a225baec4db6d89e -//flying trails desert -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem5; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 3) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R127i.z; -R127i.w = R5i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.z))); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R126i.y = R6i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R6i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R8i.x))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R8i.y))); -R126i.w = R6i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R8i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R126i.y))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(backupReg0i))); -PS1i = R124i.y; -// 8 -PV0i.x = R6i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R6i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R6i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R127i.x))); -R126i.y = R6i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.x))); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.z))); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R126i.y))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R126i.y))); -PS1i = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -// 12 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R126i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.y))); -R6i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R8i.x))); -PV1i.x = R0i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R8i.y))); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R13i.x = 0; -PS1i = R13i.x; -// 14 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R8i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R8i.y = 0; -PS0i = R8i.y; -// 15 -R5i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R5i.y = 0x3f800000; -R8i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R12i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R12i.w; -// 16 -R8i.x = 0x3f800000; -R0i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R127i.x))); -R4i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R13i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R12i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R14i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R14i.x = PS0i; -R13i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R13i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R13i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R8i.x = uf_remappedVS[1].z; -PS0i = R8i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = uf_remappedVS[4].z; -PS1i = R8i.y; -// 4 -R8i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R14i.x; -PV1i.y = R14i.x; -PV1i.z = R14i.x; -PV1i.w = R14i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.z = tempi.x; -// 12 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R13i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -R5i.x = uf_remappedVS[1].x; -PS0i = R5i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R7i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R8i.z))); -R5i.y = uf_remappedVS[1].y; -R5i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R8i.z))); -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R14i.x)) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R5i.z; -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R5i.y = 0; -R5i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R12i.y = 0; -R0i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R11i.z = 0; -// 3 -R7i.z = R13i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R14i.x; -PV0i.y = R14i.x; -PV0i.z = R14i.x; -PV0i.w = R14i.x; -R8i.x = R5i.z; -PS0i = R8i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = tempi.x; -R8i.y = backupReg1i; -PS1i = R8i.y; -// 2 -backupReg0i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.z = tempi.x; -R8i.z = R12i.z; -PS0i = R8i.z; -// 3 -backupReg0i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R12i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R7i.x = R14i.z; -R7i.z = R0i.x; -R12i.x = R12i.z; -PS0i = R12i.x; -// 1 -R12i.y = R1i.y; -R12i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R7i.y):(R0i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R0i.x):(R7i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R7i.y; -R7i.x = ((R127i.y == 0)?(PV1i.x):(R0i.x)); -R7i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R7i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R12i.z):(R12i.z)); -PV0i.w = R123i.w; -R12i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R12i.x; -// 3 -R8i.x = ((R127i.y == 0)?(0):(R13i.x)); -R12i.y = ((R127i.y == 0)?(R127i.z):(R12i.z)); -R12i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R8i.y = ((R127i.y == 0)?(0):(R5i.y)); -PS1i = R8i.y; -// 4 -backupReg0i = R8i.z; -R8i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R6i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.y), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.y), intBitsToFloat(R6i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R6i.y))); -PS0i = R127i.z; -// 1 -R126i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R14i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.x))); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.x))); -PS0i = R125i.x; -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R14i.x)) + intBitsToFloat(R127i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R13i.y)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R126i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(R125i.z))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(backupReg0i))); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R11i.z = 0; -PS1i = R11i.z; -// 6 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.w))); -// 7 -backupReg0i = R126i.y; -backupReg1i = R124i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(R127i.y))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(R125i.z))); -PS1i = R125i.x; -// 8 -backupReg0i = R127i.z; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV1i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.x))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R125i.y; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R126i.w))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R125i.x; -// 10 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R127i.w))); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.z; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedVS[6].z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R127i.z))); -PS0i = R0i.x; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 14 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R124i.y))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R127i.z))); -// 15 -R14i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R127i.x))); -R14i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -R14i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(R0i.x))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.w; -backupReg0i = R124i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(uf_remappedVS[6].y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].x))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg1i = R125i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R125i.z))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(R127i.y))); -PS1i = R122i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(PS1i))); -PS0i = R124i.y; -// 19 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R125i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R126i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R124i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.w))); -PS1i = R127i.x; -// 20 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R125i.z))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.x))); -PS0i = R6i.x; -// 21 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R127i.x))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R127i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PS1i = R6i.z; -// 22 -R7i.z = R13i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -R0i.x = 0; -PS0i = R0i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.x))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -R127i.x = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.y = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(PV1i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R126i.y; -// 7 -R123i.x = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -R0i.z = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R127i.y))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.w; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.w)); -R125i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -PV1i.y = R125i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.y; -// 10 -R125i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + -(0.0)); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R127i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.y))/0.1591549367)); -PS0i = R127i.w; -// 11 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R0i.y = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R125i.z = floatBitsToInt(sin((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R125i.z; -// 12 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R11i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.y), intBitsToFloat(PV1i.w))); -PV0i.y = R127i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R14i.z), intBitsToFloat(PV1i.w))); -PV0i.z = R124i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R124i.x = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS0i = R124i.x; -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R126i.y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.y))); -PS1i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.x)); -PV0i.x = R2i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(PV1i.w)); -PV0i.y = R11i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y)); -PV0i.z = R2i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.x))); -PS0i = R122i.x; -// 15 -backupReg0i = R0i.w; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R12i.x; -PV1i.y = R12i.x; -PV1i.z = R12i.x; -PV1i.w = R12i.x; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(PS0i)) + intBitsToFloat(R10i.y))); -PS1i = R126i.z; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -R127i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.z))); -PS0i = R127i.x; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.w))); -PS1i = R122i.x; -// 18 -backupReg0i = R126i.z; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(PS1i)) + intBitsToFloat(R10i.x))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(R125i.w))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R10i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -R10i.y = floatBitsToInt(1.0 / intBitsToFloat(backupReg1i)); -PS0i = R10i.y; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),intBitsToFloat(R127i.x)) + intBitsToFloat(R9i.x))); -PS1i = R127i.z; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R124i.z; -// 21 -backupReg0i = R9i.w; -backupReg1i = R9i.y; -R9i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedVS[12].w))); -PV1i.y = R9i.y; -R10i.z = floatBitsToInt(intBitsToFloat(R125i.x) + 0.5); -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.y)) + intBitsToFloat(backupReg1i))); -R7i.x = floatBitsToInt(intBitsToFloat(R127i.z) + 0.5); -PS1i = R7i.x; -// 22 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.z = tempi.x; -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R124i.z))); -PS0i = R11i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.y), intBitsToFloat(R9i.x))); -PS0i = R125i.w; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt(intBitsToFloat(R9i.z) + intBitsToFloat(R11i.x)); -PS1i = R127i.z; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[0].z))); -R126i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R125i.w)); -R124i.z = ((R0i.z == 0)?(PS1i):(PS1i)); -R126i.w = floatBitsToInt(-(intBitsToFloat(R10i.w)) + 1.0); -R7i.y = floatBitsToInt(intBitsToFloat(R9i.w) + 0.5); -PS0i = R7i.y; -// 3 -backupReg0i = R0i.z; -backupReg1i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R124i.y = ((backupReg0i == 0)?(PV0i.x):(backupReg1i)); -PS1i = R124i.y; -// 4 -backupReg0i = R124i.z; -R123i.x = ((R0i.z == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(R11i.z))); -R124i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((R0i.z == 0)?(R126i.y):(R126i.y)); -PV0i.w = R123i.w; -R2i.x = ((R5i.x == 0)?(backupReg0i):(0x3f800000)); -PS0i = R2i.x; -// 5 -backupReg0i = R11i.y; -R0i.x = 0; -R11i.y = ((R5i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.z = ((R5i.x == 0)?(R124i.y):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV0i.x):(0x3f800000)); -R9i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R9i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R0i.z = 0; -PS0i = R0i.z; -// 7 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R2i.w = 0; -PS1i = R2i.w; -// 8 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R9i.x = ((R124i.z == 0)?(backupReg0i):(R127i.z)); -PS0i = R9i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.y)); -R125i.w = floatBitsToInt(tempResultf); -PS1i = R125i.w; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PS1i))); -PS0i = R125i.x; -// 11 -R6i.x = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R125i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R125i.w))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -// 13 -backupReg0i = R9i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -PV1i.y = floatBitsToInt(max(intBitsToFloat(PS0i), -(intBitsToFloat(PS0i)))); -R9i.z = ((R124i.z == 0)?(R0i.z):(R125i.y)); -R9i.w = ((R124i.z == 0)?(R2i.w):(R127i.w)); -R9i.y = ((R124i.z == 0)?(backupReg0i):(R126i.y)); -PS1i = R9i.y; -// 14 -backupReg0i = R7i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(uf_remappedVS[14].y))); -R7i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -R7i.z = R10i.z; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -R7i.w = R126i.w; -PS0i = R7i.w; -// 15 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R2i.y))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R10i.y)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -R6i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 0.5); -PS1i = R6i.y; -// 16 -R123i.x = ((R0i.y == 0)?(PV1i.z):(0x3f800000)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -// 17 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.x = R0i.x; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.z = R0i.z; -R1i.z = PV0i.x; -R1i.z = clampFI32(R1i.z); -PS1i = R1i.z; -// 18 -backupReg0i = R3i.z; -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV1i.x))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV1i.y))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.z))); -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(backupReg0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R0i.y))); -PV0i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R0i.z))); -PS0i = R127i.w; -// 1 -R4i.x = ((PV0i.w == 0)?(R2i.x):(0x3f800000)); -R4i.y = ((PV0i.w == 0)?(R11i.y):(0x3f800000)); -R4i.z = ((PV0i.w == 0)?(R2i.z):(0x3f800000)); -R4i.w = ((PV0i.w == 0)?(R0i.w):(0x3f800000)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[21].y))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), 0.0)); -PS0i = R127i.z; -// 3 -R0i.x = floatBitsToInt(max(intBitsToFloat(R1i.x), 0.0)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS1i = R0i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].z))); -R2i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.x = floatBitsToInt(max(intBitsToFloat(R126i.y), 0.0)); -PS0i = R2i.x; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].z), intBitsToFloat(R127i.z))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[24].w))); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedVS[21].w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[25].w))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 11 -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R126i.w; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.x = R123i.x; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].x)) + intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].y)) + intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].z)) + intBitsToFloat(PV0i.x))); -// 14 -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[19].w))); -} -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R4i.x) *(origRatio / newRatio), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem5 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/af7acf7fb6dca1be_0000000000079249_ps.txt b/Source/XenobladeX/af7acf7fb6dca1be_0000000000079249_ps.txt index 4172c290..5eb0cfeb 100644 --- a/Source/XenobladeX/af7acf7fb6dca1be_0000000000079249_ps.txt +++ b/Source/XenobladeX/af7acf7fb6dca1be_0000000000079249_ps.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader af7acf7fb6dca1be //cutscene shadow scaling //to do - extra edge smooth pass, -const float resScaleDetail = 2.0; -const float resScale = ; +const float resScale = ($height/$gameHeight); +const float resScaleDetail = ($height/$gameHeight)*0.75; const float shadowExposure = 0.85; //By truncating shadow, we decrease overall exposure during day only. uniform ivec4 uf_remappedPS[31]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4386000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/XenobladeX/b253dca415790207_0000000000000079_ps.txt b/Source/XenobladeX/b253dca415790207_0000000000000079_ps.txt deleted file mode 100644 index 79dfeb7a..00000000 --- a/Source/XenobladeX/b253dca415790207_0000000000000079_ps.txt +++ /dev/null @@ -1,140 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -// shader b253dca415790207 -// motion blur alpha - -const float resScale = ; -//const float resScale = 3; -uniform ivec4 uf_remappedPS[5]; - -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e12000 res 320x180x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = passParameterSem0; -// 0 -R1f.x = R0f.x + intBitsToFloat(uf_remappedPS[0].x)/ resScale; -R1f.y = R0f.y + intBitsToFloat(uf_remappedPS[0].y)/ resScale; -R0f.z = R0f.x + intBitsToFloat(uf_remappedPS[1].x)/ resScale; -R0f.w = R0f.y + intBitsToFloat(uf_remappedPS[1].y)/ resScale; -R5f.w = 1.0; -PS0f = R5f.w; -// 1 -R2f.x = R0f.x + intBitsToFloat(uf_remappedPS[2].x)/ resScale; -R2f.y = R0f.y + intBitsToFloat(uf_remappedPS[2].y)/ resScale; -R1f.z = R0f.x + intBitsToFloat(uf_remappedPS[3].x)/ resScale; -R1f.w = R0f.y + intBitsToFloat(uf_remappedPS[3].y)/ resScale; -// 2 -backupReg0f = R0f.x; -backupReg1f = R0f.y; -R0f.x = backupReg0f + intBitsToFloat(uf_remappedPS[4].x)/ resScale; -R0f.y = backupReg1f + intBitsToFloat(uf_remappedPS[4].y)/resScale; -R3f.xyz = (texture(textureUnitPS0, R1f.xy).xyz); -R4f.xyz = (texture(textureUnitPS0, R0f.zw).xyz); -R2f.xyz = (texture(textureUnitPS0, R2f.xy).xyz); -R1f.xyz = (texture(textureUnitPS0, R1f.zw).xyz); -R0f.xyz = (texture(textureUnitPS0, R0f.xy).xyz); -// 0 -PV0f.x = R3f.y + -(0.5); -PV0f.x *= 2.0; -PV0f.y = R3f.x + -(0.5); -PV0f.y *= 2.0; -R127f.z = R4f.x + -(0.5); -R127f.z *= 2.0; -R127f.w = R4f.y + -(0.5); -R127f.w *= 2.0; -PS0f = R3f.z * intBitsToFloat(uf_remappedPS[0].z); -// 1 -R123f.x = (R4f.z * intBitsToFloat(uf_remappedPS[1].z) + PS0f); -PV1f.x = R123f.x; -R127f.y = R2f.x + -(0.5); -R127f.y *= 2.0; -PV1f.z = PV0f.y * intBitsToFloat(uf_remappedPS[0].z); -PV1f.w = PV0f.x * intBitsToFloat(uf_remappedPS[0].z); -R126f.z = R2f.y + -(0.5); -R126f.z *= 2.0; -PS1f = R126f.z; -// 2 -R123f.x = (R127f.z * intBitsToFloat(uf_remappedPS[1].z) + PV1f.z); -PV0f.x = R123f.x; -R126f.y = R1f.x + -(0.5); -R126f.y *= 2.0; -R123f.z = (R127f.w * intBitsToFloat(uf_remappedPS[1].z) + PV1f.w); -PV0f.z = R123f.z; -R123f.w = (R2f.z * intBitsToFloat(uf_remappedPS[2].z) + PV1f.x); -PV0f.w = R123f.w; -R127f.w = R1f.y + -(0.5); -R127f.w *= 2.0; -PS0f = R127f.w; -// 3 -R123f.x = (R126f.z * intBitsToFloat(uf_remappedPS[2].z) + PV0f.z); -PV1f.x = R123f.x; -R123f.y = (R127f.y * intBitsToFloat(uf_remappedPS[2].z) + PV0f.x); -PV1f.y = R123f.y; -R126f.z = R0f.x + -(0.5); -R126f.z *= 2.0; -R123f.w = (R1f.z * intBitsToFloat(uf_remappedPS[3].z) + PV0f.w); -PV1f.w = R123f.w; -R126f.w = R0f.y + -(0.5); -R126f.w *= 2.0; -PS1f = R126f.w; -// 4 -R123f.x = (R0f.z * intBitsToFloat(uf_remappedPS[4].z) + PV1f.w); -PV0f.x = R123f.x; -R123f.y = (R126f.y * intBitsToFloat(uf_remappedPS[3].z) + PV1f.y); -PV0f.y = R123f.y; -R123f.z = (R127f.w * intBitsToFloat(uf_remappedPS[3].z) + PV1f.x); -PV0f.z = R123f.z; -// 5 -R123f.y = (R126f.w * intBitsToFloat(uf_remappedPS[4].z) + PV0f.z); -PV1f.y = R123f.y; -R123f.z = (R126f.z * intBitsToFloat(uf_remappedPS[4].z) + PV0f.y); -PV1f.z = R123f.z; -R5f.z = PV0f.x; -PS1f = R5f.z; -// 6 -R5f.x = PV1f.z + 1.0; -R5f.x /= 2.0; -R5f.y = PV1f.y + 1.0; -R5f.y /= 2.0; -// export -passPixelColor0 = vec4(R5f.x, R5f.y, R5f.z, R5f.w); -} diff --git a/Source/XenobladeX/b3fb199c73caa796_00000000000003c9_ps.txt b/Source/XenobladeX/b3fb199c73caa796_00000000000003c9_ps.txt index 87e323ff..b4742d3a 100644 --- a/Source/XenobladeX/b3fb199c73caa796_00000000000003c9_ps.txt +++ b/Source/XenobladeX/b3fb199c73caa796_00000000000003c9_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader b3fb199c73caa796 // bloom pyramid sample 1st -const float resScale = ; -//const float resScale = 3.0; +const float resScale = ($height/$gameHeight); +//const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[4]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf551a000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/XenobladeX/b77e14af90eec1bd_00000000000003c9_ps.txt b/Source/XenobladeX/b77e14af90eec1bd_00000000000003c9_ps.txt index 27c16cea..e787539b 100644 --- a/Source/XenobladeX/b77e14af90eec1bd_00000000000003c9_ps.txt +++ b/Source/XenobladeX/b77e14af90eec1bd_00000000000003c9_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader b77e14af90eec1bd //skell view separate AA fix -const float resScale = ; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[3]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5f0a000 res 640x360x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/XenobladeX/ba19276703190072_0000000000001e49_ps.txt b/Source/XenobladeX/ba19276703190072_0000000000001e49_ps.txt index 98c9bd74..bacd709a 100644 --- a/Source/XenobladeX/ba19276703190072_0000000000001e49_ps.txt +++ b/Source/XenobladeX/ba19276703190072_0000000000001e49_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader ba19276703190072 //point light scaling v2, -const float resScale = ; +const float resScale = ($height/$gameHeight); uniform ivec4 uf_remappedPS[11]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5196000 res 1280x720x1 dim 1 tm: 4 format 0810 compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4386000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/XenobladeX/ba529c2c3078fff0_0000000000000000_vs.txt b/Source/XenobladeX/ba529c2c3078fff0_0000000000000000_vs.txt deleted file mode 100644 index fdd5c2f0..00000000 --- a/Source/XenobladeX/ba529c2c3078fff0_0000000000000000_vs.txt +++ /dev/null @@ -1,288 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader ba529c2c3078fff0 // rain engine glow // drop frame blend? -uniform ivec4 uf_remappedVS[13]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem5; -layout(location = 5) in uvec4 attrDataSem6; -layout(location = 6) in uvec4 attrDataSem7; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R5i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R2i.w) + -(0.5)); -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R6i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R6i.y)); -PS0i = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R6i.z)); -// 1 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(PV0i.z)); -PV1i.z = floatBitsToInt(fract(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(PV0i.w)); -PS1i = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(PS0i)); -// 2 -R127i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(PV1i.x) + intBitsToFloat(R4i.y))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(PV1i.x) + intBitsToFloat(R4i.x))); -R123i.z = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(PV1i.x) + intBitsToFloat(R4i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -PS0i = 0; -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R6i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.y = R126i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R6i.y)); -R125i.w = floatBitsToInt(intBitsToFloat(PS0i) + intBitsToFloat(PV0i.z)); -R126i.z = 0; -PS1i = R126i.z; -// 4 -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R127i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R127i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) * 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].y) * 1.0); -PS0i = floatBitsToInt(sin((intBitsToFloat(PV1i.y))/0.1591549367)); -// 5 -backupReg0i = R126i.y; -R127i.x = PS0i; -R126i.y = floatBitsToInt(-(intBitsToFloat(PS0i))); -R125i.z = R125i.w; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].z) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 6 -backupReg0i = R127i.z; -backupReg1i = R127i.w; -PV0i.x = PS1i; -R127i.y = PS1i; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].w) * 1.0); -R127i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[1].x) + intBitsToFloat(backupReg0i))); -R124i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[1].y) + intBitsToFloat(backupReg1i))); -PS0i = R124i.z; -// 7 -backupReg0i = R126i.w; -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[1].z) + intBitsToFloat(backupReg0i))); -PS1i = R126i.w; -// 8 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R125i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[1].w) + intBitsToFloat(R127i.z))); -PS0i = R125i.y; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R7i.w) + intBitsToFloat(R7i.y))); -PS1i = R127i.z; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R127i.x; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * 1.0); -PS1i = R125i.w; -// 12 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[5].x) + intBitsToFloat(R127i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[5].w) + intBitsToFloat(R125i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[5].y) + intBitsToFloat(R124i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[5].z) + intBitsToFloat(R126i.w))); -PV0i.w = R123i.w; -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * 1.0); -PS0i = R124i.z; -// 13 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.y))); -R127i.w = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R7i.z) + intBitsToFloat(R7i.x))); -PS1i = R127i.w; -// 14 -backupReg0i = R127i.x; -backupReg1i = R124i.z; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(backupReg0i)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R125i.w)); -PV0i.y = R127i.y; -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(backupReg1i)); -PV0i.z = R124i.z; -R125i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[7].w))?int(0xFFFFFFFF):int(0x0)); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.z) + 0.5); -PS0i = R125i.y; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt(intBitsToFloat(R127i.w) + 0.5); -PS1i = R7i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PS0i = R2i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -PS1i = R2i.y; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),intBitsToFloat(R126i.w)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.w = tempi.x; -R1i.x = ((R125i.w == 0)?(R2i.x):(0x3f800000)); -PS0i = R1i.x; -// 19 -PV1i.x = floatBitsToInt(intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[12].w)); -R1i.y = ((R125i.w == 0)?(R2i.y):(0x3f800000)); -R1i.z = ((R125i.w == 0)?(R127i.z):(0x3f800000)); -R1i.w = ((R125i.w == 0)?(PV0i.x):(0x3f800000)); -R7i.y = floatBitsToInt(-(intBitsToFloat(R125i.y)) + 1.0); -PS1i = R7i.y; -// 20 -backupReg0i = R3i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R124i.z),intBitsToFloat(PV1i.x)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),1.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R3i.w = backupReg0i; -R3i.w = floatBitsToInt(intBitsToFloat(R3i.w) * 2.0); -PS0i = R3i.w; -// 21 -R2i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x))); -float origRatio = 1.777f; -float newRatio = ; - - -// export -gl_Position = vec4(intBitsToFloat(R1i.x)*(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.z)); -// 0 -} diff --git a/Source/XenobladeX/c01cc5b7af21f689_0000000000000000_vs.txt b/Source/XenobladeX/c01cc5b7af21f689_0000000000000000_vs.txt deleted file mode 100644 index d5b895c7..00000000 --- a/Source/XenobladeX/c01cc5b7af21f689_0000000000000000_vs.txt +++ /dev/null @@ -1,1399 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader c01cc5b7af21f689 -//fog skell flight -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R126i.z; -R126i.w = R4i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R125i.x = R5i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R7i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R7i.x))); -R126i.z = R5i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R5i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R7i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R10i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R125i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 8 -R126i.x = R5i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R5i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R5i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.z))); -R125i.x = R5i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R125i.x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R125i.x))); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R125i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R1i.z = 0; -PS0i = R1i.z; -// 13 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -PV1i.x = R4i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.y))); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R7i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R14i.x = 0; -PS1i = R14i.x; -// 14 -R4i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R13i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(R126i.y)); -R10i.w = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.x))); -R12i.y = 0; -PS0i = R12i.y; -// 15 -R12i.x = 0x3f800000; -R7i.y = 0x3f800000; -R12i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R1i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R5i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R4i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R13i.z = 0; -PS1i = R13i.z; -// 18 -R7i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R6i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R5i.x = PS0i; -R4i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R5i.y = PS0i; -PS1i = R5i.y; -// 26 -R11i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R11i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R6i.x = uf_remappedVS[1].z; -PS0i = R6i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = uf_remappedVS[4].z; -PS1i = R6i.y; -// 4 -R6i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R13i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -// 12 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 14 -backupReg0i = R7i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R13i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R0i.x = uf_remappedVS[1].x; -PS0i = R0i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R13i.y),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R12i.z))); -R0i.y = uf_remappedVS[1].y; -R0i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R4i.y; -R4i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(backupReg0i))); -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PS1i))); -PS0i = R13i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R0i.z; -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R0i.y = 0; -R0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R4i.y = 0x3f800000; -PS0i = R4i.y; -// 1 -R12i.y = 0; -R4i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R10i.z = 0; -// 3 -R13i.z = R11i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -R6i.x = backupReg1i; -PS0i = R6i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -R6i.y = R4i.z; -PS1i = R6i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -R6i.z = R12i.z; -PS0i = R6i.z; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R4i.z))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R12i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R13i.x = R14i.z; -R13i.z = R4i.x; -R7i.x = R7i.z; -PS0i = R7i.x; -// 1 -R7i.y = R1i.y; -R7i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R4i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R4i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(R4i.x)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R7i.z):(R7i.z)); -PV0i.w = R123i.w; -R7i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R7i.x; -// 3 -backupReg0i = R7i.y; -R12i.x = ((R127i.y == 0)?(0):(R14i.x)); -R7i.y = ((R127i.y == 0)?(R127i.z):(R7i.z)); -R7i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R12i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R12i.y; -// 4 -backupReg0i = R12i.z; -R12i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R6i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R6i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R5i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R5i.y))); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R4i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.x))); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R5i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(PV1i.x))); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R4i.y)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(R126i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R10i.z = 0; -PS0i = R10i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -PS1i = R125i.z; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -// 7 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R127i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R125i.z; -backupReg1i = R127i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV1i.y))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R126i.z))); -// 9 -backupReg0i = R124i.z; -backupReg1i = R125i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R124i.z)) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.x))); -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS1i = R126i.w; -// 12 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(uf_remappedVS[6].z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].y))); -PS0i = R126i.y; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R124i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(R125i.z))); -// 15 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R125i.x))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[6].z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[6].y))); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R125i.z))); -PS0i = R127i.y; -// 19 -backupReg0i = R0i.x; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -PS1i = R127i.w; -// 20 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R127i.x))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R125i.w))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R127i.y))); -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R124i.y))); -PS0i = R7i.x; -// 21 -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R126i.x))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R127i.w))); -// 22 -R13i.z = R11i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -R1i.w = 0; -PS0i = R1i.w; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R4i.z = R3i.w; -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 2.0); -PS1i = R4i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R4i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R4i.x; -// 3 -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.w))); -PV1i.x = R125i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R125i.y; -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.y))); -PV1i.z = R124i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.w; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R13i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R10i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(intBitsToFloat(R13i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -R126i.y = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.w))); -R126i.w = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.z; -// 7 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.z; -// 9 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.x; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + -(0.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R126i.y = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -PS0i = R126i.y; -// 11 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R1i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.x; -// 12 -R11i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV1i.w))); -PV0i.x = R11i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.w))); -PV0i.y = R124i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV1i.w))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.x))/0.1591549367)); -PS0i = R127i.w; -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.z))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R125i.z))); -R125i.z = floatBitsToInt(cos((intBitsToFloat(R126i.x))/0.1591549367)); -PS1i = R125i.z; -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(PV1i.y)); -PV0i.x = R2i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(PV1i.x)); -PV0i.y = R11i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R2i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R125i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(R126i.w))); -PS0i = R125i.x; -// 15 -backupReg0i = R0i.w; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R12i.x; -PV1i.y = R12i.x; -PV1i.z = R12i.x; -PV1i.w = R12i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.w)),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.y = tempi.x; -R4i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS0i = R4i.w; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(R124i.x))); -PS1i = R122i.x; -// 18 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg2i = R126i.z; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(PS1i)) + intBitsToFloat(R8i.y))); -R1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R5i.x = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + 0.5); -PS0i = R5i.x; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(R125i.x)) + intBitsToFloat(R8i.x))); -PS1i = R126i.w; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R125i.w; -// 21 -backupReg0i = R9i.x; -R9i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(uf_remappedVS[12].w))); -PV1i.z = R9i.z; -R8i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(R126i.z)) + intBitsToFloat(R9i.y))); -R8i.x = floatBitsToInt(intBitsToFloat(R126i.w) + 0.5); -PS1i = R8i.x; -// 22 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.w = tempi.x; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.w))); -PS0i = R9i.y; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(R9i.x))); -PS0i = R126i.x; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(R9i.w) + intBitsToFloat(R9i.y)); -PS1i = R127i.w; -// 2 -backupReg0i = R126i.x; -backupReg1i = R8i.y; -R126i.x = ((R0i.x == 0)?(PS1i):(PS1i)); -R8i.y = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[0].z))); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(backupReg0i)); -R9i.x = floatBitsToInt(intBitsToFloat(backupReg1i) + 0.5); -PS0i = R9i.x; -// 3 -backupReg0i = R0i.w; -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R125i.x = ((R0i.x == 0)?(PV0i.z):(R1i.w)); -PS1i = R125i.x; -// 4 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -R0i.x = ((R4i.x == 0)?(R126i.x):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R126i.w):(R126i.w)); -PV0i.y = R123i.y; -R127i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((backupReg0i == 0)?(PV1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R5i.y = floatBitsToInt(intBitsToFloat(R8i.w) + 0.5); -PS0i = R5i.y; -// 5 -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z))); -R0i.y = ((R4i.x == 0)?(PV0i.y):(0x3f800000)); -R10i.z = ((R4i.x == 0)?(R125i.x):(0x3f800000)); -R0i.w = ((R4i.x == 0)?(PV0i.w):(0x3f800000)); -R1i.x = 0; -PS1i = R1i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.y = floatBitsToInt(intBitsToFloat(R11i.y) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS0i = R9i.y; -// 7 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R125i.w = floatBitsToInt(tempResultf); -PS1i = R125i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PS1i))); -PS0i = R126i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R125i.w))); -PS1i = R127i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R125i.w))); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PS0i),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R2i.z = 0; -PV0i.z = R2i.z; -R1i.w = 0; -PV0i.w = R1i.w; -R6i.x = ((R127i.z == 0)?(R1i.x):(R127i.w)); -PS0i = R6i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -PV1i.x = R127i.x; -R6i.y = ((R127i.z == 0)?(R9i.y):(R126i.w)); -R6i.z = ((R127i.z == 0)?(PV0i.z):(backupReg0i)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -R6i.w = ((R127i.z == 0)?(PV0i.w):(R124i.x)); -PS1i = R6i.w; -// 14 -backupReg0i = R8i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R2i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(uf_remappedVS[14].y))); -R8i.z = R1i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R0i.z))); -PV0i.w = R123i.w; -R8i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS0i = R8i.y; -// 15 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R4i.w)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R2i.y))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -R9i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -PS1i = R9i.y; -// 16 -R123i.x = ((R1i.z == 0)?(PV1i.y):(0x3f800000)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R8i.w = R5i.x; -PS0i = R8i.w; -// 17 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV0i.z))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV0i.y))); -R0i.z = PV0i.x; -R0i.z = clampFI32(R0i.z); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.w = R123i.w; -R9i.z = floatBitsToInt(intBitsToFloat(R10i.x) * intBitsToFloat(0x3c800000)); -PS1i = R9i.z; -// 18 -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV1i.w))); -R9i.w = R10i.y; -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R4i.z))); -PS0i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R5i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -R0i.x = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R10i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg2i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R4i.y) * intBitsToFloat(R4i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R12i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].y))); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PS1i))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].z))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].z), intBitsToFloat(R127i.z))); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedVS[21].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[24].w))); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[25].w))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[19].w))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].x)) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].y)) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].z)) + intBitsToFloat(PV0i.y))); -} - -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R6i.x)*(origRatio / newRatio), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/ccc475eb7e537add_0000000000000000_vs.txt b/Source/XenobladeX/ccc475eb7e537add_0000000000000000_vs.txt deleted file mode 100644 index c0cab249..00000000 --- a/Source/XenobladeX/ccc475eb7e537add_0000000000000000_vs.txt +++ /dev/null @@ -1,556 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader ccc475eb7e537add -//motion streaks sword -uniform ivec4 uf_remappedVS[22]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem5; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 3) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem5.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem6.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].y) + -(intBitsToFloat(0x3dcccccd))); -R127i.y = 0; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].w) + -(intBitsToFloat(0x3dcccccd))); -R124i.w = 0x3f800000; -PV0i.w = R124i.w; -R124i.z = 0; -PS0i = R124i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS1i = R126i.z; -// 2 -backupReg0i = R127i.z; -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + -(intBitsToFloat(uf_remappedVS[0].w))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(uf_remappedVS[0].x)); -R127i.z = ((intBitsToFloat(backupReg0i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R2i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(0.5)); -R8i.z = 0; -PS0i = R8i.z; -// 3 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R126i.y = ((-(1.0) > intBitsToFloat(uf_remappedVS[2].y))?int(0xFFFFFFFF):int(0x0)); -R123i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[3].z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.z = R123i.z; -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R6i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R125i.z = floatBitsToInt(tempResultf); -PS1i = R125i.z; -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R127i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(R126i.z)); -R123i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[3].w) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.z = R123i.z; -R126i.w = uf_remappedVS[4].z; -PS0i = floatBitsToInt(fract(intBitsToFloat(PV1i.z))); -// 5 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.z))); -R125i.y = uf_remappedVS[5].z; -R1i.z = uf_remappedVS[1].z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.x)); -R122i.x = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R122i.x; -// 6 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R125i.z) * intBitsToFloat(uf_remappedVS[3].x)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + -(0.0)); -R127i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x3e22f983)); -R125i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].x) + -(1.0)); -PS0i = R125i.z; -// 7 -R6i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].y) + -(1.0)); -R125i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].z) + -(1.0)); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R127i.x; -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV1i.y)); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV1i.y)); -R7i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[7].x) + -(intBitsToFloat(uf_remappedVS[7].y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PV1i.y)); -R126i.z = floatBitsToInt(sin((intBitsToFloat(R127i.w))/0.1591549367)); -PS0i = R126i.z; -// 9 -backupReg0i = R2i.y; -R125i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(PV0i.x)); -PV1i.x = R125i.x; -R2i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.w)); -PV1i.y = R2i.y; -R0i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = R0i.z; -R5i.w = floatBitsToInt(intBitsToFloat(R127i.x) + -(0.5)); -R124i.y = floatBitsToInt(cos((intBitsToFloat(R127i.w))/0.1591549367)); -PS1i = R124i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -R2i.z = floatBitsToInt(intBitsToFloat(R2i.w) * intBitsToFloat(PS1i)); -PS0i = R2i.z; -// 11 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.y = tempi.x; -R9i.x = ((R126i.y == 0)?(PV0i.x):(PV0i.x)); -PS1i = R9i.x; -// 12 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.y = ((R126i.y == 0)?(PV1i.x):(PV1i.x)); -PS0i = R9i.y; -// 13 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = tempi.x; -R9i.z = ((R126i.y == 0)?(PV0i.x):(R127i.y)); -PS1i = R9i.z; -// 14 -R127i.x = floatBitsToInt(intBitsToFloat(R2i.w) * intBitsToFloat(R126i.z)); -R5i.y = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(uf_remappedVS[6].w) + 1.0)); -R6i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[6].w) + 1.0)); -R9i.w = ((R126i.y == 0)?(PV1i.x):(PV1i.x)); -R0i.x = floatBitsToInt(sin((intBitsToFloat(R6i.x))/0.1591549367)); -PS0i = R0i.x; -// 15 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R124i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R5i.x = floatBitsToInt(intBitsToFloat(R2i.w) * intBitsToFloat(PS0i)); -PS1i = R5i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.w),intBitsToFloat(R125i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R126i.w),intBitsToFloat(R125i.y),intBitsToFloat(R1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = tempi.x; -R6i.y = floatBitsToInt((intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[6].w) + 1.0)); -PS0i = R6i.y; -// 17 -backupReg0i = R124i.y; -R2i.x = ((intBitsToFloat(uf_remappedVS[7].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -PV1i.x = R2i.x; -R124i.y = floatBitsToInt((-(intBitsToFloat(R126i.z)) * intBitsToFloat(R5i.w) + intBitsToFloat(R2i.z))); -R2i.z = ((intBitsToFloat(uf_remappedVS[7].x) == intBitsToFloat(uf_remappedVS[7].y))?int(0xFFFFFFFF):int(0x0)); -R126i.w = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R5i.w) + intBitsToFloat(R127i.x))); -R8i.x = 0; -PS1i = R8i.x; -// 18 -backupReg0i = R0i.z; -R10i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w)))); -PV0i.x = R10i.x; -PV0i.y = R10i.x; -PV0i.z = R10i.x; -PV0i.w = R10i.x; -R8i.x = ((PV1i.x == 0)?(PS1i):(R5i.z)); -PS0i = R8i.x; -// 19 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = tempi.x; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R2i.y),intBitsToFloat(R0i.z),intBitsToFloat(R124i.w)),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.z = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R126i.x)); -PS0i = floatBitsToInt(tempResultf); -// 21 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.x = R1i.x; -R1i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PS0i)); -PV1i.y = R1i.y; -R0i.z = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[12].z) + intBitsToFloat(uf_remappedVS[12].x))); -R0i.w = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[12].w) + intBitsToFloat(uf_remappedVS[12].y))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.z)); -PS1i = floatBitsToInt(tempResultf); -// 22 -backupReg0i = R1i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(R8i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[13].x)),-(intBitsToFloat(uf_remappedVS[13].y)),-(intBitsToFloat(uf_remappedVS[13].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = tempi.x; -R1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS1i)); -PS0i = R1i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -R11i.x = floatBitsToInt(intBitsToFloat(R0i.z) + 0.5); -PV0i.y = floatBitsToInt(intBitsToFloat(R1i.z) + 0.5); -R124i.z = floatBitsToInt(-(intBitsToFloat(R10i.z))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(R1i.x), -(intBitsToFloat(R1i.x)))); -R1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -PS0i = R1i.y; -// 1 -backupReg0i = R2i.y; -PV1i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -R124i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(uf_remappedVS[7].y))); -R0i.z = 0; -PV1i.z = R0i.z; -R0i.w = 0; -R2i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[7].w))); -PS1i = R2i.y; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[14].x) + intBitsToFloat(R5i.y))); -PV0i.x = R123i.x; -R8i.y = ((R2i.x == 0)?(PS1i):(R0i.y)); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[14].z) + intBitsToFloat(R6i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[14].y) + intBitsToFloat(R6i.z))); -PV0i.w = R123i.w; -R8i.z = ((R2i.x == 0)?(PV1i.z):(R124i.z)); -PS0i = R8i.z; -// 3 -backupReg0i = R0i.w; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + -(1.0)); -R8i.w = ((R2i.x == 0)?(backupReg0i):(R1i.w)); -PS1i = R8i.w; -// 4 -R1i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[14].w) + 1.0)); -PV0i.x = R1i.x; -R0i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[14].w) + 1.0)); -PV0i.y = R0i.y; -R0i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[14].w) + 1.0)); -PV0i.z = R0i.z; -R11i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 1.0); -PS0i = R11i.y; -// 5 -backupReg0i = R3i.x; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -R1i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV0i.y)); -R1i.z = floatBitsToInt(intBitsToFloat(R3i.z) * intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(cos((intBitsToFloat(R6i.x))/0.1591549367)); -// 6 -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.w) * intBitsToFloat(PS1i)); -R123i.w = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(R5i.w) + intBitsToFloat(R5i.x))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R7i.z)); -// 7 -R126i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[15].w) + intBitsToFloat(uf_remappedVS[15].y))); -R123i.y = floatBitsToInt((-(intBitsToFloat(R0i.x)) * intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) * intBitsToFloat(PS0i)); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[15].z) + intBitsToFloat(uf_remappedVS[15].x))); -PV0i.x = R123i.x; -R123i.y = ((R2i.z == 0)?(PV1i.z):(0x3f800000)); -PV0i.y = R123i.y; -// 9 -R2i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -R2i.y = floatBitsToInt(intBitsToFloat(R126i.x) + 0.5); -PV1i.y = R2i.y; -R0i.w = PV0i.y; -R0i.w = clampFI32(R0i.w); -// 10 -R2i.y = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R2i.z = R7i.x; -R2i.w = R7i.y; -// 11 -predResult = (intBitsToFloat(uf_remappedVS[0].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R10i.z)) + -(intBitsToFloat(uf_remappedVS[0].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[0].x)) + intBitsToFloat(uf_remappedVS[0].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[0].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(uf_remappedVS[0].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[0].z)) + intBitsToFloat(uf_remappedVS[0].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R10i.z)) + -(intBitsToFloat(uf_remappedVS[16].x))); -// 1 -R126i.x = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R0i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[16].y)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R1i.x)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -backupReg0i = R0i.w; -R127i.x = floatBitsToInt(intBitsToFloat(R10i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R10i.y) * intBitsToFloat(PS1i)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R10i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -R4i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R5i.z)); -PS0i = R4i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -R4i.x = floatBitsToInt(max(intBitsToFloat(R3i.x), 0.0)); -R4i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[16].z)); -R4i.z = floatBitsToInt(max(intBitsToFloat(R1i.z), 0.0)); -PS0i = R4i.z; -// 5 -R1i.x = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[18].z) * intBitsToFloat(R127i.z)); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[19].w)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -R127i.x = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[20].w)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[16].w)); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV1i.w))); -PS0i = R127i.z; -// 9 -backupReg0i = R126i.y; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[19].y) + intBitsToFloat(uf_remappedVS[21].y))); -R126i.y = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[19].x) + intBitsToFloat(uf_remappedVS[21].x))); -R1i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), 0.0)); -R1i.y = floatBitsToInt(max(intBitsToFloat(backupReg1i), 0.0)); -PS1i = R1i.y; -// 10 -R123i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[19].z) + intBitsToFloat(uf_remappedVS[21].z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(exp2(intBitsToFloat(R127i.x))); -// 11 -R0i.x = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(R126i.x))); -R0i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(PV0i.w))); -// 12 -R0i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[13].w)); -} -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R9i.x)*(origRatio / newRatio), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem5 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R11i.x), intBitsToFloat(R11i.y), intBitsToFloat(R11i.z), intBitsToFloat(R11i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/ccc6fb8b53f5f651_0000000000000000_vs.txt b/Source/XenobladeX/ccc6fb8b53f5f651_0000000000000000_vs.txt deleted file mode 100644 index 012e86e0..00000000 --- a/Source/XenobladeX/ccc6fb8b53f5f651_0000000000000000_vs.txt +++ /dev/null @@ -1,1416 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader ccc6fb8b53f5f651 -//flying enemies trails 2 -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -layout(location = 11) in uvec4 attrDataSem11; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 4) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R15i = ivec4(0); -ivec4 R16i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem11.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R12i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R126i.z; -R126i.w = R5i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV0i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(R126i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R125i.x = R6i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R8i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R8i.x))); -R126i.z = R6i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R6i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R8i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R125i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 8 -R126i.x = R6i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R6i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R6i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R126i.z))); -R125i.x = R6i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV0i.y))); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R125i.x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R125i.x))); -PS1i = R124i.x; -// 12 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(R125i.x))); -PV0i.z = R125i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(backupReg0i)); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R8i.x))); -PV1i.x = R6i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R8i.y))); -PV1i.y = R0i.y; -R15i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(PV0i.z))); -R6i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R5i.x = 0; -PS1i = R5i.x; -// 14 -R7i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R8i.yzw = floatBitsToInt(vec3(intBitsToFloat(PV1i.y),intBitsToFloat(R0i.z),intBitsToFloat(R126i.x)) + vec3(intBitsToFloat(R126i.z),intBitsToFloat(R126i.y),-(intBitsToFloat(R124i.x)))); -R13i.y = 0; -PS0i = R13i.y; -// 15 -R13i.x = 0x3f800000; -R7i.y = 0x3f800000; -R13i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R6i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R4i.w = floatBitsToInt(-(intBitsToFloat(R127i.x)) + 1.0); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R0i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R14i.z = 0; -PS1i = R14i.z; -// 18 -R7i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R14i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R6i.x = PS0i; -R0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R12i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R12i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R1i.z,R0i.w,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R13i.x = uf_remappedVS[1].z; -PS0i = R13i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = uf_remappedVS[4].z; -PS1i = R13i.y; -// 4 -R13i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R8i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R8i.x; -PV1i.y = R8i.x; -PV1i.z = R8i.x; -PV1i.w = R8i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.z = tempi.x; -// 12 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -backupReg0i = R0i.y; -R15i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),0.0))); -PV0i.x = R15i.x; -PV0i.y = R15i.x; -PV0i.z = R15i.x; -PV0i.w = R15i.x; -R5i.x = uf_remappedVS[1].x; -PS0i = R5i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R6i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R13i.z))); -R5i.y = uf_remappedVS[1].y; -R5i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R0i.y; -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R7i.z; -R7i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R13i.z))); -R16i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(PS1i))); -PS0i = R16i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R14i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R5i.z; -// 2 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R7i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R7i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R5i.y = 0; -R5i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R7i.y = 0; -R0i.z = 0; -R7i.z = uf_remappedVS[1].x; -PS1i = R7i.z; -// 2 -R11i.z = 0; -// 3 -R14i.z = R12i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R11i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R8i.x; -PV0i.y = R8i.x; -PV0i.z = R8i.x; -PV0i.w = R8i.x; -R13i.x = R5i.z; -PS0i = R13i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R11i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = tempi.x; -R13i.y = backupReg1i; -PS1i = R13i.y; -// 2 -backupReg0i = R8i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R15i.x),intBitsToFloat(R11i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.z = tempi.x; -R13i.z = R7i.z; -PS0i = R13i.z; -// 3 -backupReg0i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R14i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(backupReg0i))); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R14i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R7i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R16i.x),intBitsToFloat(R14i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R8i.x = R8i.z; -R8i.z = R7i.x; -R7i.x = R7i.z; -PS0i = R7i.x; -// 1 -R7i.y = R1i.y; -R7i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R8i.y):(R7i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R8i.z):(R8i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R7i.x):(R8i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R8i.y; -R8i.x = ((R127i.y == 0)?(PV1i.x):(R7i.x)); -R8i.y = ((R127i.y == 0)?(PV1i.w):(R8i.z)); -R8i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R7i.z):(R7i.z)); -PV0i.w = R123i.w; -R7i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R7i.x; -// 3 -backupReg0i = R7i.y; -R13i.x = ((R127i.y == 0)?(0):(R5i.x)); -R7i.y = ((R127i.y == 0)?(R127i.z):(R7i.z)); -R7i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R13i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R13i.y; -// 4 -backupReg0i = R13i.z; -R13i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R14i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R14i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R6i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R6i.y))); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R1i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R6i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R14i.x))); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PV1i.x))); -PS0i = R126i.x; -// 3 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R6i.x)) + intBitsToFloat(R127i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R126i.w))); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R15i.z), intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg1i))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R125i.x))); -PS0i = R124i.z; -// 5 -backupReg0i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.w), intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -R11i.z = 0; -PS1i = R11i.z; -// 6 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(R125i.w))); -// 7 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(backupReg1i)) + intBitsToFloat(R125i.x))); -// 8 -backupReg0i = R127i.z; -backupReg1i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(R124i.z))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R127i.x))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(PV1i.z))); -// 9 -backupReg0i = R125i.y; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.z))); -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R127i.x; -// 10 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R127i.w))); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R127i.y),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.z; -backupReg1i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(R126i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedVS[6].z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(R127i.z))); -PS0i = R0i.x; -// 13 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.w))); -PS1i = R124i.x; -// 14 -backupReg0i = R127i.x; -backupReg1i = R126i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R124i.y))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R127i.z))); -// 15 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R124i.x))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.w))); -R8i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(R0i.x))); -PS1i = R122i.x; -// 16 -backupReg0i = R127i.y; -backupReg1i = R126i.w; -backupReg1i = R126i.w; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(PS1i))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedVS[6].y))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedVS[6].x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedVS[6].z))); -PS0i = R124i.x; -// 17 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg1i = R124i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].x))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R124i.z))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].z))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedVS[6].y))); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.z),intBitsToFloat(backupReg1i)) + intBitsToFloat(R126i.y))); -PS1i = R122i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PS1i))); -PS0i = R124i.y; -// 19 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R124i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R126i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R124i.w))); -PS1i = R127i.x; -// 20 -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.z))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R124i.z))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV1i.x))); -PS0i = R6i.x; -// 21 -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R127i.x))); -R13i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R126i.y))); -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PS1i = R6i.z; -// 22 -R14i.z = R12i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -R0i.x = 0; -PS0i = R0i.x; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R7i.z = R3i.w; -R7i.z = floatBitsToInt(intBitsToFloat(R7i.z) * 2.0); -PS1i = R7i.z; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R126i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.z))); -PV1i.y = R126i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.y))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(R14i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R14i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -R127i.x = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.w)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.x))); -R126i.w = ((intBitsToFloat(PV1i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.w; -// 7 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R12i.y = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -R123i.w = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R126i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.x))); -R123i.w = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R126i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R126i.w; -// 9 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -PV1i.x = R127i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(PV0i.z)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.y; -// 10 -R2i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -PV0i.y = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + -(0.0)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R126i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.x))/0.1591549367)); -PS0i = R126i.w; -// 11 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R2i.w = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R125i.z = floatBitsToInt(cos((intBitsToFloat(R127i.x))/0.1591549367)); -PS1i = R125i.z; -// 12 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.x), intBitsToFloat(PV1i.x))); -PV0i.x = R124i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV1i.x))); -PV0i.y = R124i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.z), intBitsToFloat(PV1i.x))); -PV0i.z = R124i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R127i.y = floatBitsToInt(sin((intBitsToFloat(R127i.z))/0.1591549367)); -PS0i = R127i.y; -// 13 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R125i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R125i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R125i.w))); -R127i.x = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R127i.x; -// 14 -R12i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.z)); -PV0i.x = R12i.x; -R2i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(PV1i.y)); -PV0i.y = R2i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R2i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.w)),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.w))); -PS0i = R126i.z; -// 15 -backupReg0i = R0i.w; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R127i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.y)),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.w))); -PS1i = R127i.z; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R125i.y))); -PS0i = R126i.x; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(R125i.x))); -PS1i = R122i.x; -// 18 -backupReg0i = R126i.x; -backupReg1i = R9i.y; -backupReg2i = R126i.z; -R126i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R9i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(PS1i)) + intBitsToFloat(R10i.y))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.z),intBitsToFloat(backupReg2i)) + intBitsToFloat(R9i.x))); -R0i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -PS0i = R0i.z; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.z),intBitsToFloat(R127i.z)) + intBitsToFloat(R10i.x))); -PS1i = R9i.w; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R124i.x; -// 21 -R10i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) + 0.5); -R9i.z = floatBitsToInt(-(intBitsToFloat(R11i.z))); -R10i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(uf_remappedVS[12].w))); -PV1i.w = R10i.w; -R7i.x = floatBitsToInt(intBitsToFloat(R127i.w) + 0.5); -PS1i = R7i.x; -// 22 -backupReg0i = R0i.w; -R9i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = R9i.x; -PV0i.y = R9i.x; -PV0i.z = R9i.x; -PV0i.w = R9i.x; -R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R124i.x))); -PS0i = R10i.z; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R10i.x))); -PS0i = R124i.y; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R9i.x) + intBitsToFloat(R10i.z)); -PS1i = R126i.x; -// 2 -backupReg0i = R127i.w; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[0].z))); -R1i.y = floatBitsToInt(intBitsToFloat(R9i.y) + 0.5); -R126i.z = ((R12i.y == 0)?(PS1i):(PS1i)); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R124i.y)); -R8i.x = floatBitsToInt(intBitsToFloat(R9i.w) + 0.5); -PS0i = R8i.x; -// 3 -backupReg0i = R0i.w; -backupReg1i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R124i.y = ((R12i.y == 0)?(PV0i.x):(backupReg1i)); -PS1i = R124i.y; -// 4 -R123i.x = ((R12i.y == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R6i.z)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(uf_remappedVS[2].z))); -R123i.w = ((R12i.y == 0)?(R127i.w):(R127i.w)); -PV0i.w = R123i.w; -R9i.x = ((R5i.x == 0)?(R126i.z):(0x3f800000)); -PS0i = R9i.x; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.y))); -PV1i.x = R123i.x; -R9i.y = ((R5i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.z = ((R5i.x == 0)?(R124i.y):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV0i.x):(0x3f800000)); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.y),intBitsToFloat(uf_remappedVS[2].y)) + intBitsToFloat(PV0i.z))); -PS1i = R122i.x; -// 6 -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R13i.x),intBitsToFloat(uf_remappedVS[2].x)) + intBitsToFloat(PS1i))); -R124i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.z), intBitsToFloat(uf_remappedVS[3].z))); -R0i.x = 0; -PS0i = R0i.x; -// 7 -backupReg0i = R2i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R2i.y; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R8i.z = 0; -PS0i = R8i.z; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R124i.y)); -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -R3i.w = 0; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PS0i))); -// 12 -backupReg0i = R0i.z; -backupReg1i = R0i.x; -PV0i.x = floatBitsToInt(max(intBitsToFloat(PS1i), -(intBitsToFloat(PS1i)))); -R6i.y = ((R0i.z == 0)?(R2i.y):(R127i.w)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R6i.x = ((backupReg0i == 0)?(backupReg1i):(R126i.x)); -PS0i = R6i.x; -// 13 -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -R6i.z = ((R0i.z == 0)?(R8i.z):(R9i.z)); -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R6i.w = ((R0i.z == 0)?(R3i.w):(R127i.y)); -PS1i = R6i.w; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R1i.w))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R1i.z))); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R5i.z))); -PV0i.w = R123i.w; -R7i.y = floatBitsToInt(-(intBitsToFloat(R0i.y)) + 1.0); -PS0i = R7i.y; -// 15 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -R8i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 1.0); -PS1i = R8i.y; -// 16 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.x = R0i.x; -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.y = R0i.y; -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.z = R0i.z; -R8i.w = 0x3f800000; -R8i.z = floatBitsToInt(intBitsToFloat(R11i.x) * intBitsToFloat(0x3c800000)); -PS0i = R8i.z; -// 17 -backupReg0i = R2i.x; -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PV0i.x))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PV0i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PV0i.z))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -// 18 -PV0i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -// 19 -R123i.w = ((R2i.w == 0)?(PV0i.z):(0x3f800000)); -PV1i.w = R123i.w; -// 20 -R3i.z = PV1i.w; -R3i.z = clampFI32(R3i.z); -// 21 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R7i.z; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R7i.z; -R7i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(backupReg0i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R0i.y))); -PV0i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R0i.z))); -PS0i = R127i.w; -// 1 -R4i.x = ((PV0i.w == 0)?(R9i.x):(0x3f800000)); -R4i.y = ((PV0i.w == 0)?(R9i.y):(0x3f800000)); -R4i.z = ((PV0i.w == 0)?(R2i.z):(0x3f800000)); -R4i.w = ((PV0i.w == 0)?(R0i.w):(0x3f800000)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[21].y))); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), 0.0)); -PS0i = R127i.z; -// 3 -R0i.x = floatBitsToInt(max(intBitsToFloat(R2i.x), 0.0)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R7i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = floatBitsToInt(max(intBitsToFloat(R1i.z), 0.0)); -PS1i = R0i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].z))); -R2i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.x = floatBitsToInt(max(intBitsToFloat(R126i.y), 0.0)); -PS0i = R2i.x; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].z), intBitsToFloat(R127i.z))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[24].w))); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedVS[21].w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[25].w))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 11 -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R126i.w; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.x = R123i.x; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].x)) + intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].y)) + intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[25].z)) + intBitsToFloat(PV0i.x))); -// 14 -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(uf_remappedVS[19].w))); -} - -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R4i.x)*(origRatio / newRatio), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -// export -passParameterSem5 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/d0664898dbf28dfa_0000000000000000_vs.txt b/Source/XenobladeX/d0664898dbf28dfa_0000000000000000_vs.txt deleted file mode 100644 index 84afcc8e..00000000 --- a/Source/XenobladeX/d0664898dbf28dfa_0000000000000000_vs.txt +++ /dev/null @@ -1,84 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader d0664898dbf28dfa// Pillarbox cutscene fmvs 16:9 -> 21:9 -uniform ivec4 uf_remappedVS[1]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem1.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -// 0 -backupReg0f = R2f.x; -backupReg1f = R2f.y; -backupReg2f = R1f.z; -R2f.x = backupReg0f; -R2f.y = backupReg1f; -PV0f.z = R1f.y * intBitsToFloat(uf_remappedVS[0].y); -PV0f.w = R1f.x * intBitsToFloat(uf_remappedVS[0].x); -R1f.z = backupReg2f; -PS0f = R1f.z; -// 1 -R1f.x = PV0f.w + intBitsToFloat(uf_remappedVS[0].z); -R1f.y = PV0f.z + intBitsToFloat(uf_remappedVS[0].w); -R1f.w = 1.0; -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(R1f.x*(origRatio / newRatio), R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R2f.x, R2f.y, R2f.z, R2f.z); -// 0 -} diff --git a/Source/XenobladeX/d321199dc854621f_0000000000000000_vs.txt b/Source/XenobladeX/d321199dc854621f_0000000000000000_vs.txt deleted file mode 100644 index 972615f8..00000000 --- a/Source/XenobladeX/d321199dc854621f_0000000000000000_vs.txt +++ /dev/null @@ -1,1286 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader d321199dc854621f -//flying enemies trails -uniform ivec4 uf_remappedVS[26]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 3) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem7.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R126i.z; -R126i.w = R4i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.z))); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R125i.x = R5i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R7i.y))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R7i.x))); -R126i.z = R5i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R5i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R7i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R8i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R125i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 8 -R126i.x = R5i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R5i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R5i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.z))); -R125i.x = R5i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.y))); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R8i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R125i.x))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R125i.x))); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R125i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -PV1i.x = R5i.x; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.y))); -PV1i.y = R0i.y; -R12i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R7i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R4i.x = 0; -PS1i = R4i.x; -// 14 -R6i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.z)); -R7i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R126i.y)); -R8i.w = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.x))); -R10i.y = 0; -PS0i = R10i.y; -// 15 -R10i.x = 0x3f800000; -R6i.y = 0x3f800000; -R10i.z = 0; -R9i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R10i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R10i.w; -// 16 -R5i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R5i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R11i.w; -// 17 -R0i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R11i.z = 0; -PS1i = R11i.z; -// 18 -R6i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS1i))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R11i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R5i.x = PS0i; -R0i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R5i.y = PS0i; -PS1i = R5i.y; -// 26 -R9i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R9i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R1i.z,R0i.w,R4i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R5i.x = uf_remappedVS[1].z; -PS0i = R5i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = uf_remappedVS[4].z; -PS1i = R5i.y; -// 4 -R5i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R7i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = tempi.x; -// 12 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -backupReg0i = R0i.y; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R4i.x = uf_remappedVS[1].x; -PS0i = R4i.x; -// 1 -backupReg0i = R7i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R5i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R10i.z))); -R4i.y = uf_remappedVS[1].y; -R4i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R0i.y; -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R6i.z; -R6i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R10i.z))); -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(PS1i))); -PS0i = R10i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = tempi.x; -R10i.z = 0; -PS1i = R10i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R4i.z; -// 2 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R6i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R6i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R6i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R4i.y = 0; -R4i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R6i.y = 0; -R0i.z = 0; -R6i.z = uf_remappedVS[1].x; -PS1i = R6i.z; -// 2 -R8i.z = 0; -// 3 -R11i.z = R9i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -R5i.x = R4i.z; -PS0i = R5i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -R5i.y = backupReg1i; -PS1i = R5i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = tempi.x; -R5i.z = R6i.z; -PS0i = R5i.z; -// 3 -backupReg0i = R0i.z; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(backupReg0i))); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R6i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R7i.x = R7i.z; -R7i.z = R6i.x; -R6i.x = R6i.z; -PS0i = R6i.x; -// 1 -R6i.y = R1i.y; -R6i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R7i.y):(R6i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R7i.z):(R7i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R6i.x):(R7i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R7i.y; -R7i.x = ((R127i.y == 0)?(PV1i.x):(R6i.x)); -R7i.y = ((R127i.y == 0)?(PV1i.w):(R7i.z)); -R7i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R6i.z):(R6i.z)); -PV0i.w = R123i.w; -R6i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R6i.x; -// 3 -backupReg0i = R6i.y; -R10i.x = ((R127i.y == 0)?(0):(R4i.x)); -R6i.y = ((R127i.y == 0)?(R127i.z):(R6i.z)); -R6i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R10i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R10i.y; -// 4 -backupReg0i = R10i.z; -R10i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R11i.x))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R11i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R5i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) * 1.0); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.y), intBitsToFloat(R5i.y))); -PS0i = R126i.x; -// 1 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.w))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(PV0i.z))); -PV1i.z = R127i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R1i.z) * 1.0); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R11i.x))); -PS1i = R125i.z; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(PV1i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(PV1i.z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R5i.y))); -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.w), intBitsToFloat(PV1i.y))); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg1i = R127i.z; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(backupReg0i))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(R127i.y))); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(backupReg1i))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg1i))); -PS1i = R124i.w; -// 4 -backupReg0i = R127i.y; -backupReg1i = R126i.x; -backupReg2i = R127i.w; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(R126i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(backupReg0i))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R0i.y)) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(backupReg2i))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R125i.z)) + intBitsToFloat(R125i.x))); -PS0i = R124i.z; -// 5 -backupReg0i = R126i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(R124i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(R126i.w))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(R125i.w)) + intBitsToFloat(backupReg0i))); -R8i.z = 0; -PS1i = R8i.z; -// 6 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(R124i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(PV1i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.z),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -// 7 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(R124i.y))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(R124i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(R126i.y))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w))); -// 8 -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R126i.w))); -PV0i.y = R126i.y; -// 9 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(R126i.x)) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(R0i.z)) + intBitsToFloat(R124i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PV0i.y))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R125i.z))); -// 10 -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R125i.z),0.0))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R127i.z),intBitsToFloat(R125i.x),intBitsToFloat(R125i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PS1i = R5i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.z = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y)) + intBitsToFloat(R127i.w))); -PS0i = R122i.x; -// 13 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(R125i.w))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R125i.w))); -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R127i.z),intBitsToFloat(R125i.x),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R125i.x)) + intBitsToFloat(PV1i.y))); -PS0i = R122i.x; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R126i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(PS0i))); -PS1i = R7i.y; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -// 17 -R11i.z = R9i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + intBitsToFloat(uf_remappedVS[6].x)); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].y) + -(intBitsToFloat(0x3dcccccd))); -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[6].w)); -R2i.w = 0x3f800000; -PV0i.w = R2i.w; -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].w) + -(intBitsToFloat(0x3dcccccd))); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS1i = R126i.x; -// 2 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -PV0i.y = floatBitsToInt(-(intBitsToFloat(R8i.z)) + -(intBitsToFloat(PV1i.x))); -R126i.z = ((intBitsToFloat(R127i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[8].w)) + 1.0); -R0i.z = 0; -PS0i = R0i.z; -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[9].z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(R127i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[9].w) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + intBitsToFloat(R127i.x)); -tempResultf = log2(intBitsToFloat(R8i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -R123i.x = ((intBitsToFloat(PV1i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.x))); -R123i.z = ((intBitsToFloat(PV1i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(fract(intBitsToFloat(PV1i.z))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[9].x))); -PS0i = R127i.x; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R126i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.x))); -R126i.y = floatBitsToInt(intBitsToFloat(R8i.x) + -(0.5)); -PS1i = R126i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(PV1i.y)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e22f983)); -PV0i.y = R127i.y; -R126i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e22f983)); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].x) + -(1.0)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(R127i.x))); -// 7 -R127i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].y) + -(1.0)); -R125i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].z) + -(1.0)); -R125i.z = floatBitsToInt(intBitsToFloat(PS0i) + -(0.5)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + -(0.0)); -R125i.w = floatBitsToInt(sin((intBitsToFloat(PV0i.y))/0.1591549367)); -PS1i = R125i.w; -// 8 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[10].w)) + 1.0)); -R123i.z = ((intBitsToFloat(PV1i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = R123i.z; -R124i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].x) + -(intBitsToFloat(uf_remappedVS[11].y))); -R126i.x = floatBitsToInt(cos((intBitsToFloat(R127i.y))/0.1591549367)); -PS0i = R126i.x; -// 9 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV0i.z))); -PV1i.x = R124i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PV0i.z))); -PV1i.y = R124i.y; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV0i.z))); -PV1i.z = R124i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.z; -// 10 -backupReg0i = R126i.z; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R126i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R126i.w))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -PS0i = R127i.y; -// 11 -R6i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(PV0i.y)); -PV1i.x = R6i.x; -R10i.y = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.x)); -PV1i.y = R10i.y; -R9i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.w)); -PV1i.z = R9i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS0i))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[10].w)) + 1.0)); -PS1i = R1i.y; -// 12 -R11i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV0i.x = R11i.x; -PV0i.y = R11i.x; -PV0i.z = R11i.x; -PV0i.w = R11i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.w)),intBitsToFloat(R125i.z)) + intBitsToFloat(R127i.w))); -PS0i = R127i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -R2i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.z)),intBitsToFloat(R125i.z)) + intBitsToFloat(R126i.w))); -PS1i = R2i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -R2i.z = floatBitsToInt(1.0 / intBitsToFloat(R124i.w)); -PS0i = R2i.z; -// 15 -backupReg0i = R127i.y; -backupReg1i = R126i.z; -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(uf_remappedVS[10].w)) + 1.0)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R125i.z)) + intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) * intBitsToFloat(0x42800000)); -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R125i.z)) + intBitsToFloat(backupReg1i))); -R4i.y = ((intBitsToFloat(uf_remappedVS[11].x) == intBitsToFloat(uf_remappedVS[11].y))?int(0xFFFFFFFF):int(0x0)); -PS1i = R4i.y; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.x = floatBitsToInt(-(intBitsToFloat(R6i.z))); -PS0i = R4i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3a4ccccd)); -PS1i = R124i.z; -// 18 -R124i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3ab60b61)); -R11i.y = floatBitsToInt(intBitsToFloat(R10i.y) + -(intBitsToFloat(uf_remappedVS[11].w))); -R4i.z = ((intBitsToFloat(uf_remappedVS[11].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedVS[8].w))); -PV0i.w = R124i.w; -R12i.x = 0; -PS0i = R12i.x; -// 19 -backupReg0i = R124i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(backupReg0i))); -PS1i = R124i.y; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(R124i.x))); -// 21 -R8i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[14].z)) + intBitsToFloat(uf_remappedVS[14].x))); -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(uf_remappedVS[14].w)) + intBitsToFloat(uf_remappedVS[14].y))); -R1i.z = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(R124i.y)); -PV1i.z = R1i.z; -R1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PS0i)); -R8i.z = 0; -PS1i = R8i.z; -// 22 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.y = tempi.x; -R10i.x = ((backupReg0i == 0)?(PV1i.z):(PV1i.z)); -PS0i = R10i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R10i.y),intBitsToFloat(R9i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R10i.y = ((R0i.x == 0)?(R1i.w):(R1i.w)); -PS0i = R10i.y; -// 1 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[17].z)) + intBitsToFloat(uf_remappedVS[17].x))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedVS[17].w)) + intBitsToFloat(uf_remappedVS[17].y))); -R10i.z = ((R0i.x == 0)?(R2i.y):(R0i.z)); -R10i.w = ((R0i.x == 0)?(PV0i.x):(PV0i.x)); -R2i.x = floatBitsToInt(intBitsToFloat(R8i.x) + 0.5); -PS1i = R2i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.y = floatBitsToInt(intBitsToFloat(R8i.y) + 0.5); -PS0i = R2i.y; -// 3 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R124i.y = floatBitsToInt(tempResultf); -PS1i = R124i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PS1i))); -PS0i = R124i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R124i.y))); -PS1i = R125i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R124i.y))); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(PS0i),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[18].x)),-(intBitsToFloat(uf_remappedVS[18].y)),-(intBitsToFloat(uf_remappedVS[18].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R5i.y = floatBitsToInt(intBitsToFloat(R126i.y) + 0.5); -PV0i.y = R5i.y; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS1i))); -R5i.x = floatBitsToInt(intBitsToFloat(R126i.x) + 0.5); -PS0i = R5i.x; -// 9 -backupReg0i = R2i.y; -R126i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.x = R126i.x; -R2i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); -R0i.w = 0; -R5i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -PS1i = R5i.y; -// 10 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(uf_remappedVS[11].y))); -R0i.y = R3i.w; -R0i.y = floatBitsToInt(intBitsToFloat(R0i.y) * 2.0); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[19].y)) + intBitsToFloat(R1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[19].x)) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -R5i.z = R9i.x; -PS0i = R5i.z; -// 11 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R2i.z)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedVS[19].z)) + intBitsToFloat(R1i.x))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + -(1.0)); -R5i.w = R9i.y; -PS1i = R5i.w; -// 12 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[19].w)) + 1.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedVS[19].w)) + 1.0)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -R124i.w = ((R4i.y == 0)?(PV1i.x):(0x3f800000)); -R1i.x = ((R4i.z == 0)?(R12i.x):(R1i.z)); -PS0i = R1i.x; -// 13 -backupReg0i = R3i.x; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.y))); -R1i.y = ((R4i.z == 0)?(R11i.y):(R1i.w)); -R1i.z = ((R4i.z == 0)?(R8i.z):(R4i.x)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedVS[19].w)) + 1.0)); -PV1i.w = R123i.w; -R1i.w = ((R4i.z == 0)?(R0i.w):(R125i.x)); -PS1i = R1i.w; -// 14 -backupReg0i = R3i.y; -backupReg1i = R3i.z; -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R126i.x))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PV1i.w))); -R4i.y = R124i.w; -R4i.y = clampFI32(R4i.y); -PS0i = R4i.y; -// 15 -predResult = (intBitsToFloat(uf_remappedVS[6].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(uf_remappedVS[6].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(uf_remappedVS[6].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[6].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(uf_remappedVS[6].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(uf_remappedVS[6].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(uf_remappedVS[20].x))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[20].y))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R0i.y))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[20].z))); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[22].z), intBitsToFloat(R127i.z))); -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 6 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R123i.w = clampFI32(R123i.w); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[23].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(uf_remappedVS[20].w))); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[24].w))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(uf_remappedVS[18].w))); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 9 -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[23].y)) + intBitsToFloat(uf_remappedVS[25].y))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[23].x)) + intBitsToFloat(uf_remappedVS[25].x))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R127i.x; -// 10 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[23].z)) + intBitsToFloat(uf_remappedVS[25].z))); -PV0i.x = R123i.x; -// 11 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(R127i.z))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(R127i.y))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(PV0i.x))); -} -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R10i.x)*(origRatio / newRatio), intBitsToFloat(R10i.y), intBitsToFloat(R10i.z), intBitsToFloat(R10i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/d7074f19f5ca3b20_0000000000000000_vs.txt b/Source/XenobladeX/d7074f19f5ca3b20_0000000000000000_vs.txt deleted file mode 100644 index 93b7850a..00000000 --- a/Source/XenobladeX/d7074f19f5ca3b20_0000000000000000_vs.txt +++ /dev/null @@ -1,302 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader d7074f19f5ca3b20 -//tower counter -uniform ivec4 uf_remappedVS[14]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem1.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem2; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem3.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(R3i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R3i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R125i.z = 0; -R126i.w = 0; -R126i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R4i.x)); -PS0i = R126i.x; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -PV1i.y = floatBitsToInt(fract(intBitsToFloat(PV0i.x))); -R0i.z = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R4i.y)); -R125i.w = 0x3f800000; -R125i.x = ((0.0 > intBitsToFloat(R3i.w))?int(0xFFFFFFFF):int(0x0)); -PS1i = R125i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -R124i.y = 0x3f800000; -R1i.z = 0; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R3i.z = 0; -PS0i = R3i.z; -// 3 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R4i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 0.5); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.z = R127i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -// 4 -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3d579436)); -PS0i = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -// 5 -R4i.x = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(PV0i.z)); -R124i.z = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -R127i.w = PS0i; -PS1i = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -// 6 -R126i.y = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -R127i.z = PS1i; -PV0i.z = R127i.z; -PS0i = floatBitsToInt(sin((intBitsToFloat(R127i.x))/0.1591549367)); -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 8 -backupReg0i = R127i.z; -PV0i.x = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS1i)); -// 9 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.w),intBitsToFloat(R0i.z),intBitsToFloat(R126i.x),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.y),intBitsToFloat(backupReg0i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -// 10 -backupReg0i = R126i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.z),intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),-0.0),vec4(intBitsToFloat(R126i.w),intBitsToFloat(R0i.z),intBitsToFloat(R126i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.w),intBitsToFloat(R0i.z),intBitsToFloat(R126i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(R126i.z)); -PS1i = R127i.x; -// 12 -backupReg0i = R126i.y; -R126i.y = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(backupReg0i)); -PV0i.y = R126i.y; -R126i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = R126i.z; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R125i.w)),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),intBitsToFloat(R125i.w)),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = ((R125i.x == 0)?(PV1i.x):(0)); -PS0i = R127i.z; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),intBitsToFloat(R125i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.x = ((R125i.x == 0)?(PV0i.x):(R1i.z)); -PS1i = R1i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),intBitsToFloat(R125i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = ((R125i.x == 0)?(PV1i.x):(R3i.z)); -PS0i = R1i.y; -// 17 -PV1i.x = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[4].w)); -R1i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3f7fff58)); -R1i.w = ((R125i.x == 0)?(PV0i.x):(R124i.y)); -R125i.x = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[5].w)); -PS1i = R125i.x; -// 18 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),intBitsToFloat(PV1i.x)),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),1.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),intBitsToFloat(R125i.x)),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),1.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.y = tempi.x; -// 20 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),intBitsToFloat(R125i.w)),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -// 21 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + -(intBitsToFloat(uf_remappedVS[7].x))); -// 22 -PV0i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[7].y)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 23 -backupReg0i = R126i.z; -R0i.x = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS0i)); -PV1i.x = R0i.x; -R2i.y = floatBitsToInt(intBitsToFloat(R124i.y) * intBitsToFloat(PS0i)); -PV1i.y = R2i.y; -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), 0.0)); -// 24 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 25 -R3i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[7].z)); -R3i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -R2i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * intBitsToFloat(R126i.z)); -PS1i = R2i.x; -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R1i.x) *(origRatio / newRatio), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.z)); -// 0 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[9].y) * intBitsToFloat(R2i.y) + intBitsToFloat(R2i.x))); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(-(intBitsToFloat(R3i.w)) + 1.0); -PS0i = floatBitsToInt(exp2(intBitsToFloat(R3i.x))); -// 1 -PV1i.y = floatBitsToInt(min(intBitsToFloat(PS0i), 1.0)); -R123i.w = floatBitsToInt((intBitsToFloat(uf_remappedVS[9].x) * intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.x))); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[10].w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[7].w)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 3 -PV1i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[11].w)); -R0i.w = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[12].w)); -R125i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R125i.w; -// 4 -R124i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[10].y) + intBitsToFloat(uf_remappedVS[13].y))); -R126i.z = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[10].x) + intBitsToFloat(uf_remappedVS[13].x))); -R126i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R126i.x; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[10].z) + intBitsToFloat(uf_remappedVS[13].z))); -PV1i.x = R123i.x; -// 6 -R0i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[11].x) + intBitsToFloat(R126i.z))); -R0i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[11].y) + intBitsToFloat(R124i.y))); -R0i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[11].z) + intBitsToFloat(PV1i.x))); -passParameterSem0 = vec4(intBitsToFloat(R0i.x) *(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// 0 -} diff --git a/Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt b/Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt index ab75d9ff..a0a121c7 100644 --- a/Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt +++ b/Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt @@ -1,10 +1,3 @@ - #version 420 #extension GL_ARB_texture_gather : enable @@ -19,8 +12,8 @@ layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4386000 res layout(location = 0) in vec4 passParameterSem0; layout(location = 0) out vec4 passPixelColor0; uniform vec2 uf_fragCoordScale; -const float resScale = ; -const int sampleScale = ; +const float resScale = ($height/$gameHeight); +const int sampleScale = 3; highp float lineRand(vec2 co) diff --git a/Source/XenobladeX/df832bc2e6d22e45_0000000000000000_vs.txt b/Source/XenobladeX/df832bc2e6d22e45_0000000000000000_vs.txt deleted file mode 100644 index 834d84ad..00000000 --- a/Source/XenobladeX/df832bc2e6d22e45_0000000000000000_vs.txt +++ /dev/null @@ -1,1394 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader df832bc2e6d22e45 // water splash drinking -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem3; -layout(location = 3) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R126i.z; -R126i.w = R4i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PV0i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV0i.z)); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R126i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R125i.x = R5i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R7i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R7i.x)); -R126i.z = R5i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R5i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R7i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R10i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R125i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R127i.w)); -PS1i = R127i.x; -// 8 -R126i.x = R5i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R5i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R5i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R126i.z)); -R125i.x = R5i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV0i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV0i.y)); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R10i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(backupReg0i)); -R126i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R125i.x)); -R124i.x = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R125i.x)); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R125i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R1i.z = 0; -PS0i = R1i.z; -// 13 -R4i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R7i.x)); -PV1i.x = R4i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R7i.y)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R7i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R14i.x = 0; -PS1i = R14i.x; -// 14 -R4i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R13i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(R126i.y)); -R10i.w = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.x))); -R12i.y = 0; -PS0i = R12i.y; -// 15 -R12i.x = 0x3f800000; -R7i.y = 0x3f800000; -R12i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R1i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R5i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R4i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R13i.z = 0; -PS1i = R13i.z; -// 18 -R7i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R6i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS1i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R0i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS0i)); -R6i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R5i.x = PS0i; -R4i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R5i.y = PS0i; -PS1i = R5i.y; -// 26 -R11i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R11i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R6i.x = uf_remappedVS[1].z; -PS0i = R6i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = uf_remappedVS[4].z; -PS1i = R6i.y; -// 4 -R6i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.x) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -// 12 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 14 -backupReg0i = R7i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R13i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R0i.x = uf_remappedVS[1].x; -PS0i = R0i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R13i.y),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R12i.z)); -R0i.y = uf_remappedVS[1].y; -R0i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R4i.y; -R4i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(backupReg0i)); -R13i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(PS1i))); -PS0i = R13i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R0i.z; -// 2 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R4i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R4i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R0i.y = 0; -R0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R4i.y = 0x3f800000; -PS0i = R4i.y; -// 1 -R12i.y = 0; -R4i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R10i.z = 0; -// 3 -R13i.z = R11i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -R6i.x = backupReg1i; -PS0i = R6i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -R6i.y = R4i.z; -PS1i = R6i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -R6i.z = R12i.z; -PS0i = R6i.z; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R10i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R4i.z)); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R12i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R10i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R13i.x = R14i.z; -R13i.z = R4i.x; -R7i.x = R7i.z; -PS0i = R7i.x; -// 1 -R7i.y = R1i.y; -R7i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R4i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R4i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(R4i.x)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R7i.z):(R7i.z)); -PV0i.w = R123i.w; -R7i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R7i.x; -// 3 -backupReg0i = R7i.y; -R12i.x = ((R127i.y == 0)?(0):(R14i.x)); -R7i.y = ((R127i.y == 0)?(R127i.z):(R7i.z)); -R7i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R12i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R12i.y; -// 4 -backupReg0i = R12i.z; -R12i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R6i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R6i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R5i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R5i.y)); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R5i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R4i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.x)); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R5i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.z)); -R126i.x = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R5i.x) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R4i.y) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R126i.w)); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.w) * intBitsToFloat(R125i.x)); -R126i.z = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R10i.z = 0; -PS0i = R10i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(backupReg0i)); -R126i.w = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -PS1i = R125i.z; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -// 7 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R125i.z; -backupReg1i = R127i.y; -R124i.x = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV1i.y)); -R125i.z = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R126i.z)); -// 9 -backupReg0i = R124i.z; -backupReg1i = R125i.y; -R0i.x = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R0i.w = floatBitsToInt((intBitsToFloat(R7i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS1i = R126i.w; -// 12 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(R126i.z) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[6].z)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R125i.w = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].x)); -R126i.y = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].y)); -PS0i = R126i.y; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(R124i.x)); -R123i.z = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R125i.z)); -// 15 -R5i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R125i.x))); -R5i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -R5i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS0i = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].y)); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -R125i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R125i.z))); -PS0i = R127i.y; -// 19 -backupReg0i = R0i.x; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -PS1i = R127i.w; -// 20 -R6i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R127i.x))); -R6i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R125i.w))); -R6i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.y))); -R7i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.y))); -PS0i = R7i.x; -// 21 -R7i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R126i.x))); -R7i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.w))); -// 22 -R13i.z = R11i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -R1i.w = 0; -PS0i = R1i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R4i.z = R3i.w; -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 2.0); -PS1i = R4i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R4i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R4i.x; -// 3 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.w))); -PV1i.x = R125i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.z))); -PV1i.y = R125i.y; -R124i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.y))); -PV1i.z = R124i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.w; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R13i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R10i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(intBitsToFloat(R13i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -R126i.y = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.w))); -R126i.w = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.z; -// 7 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R126i.y)); -R123i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R126i.w)); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.z; -// 9 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.x; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + -(0.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R2i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R126i.y = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -PS0i = R126i.y; -// 11 -R124i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R2i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R1i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.x; -// 12 -R11i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R11i.x; -R124i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R124i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.x))/0.1591549367)); -PS0i = R127i.w; -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R125i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R125i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R125i.z)); -R125i.z = floatBitsToInt(cos((intBitsToFloat(R126i.x))/0.1591549367)); -PS1i = R125i.z; -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(PV1i.y)); -PV0i.x = R2i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(PV1i.x)); -PV0i.y = R11i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R2i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R125i.x = floatBitsToInt((-(intBitsToFloat(R126i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(R126i.w))); -PS0i = R125i.x; -// 15 -backupReg0i = R0i.w; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R12i.x; -PV1i.y = R12i.x; -PV1i.z = R12i.x; -PV1i.w = R12i.x; -R126i.x = floatBitsToInt((-(intBitsToFloat(R127i.w)) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.y = tempi.x; -R4i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS0i = R4i.w; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -R122i.x = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(R124i.x))); -PS1i = R122i.x; -// 18 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg2i = R126i.z; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(PS1i) + intBitsToFloat(R8i.y))); -R1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -R126i.z = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R5i.x = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + 0.5); -PS0i = R5i.x; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt((intBitsToFloat(R8i.z) * intBitsToFloat(R125i.x) + intBitsToFloat(R8i.x))); -PS1i = R126i.w; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R125i.w; -// 21 -backupReg0i = R9i.x; -R9i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R8i.y = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(R126i.x) + intBitsToFloat(backupReg0i))); -R9i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.z = R9i.z; -R8i.w = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(R126i.z) + intBitsToFloat(R9i.y))); -R8i.x = floatBitsToInt(intBitsToFloat(R126i.w) + 0.5); -PS1i = R8i.x; -// 22 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.w = tempi.x; -R9i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R125i.w)); -PS0i = R9i.y; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R9i.z) * intBitsToFloat(R9i.x)); -PS0i = R126i.x; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(R9i.w) + intBitsToFloat(R9i.y)); -PS1i = R127i.w; -// 2 -backupReg0i = R126i.x; -R126i.x = ((R0i.x == 0)?(PS1i):(PS1i)); -R0i.y = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(backupReg0i)); -R9i.x = floatBitsToInt(intBitsToFloat(R8i.y) + 0.5); -PS0i = R9i.x; -// 3 -backupReg0i = R0i.w; -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R125i.x = ((R0i.x == 0)?(PV0i.z):(R1i.w)); -PS1i = R125i.x; -// 4 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -R0i.x = ((R4i.x == 0)?(R126i.x):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R126i.w):(R126i.w)); -PV0i.y = R123i.y; -R127i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((backupReg0i == 0)?(PV1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R9i.y = floatBitsToInt(intBitsToFloat(R8i.w) + 0.5); -PS0i = R9i.y; -// 5 -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z))); -R5i.y = ((R4i.x == 0)?(PV0i.y):(0x3f800000)); -R10i.z = ((R4i.x == 0)?(R125i.x):(0x3f800000)); -R0i.w = ((R4i.x == 0)?(PV0i.w):(0x3f800000)); -R1i.x = 0; -PS1i = R1i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = floatBitsToInt(intBitsToFloat(R11i.y) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS0i = R8i.y; -// 7 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R125i.w = floatBitsToInt(tempResultf); -PS1i = R125i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PS1i)); -PS0i = R126i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R127i.y = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(R125i.w)); -PS1i = R127i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R125i.w)); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PS0i),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS1i)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R2i.z = 0; -PV0i.z = R2i.z; -R1i.w = 0; -PV0i.w = R1i.w; -R6i.x = ((R127i.z == 0)?(R1i.x):(R127i.w)); -PS0i = R6i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -PV1i.x = R127i.x; -R6i.y = ((R127i.z == 0)?(R8i.y):(R126i.w)); -R6i.z = ((R127i.z == 0)?(PV0i.z):(backupReg0i)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -R6i.w = ((R127i.z == 0)?(PV0i.w):(R124i.x)); -PS1i = R6i.w; -// 14 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R2i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(uf_remappedVS[14].y))); -R8i.z = R1i.y; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(R0i.z))); -PV0i.w = R123i.w; -R8i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS0i = R8i.y; -// 15 -backupReg0i = R9i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R4i.w)); -R123i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(R2i.y))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -R9i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS1i = R9i.y; -// 16 -R123i.x = ((R1i.z == 0)?(PV1i.y):(0x3f800000)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R8i.w = R5i.x; -PS0i = R8i.w; -// 17 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) * intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV0i.y)); -R0i.z = PV0i.x; -R0i.z = clampFI32(R0i.z); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.w = R123i.w; -R9i.z = floatBitsToInt(intBitsToFloat(R10i.x) * intBitsToFloat(0x3c800000)); -PS1i = R9i.z; -// 18 -R2i.z = floatBitsToInt(intBitsToFloat(R3i.z) * intBitsToFloat(PV1i.w)); -R9i.w = 0x3f800000; -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R2i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R4i.z)); -PS0i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R5i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -R0i.x = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R5i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R10i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R4i.y) * intBitsToFloat(R4i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R12i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].y)); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(intBitsToFloat(R12i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(PS1i)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -PS0i = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[21].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].w)); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.y))); -} -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem3 = vec4(intBitsToFloat(R8i.x), intBitsToFloat(R8i.y), intBitsToFloat(R8i.z), intBitsToFloat(R8i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/dfacd3f8f448aeaa_0000000000000000_vs.txt b/Source/XenobladeX/dfacd3f8f448aeaa_0000000000000000_vs.txt deleted file mode 100644 index 5a1c2cd8..00000000 --- a/Source/XenobladeX/dfacd3f8f448aeaa_0000000000000000_vs.txt +++ /dev/null @@ -1,1278 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader dfacd3f8f448aeaa // car lights streaks -uniform ivec4 uf_remappedVS[26]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem7.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R127i.z; -R127i.w = R4i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PV0i.x)); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV0i.z)); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R127i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R126i.y = R5i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R5i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R7i.x)); -R125i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R7i.y)); -R126i.w = R5i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R7i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R7i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y)); -R124i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(backupReg0i)); -PS1i = R124i.y; -// 8 -PV0i.x = R5i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R5i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R5i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R127i.x)); -R126i.y = R5i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV0i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV0i.z)); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R6i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R6i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y)); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R126i.y)); -R4i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PS1i = R4i.y; -// 12 -R126i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R127i.y)); -R9i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(PV1i.x))); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R4i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R7i.x)); -PV1i.x = R4i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R7i.y)); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R0i.x = 0; -PS1i = R0i.x; -// 14 -R5i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R10i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R12i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R10i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R9i.y = 0; -PS0i = R9i.y; -// 15 -R6i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R5i.y = 0x3f800000; -R9i.z = 0; -R5i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R7i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R7i.w; -// 16 -R9i.x = 0x3f800000; -R6i.z = floatBitsToInt(-(intBitsToFloat(R4i.y)) + 1.0); -R8i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R11i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R11i.w; -// 17 -R0i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R10i.z = 0; -PS1i = R10i.z; -// 18 -R5i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R1i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R6i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R4i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R4i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R7i.x = PS0i; -R7i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R4i.y = PS0i; -PS1i = R4i.y; -// 26 -R8i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R8i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R1i.z,R0i.w,R4i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R11i.x = uf_remappedVS[1].z; -PS0i = R11i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.y = uf_remappedVS[4].z; -PS1i = R11i.y; -// 4 -R11i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R1i.x = PV1i.x; -PS0i = R1i.x; -// 9 -R4i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R4i.x; -PV1i.y = R4i.x; -PV1i.z = R4i.x; -PV1i.w = R4i.x; -R1i.y = R127i.y; -PS1i = R1i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.z = tempi.x; -// 12 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R9i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R10i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = R9i.x; -PV0i.y = R9i.x; -PV0i.z = R9i.x; -PV0i.w = R9i.x; -R6i.x = uf_remappedVS[1].x; -PS0i = R6i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R10i.y),intBitsToFloat(R12i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R9i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R9i.z)); -R6i.y = uf_remappedVS[1].y; -R6i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R5i.z; -backupReg1i = R7i.x; -R5i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R9i.z)); -R7i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(backupReg1i) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -backupReg0i = R1i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R6i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R6i.z; -// 2 -R6i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R6i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R5i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R6i.y = 0; -R6i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R5i.y = 0; -R0i.z = 0; -R5i.z = uf_remappedVS[1].x; -PS1i = R5i.z; -// 2 -R7i.z = 0; -// 3 -R10i.z = R8i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R4i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = R4i.x; -PV0i.y = R4i.x; -PV0i.z = R4i.x; -PV0i.w = R4i.x; -R11i.x = R6i.z; -PS0i = R11i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -R11i.y = backupReg1i; -PS1i = R11i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.z = tempi.x; -R11i.z = R5i.z; -PS0i = R11i.z; -// 3 -backupReg0i = R6i.x; -backupReg1i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg1i)); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R5i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R10i.x = R12i.z; -R10i.z = R5i.x; -R5i.x = R5i.z; -PS0i = R5i.x; -// 1 -R5i.y = R1i.y; -R5i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R10i.y):(R5i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R12i.z):(R12i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R5i.x):(R10i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R10i.y; -R10i.x = ((R127i.y == 0)?(PV1i.x):(R5i.x)); -R10i.y = ((R127i.y == 0)?(PV1i.w):(R12i.z)); -R10i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R5i.z):(R5i.z)); -PV0i.w = R123i.w; -R5i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R5i.x; -// 3 -backupReg0i = R5i.y; -R9i.x = ((R127i.y == 0)?(0):(R0i.x)); -R5i.y = ((R127i.y == 0)?(R127i.z):(R5i.z)); -R5i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R9i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R9i.y; -// 4 -backupReg0i = R9i.z; -R9i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R4i.x)); -R126i.y = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R4i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R4i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.z) * 1.0); -R126i.x = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R4i.y)); -PS0i = R126i.x; -// 1 -R127i.x = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R7i.x) + intBitsToFloat(PV0i.x))); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.w))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.z))); -PV1i.z = R127i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R1i.z) * 1.0); -R125i.z = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R4i.x)); -PS1i = R125i.z; -// 2 -R125i.x = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(PV1i.x)); -R124i.y = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.z = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(PV1i.z)); -R125i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R4i.y)); -R124i.x = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(PV1i.y)); -PS0i = R124i.x; -// 3 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg1i = R127i.z; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R9i.w) * intBitsToFloat(backupReg0i)); -R125i.y = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(backupReg0i)); -R127i.z = floatBitsToInt(intBitsToFloat(R9i.w) * intBitsToFloat(R127i.y)); -R126i.w = floatBitsToInt(intBitsToFloat(R9i.w) * intBitsToFloat(backupReg1i)); -R124i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(backupReg1i)); -PS1i = R124i.w; -// 4 -backupReg0i = R127i.y; -backupReg1i = R126i.x; -backupReg2i = R127i.w; -R126i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R7i.x) + intBitsToFloat(R126i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(backupReg0i)); -R0i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R7i.y) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(backupReg2i))); -R124i.z = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R125i.z) + intBitsToFloat(R125i.x))); -PS0i = R124i.z; -// 5 -backupReg0i = R127i.x; -backupReg1i = R126i.z; -backupReg2i = R125i.y; -R127i.x = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R124i.y) + intBitsToFloat(R124i.x))); -R126i.z = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(R125i.w) + intBitsToFloat(R126i.w))); -R126i.w = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R125i.w) + intBitsToFloat(backupReg1i))); -R124i.x = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R125i.z) + intBitsToFloat(backupReg2i))); -PS1i = R124i.x; -// 6 -backupReg0i = R127i.y; -backupReg1i = R124i.z; -R125i.x = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R125i.w) + intBitsToFloat(R124i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -R124i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R126i.x) + intBitsToFloat(backupReg1i))); -R125i.w = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(R124i.y) + intBitsToFloat(R127i.z))); -R7i.z = 0; -PS0i = R7i.z; -// 7 -backupReg0i = R125i.y; -R125i.y = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R0i.z) + intBitsToFloat(R126i.w))); -PV1i.y = R125i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R127i.w) + intBitsToFloat(backupReg0i))); -PV1i.z = R127i.z; -// 8 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R126i.x) + intBitsToFloat(backupReg0i))); -R124i.y = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R0i.z) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R127i.w) + intBitsToFloat(R125i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PV1i.y)); -PS0i = floatBitsToInt(intBitsToFloat(R9i.z) * intBitsToFloat(PV1i.z)); -// 9 -backupReg0i = R126i.x; -backupReg1i = R127i.y; -R126i.x = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R124i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(R0i.z) + intBitsToFloat(R125i.x))); -R125i.z = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(R127i.w) + intBitsToFloat(backupReg1i))); -R127i.w = floatBitsToInt((intBitsToFloat(R5i.z) * intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.w))); -R122i.x = floatBitsToInt((intBitsToFloat(R9i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -R4i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R124i.z),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = R4i.x; -PV0i.y = R4i.x; -PV0i.z = R4i.x; -PV0i.w = R4i.x; -R11i.x = floatBitsToInt((intBitsToFloat(R9i.x) * intBitsToFloat(R124i.z) + intBitsToFloat(PS1i))); -PS0i = R11i.x; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(R126i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -R6i.x = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PS1i = R6i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R125i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.z = tempi.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(R126i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(R9i.z) * intBitsToFloat(R125i.z)); -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R11i.z = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R126i.z)); -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R125i.z)); -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -// 17 -R10i.z = R8i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(-(intBitsToFloat(R10i.z)) + intBitsToFloat(uf_remappedVS[6].x)); -R126i.y = floatBitsToInt(intBitsToFloat(R10i.z) + intBitsToFloat(uf_remappedVS[6].w)); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].y) + -(intBitsToFloat(0x3dcccccd))); -R4i.w = 0x3f800000; -PV0i.w = R4i.w; -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[6].w) + -(intBitsToFloat(0x3dcccccd))); -PS0i = R127i.y; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(PV0i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS1i = R126i.x; -// 2 -R125i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[8].w)) + 1.0); -R0i.y = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R7i.z)) + -(intBitsToFloat(PV1i.x))); -R127i.w = ((intBitsToFloat(R127i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R0i.z = 0; -PS0i = R0i.z; -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[9].z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(R126i.y))); -R123i.w = floatBitsToInt((intBitsToFloat(uf_remappedVS[9].w) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.w = R123i.w; -tempResultf = log2(intBitsToFloat(R8i.y)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -R123i.x = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.w))); -R123i.w = ((intBitsToFloat(PV1i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.w = R123i.w; -R127i.x = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[9].x)); -PS0i = R127i.x; -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.x = R123i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R127i.w)); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV1i.w = R123i.w; -R126i.z = floatBitsToInt(intBitsToFloat(R8i.x) + -(0.5)); -PS1i = R126i.z; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(PV1i.z)); -R126i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e22f983)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e22f983)); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].x) + -(1.0)); -PS0i = floatBitsToInt(exp2(intBitsToFloat(R127i.x))); -// 7 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].y) + -(1.0)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + -(0.0)); -R125i.z = floatBitsToInt(intBitsToFloat(PS0i) + -(0.5)); -R125i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[10].z) + -(1.0)); -R126i.w = floatBitsToInt(sin((intBitsToFloat(PV0i.y))/0.1591549367)); -PS1i = R126i.w; -// 8 -R127i.x = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS1i)); -R125i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].x) + -(intBitsToFloat(uf_remappedVS[11].y))); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[10].w) + 1.0)); -R123i.w = ((intBitsToFloat(PV1i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.w = R123i.w; -R127i.y = floatBitsToInt(sin((intBitsToFloat(R127i.z))/0.1591549367)); -PS0i = R127i.y; -// 9 -R8i.x = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(PV0i.w)); -PV1i.x = R8i.x; -R124i.y = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(PV0i.w)); -PV1i.y = R124i.y; -R124i.z = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV0i.w)); -PV1i.z = R124i.z; -R124i.w = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS0i)); -R124i.x = floatBitsToInt(cos((intBitsToFloat(R127i.z))/0.1591549367)); -PS1i = R124i.x; -// 10 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(R125i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R125i.x)); -R127i.z = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS1i)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R125i.x)); -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.y))/0.1591549367)); -// 11 -R7i.x = floatBitsToInt(intBitsToFloat(R2i.x) + intBitsToFloat(PV0i.x)); -PV1i.x = R7i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(PV0i.w)); -PV1i.y = R5i.y; -R8i.z = floatBitsToInt(intBitsToFloat(R2i.z) + intBitsToFloat(PV0i.y)); -PV1i.z = R8i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS0i)); -R126i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(R125i.z) + intBitsToFloat(R127i.x))); -PS1i = R126i.z; -// 12 -R9i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV0i.x = R9i.x; -PV0i.y = R9i.x; -PV0i.z = R9i.x; -PV0i.w = R9i.x; -R0i.x = floatBitsToInt((-(intBitsToFloat(R127i.y)) * intBitsToFloat(R125i.z) + intBitsToFloat(R127i.z))); -PS0i = R0i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R5i.y),intBitsToFloat(R8i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = tempi.x; -R127i.x = floatBitsToInt((-(intBitsToFloat(R126i.w)) * intBitsToFloat(R125i.z) + intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R5i.y),intBitsToFloat(R8i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(R125i.y)); -PS0i = R1i.w; -// 15 -R4i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[10].w) + 1.0)); -R125i.y = floatBitsToInt(-(intBitsToFloat(PV0i.x)) * intBitsToFloat(0x42800000)); -R4i.z = floatBitsToInt((intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[10].w) + 1.0)); -R0i.w = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(R125i.z) + intBitsToFloat(R124i.w))); -R5i.z = ((intBitsToFloat(uf_remappedVS[11].x) == intBitsToFloat(uf_remappedVS[11].y))?int(0xFFFFFFFF):int(0x0)); -PS1i = R5i.z; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.x = floatBitsToInt(-(intBitsToFloat(R7i.z))); -PS0i = R5i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R124i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3a4ccccd)); -PS1i = R124i.y; -// 18 -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3ab60b61)); -R8i.y = ((intBitsToFloat(uf_remappedVS[11].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R124i.z = floatBitsToInt(intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[8].w)); -PV0i.z = R124i.z; -R125i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R6i.z)); -R10i.x = 0; -PS0i = R10i.x; -// 19 -backupReg0i = R124i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R5i.y),intBitsToFloat(R8i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.y = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(backupReg0i)); -PS1i = R124i.x; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R5i.y),intBitsToFloat(R8i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R124i.z) * intBitsToFloat(R126i.x)); -// 21 -R2i.x = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(R125i.w))); -R2i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R124i.x)); -PV1i.y = R2i.y; -R2i.z = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[14].w) + intBitsToFloat(uf_remappedVS[14].y))); -R2i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PS0i)); -R1i.x = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[14].z) + intBitsToFloat(uf_remappedVS[14].x))); -PS1i = R1i.x; -// 22 -backupReg0i = R0i.y; -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R5i.y),intBitsToFloat(R8i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = R8i.x; -PV0i.y = R8i.x; -PV0i.z = R8i.x; -PV0i.w = R8i.x; -R12i.x = ((backupReg0i == 0)?(PV1i.y):(PV1i.y)); -PS0i = R12i.x; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R5i.y),intBitsToFloat(R8i.z),intBitsToFloat(R4i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.w = tempi.x; -R12i.y = ((backupReg0i == 0)?(R2i.w):(R2i.w)); -PS0i = R12i.y; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(R2i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R0i.w) * intBitsToFloat(uf_remappedVS[17].w) + intBitsToFloat(uf_remappedVS[17].y))); -R12i.z = ((R0i.y == 0)?(R8i.x):(R0i.z)); -R12i.w = ((R0i.y == 0)?(PV0i.x):(PV0i.x)); -R126i.x = floatBitsToInt(intBitsToFloat(R2i.z) + 0.5); -PS1i = R126i.x; -// 2 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R126i.z = floatBitsToInt(tempResultf); -PS0i = R126i.z; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.y = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PS0i)); -PS1i = R124i.x; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.z = tempi.x; -R125i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R126i.z)); -PS0i = R125i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV0i.x),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.z)); -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(PS1i),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[18].x)),-(intBitsToFloat(uf_remappedVS[18].y)),-(intBitsToFloat(uf_remappedVS[18].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 7 -backupReg0i = R0i.x; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -PV1i.y = floatBitsToInt(intBitsToFloat(R124i.z) * intBitsToFloat(PS0i)); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[17].z) + intBitsToFloat(uf_remappedVS[17].x))); -PV1i.z = R123i.z; -R125i.w = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -R125i.y = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -PS1i = R125i.y; -// 8 -R126i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.x = R126i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R127i.y) + 0.5); -PV0i.y = R0i.y; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), -(intBitsToFloat(PV1i.y)))); -R1i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + 0.5); -PS0i = R1i.x; -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(uf_remappedVS[11].y))); -R1i.y = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R123i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[19].y) + intBitsToFloat(R4i.x))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[19].x) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -R1i.z = R125i.w; -PS1i = R1i.z; -// 10 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -R123i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[19].z) + intBitsToFloat(R4i.z))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(R1i.w)); -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R0i.y = floatBitsToInt(intBitsToFloat(R5i.y) + -(intBitsToFloat(uf_remappedVS[11].w))); -PS0i = R0i.y; -// 11 -R123i.x = ((R5i.z == 0)?(PV0i.z):(0x3f800000)); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[19].w) + 1.0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0)); -R0i.w = 0; -R0i.z = 0; -PS1i = R0i.z; -// 12 -backupReg0i = R3i.x; -R123i.x = floatBitsToInt((intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[19].w) + 1.0)); -PV0i.x = R123i.x; -R6i.y = PV1i.x; -R6i.y = clampFI32(R6i.y); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(uf_remappedVS[19].w) + 1.0)); -PV0i.w = R123i.w; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.y)); -PS0i = R3i.x; -// 13 -backupReg0i = R3i.y; -backupReg1i = R3i.z; -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -R3i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PV0i.w)); -R1i.w = R125i.y; -PV1i.w = R1i.w; -R5i.y = R3i.w; -R5i.y = floatBitsToInt(intBitsToFloat(R5i.y) * 2.0); -PS1i = R5i.y; -// 14 -R2i.x = ((R8i.y == 0)?(R10i.x):(R2i.y)); -R2i.y = ((R8i.y == 0)?(R0i.y):(R2i.w)); -R2i.z = ((R8i.y == 0)?(R0i.z):(R5i.x)); -R2i.w = ((R8i.y == 0)?(R0i.w):(R124i.w)); -PS0i = R2i.w; -// 15 -predResult = (intBitsToFloat(uf_remappedVS[6].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(-(intBitsToFloat(R7i.z)) + -(intBitsToFloat(uf_remappedVS[6].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(uf_remappedVS[6].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[6].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[6].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(uf_remappedVS[6].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.y; -R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R7i.z)) + -(intBitsToFloat(uf_remappedVS[20].x))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[20].y)); -R3i.w = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R5i.y)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R127i.x = floatBitsToInt(intBitsToFloat(R9i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(PS1i)); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.z), 0.0)); -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[20].z)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PS0i = floatBitsToInt(intBitsToFloat(uf_remappedVS[22].z) * intBitsToFloat(R127i.z)); -// 5 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[22].y) * intBitsToFloat(R127i.y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -// 6 -PV0i.y = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -R123i.w = floatBitsToInt((intBitsToFloat(uf_remappedVS[22].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R123i.w = clampFI32(R123i.w); -PV0i.w = R123i.w; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[23].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].w)); -tempResultf = log2(intBitsToFloat(PV0i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 8 -PV0i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[24].w)); -R0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[18].w)); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 9 -R127i.y = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[23].y) + intBitsToFloat(uf_remappedVS[25].y))); -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[23].x) + intBitsToFloat(uf_remappedVS[25].x))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R127i.x; -// 10 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[23].z) + intBitsToFloat(uf_remappedVS[25].z))); -PV0i.x = R123i.x; -// 11 -R0i.x = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(R127i.z))); -R0i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(R127i.y))); -R0i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(PV0i.x))); -} -// export -float origRatio = 1.777f; -float newRatio = ; - -gl_Position = vec4(intBitsToFloat(R12i.x)*(origRatio / newRatio), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem3 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/e082c1f638f8e81e_0000000000000000_vs.txt b/Source/XenobladeX/e082c1f638f8e81e_0000000000000000_vs.txt deleted file mode 100644 index f2e7d737..00000000 --- a/Source/XenobladeX/e082c1f638f8e81e_0000000000000000_vs.txt +++ /dev/null @@ -1,1381 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader e082c1f638f8e81e -//mask is probably scaled and fixed transparency -// transport flame, fog and quest marking, waterfall, computer login - -float origRatio = 1.777f; -float newRatio = ; -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R127i.z; -R127i.w = R4i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PV0i.x)); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV0i.z)); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R127i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R126i.y = R5i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R5i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R7i.x)); -R125i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R7i.y)); -R126i.w = R5i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R7i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R6i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y)); -R124i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(backupReg0i)); -PS1i = R124i.y; -// 8 -PV0i.x = R5i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R5i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R5i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R127i.x)); -R126i.y = R5i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PV0i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV0i.z)); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y)); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R126i.y)); -R4i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PS1i = R4i.y; -// 12 -R126i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R127i.y)); -R11i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(PV1i.x))); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R7i.x)); -PV1i.x = R0i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R7i.y)); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R7i.x = 0; -PS1i = R7i.x; -// 14 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R13i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R13i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R12i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R11i.y = 0; -PS0i = R11i.y; -// 15 -R4i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R7i.y = 0x3f800000; -R11i.z = 0; -R5i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R7i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R7i.w; -// 16 -R11i.x = 0x3f800000; -R0i.z = floatBitsToInt(-(intBitsToFloat(R4i.y)) + 1.0); -R10i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R13i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R12i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R4i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R4i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R5i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R6i.x = PS0i; -R6i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R5i.y = PS0i; -PS1i = R5i.y; -// 26 -R10i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R10i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R4i.z,R0i.w,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R11i.x = uf_remappedVS[1].z; -PS0i = R11i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.y = uf_remappedVS[4].z; -PS1i = R11i.y; -// 4 -R11i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R13i.x; -PV1i.y = R13i.x; -PV1i.z = R13i.x; -PV1i.w = R13i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R13i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.z = tempi.x; -// 12 -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R5i.x; -PV0i.y = R5i.x; -PV0i.z = R5i.x; -PV0i.w = R5i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R4i.x = uf_remappedVS[1].x; -PS0i = R4i.x; -// 1 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R11i.z)); -R4i.y = uf_remappedVS[1].y; -R4i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -backupReg1i = R6i.x; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R11i.z)); -R6i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(backupReg1i) + intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R4i.z; -// 2 -R4i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R4i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R4i.y = 0; -R4i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R12i.y = 0; -R0i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R6i.z = 0; -// 3 -R7i.z = R10i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -R11i.x = R4i.z; -PS0i = R11i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -R11i.y = backupReg1i; -PS1i = R11i.y; -// 2 -backupReg0i = R13i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R13i.z = tempi.x; -R11i.z = R12i.z; -PS0i = R11i.z; -// 3 -backupReg0i = R0i.z; -R5i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = R5i.x; -PV1i.y = R5i.x; -PV1i.z = R5i.x; -PV1i.w = R5i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R12i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R13i.x = R13i.z; -R13i.z = R0i.x; -R12i.x = R12i.z; -PS0i = R12i.x; -// 1 -R12i.y = R1i.y; -R12i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R0i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R13i.z):(R13i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R0i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(R0i.x)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R13i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R12i.z):(R12i.z)); -PV0i.w = R123i.w; -R12i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R12i.x; -// 3 -R11i.x = ((R127i.y == 0)?(0):(R7i.x)); -R12i.y = ((R127i.y == 0)?(R127i.z):(R12i.z)); -R12i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R11i.y = ((R127i.y == 0)?(0):(R7i.y)); -PS1i = R11i.y; -// 4 -backupReg0i = R11i.z; -R11i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R5i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R5i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R5i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R5i.y)); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R4i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R6i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R125i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R5i.x)); -PS1i = R125i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R5i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.z)); -R126i.x = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R0i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R6i.x) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R6i.y) + intBitsToFloat(backupReg1i))); -PV1i.w = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R125i.z)); -PS1i = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R126i.w)); -// 4 -backupReg0i = R126i.z; -R127i.x = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R125i.w) + intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R125i.x)); -R126i.z = floatBitsToInt((intBitsToFloat(R4i.x) * intBitsToFloat(R125i.w) + intBitsToFloat(R127i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(R4i.x) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 5 -backupReg0i = R126i.x; -backupReg1i = R0i.z; -R126i.x = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(R125i.z)); -R123i.y = floatBitsToInt((intBitsToFloat(R4i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(R126i.w)); -R126i.w = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -R125i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.w))); -PS1i = R125i.y; -// 6 -backupReg0i = R126i.y; -R5i.x = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.y) + intBitsToFloat(PV1i.y))); -PV0i.y = R126i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R7i.w) * intBitsToFloat(R125i.x)); -R123i.w = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -R6i.z = 0; -PS0i = R6i.z; -// 7 -backupReg0i = R125i.w; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R127i.z) + intBitsToFloat(PV0i.w))); -R126i.z = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(PV0i.y)); -R125i.w = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(backupReg1i))); -PS1i = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(PV0i.y)); -// 8 -R6i.x = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R127i.x))); -R124i.y = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R127i.z) + intBitsToFloat(R127i.w))); -R127i.z = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R127i.y) + intBitsToFloat(R126i.w))); -R4i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS1i))); -PS0i = R4i.x; -// 9 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.y),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.w))); -PS1i = R7i.x; -// 10 -backupReg0i = R127i.y; -backupReg1i = R126i.x; -backupReg2i = R126i.z; -R126i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[6].y)); -R127i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[6].z)); -R126i.z = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(backupReg1i))); -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[6].x)); -R0i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg2i))); -PS0i = R0i.x; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(R127i.z)); -PS1i = R127i.x; -// 12 -backupReg0i = R0i.y; -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R126i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R124i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.w))); -PS0i = R124i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -PV1i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R126i.z)); -R123i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.x))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R127i.z)); -// 14 -R13i.x = floatBitsToInt((intBitsToFloat(R125i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.x))); -R13i.y = floatBitsToInt((intBitsToFloat(R125i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV1i.w))); -R13i.z = floatBitsToInt((intBitsToFloat(R125i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV1i.z))); -R126i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R0i.y) + intBitsToFloat(PV1i.y))); -R125i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R124i.y) + intBitsToFloat(PS1i))); -PS0i = R125i.x; -// 15 -PV1i.x = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(R126i.z)); -R123i.w = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(R4i.x))); -PV1i.w = R123i.w; -// 16 -R123i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(R0i.x))); -PV0i.x = R123i.x; -R124i.y = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[6].y)); -R126i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[6].z)); -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[6].x)); -R124i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(R0i.y) + intBitsToFloat(PV1i.x))); -PS0i = R124i.x; -// 17 -R123i.x = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].z)); -R125i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].y)); -// 18 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R126i.z))); -R123i.y = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R124i.y))); -// 19 -backupReg0i = R124i.x; -backupReg1i = R127i.z; -R124i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R127i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(R7i.x) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R125i.w))); -R125i.w = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -// 20 -R11i.x = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R126i.z))); -R11i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R127i.w))); -R123i.z = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R7i.x) + intBitsToFloat(R126i.w))); -PV0i.z = R123i.z; -R11i.z = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R125i.x))); -PS0i = R11i.z; -// 21 -R5i.x = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.x))); -R5i.y = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R127i.z))); -R5i.z = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R125i.w))); -// 22 -R7i.z = R10i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -R1i.w = 0; -PS0i = R1i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R10i.z = R3i.w; -R10i.z = floatBitsToInt(intBitsToFloat(R10i.z) * 2.0); -PS1i = R10i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R4i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R4i.x; -// 3 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R124i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -PV1i.y = R124i.y; -R126i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.w = floatBitsToInt((intBitsToFloat(R10i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R10i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + intBitsToFloat(PV1i.z)); -R126i.y = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.z = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(PV1i.y))); -R125i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.y; -// 7 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -R123i.z = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R127i.z)); -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.z; -// 9 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.x = R126i.x; -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.x; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + -(0.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R2i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R127i.w = floatBitsToInt(sin((intBitsToFloat(PV1i.x))/0.1591549367)); -PS0i = R127i.w; -// 11 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R0i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R4i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R10i.y = floatBitsToInt(sin((intBitsToFloat(R126i.y))/0.1591549367)); -PS1i = R10i.y; -// 12 -backupReg0i = R126i.y; -R10i.x = floatBitsToInt(intBitsToFloat(R13i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R10i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R13i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R13i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R124i.x = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -PS0i = R124i.x; -// 13 -backupReg0i = R125i.y; -backupReg0i = R125i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R125i.y)); -R125i.y = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(backupReg0i)); -PS1i = floatBitsToInt(cos((intBitsToFloat(R126i.x))/0.1591549367)); -// 14 -R2i.xyz = floatBitsToInt(vec3(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(R126i.z)) + vec3(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.w))); -PV0i.x = R2i.x; -PV0i.y = R2i.y; -PV0i.z = R2i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R122i.x = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(R1i.y) + intBitsToFloat(R127i.x))); -PS0i = R122i.x; -// 15 -backupReg0i = R0i.w; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R1i.x; -PV1i.y = R1i.x; -PV1i.z = R1i.x; -PV1i.w = R1i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(PS0i) + intBitsToFloat(R9i.y))); -PS1i = R125i.x; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -R127i.x = floatBitsToInt((-(intBitsToFloat(R127i.w)) * intBitsToFloat(R1i.y) + intBitsToFloat(R126i.w))); -PS0i = R127i.x; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -R4i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS1i = R4i.y; -// 18 -backupReg0i = R1i.y; -R123i.x = floatBitsToInt((-(intBitsToFloat(R10i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(R125i.y))); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(R127i.x) + intBitsToFloat(R9i.x))); -R126i.z = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.w))); -R125i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R1i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -PS0i = R1i.z; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = floatBitsToInt((intBitsToFloat(R8i.z) * intBitsToFloat(PV0i.x) + intBitsToFloat(R8i.x))); -PS1i = R125i.y; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R127i.w; -// 21 -backupReg0i = R8i.y; -R8i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R8i.y = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.y = R8i.y; -R9i.z = floatBitsToInt(intBitsToFloat(R125i.x) + 0.5); -R9i.w = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R126i.z) + intBitsToFloat(backupReg0i))); -R7i.x = floatBitsToInt(intBitsToFloat(R125i.y) + 0.5); -PS1i = R7i.x; -// 22 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.w = tempi.x; -R8i.z = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R127i.w)); -PS0i = R8i.z; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = tempi.x; -R125i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(R8i.x)); -PS0i = R125i.x; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(R8i.w) + intBitsToFloat(R8i.z)); -PS1i = R125i.w; -// 2 -backupReg0i = R125i.x; -R125i.x = ((R0i.x == 0)?(PS1i):(PS1i)); -R127i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R126i.w = floatBitsToInt(intBitsToFloat(R1i.y) + 0.5); -R1i.y = floatBitsToInt(intBitsToFloat(R9i.w) + 0.5); -PS0i = R1i.y; -// 3 -backupReg0i = R0i.w; -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R127i.x = ((R0i.x == 0)?(PV0i.z):(R1i.w)); -PS1i = R127i.x; -// 4 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -R0i.x = ((R4i.x == 0)?(R125i.x):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R127i.y):(R127i.y)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(-(intBitsToFloat(R9i.z)) + 1.0); -R123i.w = ((backupReg0i == 0)?(PV1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R124i.y = floatBitsToInt(-(intBitsToFloat(R6i.z))); -PS0i = R124i.y; -// 5 -backupReg0i = R2i.y; -R2i.x = 0; -R8i.y = ((R4i.x == 0)?(PV0i.y):(0x3f800000)); -R8i.z = ((R4i.x == 0)?(R127i.x):(0x3f800000)); -R0i.w = ((R4i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R2i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.z = 0; -PS0i = R2i.z; -// 7 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS1i = R127i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = tempi.x; -R125i.x = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PS1i)); -PS0i = R125i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R126i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R127i.w)); -PS1i = R126i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R127i.w)); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(PS0i),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -backupReg0i = R2i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS1i)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R1i.w = 0; -R2i.x = ((R1i.z == 0)?(backupReg0i):(R125i.w)); -PS0i = R2i.x; -// 13 -backupReg0i = R2i.z; -backupReg1i = R2i.y; -PV1i.y = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -R2i.z = ((R1i.z == 0)?(backupReg0i):(R124i.y)); -R125i.w = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -PV1i.w = R125i.w; -R2i.y = ((R1i.z == 0)?(backupReg1i):(R127i.y)); -PS1i = R2i.y; -// 14 -backupReg0i = R0i.z; -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R2i.w))); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(uf_remappedVS[14].y))); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -R2i.w = ((R1i.z == 0)?(R1i.w):(R124i.x)); -PS0i = R2i.w; -// 15 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -R123i.z = floatBitsToInt((intBitsToFloat(R125i.w) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(backupReg0i))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R4i.y)); -R7i.z = R126i.w; -PS1i = R7i.z; -// 16 -R123i.x = ((R4i.z == 0)?(PV1i.w):(0x3f800000)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R7i.w = R127i.z; -PS0i = R7i.w; -// 17 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.z)); -R3i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PV0i.y)); -R0i.z = PV0i.x; -R0i.z = clampFI32(R0i.z); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.w = R123i.w; -// 18 -backupReg0i = R3i.z; -R3i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.w)); -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R6i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R10i.z; -R10i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R3i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R10i.z)); -PS0i = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R6i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.w; -R0i.x = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R8i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R8i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(R6i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R1i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].y)); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(PS1i)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -PS0i = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[21].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].w)); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.y))); -} - -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R2i.x)*(origRatio / newRatio), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); //mask!? -// export -passParameterSem3 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/e99ed318f647e1cf_0000000000000000_vs.txt b/Source/XenobladeX/e99ed318f647e1cf_0000000000000000_vs.txt deleted file mode 100644 index 4aad5519..00000000 --- a/Source/XenobladeX/e99ed318f647e1cf_0000000000000000_vs.txt +++ /dev/null @@ -1,1394 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader e99ed318f647e1cf // skell lights opening -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R15i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xy = attrDataSem3.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R126i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R126i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R126i.z; -R126i.w = R5i.z; -R127i.z = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.z; -// 1 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -R127i.w = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PV0i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(PV0i.z)); -PS1i = R127i.x; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(fract(intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R126i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(R127i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R126i.x)) + intBitsToFloat(R127i.w)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3e22f983)); -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R127i.x; -// 4 -backupReg0i = R127i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R126i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R125i.x = R6i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 5 -R124i.x = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R8i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R8i.x)); -R126i.z = R6i.z; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.z) * 2.0); -R127i.w = R6i.y; -R127i.w = floatBitsToInt(intBitsToFloat(R127i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R8i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R124i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R124i.y; -// 7 -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R126i.w)); -R0i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R8i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R126i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R125i.x)); -R127i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R127i.w)); -PS1i = R127i.x; -// 8 -R126i.x = R6i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.x) * 2.0); -PV0i.y = R6i.z; -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -PV0i.z = R6i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.z)); -R125i.x = R6i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R125i.x) * 2.0); -PS0i = R125i.x; -// 9 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R126i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(backupReg0i)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg1i)); -R0i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PV0i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV0i.y)); -PS1i = R127i.z; -// 10 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R8i.z),0.0))); -PV0i.x = R0i.x; -PV0i.y = R0i.x; -PV0i.z = R0i.x; -PV0i.w = R0i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R126i.y; -R126i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(backupReg0i)); -R126i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R125i.x)); -R124i.x = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R125i.x)); -PS1i = R124i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R125i.x)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.x)); -R1i.z = 0; -PS0i = R1i.z; -// 13 -R5i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R8i.x)); -PV1i.x = R5i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R6i.w = floatBitsToInt(-(intBitsToFloat(PV0i.y)) + 1.0); -R14i.x = 0; -PS1i = R14i.x; -// 14 -R5i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R13i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R126i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R1i.z) + intBitsToFloat(R126i.y)); -R8i.w = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.x))); -R12i.y = 0; -PS0i = R12i.y; -// 15 -R12i.x = 0x3f800000; -R7i.y = 0x3f800000; -R12i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R124i.x)); -PS1i = R12i.w; -// 16 -R1i.z = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R125i.z)); -R4i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R125i.z))); -R13i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -PS0i = R13i.w; -// 17 -R4i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R13i.z = 0; -PS1i = R13i.z; -// 18 -R7i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R126i.x = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R125i.y))/0.1591549367)); -// 22 -R8i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS1i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(R125i.y))/0.1591549367)); -// 23 -R0i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(PS0i)); -R6i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R124i.y))/0.1591549367)); -PS1i = R127i.w; -// 24 -R8i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R124i.y))/0.1591549367)); -// 25 -R6i.x = PS0i; -R5i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R11i.z = floatBitsToInt(sqrt(intBitsToFloat(R0i.x))); -PS0i = R11i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R12i.x = uf_remappedVS[1].z; -PS0i = R12i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.y = uf_remappedVS[4].z; -PS1i = R12i.y; -// 4 -R12i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(R5i.x) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -// 12 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 14 -backupReg0i = R7i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R13i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -R0i.x = uf_remappedVS[1].x; -PS0i = R0i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R6i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R13i.y),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R12i.z)); -R0i.y = uf_remappedVS[1].y; -R0i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R5i.y; -R5i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -R15i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R12i.z)); -R13i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(PS1i))); -PS0i = R13i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R0i.z; -// 2 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R15i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R15i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R15i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R15i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R0i.y = 0; -R0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R5i.y = 0x3f800000; -PS0i = R5i.y; -// 1 -R15i.y = 0; -R5i.z = 0; -R15i.z = uf_remappedVS[1].x; -PS1i = R15i.z; -// 2 -R8i.z = 0; -// 3 -R13i.z = R11i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -R12i.x = backupReg1i; -PS0i = R12i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -R12i.y = R5i.z; -PS1i = R12i.y; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R15i.x),intBitsToFloat(R15i.y),intBitsToFloat(R15i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -R12i.z = R15i.z; -PS0i = R12i.z; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R8i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R5i.z)); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R8i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R15i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R8i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R15i.x),intBitsToFloat(R15i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R13i.x = R14i.z; -R13i.z = R5i.x; -R7i.x = R7i.z; -PS0i = R7i.x; -// 1 -R7i.y = R1i.y; -R7i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R13i.y):(R5i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R5i.x):(R13i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R13i.y; -R13i.x = ((R127i.y == 0)?(PV1i.x):(R5i.x)); -R13i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R13i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R7i.z):(R7i.z)); -PV0i.w = R123i.w; -R7i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R7i.x; -// 3 -backupReg0i = R7i.y; -R12i.x = ((R127i.y == 0)?(0):(R14i.x)); -R7i.y = ((R127i.y == 0)?(R127i.z):(R7i.z)); -R7i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R12i.y = ((R127i.y == 0)?(0):(backupReg0i)); -PS1i = R12i.y; -// 4 -backupReg0i = R12i.z; -R12i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(R8i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R8i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R6i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(R6i.y)); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R6i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R5i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R8i.x)); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.z)); -R126i.x = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(PV1i.x)); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R6i.x) + intBitsToFloat(backupReg0i))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R5i.y) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R126i.w)); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -R126i.x = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(R125i.x)); -R126i.z = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(R1i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R8i.z = 0; -PS0i = R8i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R11i.w) * intBitsToFloat(backupReg0i)); -R126i.w = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -PS1i = R125i.z; -// 6 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R0i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.z))); -R126i.z = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -// 7 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg1i))); -// 8 -backupReg0i = R125i.z; -backupReg1i = R127i.y; -R124i.x = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PV1i.y)); -R125i.z = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R126i.z)); -// 9 -backupReg0i = R124i.z; -backupReg1i = R125i.y; -R0i.x = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R127i.x) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((intBitsToFloat(R12i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R126i.w))); -R124i.z = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R0i.w = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.z))); -R122i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.y),intBitsToFloat(R126i.y),intBitsToFloat(R126i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS1i = R126i.w; -// 12 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(R126i.z) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[6].z)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R125i.w = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].x)); -R126i.y = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].y)); -PS0i = R126i.y; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R13i.y),intBitsToFloat(R13i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R126i.w))); -PS1i = R125i.x; -// 14 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(R124i.y) + intBitsToFloat(backupReg0i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(R124i.x)); -R123i.z = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R125i.z)); -// 15 -R6i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R125i.x))); -R6i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -R6i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PV0i.y))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(backupReg0i) + intBitsToFloat(PV1i.w))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(R125i.z) + intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[6].z)); -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS0i = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[6].y)); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.w))); -R124i.y = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV0i.w))); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -R125i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.y))); -R126i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 18 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R124i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R125i.z))); -PS0i = R127i.y; -// 19 -backupReg0i = R0i.x; -backupReg1i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.z),intBitsToFloat(R0i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -PS1i = R127i.w; -// 20 -R12i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R127i.x))); -R12i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R125i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.y))); -R7i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R124i.y))); -PS0i = R7i.x; -// 21 -R7i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R126i.x))); -R7i.z = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.w))); -// 22 -R13i.z = R11i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -R1i.w = 0; -PS0i = R1i.w; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R4i.z = R3i.w; -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 2.0); -PS1i = R4i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.w))); -PV1i.x = R125i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.z))); -PV1i.y = R125i.y; -R124i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.y))); -PV1i.z = R124i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.w; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R13i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R8i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(intBitsToFloat(R13i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.y)); -R126i.y = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.w))); -R126i.w = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R125i.z; -// 7 -R0i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.w))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R126i.y)); -R123i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R126i.w)); -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.z; -// 9 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.z = R126i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -R127i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.x; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + -(0.0)); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R2i.w = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R126i.y = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -PS0i = R126i.y; -// 11 -R124i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R2i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R1i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.x; -// 12 -R11i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R11i.x; -R124i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R124i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.x))/0.1591549367)); -PS0i = R127i.w; -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R125i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R125i.z)); -R126i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R125i.z)); -R125i.z = floatBitsToInt(cos((intBitsToFloat(R126i.x))/0.1591549367)); -PS1i = R125i.z; -// 14 -R2i.x = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(PV1i.y)); -PV0i.x = R2i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(PV1i.x)); -PV0i.y = R11i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R2i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R125i.x = floatBitsToInt((-(intBitsToFloat(R126i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(R126i.w))); -PS0i = R125i.x; -// 15 -backupReg0i = R0i.w; -R8i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R8i.x; -PV1i.y = R8i.x; -PV1i.z = R8i.x; -PV1i.w = R8i.x; -R126i.x = floatBitsToInt((-(intBitsToFloat(R127i.w)) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.w))); -PS1i = R126i.x; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -R4i.w = floatBitsToInt(1.0 / intBitsToFloat(R127i.y)); -PS0i = R4i.w; -// 17 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -R122i.x = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(R124i.x))); -PS1i = R122i.x; -// 18 -backupReg0i = R1i.x; -backupReg1i = R1i.y; -backupReg2i = R126i.z; -backupReg1i = R1i.y; -R1i.x = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(PS1i) + intBitsToFloat(R9i.y))); -R1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + 0.5); -R126i.z = floatBitsToInt((intBitsToFloat(R125i.z) * intBitsToFloat(backupReg1i) + intBitsToFloat(backupReg2i))); -R127i.w = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R6i.x = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + 0.5); -PS0i = R6i.x; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(R125i.x) + intBitsToFloat(R9i.x))); -PS1i = R126i.w; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R125i.w; -// 21 -backupReg0i = R10i.x; -R10i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R9i.y = floatBitsToInt((intBitsToFloat(R10i.z) * intBitsToFloat(R126i.x) + intBitsToFloat(backupReg0i))); -R10i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.z = R10i.z; -R9i.w = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(R126i.z) + intBitsToFloat(R10i.y))); -R9i.x = floatBitsToInt(intBitsToFloat(R126i.w) + 0.5); -PS1i = R9i.x; -// 22 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.w = tempi.x; -R10i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R125i.w)); -PS0i = R10i.y; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R10i.z) * intBitsToFloat(R10i.x)); -PS0i = R126i.x; -// 1 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(R10i.w) + intBitsToFloat(R10i.y)); -PS1i = R127i.w; -// 2 -backupReg0i = R126i.x; -R126i.x = ((R0i.x == 0)?(PS1i):(PS1i)); -R8i.y = floatBitsToInt(intBitsToFloat(R1i.x) + 0.5); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(backupReg0i)); -R10i.x = floatBitsToInt(intBitsToFloat(R9i.y) + 0.5); -PS0i = R10i.x; -// 3 -backupReg0i = R0i.w; -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R11i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -R125i.x = ((R0i.x == 0)?(PV0i.z):(R1i.w)); -PS1i = R125i.x; -// 4 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -R0i.x = ((R5i.x == 0)?(R126i.x):(0x3f800000)); -R123i.y = ((backupReg0i == 0)?(R126i.w):(R126i.w)); -PV0i.y = R123i.y; -R127i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((backupReg0i == 0)?(PV1i.x):(PV1i.x)); -PV0i.w = R123i.w; -R6i.y = floatBitsToInt(intBitsToFloat(R9i.w) + 0.5); -PS0i = R6i.y; -// 5 -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z))); -R0i.y = ((R5i.x == 0)?(PV0i.y):(0x3f800000)); -R6i.z = ((R5i.x == 0)?(R125i.x):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV0i.w):(0x3f800000)); -R1i.x = 0; -PS1i = R1i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R9i.y = floatBitsToInt(intBitsToFloat(R11i.y) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS0i = R9i.y; -// 7 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R125i.w = floatBitsToInt(tempResultf); -PS1i = R125i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R124i.y = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R7i.x) * intBitsToFloat(PS1i)); -PS0i = R126i.x; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R127i.y = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(R125i.w)); -PS1i = R127i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R124i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R125i.w)); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PS0i),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(PS1i)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -R2i.z = 0; -PV0i.z = R2i.z; -R1i.w = 0; -PV0i.w = R1i.w; -R7i.x = ((R127i.z == 0)?(R1i.x):(R127i.w)); -PS0i = R7i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(max(intBitsToFloat(PV0i.y), 0.0)); -PV1i.x = R127i.x; -R7i.y = ((R127i.z == 0)?(R9i.y):(R126i.w)); -R7i.z = ((R127i.z == 0)?(PV0i.z):(backupReg0i)); -PV1i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(intBitsToFloat(PV0i.x)))); -R7i.w = ((R127i.z == 0)?(PV0i.w):(R124i.x)); -PS1i = R7i.w; -// 14 -R123i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R2i.w))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(uf_remappedVS[14].y))); -R9i.z = R1i.y; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(R0i.z))); -PV0i.w = R123i.w; -R9i.y = floatBitsToInt(-(intBitsToFloat(R8i.y)) + 1.0); -PS0i = R9i.y; -// 15 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(R4i.w)); -R123i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(R2i.y))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(1.0)); -R10i.y = floatBitsToInt(-(intBitsToFloat(R6i.y)) + 1.0); -PS1i = R10i.y; -// 16 -R123i.x = ((R1i.z == 0)?(PV1i.y):(0x3f800000)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R9i.w = R6i.x; -PS0i = R9i.w; -// 17 -R2i.x = floatBitsToInt(intBitsToFloat(R3i.x) * intBitsToFloat(PV0i.z)); -R2i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV0i.y)); -R0i.z = PV0i.x; -R0i.z = clampFI32(R0i.z); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.w = R123i.w; -R10i.z = R4i.x; -PS1i = R10i.z; -// 18 -R2i.z = floatBitsToInt(intBitsToFloat(R3i.z) * intBitsToFloat(PV1i.w)); -R10i.w = R4i.y; -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R2i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R4i.z)); -PS0i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R5i.z)); -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R0i.w; -R0i.x = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(backupReg1i):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R6i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg2i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R5i.y) * intBitsToFloat(R5i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R8i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].y)); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PS1i)); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -PS0i = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -// 7 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[23].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[21].w)); -PV1i.y = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[19].w)); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.y))); -} -// export - -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) - -gl_Position = vec4(intBitsToFloat(R0i.x)*(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem3 = vec4(intBitsToFloat(R9i.x), intBitsToFloat(R9i.y), intBitsToFloat(R9i.z), intBitsToFloat(R9i.w)); -// export -// skipped export to semanticId 255 -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/ec248df3384d3d18_0000000000000000_vs.txt b/Source/XenobladeX/ec248df3384d3d18_0000000000000000_vs.txt deleted file mode 100644 index 75a3eecb..00000000 --- a/Source/XenobladeX/ec248df3384d3d18_0000000000000000_vs.txt +++ /dev/null @@ -1,1340 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader ec248df3384d3d18 -//run dust and shadows intro -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem9; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 4) out vec4 passParameterSem4; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem4; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem6.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem3.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem7; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R4i.x), -(intBitsToFloat(R4i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R6i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R4i.y), -(intBitsToFloat(R4i.y)))); -PV0i.z = R127i.z; -R127i.w = R4i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R6i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(PV0i.x))); -R123i.y = floatBitsToInt((intBitsToFloat(R6i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(PV0i.z))); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R127i.w))); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R4i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(backupReg1i))); -R126i.y = R5i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R5i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(R7i.x))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R7i.y))); -R126i.w = R5i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R7i.z))); -PS1i = R125i.w; -// 6 -PV0i.x = R7i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R7i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R6i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R6i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R126i.y))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(backupReg0i))); -PS1i = R124i.y; -// 8 -PV0i.x = R5i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R5i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R5i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R127i.x))); -R126i.y = R5i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R4i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R4i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R4i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PV0i.x))); -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(PV0i.z))); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(R126i.y))); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.z))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.w)) + intBitsToFloat(R4i.y))); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R126i.y))); -R4i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -PS1i = R4i.y; -// 12 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R126i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R127i.y))); -R10i.w = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(PV1i.x))); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R7i.x))); -PV1i.x = R4i.x; -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R7i.y))); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R0i.x = 0; -PS1i = R0i.x; -// 14 -R6i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R12i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R12i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R11i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R10i.y = 0; -PS0i = R10i.y; -// 15 -R4i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R5i.y = 0x3f800000; -R10i.z = 0; -R5i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R7i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R7i.w; -// 16 -R10i.x = 0x3f800000; -R0i.z = floatBitsToInt(-(intBitsToFloat(R4i.y)) + 1.0); -R9i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R12i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R12i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R11i.z = 0; -PS1i = R11i.z; -// 18 -R7i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R4i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R4i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS1i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i))); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R7i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -R4i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R7i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R5i.x = PS0i; -R4i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R9i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R9i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R6i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R4i.z,R0i.w,R5i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R10i.x = uf_remappedVS[1].z; -PS0i = R10i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = uf_remappedVS[4].z; -PS1i = R10i.y; -// 4 -R10i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), intBitsToFloat(PV1i.y))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.x), -(intBitsToFloat(PV1i.x)))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 9 -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R12i.x; -PV1i.y = R12i.x; -PV1i.z = R12i.x; -PV1i.w = R12i.x; -R4i.y = R127i.y; -PS1i = R4i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R12i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R12i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.z = tempi.x; -// 12 -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R7i.x; -PV0i.y = R7i.x; -PV0i.z = R7i.x; -PV0i.w = R7i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 14 -backupReg0i = R7i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R6i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R11i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R4i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = R11i.x; -PV0i.y = R11i.x; -PV0i.z = R11i.x; -PV0i.w = R11i.x; -R0i.x = uf_remappedVS[1].x; -PS0i = R0i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R6i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R10i.z))); -R0i.y = uf_remappedVS[1].y; -R0i.z = uf_remappedVS[1].z; -// 3 -backupReg0i = R4i.y; -R4i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R5i.x; -R5i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R10i.z))); -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(PS1i))); -PS0i = R6i.x; -// 5 -backupReg0i = R6i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(backupReg0i),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[1].y))); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R0i.z; -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[1].y))); -// 3 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[4].y))); -R4i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[4].y))); -// 5 -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].w), intBitsToFloat(uf_remappedVS[5].y))); -// 6 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].w), intBitsToFloat(uf_remappedVS[5].y))); -// 7 -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R127i.x)) + intBitsToFloat(R126i.y))); -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R127i.w))); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(R126i.w)) + intBitsToFloat(R126i.x))); -PS0i = R5i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R6i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R0i.y = 0; -R0i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R4i.y = 0x3f800000; -PS0i = R4i.y; -// 1 -R5i.y = 0; -R4i.z = 0; -R5i.z = uf_remappedVS[1].x; -PS1i = R5i.z; -// 2 -R6i.z = 0; -// 3 -R11i.z = R9i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R7i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = R12i.x; -PV0i.y = R12i.x; -PV0i.z = R12i.x; -PV0i.w = R12i.x; -R10i.x = backupReg1i; -PS0i = R10i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R7i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.y = tempi.x; -R10i.y = R4i.z; -PS1i = R10i.y; -// 2 -backupReg0i = R12i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R7i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R12i.z = tempi.x; -R10i.z = R5i.z; -PS0i = R10i.z; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.z; -R7i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = R7i.x; -PV1i.y = R7i.x; -PV1i.z = R7i.x; -PV1i.w = R7i.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R4i.z))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.y = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R5i.z))); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R6i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R12i.x = R12i.z; -R12i.z = R6i.x; -R11i.x = R7i.z; -PS0i = R11i.x; -// 1 -R11i.y = R1i.y; -R11i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R6i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R12i.y):(R6i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R12i.z):(R12i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R6i.x):(R12i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R12i.y; -R12i.x = ((R127i.y == 0)?(PV1i.x):(R6i.x)); -R12i.y = ((R127i.y == 0)?(PV1i.w):(R12i.z)); -R12i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R7i.z):(R7i.z)); -PV0i.w = R123i.w; -R11i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R11i.x; -// 3 -R10i.x = ((R127i.y == 0)?(0):(R0i.x)); -R11i.y = ((R127i.y == 0)?(R127i.z):(R7i.z)); -R11i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R10i.y = ((R127i.y == 0)?(0):(R5i.y)); -PS1i = R10i.y; -// 4 -backupReg0i = R10i.z; -R10i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(R7i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R7i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R6i.y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R6i.y))); -PS0i = R127i.z; -// 1 -R125i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R125i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R4i.z) * 1.0); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(R4i.y)) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R7i.x))); -PS1i = R125i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.w), intBitsToFloat(R6i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.w))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PV1i.x))); -PS0i = R126i.x; -// 3 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R5i.x)) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt((intBitsToFloat(R4i.w) * 0.0 + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(R4i.y)) + intBitsToFloat(backupReg1i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R125i.z))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R126i.w))); -// 4 -backupReg0i = R126i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R125i.w)) + intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R125i.w)) + intBitsToFloat(R127i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R126i.y)) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.z),intBitsToFloat(R126i.y)) + intBitsToFloat(PS1i))); -PS0i = R127i.w; -// 5 -backupReg0i = R126i.x; -backupReg1i = R0i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R125i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R124i.x)) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R126i.w))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.y))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.w))); -PS1i = R125i.y; -// 6 -backupReg0i = R126i.y; -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.y))); -PV0i.y = R126i.y; -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R125i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -R6i.z = 0; -PS0i = R6i.z; -// 7 -backupReg0i = R125i.w; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.z))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.w))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(PV0i.y))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(backupReg1i))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(PV0i.y))); -// 8 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(R0i.x)) + intBitsToFloat(R127i.x))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(R127i.z)) + intBitsToFloat(R127i.w))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(R126i.w))); -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(PS1i))); -PS0i = R4i.x; -// 9 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.y),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(R125i.w))); -PS1i = R7i.x; -// 10 -backupReg0i = R127i.y; -backupReg1i = R126i.x; -backupReg2i = R126i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[6].y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[6].z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.w),intBitsToFloat(backupReg0i)) + intBitsToFloat(backupReg1i))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[6].x))); -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg2i))); -PS0i = R0i.x; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = tempi.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R127i.z))); -PS1i = R127i.x; -// 12 -backupReg0i = R0i.y; -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(R7i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R126i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R125i.w))); -PS0i = R124i.x; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R124i.y)) + intBitsToFloat(backupReg0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R126i.z))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R127i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R126i.x))); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R11i.z), intBitsToFloat(R127i.z))); -// 14 -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R124i.x))); -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV1i.w))); -R12i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV1i.z))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R0i.y)) + intBitsToFloat(PV1i.y))); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R124i.y)) + intBitsToFloat(PS1i))); -PS0i = R125i.x; -// 15 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R126i.z))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R4i.x))); -PV1i.w = R123i.w; -// 16 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R0i.x))); -PV0i.x = R123i.x; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedVS[6].y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedVS[6].z))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_remappedVS[6].x))); -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(R0i.y)) + intBitsToFloat(PV1i.x))); -PS0i = R124i.x; -// 17 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].x))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].z))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_remappedVS[6].y))); -// 18 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(R126i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.x),intBitsToFloat(R6i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R124i.y))); -// 19 -backupReg0i = R124i.x; -backupReg1i = R127i.z; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(R127i.y))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(R125i.w))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(backupReg1i))); -// 20 -R10i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R126i.z))); -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R127i.w))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(R126i.w))); -PV0i.z = R123i.z; -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R125i.x))); -PS0i = R10i.z; -// 21 -R7i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(R124i.x))); -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(R127i.z))); -R7i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(R125i.w))); -// 22 -R11i.z = R9i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -R4i.z = R3i.w; -R4i.z = floatBitsToInt(intBitsToFloat(R4i.z) * 2.0); -PS0i = R4i.z; -// 1 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].y)) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].x)) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].w)) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(uf_remappedVS[6].z)) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R0i.x = ((0.0 >= intBitsToFloat(PS0i))?int(0xFFFFFFFF):int(0x0)); -PS1i = R0i.x; -// 2 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].w)) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.y),intBitsToFloat(uf_remappedVS[7].z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R9i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R122i.x; -// 3 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].x)) + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].y)) + intBitsToFloat(PV0i.x))); -PV1i.y = R125i.y; -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].z)) + intBitsToFloat(PV0i.w))); -PV1i.z = R124i.z; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(uf_remappedVS[8].w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R0i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(PS0i))); -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R6i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.w = floatBitsToInt(-(intBitsToFloat(R11i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(PV1i.y))); -R126i.y = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(PV1i.w)); -R127i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R126i.w; -// 7 -R2i.x = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(0x3e22f983)); -PV1i.z = R127i.z; -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R126i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS1i = R126i.z; -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.y))); -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -R125i.z = floatBitsToInt(sin((intBitsToFloat(PV1i.z))/0.1591549367)); -PS0i = R125i.z; -// 9 -backupReg0i = R127i.z; -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS0i))); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(PV0i.x)); -R127i.x = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -PS1i = R127i.x; -// 10 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.w)) + -(0.0)); -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedVS[13].w)) + 1.0)); -R0i.z = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -PS0i = R0i.z; -// 11 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R1i.y)) + intBitsToFloat(R127i.z))); -PV1i.x = R123i.x; -R123i.y = ((intBitsToFloat(PV0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.y = R123i.y; -R1i.z = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -R5i.x = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -PS1i = R5i.x; -// 12 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PV1i.y))); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(PV1i.y))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.z), intBitsToFloat(PV1i.y))); -PV0i.z = R127i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R8i.x))); -PV0i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(R8i.y))); -PS0i = R122i.x; -// 13 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R126i.w))); -R0i.y = floatBitsToInt(intBitsToFloat(PS0i) + 0.5); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R126i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(R126i.w))); -R6i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + 0.5); -PS1i = R6i.x; -// 14 -R1i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.x)); -PV0i.x = R1i.x; -R1i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(PV1i.z)); -PV0i.y = R1i.y; -R8i.z = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(PV1i.w)); -PV0i.z = R8i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R7i.z) * intBitsToFloat(R7i.z)); -R11i.x = 0; -PS0i = R11i.x; -// 15 -backupReg0i = R0i.w; -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R12i.x; -PV1i.y = R12i.x; -PV1i.z = R12i.x; -PV1i.w = R12i.x; -R122i.x = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w))); -PS1i = R122i.x; -// 16 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.y = tempi.x; -R125i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(R7i.x) + intBitsToFloat(PS1i))); -PS0i = R125i.y; -// 17 -backupReg0i = R0i.w; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.z = tempi.x; -R6i.y = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + 1.0); -PS1i = R6i.y; -// 18 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(uf_remappedVS[2].z))); -R5i.y = floatBitsToInt(intBitsToFloat(R1i.y) + -(intBitsToFloat(uf_remappedVS[14].w))); -R124i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R125i.y)); -R8i.w = floatBitsToInt(tempResultf); -PS0i = R8i.w; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(uf_remappedVS[2].y)) + intBitsToFloat(PV0i.x))); -PS1i = R126i.x; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R127i.z; -// 21 -R8i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(uf_remappedVS[12].w))); -PV1i.y = R8i.y; -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(uf_remappedVS[2].x)) + intBitsToFloat(R126i.x))); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.x), intBitsToFloat(R8i.w))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(R8i.w))); -PS1i = R0i.y; -// 22 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.y = tempi.x; -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(R127i.z))); -PS0i = R1i.w; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = tempi.x; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(R8i.x))); -PS0i = R127i.z; -// 1 -backupReg0i = R0i.w; -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R8i.w))); -PS1i = R124i.z; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R8i.z),intBitsToFloat(R0i.w)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.w = tempi.x; -R7i.x = floatBitsToInt(intBitsToFloat(R2i.y) + intBitsToFloat(R1i.w)); -PS0i = R7i.x; -// 3 -R123i.x = ((R2i.x == 0)?(PS0i):(PS0i)); -PV1i.x = R123i.x; -R7i.y = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.z)); -PV1i.y = R7i.y; -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(uf_remappedVS[0].z))); -PV1i.z = R6i.z; -R126i.w = ((R2i.x == 0)?(PV0i.x):(PV0i.x)); -R7i.z = 0; -PS1i = R7i.z; -// 4 -R123i.x = ((R2i.x == 0)?(PV1i.z):(PS1i)); -PV0i.x = R123i.x; -R123i.y = ((R2i.x == 0)?(PV1i.y):(PV1i.y)); -PV0i.y = R123i.y; -R7i.z = floatBitsToInt(-(intBitsToFloat(R5i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(uf_remappedVS[3].z))); -R1i.x = ((R0i.x == 0)?(PV1i.x):(0x3f800000)); -PS0i = R1i.x; -// 5 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.y),intBitsToFloat(uf_remappedVS[3].y)) + intBitsToFloat(PV0i.w))); -PV1i.x = R123i.x; -R1i.y = ((R0i.x == 0)?(PV0i.y):(0x3f800000)); -R6i.z = ((R0i.x == 0)?(PV0i.x):(0x3f800000)); -R0i.w = ((R0i.x == 0)?(R126i.w):(0x3f800000)); -R8i.z = 0; -PS1i = R8i.z; -// 6 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(uf_remappedVS[10].z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R10i.x),intBitsToFloat(uf_remappedVS[3].x)) + intBitsToFloat(PV1i.x))); -R1i.w = 0; -// 7 -backupReg0i = R124i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(PV0i.x),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), -(intBitsToFloat(uf_remappedVS[19].z)))); -// 8 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.z),intBitsToFloat(R126i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R2i.z),intBitsToFloat(R126i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),-(intBitsToFloat(uf_remappedVS[19].y))) + intBitsToFloat(PS1i))); -PS0i = R122i.x; -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),-(intBitsToFloat(uf_remappedVS[19].x))) + intBitsToFloat(PS0i))/2.0); -PV1i.x = R123i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.5); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS1i))); -R2i.x = ((R5i.x == 0)?(R11i.x):(R7i.x)); -PS0i = R2i.x; -// 11 -R2i.y = ((R5i.x == 0)?(R5i.y):(R7i.y)); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.y), -(intBitsToFloat(PV0i.y)))); -R126i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0)); -PV1i.w = R126i.w; -R2i.z = ((R5i.x == 0)?(R8i.z):(R7i.z)); -PS1i = R2i.z; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[20].x)) + intBitsToFloat(R9i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[20].y)) + intBitsToFloat(R4i.x))); -PV0i.y = R123i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(uf_remappedVS[14].y))); -R2i.w = ((R5i.x == 0)?(R1i.w):(R7i.w)); -PS0i = R2i.w; -// 13 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(R0i.z)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(uf_remappedVS[20].z)) + intBitsToFloat(R4i.w))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0)); -// 14 -R123i.x = ((R1i.z == 0)?(PV1i.x):(0x3f800000)); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -// 15 -backupReg0i = R3i.x; -backupReg1i = R3i.y; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.z))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PV0i.y))); -R0i.z = PV0i.x; -R0i.z = clampFI32(R0i.z); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedVS[20].w)) + 1.0)); -PV1i.w = R123i.w; -// 16 -backupReg0i = R3i.z; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.w))); -// 17 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R5i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R4i.z; -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.x))); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R5i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R4i.z))); -PS0i = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R5i.z)); -// 1 -backupReg0i = R0i.w; -R0i.x = ((PV0i.x == 0)?(R1i.x):(0x3f800000)); -R0i.y = ((PV0i.x == 0)?(R1i.y):(0x3f800000)); -R0i.z = ((PV0i.x == 0)?(R6i.z):(0x3f800000)); -R0i.w = ((PV0i.x == 0)?(backupReg0i):(0x3f800000)); -R122i.x = floatBitsToInt((intBitsToFloat(R4i.y) * intBitsToFloat(R4i.y) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 2 -R123i.z = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R12i.x) + intBitsToFloat(PS1i))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].y))); -// 3 -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), 0.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 4 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(PS1i))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -// 6 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(uf_remappedVS[21].z))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].z), intBitsToFloat(R127i.z))); -// 7 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(R126i.y)) + intBitsToFloat(PS0i))); -PV1i.x = R123i.x; -PV1i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -PS1i = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV1i.x))); -R123i.x = clampFI32(R123i.x); -PV0i.x = R123i.x; -PV0i.z = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -tempResultf = log2(intBitsToFloat(PV1i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedVS[21].w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_remappedVS[24].w))); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS1i), intBitsToFloat(uf_remappedVS[25].w))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_remappedVS[19].w))); -R127i.x = floatBitsToInt(exp2(intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 11 -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].y)) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(uf_remappedVS[24].x)) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.y = floatBitsToInt(exp2(intBitsToFloat(PV0i.z))); -PS1i = R126i.y; -// 12 -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(uf_remappedVS[24].z)) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.y = R123i.y; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].x)) + intBitsToFloat(R127i.w))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].y)) + intBitsToFloat(R127i.z))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedVS[25].z)) + intBitsToFloat(PV0i.y))); -} -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(intBitsToFloat(R0i.x) *(origRatio / newRatio), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R2i.x) *(origRatio / newRatio), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R7i.x) *(origRatio / newRatio), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.z)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/ed70de7fe7542f87_00000000000003c9_ps.txt b/Source/XenobladeX/ed70de7fe7542f87_00000000000003c9_ps.txt deleted file mode 100644 index 12c070b9..00000000 --- a/Source/XenobladeX/ed70de7fe7542f87_00000000000003c9_ps.txt +++ /dev/null @@ -1,283 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader ed70de7fe7542f87 -//motion blur sample spread scaling -const float resScale = ; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4e12000 res 320x180x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(location = 0) in vec4 passParameterSem0; -layout(location = 1) in vec4 passParameterSem1; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R15i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem0); -R1i = floatBitsToInt(passParameterSem1); -if( activeMaskStackC[1] == true ) { -R12i.xyzw = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.y) + -(0.5)); -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -PV0i.y = floatBitsToInt(intBitsToFloat(R12i.x) + -(0.5)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV0i.y) * 2.0); -R0i.z = ((0.0 >= intBitsToFloat(R12i.z))?int(0xFFFFFFFF):int(0x0)); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0xbd4ccccd)/resScale); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(0x3d4ccccd)/resScale); -// 2 -R12i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.w), intBitsToFloat(PV1i.z))); -// 3 -predResult = (R0i.z == 0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R1i.x = floatBitsToInt(intBitsToFloat(R0i.x) + -(intBitsToFloat(R12i.x))); -PV0i.x = R1i.x; -R1i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R12i.y))); -PV0i.y = R1i.y; -// 1 -R2i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV0i.x)); -PV1i.x = R2i.x; -R2i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.y)); -PV1i.y = R2i.y; -// 2 -R3i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV1i.x)); -PV0i.x = R3i.x; -R3i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV1i.y)); -PV0i.y = R3i.y; -// 3 -R4i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV0i.x)); -PV1i.x = R4i.x; -R4i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.y)); -PV1i.y = R4i.y; -// 4 -R5i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV1i.x)); -PV0i.x = R5i.x; -R5i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV1i.y)); -PV0i.y = R5i.y; -// 5 -R6i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV0i.x)); -PV1i.x = R6i.x; -R6i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.y)); -PV1i.y = R6i.y; -// 6 -R7i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV1i.x)); -PV0i.x = R7i.x; -R7i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV1i.y)); -PV0i.y = R7i.y; -// 7 -R15i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV0i.x)); -PV1i.x = R15i.x; -R15i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.y)); -PV1i.y = R15i.y; -// 8 -R11i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV1i.x)); -PV0i.x = R11i.x; -R11i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV1i.y)); -PV0i.y = R11i.y; -// 9 -R10i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV0i.x)); -PV1i.x = R10i.x; -R10i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.y)); -PV1i.y = R10i.y; -// 10 -R9i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV1i.x)); -PV0i.x = R9i.x; -R9i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV1i.y)); -PV0i.y = R9i.y; -// 11 -R8i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV0i.x)); -PV1i.x = R8i.x; -R8i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.y)); -PV1i.y = R8i.y; -// 12 -R14i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV1i.x)); -PV0i.x = R14i.x; -R14i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV1i.y)); -PV0i.y = R14i.y; -// 13 -R13i.x = floatBitsToInt(-(intBitsToFloat(R12i.x)) + intBitsToFloat(PV0i.x)); -PV1i.x = R13i.x; -R13i.y = floatBitsToInt(-(intBitsToFloat(R12i.y)) + intBitsToFloat(PV0i.y)); -PV1i.y = R13i.y; -// 14 -backupReg0i = R12i.x; -backupReg1i = R12i.y; -R12i.x = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(PV1i.x)); -R12i.y = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.y)); -} -if( activeMaskStackC[2] == true ) { -R1i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R1i.xy)).xyz); -R0i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.xy)).xyz); -R2i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R2i.xy)).xyz); -R3i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R3i.xy)).xyz); -R4i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R4i.xy)).xyz); -R5i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R5i.xy)).xyz); -R6i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R6i.xy)).xyz); -R7i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R7i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -backupReg0i = R0i.y; -backupReg1i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R1i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg1i) + intBitsToFloat(R1i.x)); -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R2i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R2i.y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R2i.x)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R3i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R3i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R3i.y)); -// 3 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R4i.y)); -R4i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R4i.z)); -} -if( activeMaskStackC[2] == true ) { -R3i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R15i.xy)).xyz); -R2i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R11i.xy)).xyz); -R0i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R10i.xy)).xyz); -R1i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R9i.xy)).xyz); -R8i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R8i.xy)).xyz); -R9i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R14i.xy)).xyz); -R10i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R13i.xy)).xyz); -R11i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R12i.xy)).xyz); -} -if( activeMaskStackC[2] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R5i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R5i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(R5i.x)); -// 1 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R6i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R6i.y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R6i.x)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R7i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R7i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R7i.y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R3i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R3i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R3i.z)); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R2i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R2i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R2i.x)); -// 5 -backupReg0i = R0i.y; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R0i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R0i.x)); -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R1i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R1i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R1i.y)); -// 7 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R8i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R8i.x)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R8i.z)); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R9i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R9i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R9i.x)); -// 9 -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R10i.z)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R10i.y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R10i.x)); -// 10 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R11i.x)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R11i.z)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(R11i.y)); -// 11 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3d800000)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3d800000)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3d800000)); -// 12 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), 0.0)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(PV1i.y), 0.0)); -// 13 -R0i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), intBitsToFloat(0x41000000))); -R0i.y = floatBitsToInt(min(intBitsToFloat(PV0i.y), intBitsToFloat(0x41000000))); -R0i.z = floatBitsToInt(min(intBitsToFloat(PV0i.x), intBitsToFloat(0x41000000))); -R0i.w = R12i.z; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -// 0 -R0i.xyz = ivec3(0,0,0); -R0i.w = 0; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -} diff --git a/Source/XenobladeX/eec2c2cee7a1d42f_0000000000000000_vs.txt b/Source/XenobladeX/eec2c2cee7a1d42f_0000000000000000_vs.txt deleted file mode 100644 index 5199e465..00000000 --- a/Source/XenobladeX/eec2c2cee7a1d42f_0000000000000000_vs.txt +++ /dev/null @@ -1,1407 +0,0 @@ - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_shading_language_packing : enable -// shader eec2c2cee7a1d42f -//waterfall splashes cutscene, rain *dumped* -uniform ivec4 uf_remappedVS[27]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem3; -layout(location = 4) in uvec4 attrDataSem4; -layout(location = 5) in uvec4 attrDataSem5; -layout(location = 6) in uvec4 attrDataSem6; -layout(location = 7) in uvec4 attrDataSem7; -layout(location = 8) in uvec4 attrDataSem8; -layout(location = 9) in uvec4 attrDataSem9; -layout(location = 10) in uvec4 attrDataSem10; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 3) out vec4 passParameterSem4; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[5]; -bool activeMaskStackC[6]; -activeMaskStack[0] = false; -activeMaskStack[1] = false; -activeMaskStack[2] = false; -activeMaskStack[3] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStackC[2] = false; -activeMaskStackC[3] = false; -activeMaskStackC[4] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xy = attrDataSem0.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R1i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder = attrDataSem1; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem5; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem6; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R7i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyz = attrDataSem7.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R8i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder.xyz = attrDataSem4.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), floatBitsToInt(1.0)); -attrDecoder = attrDataSem8; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R9i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder = attrDataSem9; -attrDecoder = (attrDecoder>>24)|((attrDecoder>>8)&0xFF00)|((attrDecoder<<8)&0xFF0000)|((attrDecoder<<24)); -R10i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem10.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R11i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem2.xyzw)/255.0); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem3.xyzw)/255.0); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R125i.x = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -PV0i.x = R125i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R7i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PV0i.y = R123i.y; -R127i.z = floatBitsToInt(max(intBitsToFloat(R5i.y), -(intBitsToFloat(R5i.y)))); -PV0i.z = R127i.z; -R127i.w = R5i.z; -R127i.y = floatBitsToInt((intBitsToFloat(R7i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 1 -R127i.x = floatBitsToInt(intBitsToFloat(R8i.x) * intBitsToFloat(PV0i.x)); -R123i.y = floatBitsToInt((intBitsToFloat(R7i.z) * intBitsToFloat(0x3e22f983) + 0.5)); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[0].x) + -(0.5)); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.y))); -R126i.x = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(PV0i.z)); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R127i.w)); -R124i.w = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R124i.w; -// 3 -PV1i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.w)); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R127i.z)) + intBitsToFloat(R126i.x)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R125i.x)) + intBitsToFloat(R127i.x)); -R5i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -R126i.z = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PS1i = R126i.z; -// 4 -backupReg0i = R127i.y; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.y = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -R127i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(backupReg1i))); -R126i.y = R6i.x; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 5 -R127i.x = R6i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.x) * 2.0); -R125i.y = floatBitsToInt(intBitsToFloat(R5i.x) * intBitsToFloat(R8i.x)); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(R8i.y)); -R126i.w = R6i.y; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -R125i.w = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(R8i.z)); -PS1i = R125i.w; -// 6 -PV0i.x = R8i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) / 2.0); -R0i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(0x3e22f983)); -PV0i.z = 0; -PV0i.w = R8i.y; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); -R126i.z = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(0x3e22f983)); -PS0i = R126i.z; -// 7 -backupReg0i = R126i.w; -R0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R127i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(R127i.y)); -R11i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R125i.x)); -R126i.w = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.y)); -R124i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(backupReg0i)); -PS1i = R124i.y; -// 8 -PV0i.x = R6i.y; -PV0i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * 2.0); -R127i.y = R6i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R127i.y) * 2.0); -PV0i.z = R6i.z; -PV0i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * 2.0); -R127i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R127i.x)); -R126i.y = R6i.w; -R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); -PS0i = R126i.y; -// 9 -backupReg0i = R125i.y; -R127i.x = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(R125i.w)); -R125i.y = floatBitsToInt(-(intBitsToFloat(R5i.y)) + intBitsToFloat(R125i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.x)) + intBitsToFloat(backupReg0i)); -R0i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PV0i.x)); -R125i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PV0i.z)); -PS1i = R125i.x; -// 10 -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = R124i.x; -PV0i.y = R124i.x; -PV0i.z = R124i.x; -PV0i.w = R124i.x; -R125i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.x))); -PS0i = R125i.w; -// 11 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(R126i.y)); -R125i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.z))); -R125i.z = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(R124i.w) + intBitsToFloat(R5i.y))); -R124i.w = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.y)); -PS1i = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w)); -// 12 -R126i.x = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R126i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R127i.y)); -R6i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R0i.z = 0; -PS0i = R0i.z; -// 13 -R0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(R8i.x)); -PV1i.x = R0i.x; -R5i.y = floatBitsToInt(intBitsToFloat(R1i.y) * intBitsToFloat(R8i.y)); -PV1i.y = R5i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R127i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R124i.y)); -R13i.x = 0; -PS1i = R13i.x; -// 14 -R0i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R125i.w)); -R7i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R125i.z)); -R14i.z = floatBitsToInt(intBitsToFloat(R0i.z) + intBitsToFloat(R125i.y)); -R8i.w = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + 1.0); -R8i.y = 0; -PS0i = R8i.y; -// 15 -R5i.x = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(R127i.x)); -R5i.y = 0x3f800000; -R8i.z = 0; -R11i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.w))); -R12i.w = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.x)); -PS1i = R12i.w; -// 16 -R8i.x = 0x3f800000; -R0i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R127i.x))); -R4i.w = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R124i.w)); -R13i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.x))); -PS0i = R13i.w; -// 17 -R1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0); -R7i.z = 0; -PS1i = R7i.z; -// 18 -R12i.z = 0; -PS0i = floatBitsToInt(sin((intBitsToFloat(R5i.w))/0.1591549367)); -// 19 -R127i.z = PS0i; -R0i.w = floatBitsToInt(-(intBitsToFloat(PS0i)) * 1.0); -PS1i = floatBitsToInt(cos((intBitsToFloat(R5i.w))/0.1591549367)); -// 20 -R127i.w = PS1i; -R1i.w = floatBitsToInt(intBitsToFloat(PS1i) * 1.0); -PS0i = R1i.w; -// 21 -PS1i = floatBitsToInt(sin((intBitsToFloat(R0i.y))/0.1591549367)); -// 22 -backupReg0i = R0i.y; -R0i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -R5i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS1i)); -R2i.w = floatBitsToInt(-(intBitsToFloat(PS1i)) * 1.0); -PS0i = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -// 23 -R14i.y = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -R6i.z = floatBitsToInt(intBitsToFloat(R127i.w) * intBitsToFloat(PS0i)); -R5i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -R127i.w = floatBitsToInt(sin((intBitsToFloat(R126i.z))/0.1591549367)); -PS1i = R127i.w; -// 24 -R6i.x = PS1i; -PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.z))/0.1591549367)); -// 25 -R14i.x = PS0i; -R13i.y = floatBitsToInt(-(intBitsToFloat(R127i.w))); -R6i.y = PS0i; -PS1i = R6i.y; -// 26 -R13i.z = floatBitsToInt(sqrt(intBitsToFloat(R124i.x))); -PS0i = R13i.z; -// 27 -predResult = (intBitsToFloat(0xc0200000) > intBitsToFloat(R7i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.xyz = ivec3(R5i.z,R0i.w,R6i.z); -PV0i.x = R127i.x; -PV0i.y = R127i.y; -PV0i.z = R127i.z; -R127i.w = 0; -R8i.x = uf_remappedVS[1].z; -PS0i = R8i.x; -// 1 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -// 2 -backupReg0i = R127i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R8i.y = uf_remappedVS[4].z; -PS1i = R8i.y; -// 4 -R8i.z = uf_remappedVS[5].z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 5 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PV1i.y = R127i.y; -// 6 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) * -(intBitsToFloat(PV1i.x))); -PV0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PV1i.y)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * -(intBitsToFloat(PV1i.x))); -// 7 -backupReg0i = R127i.y; -R123i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R1i.y) + intBitsToFloat(PV0i.z))); -R123i.z = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(R7i.y) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -// 8 -R0i.x = PV1i.z; -PV0i.x = R0i.x; -R0i.y = PV1i.w; -PV0i.y = R0i.y; -R5i.x = PV1i.x; -PS0i = R5i.x; -// 9 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV1i.x = R14i.x; -PV1i.y = R14i.x; -PV1i.z = R14i.x; -PV1i.w = R14i.x; -R5i.y = R127i.y; -PS1i = R5i.y; -// 10 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.y = tempi.x; -// 11 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -backupReg2i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.z = tempi.x; -// 12 -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),0.0))); -PV0i.x = R6i.x; -PV0i.y = R6i.x; -PV0i.z = R6i.x; -PV0i.w = R6i.x; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.y = tempi.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R12i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[1] = activeMaskStack[1] == false; -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -if( activeMaskStackC[2] == true ) { -activeMaskStack[2] = activeMaskStack[1]; -activeMaskStackC[3] = activeMaskStackC[2]; -// 0 -predResult = (0.5 > intBitsToFloat(R7i.w)); -activeMaskStack[2] = predResult; -activeMaskStackC[3] = predResult == true && activeMaskStackC[2] == true; -} -else { -activeMaskStack[2] = false; -activeMaskStackC[3] = false; -} -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -R13i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R14i.x),intBitsToFloat(R13i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),0.0))); -PV0i.x = R13i.x; -PV0i.y = R13i.x; -PV0i.z = R13i.x; -PV0i.w = R13i.x; -R5i.x = uf_remappedVS[1].x; -PS0i = R5i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R7i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),intBitsToFloat(R14i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R7i.y = tempi.x; -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R8i.z)); -R5i.y = uf_remappedVS[1].y; -R5i.z = uf_remappedVS[1].z; -// 3 -R0i.xyz = ivec3(uf_remappedVS[4].x,uf_remappedVS[4].y,uf_remappedVS[4].z); -R122i.x = floatBitsToInt((intBitsToFloat(R1i.y) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.x))); -PS1i = R122i.x; -// 4 -backupReg0i = R12i.z; -R12i.xyz = ivec3(uf_remappedVS[5].x,uf_remappedVS[5].y,uf_remappedVS[5].z); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R8i.z)); -R7i.x = floatBitsToInt((intBitsToFloat(R1i.x) * intBitsToFloat(R14i.x) + intBitsToFloat(PS1i))); -PS0i = R7i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(PV0i.w),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R13i.y = tempi.x; -R1i.z = 0; -PS1i = R1i.z; -// 6 -predResult = (intBitsToFloat(0xbfc00000) > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = uf_remappedVS[1].w; -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].z) * 1.0); -R127i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].z) * 1.0); -R126i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].w))); -// 1 -PV1i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[1].y)); -R5i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * 0.0 + intBitsToFloat(PV0i.y))); -PS1i = R5i.z; -// 2 -R5i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.z))); -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[1].y)); -// 3 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[4].y)); -R0i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * 0.0 + intBitsToFloat(R127i.z))); -// 4 -R0i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R127i.x) + intBitsToFloat(PV1i.x))); -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[4].y)); -// 5 -R126i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[4].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 6 -R126i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[1].w) * intBitsToFloat(uf_remappedVS[5].y)); -// 7 -R5i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[1].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[5].z) * 1.0); -// 8 -R12i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R127i.x) + intBitsToFloat(R126i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[4].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R127i.w))); -R12i.z = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * 0.0 + intBitsToFloat(PV1i.w))); -R12i.y = floatBitsToInt((intBitsToFloat(uf_remappedVS[5].x) * intBitsToFloat(R126i.w) + intBitsToFloat(R126i.x))); -PS0i = R12i.y; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -activeMaskStack[4] = activeMaskStack[3]; -activeMaskStackC[5] = activeMaskStackC[4]; -// 0 -predResult = (0.0 > intBitsToFloat(R7i.w)); -activeMaskStack[4] = predResult; -activeMaskStackC[5] = predResult == true && activeMaskStackC[4] == true; -} -else { -activeMaskStack[4] = false; -activeMaskStackC[5] = false; -} -if( activeMaskStackC[5] == true ) { -// 0 -R5i.y = 0; -R5i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[5].x))); -R0i.y = 0x3f800000; -PS0i = R0i.y; -// 1 -R12i.y = 0; -R0i.z = 0; -R12i.z = uf_remappedVS[1].x; -PS1i = R12i.z; -// 2 -R11i.z = 0; -// 3 -R7i.z = R13i.z; -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -R14i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = R14i.x; -PV0i.y = R14i.x; -PV0i.z = R14i.x; -PV0i.w = R14i.x; -R8i.x = R5i.z; -PS0i = R8i.x; -// 1 -backupReg0i = R0i.x; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(R14i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),intBitsToFloat(backupReg1i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = tempi.x; -R8i.y = backupReg1i; -PS1i = R8i.y; -// 2 -backupReg0i = R14i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R13i.x),intBitsToFloat(R7i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(R12i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.z = tempi.x; -R8i.z = R12i.z; -PS0i = R8i.z; -// 3 -backupReg0i = R0i.z; -R6i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R6i.x; -PV1i.y = R6i.x; -PV1i.z = R6i.x; -PV1i.w = R6i.x; -PS1i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(backupReg0i)); -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R0i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R6i.y = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R12i.z)); -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R13i.y),intBitsToFloat(PS0i),-0.0),vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.z = tempi.x; -} -activeMaskStack[2] = activeMaskStack[2] == false; -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -activeMaskStack[3] = activeMaskStack[2]; -activeMaskStackC[4] = activeMaskStackC[3]; -// 0 -predResult = (1.5 > intBitsToFloat(R7i.w)); -activeMaskStack[3] = predResult; -activeMaskStackC[4] = predResult == true && activeMaskStackC[3] == true; -} -else { -activeMaskStack[3] = false; -activeMaskStackC[4] = false; -} -if( activeMaskStackC[4] == true ) { -// 0 -R7i.x = R14i.z; -R7i.z = R0i.x; -R12i.x = R12i.z; -PS0i = R12i.x; -// 1 -R12i.y = R1i.y; -R12i.z = R1i.x; -} -activeMaskStack[3] = activeMaskStack[3] == false; -activeMaskStackC[4] = activeMaskStack[3] == true && activeMaskStackC[3] == true; -if( activeMaskStackC[4] == true ) { -// 0 -R127i.x = ((intBitsToFloat(0x40600000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -PV0i.x = R127i.x; -R127i.y = ((intBitsToFloat(0x40200000) > intBitsToFloat(R7i.w))?int(0xFFFFFFFF):int(0x0)); -// 1 -R123i.x = ((PV0i.x == 0)?(R7i.y):(R0i.x)); -PV1i.x = R123i.x; -R123i.y = ((PV0i.x == 0)?(R14i.z):(R14i.z)); -PV1i.y = R123i.y; -R123i.z = ((PV0i.x == 0)?(R1i.y):(R1i.x)); -PV1i.z = R123i.z; -R123i.w = ((PV0i.x == 0)?(R0i.x):(R7i.y)); -PV1i.w = R123i.w; -R127i.z = ((PV0i.x == 0)?(R1i.x):(R1i.y)); -PS1i = R127i.z; -// 2 -backupReg0i = R7i.y; -R7i.x = ((R127i.y == 0)?(PV1i.x):(R0i.x)); -R7i.y = ((R127i.y == 0)?(PV1i.w):(R14i.z)); -R7i.z = ((R127i.y == 0)?(PV1i.y):(backupReg0i)); -R123i.w = ((R127i.x == 0)?(R12i.z):(R12i.z)); -PV0i.w = R123i.w; -R12i.x = ((R127i.y == 0)?(PV1i.z):(R1i.x)); -PS0i = R12i.x; -// 3 -R8i.x = ((R127i.y == 0)?(0):(R13i.x)); -R12i.y = ((R127i.y == 0)?(R127i.z):(R12i.z)); -R12i.z = ((R127i.y == 0)?(PV0i.w):(R1i.y)); -R8i.y = ((R127i.y == 0)?(0):(R5i.y)); -PS1i = R8i.y; -// 4 -backupReg0i = R8i.z; -R8i.z = ((R127i.y == 0)?(0x3f800000):(backupReg0i)); -} -activeMaskStackC[3] = activeMaskStack[2] == true && activeMaskStackC[2] == true; -if( activeMaskStackC[3] == true ) { -// 0 -backupReg0i = R0i.y; -R127i.x = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(R6i.x)); -PV0i.y = floatBitsToInt(intBitsToFloat(R6i.z) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(R6i.x)); -PV0i.w = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(R6i.y)); -R127i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(R6i.y)); -PS0i = R127i.z; -// 1 -R126i.x = floatBitsToInt((intBitsToFloat(R2i.w) * 0.0 + intBitsToFloat(PV0i.y))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R125i.z = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R14i.x) + intBitsToFloat(PV0i.z))); -PV1i.z = R125i.z; -R126i.w = floatBitsToInt((intBitsToFloat(R2i.w) * intBitsToFloat(R13i.y) + intBitsToFloat(PV0i.w))); -PV1i.w = R126i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.x)); -PS1i = R124i.w; -// 2 -R124i.x = floatBitsToInt((intBitsToFloat(R1i.w) * 0.0 + intBitsToFloat(R0i.w))); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R6i.y)); -R126i.z = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.w)); -R127i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.z)); -R125i.x = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(PV1i.x)); -PS0i = R125i.x; -// 3 -R0i.x = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R14i.x) + intBitsToFloat(R127i.x))); -R125i.y = floatBitsToInt((intBitsToFloat(R5i.w) * 0.0 + intBitsToFloat(R127i.y))); -R124i.z = floatBitsToInt((intBitsToFloat(R5i.w) * intBitsToFloat(R13i.y) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R125i.z)); -R127i.z = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(R126i.w)); -PS1i = R127i.z; -// 4 -backupReg0i = R126i.x; -backupReg1i = R126i.z; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(R125i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(R0i.z) * intBitsToFloat(backupReg0i)); -R126i.z = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R124i.w) + intBitsToFloat(R127i.w))); -R127i.w = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R125i.z = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(backupReg0i)); -PS0i = R125i.z; -// 5 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt(intBitsToFloat(R12i.w) * intBitsToFloat(R126i.w)); -R127i.y = floatBitsToInt((intBitsToFloat(R5i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -R127i.z = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R124i.x) + intBitsToFloat(PV0i.y))); -R126i.w = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R126i.y) + intBitsToFloat(backupReg1i))); -R11i.z = 0; -PS1i = R11i.z; -// 6 -R127i.x = floatBitsToInt((intBitsToFloat(R6i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(R125i.w))); -// 7 -backupReg0i = R126i.y; -backupReg1i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R126i.z))); -R126i.y = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -R126i.z = floatBitsToInt((intBitsToFloat(R13i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(R127i.y))); -PV1i.z = R126i.z; -R127i.w = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(backupReg1i) + intBitsToFloat(R125i.z))); -PS1i = R125i.x; -// 8 -backupReg0i = R127i.z; -R5i.x = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(PV1i.z)); -R127i.z = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R125i.y) + intBitsToFloat(backupReg0i))); -R123i.w = floatBitsToInt((intBitsToFloat(R11i.w) * intBitsToFloat(R124i.w) + intBitsToFloat(R126i.x))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(PV1i.z)); -// 9 -backupReg0i = R125i.y; -R6i.x = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.w))); -R125i.y = floatBitsToInt((intBitsToFloat(R4i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R126i.w))); -R125i.z = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(backupReg0i) + intBitsToFloat(R125i.x))); -R125i.x = floatBitsToInt((intBitsToFloat(R8i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(PS0i))); -PS1i = R125i.x; -// 10 -backupReg0i = R126i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R126i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((intBitsToFloat(R8i.w) * intBitsToFloat(R124i.z) + intBitsToFloat(R127i.w))); -PS0i = R124i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R5i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[6].x)); -PS1i = R127i.w; -// 12 -backupReg0i = R126i.z; -backupReg1i = R125i.x; -R125i.x = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R126i.y) + intBitsToFloat(R127i.y))); -R127i.y = floatBitsToInt(intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[6].z)); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R124i.w = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(R127i.z)); -PS0i = R0i.x; -// 13 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),intBitsToFloat(R125i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R127i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R127i.w))); -PS1i = R127i.x; -// 14 -backupReg0i = R125i.x; -backupReg1i = R127i.y; -R125i.x = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R124i.x) + intBitsToFloat(backupReg0i))); -R127i.y = floatBitsToInt(intBitsToFloat(R8i.y) * intBitsToFloat(R124i.y)); -R123i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(backupReg1i))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.z))); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R127i.z)); -// 15 -R14i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(R127i.x))); -R14i.y = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.w))); -R14i.z = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -R123i.w = floatBitsToInt((intBitsToFloat(R12i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(PS0i))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((intBitsToFloat(R8i.y) * intBitsToFloat(R125i.y) + intBitsToFloat(R0i.x))); -PS1i = R122i.x; -// 16 -backupReg0i = R124i.w; -backupReg0i = R124i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt((intBitsToFloat(R12i.x) * intBitsToFloat(R5i.x) + intBitsToFloat(PV1i.w))); -R127i.z = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(uf_remappedVS[6].y)); -R124i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].x)); -R126i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -PS0i = R126i.x; -// 17 -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg0i = R125i.x; -backupReg1i = R125i.z; -R125i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].x)); -PV1i.y = floatBitsToInt(intBitsToFloat(R12i.z) * intBitsToFloat(R125i.z)); -R125i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].z)); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(uf_remappedVS[6].y)); -R122i.x = floatBitsToInt((intBitsToFloat(R8i.z) * intBitsToFloat(backupReg1i) + intBitsToFloat(R127i.y))); -PS1i = R122i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R12i.x),intBitsToFloat(R12i.y),intBitsToFloat(PV1i.y),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R124i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt((intBitsToFloat(R8i.x) * intBitsToFloat(R6i.x) + intBitsToFloat(PS1i))); -PS0i = R124i.y; -// 19 -R123i.x = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R125i.x))); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R126i.x))); -R123i.z = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(R124i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R127i.z))); -PV1i.w = R123i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(R126i.w))); -PS1i = R127i.x; -// 20 -R8i.x = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV1i.z))); -R8i.y = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV1i.w))); -R123i.w = floatBitsToInt((intBitsToFloat(R125i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(R125i.z))); -PV0i.w = R123i.w; -R6i.x = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV1i.x))); -PS0i = R6i.x; -// 21 -R6i.y = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(R127i.x))); -R8i.z = floatBitsToInt((intBitsToFloat(R124i.y) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(R127i.y))); -R6i.z = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.w))); -PS1i = R6i.z; -// 22 -R7i.z = R13i.z; -} -activeMaskStackC[2] = activeMaskStack[1] == true && activeMaskStackC[1] == true; -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].w) * 1.0); -PV0i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].y) * 1.0); -PV0i.z = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].z) * 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[9].x) * 1.0); -R0i.x = 0; -PS0i = R0i.x; -// 1 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].w) + intBitsToFloat(PV0i.x))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].y) + intBitsToFloat(PV0i.y))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].z) + intBitsToFloat(PV0i.z))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.z) * intBitsToFloat(uf_remappedVS[6].x) + intBitsToFloat(PV0i.w))); -PV1i.w = R123i.w; -R5i.z = R3i.w; -R5i.z = floatBitsToInt(intBitsToFloat(R5i.z) * 2.0); -PS1i = R5i.z; -// 2 -R123i.x = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].w) + intBitsToFloat(PV1i.x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].y) + intBitsToFloat(PV1i.y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].z) + intBitsToFloat(PV1i.z))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(uf_remappedVS[7].x) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R5i.x = ((0.0 >= intBitsToFloat(PS1i))?int(0xFFFFFFFF):int(0x0)); -PS0i = R5i.x; -// 3 -R126i.x = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].x) + intBitsToFloat(PV0i.w))); -PV1i.x = R126i.x; -R125i.y = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].y) + intBitsToFloat(PV0i.y))); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].z) + intBitsToFloat(PV0i.z))); -PV1i.z = R126i.z; -R0i.w = floatBitsToInt((intBitsToFloat(R2i.x) * intBitsToFloat(uf_remappedVS[8].w) + intBitsToFloat(PV0i.x))); -PV1i.w = R0i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R11i.y) * intBitsToFloat(0x3e22f983) + 0.5)); -PS1i = R127i.x; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.w)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R11i.x) * intBitsToFloat(0x3e22f983) + 0.5)); -PS0i = R127i.y; -// 5 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].y) + -(intBitsToFloat(0x3dcccccd))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(-(intBitsToFloat(R7i.z)) + intBitsToFloat(uf_remappedVS[11].x)); -PV1i.w = floatBitsToInt(intBitsToFloat(R7i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PS1i = floatBitsToInt(intBitsToFloat(uf_remappedVS[11].w) + -(intBitsToFloat(0x3dcccccd))); -// 6 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(PV1i.w))); -R127i.z = ((intBitsToFloat(PV1i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.w = ((intBitsToFloat(PS1i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R126i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[12].w)) + 1.0); -PS0i = R126i.y; -// 7 -PV1i.x = floatBitsToInt(fract(intBitsToFloat(R127i.x))); -R2i.y = ((-(1.0) > intBitsToFloat(uf_remappedVS[0].y))?int(0xFFFFFFFF):int(0x0)); -R123i.z = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.z = R123i.z; -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(fract(intBitsToFloat(R127i.y))); -// 8 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(R127i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(R127i.w)); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb)))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].x) + -(1.0)); -PS0i = R127i.w; -// 9 -R127i.x = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983)); -PV1i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].y) + -(1.0)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983)); -PV1i.w = R126i.w; -R127i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[13].z) + -(1.0)); -PS1i = R127i.y; -// 10 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + -(0.0)); -R124i.y = floatBitsToInt(intBitsToFloat(uf_remappedVS[14].x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R0i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R1i.w = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R124i.x = floatBitsToInt(sin((intBitsToFloat(PV1i.w))/0.1591549367)); -PS0i = R124i.x; -// 11 -R125i.x = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -R5i.y = ((intBitsToFloat(uf_remappedVS[14].x) == intBitsToFloat(uf_remappedVS[14].y))?int(0xFFFFFFFF):int(0x0)); -R1i.z = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[13].w) + 1.0)); -R123i.w = ((intBitsToFloat(PV0i.x) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R123i.w; -R127i.y = floatBitsToInt(sin((intBitsToFloat(R127i.x))/0.1591549367)); -PS1i = R127i.y; -// 12 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R14i.x) * intBitsToFloat(PV1i.w)); -PV0i.x = R127i.x; -R11i.y = floatBitsToInt(intBitsToFloat(R14i.y) * intBitsToFloat(PV1i.w)); -PV0i.y = R11i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R14i.z) * intBitsToFloat(PV1i.w)); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R127i.w = floatBitsToInt(cos((intBitsToFloat(backupReg0i))/0.1591549367)); -PS0i = R127i.w; -// 13 -backupReg0i = R126i.y; -backupReg0i = R126i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R126i.y)); -R126i.y = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS0i)); -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.y) * intBitsToFloat(backupReg0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(backupReg0i)); -PS1i = floatBitsToInt(cos((intBitsToFloat(R126i.w))/0.1591549367)); -// 14 -R11i.x = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(PV1i.w)); -PV0i.x = R11i.x; -R0i.y = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(PV1i.z)); -PV0i.y = R0i.y; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.x)); -PV0i.z = R2i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R1i.x) * intBitsToFloat(PS1i)); -R122i.x = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(R1i.y) + intBitsToFloat(R125i.x))); -PS0i = R122i.x; -// 15 -backupReg0i = R0i.w; -R2i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w)))); -PV1i.x = R2i.x; -PV1i.y = R2i.x; -PV1i.z = R2i.x; -PV1i.w = R2i.x; -R126i.x = floatBitsToInt((intBitsToFloat(R10i.w) * intBitsToFloat(PS0i) + intBitsToFloat(R10i.y))); -PS1i = R126i.x; -// 16 -backupReg0i = R0i.w; -backupReg1i = R126i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R0i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.y = tempi.x; -R126i.w = floatBitsToInt((-(intBitsToFloat(R124i.x)) * intBitsToFloat(R1i.y) + intBitsToFloat(backupReg1i))); -PS0i = R126i.w; -// 17 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R11i.z = tempi.x; -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(R124i.y)); -PS1i = R2i.w; -// 18 -backupReg0i = R126i.y; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) * intBitsToFloat(0x42800000)); -R126i.y = floatBitsToInt((intBitsToFloat(R10i.z) * intBitsToFloat(R126i.w) + intBitsToFloat(R10i.x))); -R126i.z = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(R1i.y) + intBitsToFloat(R125i.w))); -R123i.w = floatBitsToInt((-(intBitsToFloat(R127i.y)) * intBitsToFloat(R1i.y) + intBitsToFloat(backupReg0i))); -PV0i.w = R123i.w; -R1i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + 0.5); -PS0i = R1i.y; -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R11i.y),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = floatBitsToInt((intBitsToFloat(R9i.z) * intBitsToFloat(PV0i.w) + intBitsToFloat(R9i.x))); -PS1i = R127i.y; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R11i.y),intBitsToFloat(R127i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3a4ccccd)); -PS0i = R127i.x; -// 21 -backupReg0i = R9i.y; -R9i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ab60b61)); -R9i.y = floatBitsToInt(intBitsToFloat(R126i.x) * intBitsToFloat(uf_remappedVS[12].w)); -PV1i.y = R9i.y; -R9i.z = floatBitsToInt(intBitsToFloat(R126i.y) + 0.5); -R10i.w = floatBitsToInt((intBitsToFloat(R9i.w) * intBitsToFloat(R126i.z) + intBitsToFloat(backupReg0i))); -R7i.x = floatBitsToInt(intBitsToFloat(R127i.y) + 0.5); -PS1i = R7i.x; -// 22 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w)))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -R9i.w = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(R127i.x)); -PS0i = R9i.w; -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -backupReg0i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(R0i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -R126i.z = floatBitsToInt(intBitsToFloat(R9i.y) * intBitsToFloat(R9i.x)); -PS0i = R126i.z; -// 1 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(R9i.w)); -PS1i = R126i.x; -// 2 -backupReg0i = R1i.y; -R127i.x = ((R2i.y == 0)?(PS1i):(PS1i)); -R1i.y = floatBitsToInt(intBitsToFloat(R10i.w) + 0.5); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(uf_remappedVS[0].z)); -R126i.w = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R126i.z)); -R125i.x = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + 1.0); -PS0i = R125i.x; -// 3 -backupReg0i = R0i.y; -backupReg1i = R0i.w; -backupReg2i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R11i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R2i.z),intBitsToFloat(backupReg1i)),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.z = tempi.x; -R127i.y = ((R2i.y == 0)?(PV0i.z):(backupReg2i)); -PS1i = R127i.y; -// 4 -R123i.x = ((R2i.y == 0)?(PV1i.x):(PV1i.x)); -PV0i.x = R123i.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(R11i.z))); -R125i.z = ((intBitsToFloat(uf_remappedVS[14].z) == 0.0)?int(0xFFFFFFFF):int(0x0)); -R123i.w = ((R2i.y == 0)?(R126i.w):(R126i.w)); -PV0i.w = R123i.w; -R0i.x = ((R5i.x == 0)?(R127i.x):(0x3f800000)); -PS0i = R0i.x; -// 5 -backupReg0i = R0i.y; -R1i.x = 0; -R2i.y = ((R5i.x == 0)?(PV0i.w):(0x3f800000)); -R2i.z = ((R5i.x == 0)?(R127i.y):(0x3f800000)); -R0i.w = ((R5i.x == 0)?(PV0i.x):(0x3f800000)); -R0i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(uf_remappedVS[14].w))); -PS1i = R0i.y; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R6i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R7i.z = 0; -PS0i = R7i.z; -// 7 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -R3i.w = 0; -PS1i = R3i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.w)); -R126i.z = floatBitsToInt(tempResultf); -PS0i = R126i.z; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),-0.0),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(R6i.x) * intBitsToFloat(PS0i)); -PS1i = R124i.x; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(intBitsToFloat(R6i.y) * intBitsToFloat(R126i.z)); -PS0i = R127i.y; -// 11 -R6i.x = ((R125i.z == 0)?(R1i.x):(R126i.x)); -R6i.y = ((R125i.z == 0)?(R0i.y):(R126i.w)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(R126i.z)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV1i.z),-0.0),vec4(-(intBitsToFloat(uf_remappedVS[19].x)),-(intBitsToFloat(uf_remappedVS[19].y)),-(intBitsToFloat(uf_remappedVS[19].z)),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) / 2.0); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -// 13 -PV1i.x = floatBitsToInt(max(intBitsToFloat(PS0i), -(intBitsToFloat(PS0i)))); -R7i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + 1.0); -R6i.z = ((R125i.z == 0)?(R7i.z):(R126i.y)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.5); -R6i.w = ((R125i.z == 0)?(R3i.w):(R124i.z)); -PS1i = R6i.w; -// 14 -PV0i.x = floatBitsToInt(max(intBitsToFloat(PV1i.w), 0.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(uf_remappedVS[14].y))); -R7i.w = R125i.x; -R7i.z = R9i.z; -PS0i = R7i.z; -// 15 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].y) + intBitsToFloat(R1i.w))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].x) + intBitsToFloat(R0i.z))); -PV1i.y = R123i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(R2i.w)); -R123i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[20].z) + intBitsToFloat(R1i.z))); -PV1i.w = R123i.w; -// 16 -R123i.x = ((R5i.y == 0)?(PV1i.z):(0x3f800000)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -// 17 -R1i.x = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.x = R1i.x; -R0i.y = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.y = R0i.y; -R0i.z = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(uf_remappedVS[20].w) + 1.0)); -PV1i.z = R0i.z; -R1i.z = PV0i.x; -R1i.z = clampFI32(R1i.z); -PS1i = R1i.z; -// 18 -backupReg0i = R3i.x; -backupReg1i = R3i.z; -R3i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV1i.x)); -R1i.y = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PV1i.y)); -R3i.z = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PV1i.z)); -// 19 -predResult = (intBitsToFloat(uf_remappedVS[11].y) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[11].x))); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].x)) + intBitsToFloat(uf_remappedVS[11].y)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -predResult = (intBitsToFloat(uf_remappedVS[11].w) > 0.0); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) + intBitsToFloat(uf_remappedVS[11].w)); -PV0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[11].z)) + intBitsToFloat(uf_remappedVS[11].w)); -// 1 -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 2 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS1i)); -PV0i.x = clampFI32(PV0i.x); -// 3 -backupReg0i = R5i.z; -R5i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PV0i.x)); -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R11i.z)) + -(intBitsToFloat(uf_remappedVS[21].x))); -R126i.y = floatBitsToInt(intBitsToFloat(R4i.x) * intBitsToFloat(R1i.x)); -R126i.z = floatBitsToInt(intBitsToFloat(R4i.y) * intBitsToFloat(R0i.y)); -PV0i.w = ((0.0 >= intBitsToFloat(uf_remappedVS[0].w))?int(0xFFFFFFFF):int(0x0)); -R127i.w = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R0i.z)); -PS0i = R127i.w; -// 1 -R4i.x = ((PV0i.w == 0)?(R0i.x):(0x3f800000)); -R4i.y = ((PV0i.w == 0)?(R2i.y):(0x3f800000)); -R4i.z = ((PV0i.w == 0)?(R2i.z):(0x3f800000)); -R4i.w = ((PV0i.w == 0)?(R0i.w):(0x3f800000)); -PS1i = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(uf_remappedVS[21].y)); -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R10i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(PS1i), 0.0)); -PS0i = R127i.z; -// 3 -R0i.x = floatBitsToInt(max(intBitsToFloat(R3i.x), 0.0)); -R0i.y = floatBitsToInt(max(intBitsToFloat(R1i.y), 0.0)); -R0i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R5i.z)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 4 -backupReg0i = R127i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R2i.x) * intBitsToFloat(PS1i)); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(intBitsToFloat(R10i.y) * intBitsToFloat(PS1i)); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt(intBitsToFloat(R11i.z) * intBitsToFloat(PS1i)); -PV0i.z = R127i.z; -tempResultf = log2(intBitsToFloat(backupReg0i)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R127i.y = floatBitsToInt(tempResultf); -PS0i = R127i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R0i.z = floatBitsToInt(max(intBitsToFloat(R3i.z), 0.0)); -PS1i = R0i.z; -// 6 -PV0i.x = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(uf_remappedVS[21].z)); -R2i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), 0.0)); -R2i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -PV0i.w = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(intBitsToFloat(PV1i.x)))); -R2i.x = floatBitsToInt(max(intBitsToFloat(R126i.y), 0.0)); -PS0i = R2i.x; -// 7 -PV1i.x = floatBitsToInt(intBitsToFloat(uf_remappedVS[23].z) * intBitsToFloat(R127i.z)); -PV1i.z = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + 1.0); -R127i.z = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R127i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),1.0,0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = log2(intBitsToFloat(PV1i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS0i = floatBitsToInt(tempResultf); -// 9 -PV1i.x = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].w)); -PV1i.y = floatBitsToInt(min(intBitsToFloat(R127i.z), 1.0)); -tempResultf = log2(intBitsToFloat(PV0i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 10 -R127i.x = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(uf_remappedVS[21].w)); -PV0i.y = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(uf_remappedVS[25].w)); -R127i.w = floatBitsToInt(exp2(intBitsToFloat(PV1i.x))); -PS0i = R127i.w; -// 11 -R125i.y = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].y) + intBitsToFloat(uf_remappedVS[26].y))); -R127i.z = floatBitsToInt((intBitsToFloat(PS0i) * intBitsToFloat(uf_remappedVS[24].x) + intBitsToFloat(uf_remappedVS[26].x))); -R126i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.y))); -PS1i = R126i.w; -// 12 -R123i.x = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(uf_remappedVS[24].z) + intBitsToFloat(uf_remappedVS[26].z))); -PV0i.x = R123i.x; -// 13 -R1i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].x) + intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].y) + intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(uf_remappedVS[25].z) + intBitsToFloat(PV0i.x))); -// 14 -R1i.w = floatBitsToInt(intBitsToFloat(R127i.x) * intBitsToFloat(uf_remappedVS[19].w)); -} -// export -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -gl_Position = vec4(intBitsToFloat(R4i.x)*(origRatio / newRatio), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -// skipped export to semanticId 255 -// export -passParameterSem4 = vec4(intBitsToFloat(R7i.x), intBitsToFloat(R7i.y), intBitsToFloat(R7i.z), intBitsToFloat(R7i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -if( activeMaskStackC[1] == true ) { -// 0 -} -} diff --git a/Source/XenobladeX/fa7054d25fd49999_0000000000000000_vs.txt b/Source/XenobladeX/fa7054d25fd49999_0000000000000000_vs.txt deleted file mode 100644 index a7bf4fa5..00000000 --- a/Source/XenobladeX/fa7054d25fd49999_0000000000000000_vs.txt +++ /dev/null @@ -1,121 +0,0 @@ - - - -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader fa7054d25fd49999 -//lock line combat -uniform ivec4 uf_remappedVS[4]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem1.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem0.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -R126f.x = R1f.w * 1.0; -R127f.y = mul_nonIEEE(R1f.y, R1f.w); -R127f.z = mul_nonIEEE(R1f.x, R1f.w); -R127f.w = 1.0; -PV0f.w = R127f.w; -R127f.x = mul_nonIEEE(R1f.z, R1f.w); -PS0f = R127f.x; -// 1 -R0f.x = dot(vec4(R2f.x,R2f.y,R2f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R1f.w = 1.0; -PS1f = R1f.w; -// 2 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R3f.x = R127f.z * intBitsToFloat(0x41200000); -PS0f = R3f.x; -// 3 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.z = tempf.x; -R3f.y = R127f.y * intBitsToFloat(0x41200000); -PS1f = R3f.y; -// 4 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.w = tempf.x; -R3f.z = R127f.x * intBitsToFloat(0x41200000); -PS0f = R3f.z; -// 5 -R3f.w = R126f.x * intBitsToFloat(0x41200000); -float origRatio = 1.777f; -float newRatio = ; -// *(origRatio / newRatio) -// export -gl_Position = vec4(R0f.x*(origRatio / newRatio), R0f.y, R0f.z, R0f.w); -// export -passParameterSem0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem1 = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// 0 -} diff --git a/Source/XenobladeX/fdb5a87dd0368c6b_000000000000f249_ps.txt b/Source/XenobladeX/fdb5a87dd0368c6b_000000000000f249_ps.txt index 0e3b7e77..ff7da166 100644 --- a/Source/XenobladeX/fdb5a87dd0368c6b_000000000000f249_ps.txt +++ b/Source/XenobladeX/fdb5a87dd0368c6b_000000000000f249_ps.txt @@ -1,18 +1,11 @@ - #version 420 #extension GL_ARB_texture_gather : enable // shader fdb5a87dd0368c6b // shadows scaling, ie 4096 = x4 // To do - some nice edge smoothing at higher res -const float resScale = ; -const float resScaleDetail = 2.0; +const float resScale = ($height/$gameHeight); +const float resScaleDetail = ($height/$gameHeight) * 0.75; const float shadowExposure = 0.85; uniform ivec4 uf_remappedPS[23]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4386000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/XenobladeX/patches.txt b/Source/XenobladeX/patches.txt deleted file mode 100644 index c1f80ec8..00000000 --- a/Source/XenobladeX/patches.txt +++ /dev/null @@ -1,76 +0,0 @@ - -[XCXAspectV100U_V101U] -moduleMatches = 2878856811, 0x676EB33E - -# rodata constants -0x1003E754 = .float -_aspectAddr = 0x1003E754 - -# 3d Aspect -0x031608E4 = lis r7, _aspectAddr@ha -0x031608E8 = lfs f13, _aspectAddr@l(r7) - -[XCXAspectV102U] -moduleMatches = 0x30B6E091 - -#rodata constants -0x1003E754 = .float -_aspectAddr = 0x1003E754 - -# 3d Aspect -0x03160A64 = lis r7, _aspectAddr@ha -0x03160A68 = lfs f13, _aspectAddr@l(r7) - -[XCXAspectV100E_V101E] -moduleMatches = 0x218F6E07, 0xF882D5CF - -# rodata constants -0x1003E754 = .float -_aspectAddr = 0x1003E754 - -# 3d Aspect -0x03160AE4 = lis r7, _aspectAddr@ha -0x03160AE8 = lfs f13, _aspectAddr@l(r7) - -[XCXAspectV100J] -moduleMatches = 0x785CA8A9 - -#rodata constants -0x1003E6C4 = .float -_aspectAddr = 0x1003E6C4 - -# 3d Aspect -0x0315687C = lis r7, _aspectAddr@ha -0x03156880 = lfs f13, _aspectAddr@l(r7) - -[XCXAspectV101J] -moduleMatches = 0x8780C48F - -#rodata constants -0x1003E714 = .float -_aspectAddr = 0x1003E714 - -# 3d Aspect -0x0315BBA4 = lis r7, _aspectAddr@ha -0x0315BBA8 = lfs f13, _aspectAddr@l(r7) - -[XCXAspectV102J] -moduleMatches = 0x7672271D - -#rodata constants -0x1003E714 = .float -_aspectAddr = 0x1003E714 - -# 3d Aspect -0x0315BE7C = lis r7, _aspectAddr@ha -0x0315BE80 = lfs f13, _aspectAddr@l(r7) diff --git a/Source/XenobladeX/rules.txt b/Source/XenobladeX/rules.txt index 517b73e5..d899c9a7 100644 --- a/Source/XenobladeX/rules.txt +++ b/Source/XenobladeX/rules.txt @@ -1,215 +1,345 @@ - [Definition] titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Xenoblade Chronicles X - " -version = 2 +name = Resolution +path = "Xenoblade Chronicles X/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 -[TextureRedefine] # increase colour depth, slower but less banding -formats = 0x816 -overwriteFormat = 0x820 +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 -[TextureRedefine] # -formats = 0x810 -overwriteFormat = 0x81e +// Performance -[TextureRedefine] # -formats = 0x806 -overwriteFormat = 0x80e +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 -[TextureRedefine] # -formats = 0x007 -overwriteFormat = 0x00f +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 -formats = 0x19,0x1a -overwriteFormat = 0x1f -tileModesExcluded = 0x001 +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 -[TextureRedefine] # -width = 320 -height = 180 -formats = 0x19 -overwriteFormat = 0x823 +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 -[TextureRedefine] # -width = 320 -height = 180 -formats = 0x1a -overwriteFormat = 0x823 +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 -#[TextureRedefine] #lod override, shimmer and possible sharper textures -#formats = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435 -#overwriteRelativeLodBias = -1 # don't reccomend more than -1 +// Quality -[TextureRedefine] #0x01a, super sampling -formats = 0x005,0x01a -overwriteRelativeLodBias = -16 # +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 -[TextureRedefine] # tv +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] width = 1280 height = 720 +#formats = 0x816,0x810,0x41a,0x008,0x001,0x01a formatsExcluded = 0x031 #NLA flyover XCX logo screen tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 1280 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] #XCX shadow +[TextureRedefine] # shadows width = 1024 height = 1024 -formats = 0x005 -overwriteWidth = -overwriteHeight = +formats = 0x005 +overwriteWidth = ($width/$gameWidth) * 1024 +overwriteHeight = ($height/$gameHeight) * 1024 -[TextureRedefine] # Gear menu +[TextureRedefine] #ingame menu width = 1024 height = 720 -formatsExcluded = 0x001 #in game movies, stasis -overwriteWidth = -overwriteHeight = +tileModesExcluded = 0x001 +###formats = 0x01a,0x810,0x011,0x816 # 0x41a +overwriteWidth = ($width/$gameWidth) * 1024 +overwriteHeight = ($height/$gameHeight) * 720 -[TextureRedefine] # Do not remove, must be upscaled with same factor as TV or probe view breaks +[TextureRedefine] +width = 864 +height = 480 +#formats = +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 864 +overwriteHeight = ($height/$gameHeight) * 480 + +[TextureRedefine] width = 854 height = 480 -overwriteWidth = -overwriteHeight = +#formats = +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 854 +overwriteHeight = ($height/$gameHeight) * 480 -[TextureRedefine] # half-res alpha +[TextureRedefine] +width = 640 +height = 368 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 #dialog prompt fixes, XCX Logo NLA +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 368 + +[TextureRedefine] width = 640 height = 360 -formatsExcluded = 0x41A,0x033,0x031 #dialog prompt fixes, XCX Logo NLA exclude obvious textures -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = +tileModesExcluded = 0x001 # fmv sub colour +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 640 +overwriteHeight = ($height/$gameHeight) * 360 -[TextureRedefine] #XCX Dynamic shadow scale both same for smoother transitions +[TextureRedefine] # shadows 1024 for smoother transition width = 512 height = 512 -formats = 0x005 -overwriteWidth = -overwriteHeight = +formats = 0x005 +overwriteWidth = ($height/$gameHeight) * 1024 +overwriteHeight = ($height/$gameHeight) * 1024 -[TextureRedefine] # Sun, Light Sources (plants, armor etc) -width = 512 +[TextureRedefine] +width = 512 height = 288 -overwriteWidth = -overwriteHeight = +#formats = +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 288 -[TextureRedefine] # Fog -width = 426 +[TextureRedefine] # fog +width = 448 height = 240 -overwriteWidth = -overwriteHeight = +overwriteWidth = ($width/$gameWidth) * 448 +overwriteHeight = ($height/$gameHeight) * 240 -[TextureRedefine] # q-res alpha (Previously not added due to potential conflict, please remove rule when using Xeno GCN4 workaround) +[TextureRedefine] # fog +width = 426 +height = 240 +overwriteWidth = ($width/$gameWidth) * 426 +overwriteHeight = ($height/$gameHeight) * 240 + +[TextureRedefine] # #Bloom, DOF +width = 320 +height = 192 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 192 + +[TextureRedefine] # Bloom, DOF width = 320 height = 180 -overwriteWidth = -overwriteHeight = +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 320 +overwriteHeight = ($height/$gameHeight) * 180 [TextureRedefine] -width = 261 -height = 223 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] -width = 256 -height = 180 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # "God rays" stencil res, lens reflections. width = 256 height = 144 -overwriteWidth = -overwriteHeight = +###formats = 0x816 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 256 +overwriteHeight = ($height/$gameHeight) * 144 -#[TextureRedefine] # lod switch dithering, don't scale -#width = 256 -#height = 8 -#formats = 0x01a # verify not to scale. +[TextureRedefine] # PR screen +width = 256 +height = 256 +formats = 0x810 #,0x011 #0x816 +overwriteWidth = ($height/$gameHeight) * 256 +overwriteHeight = ($height/$gameHeight) * 256 -#[TextureRedefine] # lod switch dithering, don't scale -#width = 256 -#height = 4 -#formats = 0x01a # verify not to scale. - - -[TextureRedefine] # +[TextureRedefine]# sky width = 255 height = 255 -formats = 0x810 # 0x01a, PR screen NLA -overwriteWidth = -overwriteHeight = +formats = 0x810 +#formatsExcluded = 0x01a,0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($height/$gameHeight) * 255 +overwriteHeight = ($height/$gameHeight) * 255 -[TextureRedefine]# Probe glow. +[TextureRedefine] # Bloom +width = 160 +height = 96 +###formats = 0x816 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 96 + +[TextureRedefine] #bloom width = 160 height = 90 -#formatsExcluded = 0x816 #fixed in shader -overwriteWidth = -overwriteHeight = +###formats = 0x816 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 160 +overwriteHeight = ($height/$gameHeight) * 90 -[TextureRedefine] +[TextureRedefine] # width = 128 height = 128 -formats = 0x806 -overwriteWidth = -overwriteHeight = +#formats = 0x806 #,0x035,0x034,0x033,0x031 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 128 +overwriteHeight = ($height/$gameHeight) * 128 + +[TextureRedefine] +width = 127 +height = 127 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +###formats = 0x80e # 0x820,0x816 #,0x035,0x034,0x033,0x032,0x031 +overwriteWidth = ($width/$gameWidth) * 127 +overwriteHeight = ($height/$gameHeight) * 127 + +[TextureRedefine] +width = 96 +height = 48 +###formats = 0x816 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 96 +overwriteHeight = ($height/$gameHeight) * 48 [TextureRedefine] -width = 128 -height = 90 -#formatsExcluded = -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# should up-scale from 35 to keep aligment with other 16:9 buffers width = 80 height = 46 -#formatsExcluded = 0x816 #fixed in shader -overwriteWidth = -overwriteHeight = +###formats = 0x816 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 80 +overwriteHeight = ($height/$gameHeight) * 46 -[TextureRedefine] # +[TextureRedefine] width = 64 height = 64 -formats = 0x816,0x820 #001a includes cube breaks if scaled -overwriteWidth = -overwriteHeight = +###formats = 0x820,0x816 #,0x035,0x034,0x033,0x032,0x031 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 64 -[TextureRedefine] +[TextureRedefine] width = 64 -height = 46 -#formatsExcluded = -overwriteWidth = -overwriteHeight = +height = 32 +###formats = 0x806 #0x820,0x816 #,0x035,0x034,0x033,0x032,0x031 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 64 +overwriteHeight = ($height/$gameHeight) * 32 [TextureRedefine] # +width = 32 height = 32 -height = 32 -formats = 0x806 #001a includes cube breaks flashlight scene -overwriteWidth = -overwriteHeight = +formats = 0x806 #001a breaks flashlight scene +overwriteWidth = ($width/$gameWidth) * 32 +overwriteHeight = ($height/$gameHeight) * 32 -#[TextureRedefine] #grading don't scale -#width = 16 -#height = 16 -#formatsExcluded = -#overwriteWidth = 16 -#overwriteHeight = 16 +[TextureRedefine] +width = 32 +height = 16 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 32 +overwriteHeight = ($height/$gameHeight) * 16 + +[TextureRedefine] # +width = 16 +height = 8 +###formats = 0x008,0x806,0x80e # ,0x431,0x031 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 16 +overwriteHeight = ($height/$gameHeight) * 8 [TextureRedefine] # width = 8 height = 8 -formats = 0x806 -overwriteWidth = -overwriteHeight = +##formats = 0x806,0x81e,0x80e # ,0x431,0x031 +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 8 +overwriteHeight = ($height/$gameHeight) * 8 + +[TextureRedefine] +width = 4 +height = 4 +###formats = 0x81e,0x80e +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 4 +overwriteHeight = ($height/$gameHeight) * 4 + +[TextureRedefine] +width = 1 +height = 1 +###formats = 0x008,0x81e,0x01a +formatsExcluded = 0x431,0x035,0x034,0x033,0x031 +overwriteWidth = ($width/$gameWidth) * 1 +overwriteHeight = ($height/$gameHeight) * 1 diff --git a/Source/WoollyWorld/b5082db8c1a44514_0000000000000079_ps.txt b/Source/YoshisWoollyWorld/b5082db8c1a44514_0000000000000079_ps.txt similarity index 94% rename from Source/WoollyWorld/b5082db8c1a44514_0000000000000079_ps.txt rename to Source/YoshisWoollyWorld/b5082db8c1a44514_0000000000000079_ps.txt index 5b2a339e..0eb4ca29 100644 --- a/Source/WoollyWorld/b5082db8c1a44514_0000000000000079_ps.txt +++ b/Source/YoshisWoollyWorld/b5082db8c1a44514_0000000000000079_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader b5082db8c1a44514 // Used for vertical blur DoF -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_uniformRegisterPS[256]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e14800 res 640x360x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/WoollyWorld/f1f99f18ae69719b_0000000000000079_ps.txt b/Source/YoshisWoollyWorld/f1f99f18ae69719b_0000000000000079_ps.txt similarity index 94% rename from Source/WoollyWorld/f1f99f18ae69719b_0000000000000079_ps.txt rename to Source/YoshisWoollyWorld/f1f99f18ae69719b_0000000000000079_ps.txt index 8b02780a..f32be300 100644 --- a/Source/WoollyWorld/f1f99f18ae69719b_0000000000000079_ps.txt +++ b/Source/YoshisWoollyWorld/f1f99f18ae69719b_0000000000000079_ps.txt @@ -1,17 +1,10 @@ - #version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable // shader f1f99f18ae69719b // Used for horizontal blur DoF -const float resXScale = ; -const float resYScale = ; +const float resXScale = ($width/$gameWidth); +const float resYScale = ($height/$gameHeight); uniform ivec4 uf_uniformRegisterPS[256]; layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf59d2000 res 640x360x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/Source/YoshisWoollyWorld/rules.txt b/Source/YoshisWoollyWorld/rules.txt new file mode 100644 index 00000000..57576096 --- /dev/null +++ b/Source/YoshisWoollyWorld/rules.txt @@ -0,0 +1,136 @@ +[Definition] +titleIds = 0005000010131F00,0005000010184E00,0005000010184D00 +name = Resolution +path = "Yoshi's Woolly World/Graphics/Resolution" +description = Changes the resolution of the game. +version = 3 + +[Preset] +name = 1280x720 (Default) +$width = 1280 +$height = 720 +$gameWidth = 1280 +$gameHeight = 720 + +// Performance + +[Preset] +name = 256x144 +$width = 256 +$height = 144 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 427x240 +$width = 427 +$height = 240 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 640x360 +$width = 640 +$height = 360 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 854x480 +$width = 854 +$height = 480 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 960x540 +$width = 960 +$height = 540 +$gameWidth = 1280 +$gameHeight = 720 + +// Quality + +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 1920x1080 +$width = 1920 +$height = 1080 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2560x1440 +$width = 2560 +$height = 1440 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 2732x1536 +$width = 2732 +$height = 1536 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3200x1800 +$width = 3200 +$height = 1800 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 3840x2160 +$width = 3840 +$height = 2160 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 5120x2880 +$width = 5120 +$height = 2880 +$gameWidth = 1280 +$gameHeight = 720 + +// Enthusiast + +[Preset] +name = 7680x4320 +$width = 7680 +$height = 4320 +$gameWidth = 1280 +$gameHeight = 720 + +[Preset] +name = 10240x5760 +$width = 10240 +$height = 5760 +$gameWidth = 1280 +$gameHeight = 720 + +[TextureRedefine] # Game Resolution +width = 1280 +height = 720 +formatsExcluded = 0x033 +overwriteWidth = ($width / $gameWidth) * 1280 +overwriteHeight = ($height / $gameHeight) * 720 + +[TextureRedefine] # Depth of Field Pass +width = 640 +height = 368 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 368 + +[TextureRedefine] # Depth of Field Pass +width = 640 +height = 360 +overwriteWidth = ($width / $gameWidth) * 640 +overwriteHeight = ($height / $gameHeight) * 360 diff --git a/Source/functions.php b/Source/functions.php deleted file mode 100644 index 2bfff6aa..00000000 --- a/Source/functions.php +++ /dev/null @@ -1,53 +0,0 @@ - 0) { - $a = $b; - $b = $r; - $r = $a % $b; - } - return $b; -} -function simplify($num,$den) { - $g = gcd($num,$den); - return Array($num/$g,$den/$g); -} -function get_title($width, $height) { - $title = $width . "x" . $height; - $ratio = simplify($width, $height); - if (!($ratio[0] == 16 && $ratio[1] == 9)) { - if ($ratio[0] == 64 && $ratio[1] == 27) { - // 64:27 is the true ratio, but 21:9 is the common approximation - $title = $title . " (21:9)"; - } else if ($ratio[0] == 43 && $ratio[1] == 18) { - // 43:18 is the true ratio for 3440x1440, but 21:9 is the common approximation - $title = $title . " (21:9)"; - } else if ($ratio[0] == 7 && $ratio[1] == 3) { - // 2100x900 and 4200x1800 are actual 21:9 (21*100 and 9*100) but for some reason it calculates to 7:3? - $title = $title . " (21:9)"; - } else if ($ratio[0] == 853 && $ratio[1] == 360) { - // 21:9 720p calculates to 853:360 - $title = $title . " (21:9)"; - } else if ($ratio[0] == 8 && $ratio[1] == 5) { - // common sense - $title = $title . " (16:10)"; - } else if ($ratio[0] == 427 && $ratio[1] == 240) { - // common sense - return $title; - } else if ($ratio[0] == 683 && $ratio[1] == 384) { - // common sense - return $title; - } else if ($ratio[0] == 71 && $ratio[1] == 40) { - // common sense - return $title; - } else { - $title = $title . " (" . $ratio[0] .":". $ratio[1] . ")"; - } - } - return $title; -} -?> \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_!AMDLights/cf2e9b7aab93e342_000000000001fe49_ps.txt b/Workaround/BreathOfTheWild_!AMDLights/cf2e9b7aab93e342_000000000001fe49_ps.txt deleted file mode 100644 index f4f3ebb3..00000000 --- a/Workaround/BreathOfTheWild_!AMDLights/cf2e9b7aab93e342_000000000001fe49_ps.txt +++ /dev/null @@ -1,494 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader cf2e9b7aab93e342 -// AMD Light Circle fix - World lights reflection pass - -uniform ivec4 uf_remappedPS[10]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5054000 res 640x360x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf494a800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3df6f800 res 64x64x1 dim 1 tm: 4 format 0806 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 1) noperspective in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem0); -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + 1.0)); -PV0i.x = R123i.x; -R6i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -R0i.z = 0; -R2i.w = floatBitsToInt(-(intBitsToFloat(R1i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[1].x)); -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R0i.x) * intBitsToFloat(PS0i)); -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[1].y)); -// 2 -R2i.y = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(PS1i)); -R13i.w = 0; -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[2].w)); -PS0i = R1i.w; -R3i.xyzw = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.xy)).xyzw); -R2i.x = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R2i.xy)).x); -// 0 -R127i.x = floatBitsToInt((intBitsToFloat(R3i.x) * 2.0 + -(1.0))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R3i.y) * 2.0 + -(1.0))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R3i.z) * 2.0 + -(1.0))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(R2i.x)) + intBitsToFloat(uf_remappedPS[3].x))); -PV0i.w = R127i.w; -tempResultf = 1.0 / sqrt(intBitsToFloat(R0i.w)); -R126i.w = floatBitsToInt(tempResultf); -PS0i = R126i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 2 -backupReg0i = R127i.w; -R125i.x = floatBitsToInt(-(intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[4].z)); -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R126i.w))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(R127i.w)))); -PV0i.z = R126i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), -(intBitsToFloat(backupReg0i)))); -PV0i.w = R127i.w; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R6i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R124i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(uf_remappedPS[4].x)); -PV1i.w = R124i.w; -R125i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(uf_remappedPS[4].y)); -PS1i = R125i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(PV1i.w)),-(intBitsToFloat(PS1i)),-(intBitsToFloat(R125i.x)),-0.0),vec4(intBitsToFloat(uf_remappedPS[2].x),intBitsToFloat(uf_remappedPS[2].y),intBitsToFloat(uf_remappedPS[2].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R126i.w))); -PS0i = R10i.y; -// 5 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.w))); -PV1i.x = R0i.x; -R3i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + 1.0); -PV1i.y = R3i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R1i.w)); -R127i.z = clampFI32(R127i.z); -PV1i.z = R127i.z; -R0i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].x)) + intBitsToFloat(uf_remappedPS[5].x)); -R5i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].y)) + intBitsToFloat(uf_remappedPS[5].y)); -PS1i = R5i.y; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].x),intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[4].x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[4].y))); -PV0i.y = R123i.y; -R125i.z = floatBitsToInt((intBitsToFloat(PV1i.y) * 0.5 + 0.5)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(0x3d4ccccd))); -R123i.w = clampFI32(R123i.w); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(PV1i.x))); -// 7 -R126i.x = floatBitsToInt(intBitsToFloat(R126i.z) + -(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.w) + -(intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),intBitsToFloat(R127i.z)) + intBitsToFloat(uf_remappedPS[4].z))); -PV1i.w = R123i.w; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(R10i.y)) + intBitsToFloat(PS0i))); -PS1i = R122i.x; -// 8 -backupReg0i = R125i.z; -backupReg0i = R125i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R9i.y)) + intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R12i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R125i.z = floatBitsToInt(intBitsToFloat(R126i.y) + -(intBitsToFloat(PV1i.w))); -PV0i.z = R125i.z; -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg0i))); -R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) / 2.0); -R8i.z = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3ea2f983)); -PS0i = R8i.z; -// 9 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R126i.x)),-(intBitsToFloat(R127i.y)),-(intBitsToFloat(PV0i.z)),-0.0),vec4(-(intBitsToFloat(R126i.x)),-(intBitsToFloat(R127i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R3i.z = tempi.x; -PS1i = PV0i.x; -PS1i = floatBitsToInt(intBitsToFloat(PS1i) * 2.0); -// 10 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(PS1i)) + -(intBitsToFloat(R9i.y)))); -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R11i.y),intBitsToFloat(PS1i)) + -(intBitsToFloat(R10i.y)))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.z),intBitsToFloat(PS1i)) + -(intBitsToFloat(R0i.x)))); -R127i.w = R127i.x; -R127i.w = clampFI32(R127i.w); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R126i.x)), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R127i.y)), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R125i.z)), intBitsToFloat(PS0i))); -PV1i.z = R5i.z; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].w), intBitsToFloat(PS0i))); -PV1i.w = R125i.w; -R2i.x = floatBitsToInt(-(intBitsToFloat(R4i.w)) + 1.0); -PS1i = R2i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = tempi.x; -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PV1i.w)); -PS0i = R126i.y; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[2].x),intBitsToFloat(uf_remappedPS[2].y),intBitsToFloat(uf_remappedPS[2].z),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R2i.x)) + intBitsToFloat(R4i.w))); -PS1i = R122i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.w),intBitsToFloat(R125i.y),intBitsToFloat(R125i.x),-0.0),vec4(intBitsToFloat(uf_remappedPS[2].x),intBitsToFloat(uf_remappedPS[2].y),intBitsToFloat(uf_remappedPS[2].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R7i.z = floatBitsToInt(1.0 / intBitsToFloat(PS1i)); -PS0i = R7i.z; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.w),intBitsToFloat(R125i.y),intBitsToFloat(R125i.x),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.z = tempi.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PS1i = R126i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.w),intBitsToFloat(R125i.y),intBitsToFloat(R125i.x),-0.0),vec4(intBitsToFloat(R124i.w),intBitsToFloat(R125i.y),intBitsToFloat(R125i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -// 17 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(max(intBitsToFloat(R126i.w), -(1.0))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(uf_remappedPS[2].w)),intBitsToFloat(R125i.z)) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -R125i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -R126i.w = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(0x40400000)); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R125i.w))); -PS1i = R5i.w; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.w),intBitsToFloat(R5i.y),intBitsToFloat(R0i.z),-0.0),vec4(intBitsToFloat(R0i.w),intBitsToFloat(R5i.y),intBitsToFloat(R5i.y),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 19 -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(min(intBitsToFloat(backupReg0i), 1.0)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(uf_remappedPS[7].y))); -R4i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedPS[8].x)) + intBitsToFloat(uf_remappedPS[8].y))); -PV1i.w = floatBitsToInt(intBitsToFloat(R125i.z) * intBitsToFloat(PS0i)); -PV1i.w = clampFI32(PV1i.w); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R126i.w)); -// 20 -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].x),intBitsToFloat(PV1i.w)) + intBitsToFloat(R124i.w))); -PV0i.x = R3i.x; -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),intBitsToFloat(PV1i.w)) + intBitsToFloat(R125i.y))); -PV0i.y = R8i.y; -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R125i.x))); -PV0i.z = R2i.z; -R3i.w = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PS1i)); -R3i.w = clampFI32(R3i.w); -R2i.y = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -PS0i = R2i.y; -// 21 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = tempi.x; -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedPS[8].z)) + intBitsToFloat(uf_remappedPS[8].w))); -PS1i = R4i.y; -R7i.y = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.yy)).x); -// 0 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.w)) + -(intBitsToFloat(R3i.x)))); -PV0i.x = R126i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.w)) + -(intBitsToFloat(R8i.y)))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)) + -(intBitsToFloat(R2i.z)))); -PV0i.z = R127i.z; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(uf_remappedPS[9].y))); -R124i.w = clampFI32(R124i.w); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R3i.w)); -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(R3i.y) * intBitsToFloat(PS0i)); -PS1i = R126i.w; -// 2 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R2i.w)),-(intBitsToFloat(R6i.y)),-(intBitsToFloat(R6i.y)),-0.0),vec4(intBitsToFloat(R0i.w),intBitsToFloat(R5i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -backupReg0i = R0i.y; -R125i.x = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R2i.y)); -R125i.x = clampFI32(R125i.x); -PV1i.x = R125i.x; -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.y), intBitsToFloat(backupReg0i))); -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R124i.w)),intBitsToFloat(R124i.w)) + 1.0)); -PV1i.z = R123i.z; -PV1i.w = ((intBitsToFloat(R4i.z) > intBitsToFloat(uf_remappedPS[7].x))?int(0xFFFFFFFF):int(0x0)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.w))); -PV0i.x = R123i.x; -R126i.y = ((PV1i.w == 0)?(R7i.y):(PV1i.y)); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(R6i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[6].w) * intBitsToFloat(PS1i)); -PV0i.w = clampFI32(PV0i.w); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(PV1i.z))); -PS0i = R5i.y; -// 5 -backupReg0i = R126i.x; -backupReg1i = R125i.y; -backupReg2i = R127i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.w)) + intBitsToFloat(R3i.x))); -PV1i.x = R126i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.w)) + intBitsToFloat(R8i.y))); -PV1i.y = R125i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg2i),intBitsToFloat(PV0i.w)) + intBitsToFloat(R2i.z))); -PV1i.z = R127i.z; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].z)) + intBitsToFloat(uf_remappedPS[5].z)); -// 6 -backupReg0i = R125i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(backupReg0i)) + intBitsToFloat(uf_remappedPS[0].z))); -PS0i = R125i.x; -// 7 -R127i.x = floatBitsToInt(max(-(intBitsToFloat(R5i.z)), 0.0)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(R126i.y))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R125i.z)) + intBitsToFloat(R124i.w))); -PV1i.z = R123i.z; -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].x), intBitsToFloat(R126i.y))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 8 -backupReg0i = R126i.x; -backupReg1i = R127i.z; -backupReg2i = R126i.y; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS1i))); -PV0i.y = R126i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.x)),intBitsToFloat(PV1i.z)) + 1.0)); -R125i.w = clampFI32(R125i.w); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].z), intBitsToFloat(backupReg2i))); -PS0i = R124i.y; -// 9 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R9i.y) + intBitsToFloat(PV0i.x)); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt(intBitsToFloat(R10i.y) + intBitsToFloat(PV0i.y)); -PV1i.y = R125i.y; -R125i.z = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.z)); -PV1i.z = R125i.z; -PV1i.w = floatBitsToInt(min(intBitsToFloat(backupReg0i), 1.0)); -PS1i = floatBitsToInt(-(intBitsToFloat(R5i.y)) + 1.0); -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R8i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(PS1i)) + intBitsToFloat(R5i.y))); -PS0i = R8i.y; -// 11 -backupReg0i = R126i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -backupReg0i = R127i.x; -backupReg1i = R125i.y; -backupReg2i = R125i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R125i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R2i.x)) + intBitsToFloat(R4i.w))); -PV0i.w = R123i.w; -R125i.x = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(0x3ea2f983)); -PS0i = R125i.x; -// 13 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.y),intBitsToFloat(R10i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R11i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(R125i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R125i.z; -// 15 -backupReg0i = R127i.y; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -PV1i.z = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3ea2f983)); -R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(R126i.x))); -PS1i = floatBitsToInt(intBitsToFloat(R124i.y) * intBitsToFloat(0x3ea2f983)); -// 16 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PV1i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R125i.x))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(PV1i.x)) + 1.0)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(PV1i.z))); -// 17 -R13i.x = floatBitsToInt(min(intBitsToFloat(PV0i.z), intBitsToFloat(0x42000000))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -R13i.z = floatBitsToInt(min(intBitsToFloat(PV0i.y), intBitsToFloat(0x42000000))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.x))); -R13i.y = floatBitsToInt(min(intBitsToFloat(PS0i), intBitsToFloat(0x42000000))); -PS1i = R13i.y; -// 18 -R125i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3f75c28f) + intBitsToFloat(0x3d23d70a))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 19 -PV1i.w = floatBitsToInt(intBitsToFloat(R8i.z) * intBitsToFloat(PS0i)); -// 20 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R125i.z))); -// 21 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(PV0i.y))); -// 22 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 0.25); -// 23 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.w))); -// 24 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.z))); -// 25 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.y))); -// 26 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].z), intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].x), intBitsToFloat(PV1i.x))); -// 27 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.z))); -// 28 -backupReg0i = R8i.y; -backupReg0i = R8i.y; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.y), intBitsToFloat(PV1i.w))); -R8i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.x))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.z))); -// 0 -backupReg0i = R4i.x; -R4i.x = floatBitsToInt(min(intBitsToFloat(R8i.y), intBitsToFloat(0x42000000))); -R4i.y = floatBitsToInt(min(intBitsToFloat(backupReg0i), intBitsToFloat(0x42000000))); -R4i.z = floatBitsToInt(min(intBitsToFloat(R5i.w), intBitsToFloat(0x42000000))); -// 1 -R0i.xyz = ivec3(R13i.x,R13i.y,R13i.z); -R0i.w = R13i.w; -// 2 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.z); -R1i.w = R4i.w; -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Workaround/BreathOfTheWild_!AMDLights/d2082c0e0e8ddf27_000000000001fe49_ps.txt b/Workaround/BreathOfTheWild_!AMDLights/d2082c0e0e8ddf27_000000000001fe49_ps.txt deleted file mode 100644 index 750cec2e..00000000 --- a/Workaround/BreathOfTheWild_!AMDLights/d2082c0e0e8ddf27_000000000001fe49_ps.txt +++ /dev/null @@ -1,424 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader d2082c0e0e8ddf27 -uniform ivec4 uf_remappedPS[8]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5054000 res 640x360x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf494a800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3de51000 res 64x64x1 dim 1 tm: 4 format 0806 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 1) noperspective in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem0); -// 0 -backupReg0i = R0i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + 1.0)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(uf_remappedPS[0].x))); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(0xbc23d70a)); -PV0i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(0xbc23d70a)); -R3i.w = floatBitsToInt(intBitsToFloat(R1i.y) + -(intBitsToFloat(uf_remappedPS[0].y))); -PS0i = R3i.w; -// 1 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[1].z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[1].w))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(PV0i.y))); -R8i.w = 0; -PS1i = R8i.w; -R2i.xyzw = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.xy)).xyzw); -R0i.x = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.xy)).x); -// 0 -R127i.x = floatBitsToInt((intBitsToFloat(R2i.x) * 2.0 + -(1.0))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R2i.y) * 2.0 + -(1.0))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R2i.z) * 2.0 + -(1.0))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),intBitsToFloat(R0i.x)) + intBitsToFloat(uf_remappedPS[2].x))); -PV0i.w = R127i.w; -R126i.w = floatBitsToInt(intBitsToFloat(R2i.w) * intBitsToFloat(0x437f0000)); -PS0i = R126i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),-(intBitsToFloat(PV0i.w))) + -(intBitsToFloat(uf_remappedPS[3].x)))); -PS1i = R124i.x; -// 2 -R3i.x = floatBitsToInt(-(intBitsToFloat(R2i.w)) + 1.0); -PV0i.x = R3i.x; -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),-(intBitsToFloat(R127i.w))) + -(intBitsToFloat(uf_remappedPS[3].y)))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),-(intBitsToFloat(R127i.w))) + -(intBitsToFloat(uf_remappedPS[3].z)))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -backupReg0i = R126i.w; -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(0x3d4ccccd))); -R126i.w = clampFI32(R126i.w); -PS1i = int(intBitsToFloat(backupReg0i)); -// 4 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R124i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R126i.z)),-0.0),vec4(-(intBitsToFloat(R124i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R126i.z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R0i.x = PS1i & 0x00000002; -PS0i = R0i.x; -// 5 -R2i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x3a83126f))); -PV1i.x = R2i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(R126i.w))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R3i.x) * 0.5 + 0.5)); -R6i.w = floatBitsToInt((0.0 * intBitsToFloat(uf_remappedPS[4].w) + 1.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(R0i.z)); -PS1i = floatBitsToInt(tempResultf); -// 6 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PV0i.x = R4i.x; -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(PS1i))); -PV0i.y = R4i.y; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(PS1i))); -PV0i.z = R3i.z; -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + -(1.0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R126i.w = floatBitsToInt(tempResultf); -PS0i = R126i.w; -// 7 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -R125i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R124i.x)), intBitsToFloat(PS0i))); -PS1i = R125i.x; -// 8 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(R127i.z))); -R1i.x = floatBitsToInt(intBitsToFloat(R1i.x) / 2.0); -PV0i.x = R1i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R2i.y)), intBitsToFloat(R126i.w))); -R7i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R126i.z)), intBitsToFloat(R126i.w))); -PV0i.w = PV1i.x; -PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * 2.0); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].w), intBitsToFloat(R126i.w))); -// 9 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(PV0i.w)) + -(intBitsToFloat(R4i.x)))); -PV1i.x = R126i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV0i.w)) + -(intBitsToFloat(R4i.y)))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(PV0i.w)) + -(intBitsToFloat(R3i.z)))); -PV1i.z = R127i.z; -R2i.w = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + 1.0); -R124i.y = floatBitsToInt(min(intBitsToFloat(PS0i), 1.0)); -PS1i = R124i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R124i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R126i.z)),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = R127i.x; -PS0i = clampFI32(PS0i); -// 11 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(PV0i.x)) + intBitsToFloat(R124i.x))); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.x)) + intBitsToFloat(R2i.y))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.x)) + intBitsToFloat(R126i.z))); -PV1i.z = R127i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R2i.w)) + intBitsToFloat(R1i.x))); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(R124i.y)); -PS1i = R126i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R7i.y = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(0x3ea2f983)); -PS0i = R7i.y; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(R7i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(sqrt(intBitsToFloat(PV0i.x))); -// 14 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x40400000)); -PV0i.y = floatBitsToInt(max(intBitsToFloat(PV1i.x), -(1.0))); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(uf_remappedPS[6].y))); -PV0i.z = R1i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R124i.y))); -PV0i.w = R5i.w; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PS1i)); -// 15 -PV1i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), 1.0)); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[7].y))); -R6i.z = ((intBitsToFloat(PV0i.z) > intBitsToFloat(uf_remappedPS[7].x))?int(0xFFFFFFFF):int(0x0)); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[5].w) * intBitsToFloat(PS0i)); -PV1i.w = clampFI32(PV1i.w); -R6i.y = floatBitsToInt(1.0 / intBitsToFloat(R126i.w)); -PS1i = R6i.y; -// 16 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -backupReg2i = R126i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV1i.w)) + -(intBitsToFloat(R124i.x)))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV1i.w)) + -(intBitsToFloat(R2i.y)))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV1i.w)) + -(intBitsToFloat(R126i.z)))); -PV0i.z = R127i.z; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(uf_remappedPS[6].w))); -PV0i.w = R126i.w; -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS0i = R127i.x; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -// 18 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PS1i))); -PV0i.y = floatBitsToInt(intBitsToFloat(R3i.x) + intBitsToFloat(R127i.x)); -PV0i.y = clampFI32(PV0i.y); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_remappedPS[4].y))); -R5i.z = clampFI32(R5i.z); -PV0i.w = ((intBitsToFloat(R126i.w) > 0.0)?int(0xFFFFFFFF):int(0x0)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 19 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.x = R2i.x; -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -PV1i.y = R2i.y; -R0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -PV1i.z = R0i.z; -R123i.w = ((PV0i.w == 0)?(0):(PV0i.x)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 20 -backupReg0i = R0i.x; -R0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV1i.x)); -R3i.y = floatBitsToInt(intBitsToFloat(R4i.y) + intBitsToFloat(PV1i.y)); -R2i.z = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.z)); -R0i.w = floatBitsToInt(intBitsToFloat(R3i.x) * intBitsToFloat(PS1i)); -R1i.y = R126i.w; -PS0i = R1i.y; -R1i.y = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R1i.yy)).x); - -//backupReg0i = R0i.x; -//backupReg1i = R0i.y; -//R0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV1i.x)); -//R3i.y = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(PV1i.y)); -//R0i.z = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV1i.z)); -//R3i.w = R126i.z; -//R4i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PS1i)); -//PS0i = R4i.y; -//R5i.y = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R3i.ww)).x); - -//backupReg0i = R0i.x; -//backupReg1i = R0i.y; -//R0i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV1i.x)); -//R3i.y = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(PV1i.y)); -//R2i.z = floatBitsToInt(intBitsToFloat(R3i.w) + intBitsToFloat(PV1i.z)); -//R1i.y = R126i.w; -//R0i.w = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PS1i)); -//PS0i = R1i.y; -//R1i.y = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R1i.yy)).x); - -//R127i.z = ((R6i.z == 0)?(R1i.y):(R127i.w)); -//R1i.y = ((backupReg0i == 0)?(R126i.w):(PV1i.w)); -//PS0i = R1i.y; -//R1i.y = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R1i.zy)).x); - -// 0 -backupReg0i = R0i.x; -backupReg0i = R0i.x; -backupReg1i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R3i.y),intBitsToFloat(R2i.z),-0.0),vec4(intBitsToFloat(backupReg0i),intBitsToFloat(R3i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(backupReg1i))); -PS0i = R127i.w; -// 1 -backupReg0i = R0i.z; -R124i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(backupReg0i),0.0))); -R124i.x = clampFI32(R124i.x); -PV1i.x = R124i.x; -PV1i.y = R124i.x; -PV1i.z = R124i.x; -PV1i.w = R124i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(PS1i))); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R2i.w)) + intBitsToFloat(R1i.x))); -PV0i.w = R123i.w; -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), intBitsToFloat(R0i.w))); -PS0i = R125i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R127i.y; -// 5 -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(PS0i))); -PV1i.x = R126i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R5i.z)),intBitsToFloat(R5i.z)) + 1.0)); -PV1i.y = R123i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R126i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R127i.z = ((R6i.z == 0)?(R1i.y):(R127i.w)); -PS1i = R127i.z; -// 6 -PV0i.x = floatBitsToInt(max(-(intBitsToFloat(R7i.z)), 0.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(R3i.w)) + intBitsToFloat(R4i.w))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(PV1i.w)) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV1i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.y), intBitsToFloat(PV1i.y))); -PS0i = R127i.x; -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R125i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(uf_remappedPS[0].z)),intBitsToFloat(PV0i.y)) + 1.0)); -R125i.y = clampFI32(R125i.y); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV0i.w))); -R127i.w = floatBitsToInt(min(intBitsToFloat(PV0i.x), 1.0)); -R127i.y = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PS1i = R127i.y; -// 8 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].x), intBitsToFloat(R127i.z))); -R124i.y = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3f75c28f) + intBitsToFloat(0x3d23d70a))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].y), intBitsToFloat(R127i.z))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].z), intBitsToFloat(R127i.z))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 9 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R127i.y)) + intBitsToFloat(R127i.x))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x3ea2f983)); -PV1i.z = floatBitsToInt(intBitsToFloat(R7i.y) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(0x3ea2f983)); -PS1i = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3ea2f983)); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R124i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.y))); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -// 12 -R8i.x = floatBitsToInt(min(intBitsToFloat(PV1i.x), intBitsToFloat(0x42000000))); -R8i.y = floatBitsToInt(min(intBitsToFloat(PV1i.y), intBitsToFloat(0x42000000))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * 0.25); -R8i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x42000000))); -PS0i = R8i.z; -// 13 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PV0i.z))); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.y))); -// 15 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV0i.x))); -// 16 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].z), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].y), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].x), intBitsToFloat(PV1i.w))); -// 17 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV0i.z))); -// 18 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PV1i.z))); -// 19 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.w), intBitsToFloat(PV0i.z))); -// 20 -R7i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), intBitsToFloat(0x42000000))); -R7i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), intBitsToFloat(0x42000000))); -R7i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), intBitsToFloat(0x42000000))); -// 21 -R0i.xyz = ivec3(R8i.x,R8i.y,R8i.z); -R0i.w = R8i.w; -// 22 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.z); -R1i.w = R7i.w; -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Workaround/BreathOfTheWild_!AMDLights/e7e31b26bbd728fc_000000000001fe49_ps.txt b/Workaround/BreathOfTheWild_!AMDLights/e7e31b26bbd728fc_000000000001fe49_ps.txt deleted file mode 100644 index 7ca52c14..00000000 --- a/Workaround/BreathOfTheWild_!AMDLights/e7e31b26bbd728fc_000000000001fe49_ps.txt +++ /dev/null @@ -1,506 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader e7e31b26bbd728fc -uniform ivec4 uf_remappedPS[10]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5054000 res 640x360x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf494a800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3de51000 res 64x64x1 dim 1 tm: 4 format 0806 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 1) noperspective in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem0); -// 0 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + 1.0)); -PV0i.x = R123i.x; -R7i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(0xbc23d70a)); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(0xbc23d70a)); -R1i.w = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[1].w)); -PS0i = R1i.w; -// 1 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[2].z))); -R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(uf_remappedPS[2].w))); -R0i.z = 0; -R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.x))); -R4i.x = floatBitsToInt(-(intBitsToFloat(R1i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -PS1i = R4i.x; -R2i.xyzw = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.xy)).xyzw); -R0i.x = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.xy)).x); -// 0 -R127i.x = floatBitsToInt((intBitsToFloat(R2i.x) * 2.0 + -(1.0))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R2i.y) * 2.0 + -(1.0))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R2i.z) * 2.0 + -(1.0))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(R0i.x)) + intBitsToFloat(uf_remappedPS[3].x))); -PV0i.w = R127i.w; -tempResultf = 1.0 / sqrt(intBitsToFloat(R0i.w)); -R126i.w = floatBitsToInt(tempResultf); -PS0i = R126i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w))); -PS1i = R126i.y; -// 2 -backupReg0i = R127i.w; -R124i.x = floatBitsToInt(-(intBitsToFloat(PS1i)) + intBitsToFloat(uf_remappedPS[4].z)); -R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R126i.w))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), -(intBitsToFloat(R127i.w)))); -PV0i.z = R126i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), -(intBitsToFloat(backupReg0i)))); -PV0i.w = R127i.w; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R12i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R125i.w = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + intBitsToFloat(uf_remappedPS[4].x)); -PV1i.w = R125i.w; -R125i.y = floatBitsToInt(-(intBitsToFloat(PV0i.w)) + intBitsToFloat(uf_remappedPS[4].y)); -PS1i = R125i.y; -// 4 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(PV1i.w)),-(intBitsToFloat(PS1i)),-(intBitsToFloat(R124i.x)),-0.0),vec4(intBitsToFloat(uf_remappedPS[1].x),intBitsToFloat(uf_remappedPS[1].y),intBitsToFloat(uf_remappedPS[1].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R11i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R126i.w))); -PS0i = R11i.y; -// 5 -R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R126i.w))); -R0i.y = floatBitsToInt(-(intBitsToFloat(R2i.w)) + 1.0); -PV1i.y = R0i.y; -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(R1i.w)); -R127i.z = clampFI32(R127i.z); -PV1i.z = R127i.z; -R3i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].x)) + intBitsToFloat(uf_remappedPS[5].x)); -R6i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].y)) + intBitsToFloat(uf_remappedPS[5].y)); -PS1i = R6i.y; -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].x),intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[4].x))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_remappedPS[4].y))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.y) * 0.5 + 0.5)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.y)) + intBitsToFloat(0x3d4ccccd))); -R123i.w = clampFI32(R123i.w); -PV0i.w = R123i.w; -R14i.w = 0; -PS0i = R14i.w; -// 7 -R127i.x = floatBitsToInt(intBitsToFloat(R126i.z) + -(intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.w) + -(intBitsToFloat(PV0i.y))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),intBitsToFloat(R127i.z)) + intBitsToFloat(uf_remappedPS[4].z))); -PV1i.w = R123i.w; -R9i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R9i.y = floatBitsToInt(intBitsToFloat(R9i.y) / 2.0); -PS1i = R9i.y; -// 8 -R5i.x = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0); -R13i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R127i.z = floatBitsToInt(intBitsToFloat(R126i.y) + -(intBitsToFloat(PV1i.w))); -PV0i.z = R127i.z; -R4i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3ea2f983)); -R8i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].z)) + intBitsToFloat(uf_remappedPS[5].z)); -PS0i = R8i.y; -// 9 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),-(intBitsToFloat(PV0i.z)),-0.0),vec4(-(intBitsToFloat(R127i.x)),-(intBitsToFloat(R127i.y)),-(intBitsToFloat(PV0i.z)),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R6i.x))); -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R12i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R10i.y),intBitsToFloat(R11i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R127i.w = floatBitsToInt(tempResultf); -PS0i = R127i.w; -// 11 -backupReg0i = R127i.z; -R125i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R127i.y)), intBitsToFloat(PS0i))); -PV1i.y = PV0i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * 2.0); -R127i.z = PV0i.x; -R127i.z = clampFI32(R127i.z); -R0i.w = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(backupReg0i)), intBitsToFloat(PS0i))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].w), intBitsToFloat(PS0i))); -PS1i = R126i.x; -// 12 -R1i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R7i.x),intBitsToFloat(PV1i.y)) + -(intBitsToFloat(R10i.y)))); -PV0i.x = R1i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R12i.y),intBitsToFloat(PV1i.y)) + -(intBitsToFloat(R11i.y)))); -PV0i.y = R1i.y; -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(PV1i.y)) + -(intBitsToFloat(R6i.x)))); -PV0i.z = R1i.z; -R126i.w = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R127i.x)), intBitsToFloat(R127i.w))); -R126i.y = floatBitsToInt(1.0 / intBitsToFloat(PS1i)); -PS0i = R126i.y; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[1].x),intBitsToFloat(uf_remappedPS[1].y),intBitsToFloat(uf_remappedPS[1].z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R5i.x)) + intBitsToFloat(R9i.y))); -PS1i = R122i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.w),intBitsToFloat(R125i.y),intBitsToFloat(R124i.x),-0.0),vec4(intBitsToFloat(uf_remappedPS[1].x),intBitsToFloat(uf_remappedPS[1].y),intBitsToFloat(uf_remappedPS[1].z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R4i.z = floatBitsToInt(1.0 / intBitsToFloat(PS1i)); -PS0i = R4i.z; -// 15 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.w),intBitsToFloat(R125i.y),intBitsToFloat(R124i.x),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.z = tempi.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.y))); -PS1i = R127i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.w),intBitsToFloat(R125i.y),intBitsToFloat(R124i.x),-0.0),vec4(intBitsToFloat(R125i.w),intBitsToFloat(R125i.y),intBitsToFloat(R124i.x),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV1i.x))); -// 17 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(0x40400000)); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(uf_remappedPS[1].w)),intBitsToFloat(R127i.z)) + intBitsToFloat(backupReg0i))); -PV1i.y = R123i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PV0i.x)),intBitsToFloat(R127i.y)) + intBitsToFloat(PS0i))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R126i.x))); -R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(uf_remappedPS[7].x)) + intBitsToFloat(uf_remappedPS[7].y))); -PS1i = R2i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R12i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R126i.w),intBitsToFloat(R125i.x),intBitsToFloat(R0i.w),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 19 -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(uf_remappedPS[8].y))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedPS[9].y))); -R3i.y = clampFI32(R3i.y); -PV1i.z = floatBitsToInt(max(intBitsToFloat(PV0i.x), -(1.0))); -PV1i.w = floatBitsToInt(intBitsToFloat(R127i.z) * intBitsToFloat(PS0i)); -PV1i.w = clampFI32(PV1i.w); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.x)); -// 20 -R3i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].x),intBitsToFloat(PV1i.w)) + intBitsToFloat(R125i.w))); -PV0i.x = R3i.x; -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].y),intBitsToFloat(PV1i.w)) + intBitsToFloat(R125i.y))); -PV0i.y = R4i.y; -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[1].z),intBitsToFloat(PV1i.w)) + intBitsToFloat(R124i.x))); -PV0i.z = R2i.z; -PV0i.w = floatBitsToInt(min(intBitsToFloat(PV1i.z), 1.0)); -R2i.w = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PS1i)); -R2i.w = clampFI32(R2i.w); -PS0i = R2i.w; -// 21 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.w = tempi.x; -R4i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedPS[8].z)) + intBitsToFloat(uf_remappedPS[8].w))); -PS1i = R4i.y; -R7i.y = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R4i.yy)).x); - -//tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(R1i.y),intBitsToFloat(R1i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -//PV1i.x = tempi.x; -//PV1i.y = tempi.x; -//PV1i.z = tempi.x; -//PV1i.w = tempi.x; -//R1i.w = tempi.x; -//R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedPS[7].z)) + intBitsToFloat(uf_remappedPS[7].w))); -//PS1i = R2i.y; -//R5i.y = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R2i.yy)).x); - -// 0 -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.w)) + -(intBitsToFloat(R3i.x)))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.w)) + -(intBitsToFloat(R4i.y)))); -PV0i.y = R125i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),intBitsToFloat(R1i.w)) + -(intBitsToFloat(R2i.z)))); -PV0i.z = R126i.z; -R126i.w = ((intBitsToFloat(R2i.x) > intBitsToFloat(uf_remappedPS[8].x))?int(0xFFFFFFFF):int(0x0)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R2i.w)); -// 1 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(PS0i)); -PS1i = R127i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.w),intBitsToFloat(R6i.y),intBitsToFloat(R0i.z),-0.0),vec4(intBitsToFloat(R3i.w),intBitsToFloat(R6i.y),intBitsToFloat(R6i.y),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x))); -// 3 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R4i.x)),-(intBitsToFloat(R7i.y)),-(intBitsToFloat(R7i.y)),-0.0),vec4(intBitsToFloat(R3i.w),intBitsToFloat(R6i.y),intBitsToFloat(backupReg0i),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PS0i)); -// 4 -R127i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R3i.y)),intBitsToFloat(R3i.y)) + 1.0)); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R0i.x))); -R125i.z = floatBitsToInt(max(-(intBitsToFloat(R0i.w)), 0.0)); -PV0i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[6].w) * intBitsToFloat(PS1i)); -PV0i.w = clampFI32(PV0i.w); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R127i.z)); -// 5 -backupReg0i = R124i.x; -backupReg1i = R125i.y; -backupReg2i = R126i.z; -backupReg3i = R126i.w; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.w)) + intBitsToFloat(R3i.x))); -PV1i.x = R124i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.w)) + intBitsToFloat(R4i.y))); -PV1i.y = R125i.y; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg2i),intBitsToFloat(PV0i.w)) + intBitsToFloat(R2i.z))); -PV1i.z = R126i.z; -R126i.w = floatBitsToInt(intBitsToFloat(R125i.w) * intBitsToFloat(PS0i)); -R126i.w = clampFI32(R126i.w); -PV1i.w = R126i.w; -R125i.x = ((backupReg3i == 0)?(R5i.y):(PV0i.y)); -PS1i = R125i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.w),intBitsToFloat(PV1i.w)) + intBitsToFloat(R4i.x))); -PS0i = R122i.x; -// 7 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R8i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(uf_remappedPS[0].z))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg0i))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(R7i.y))); -PV1i.z = R123i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(PS0i))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 8 -backupReg0i = R124i.x; -backupReg1i = R125i.y; -backupReg2i = R126i.z; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R124i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R126i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(PV1i.z)) + intBitsToFloat(PV1i.w))); -PV0i.w = R123i.w; -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].x), intBitsToFloat(R125i.x))); -PS0i = R126i.w; -// 9 -backupReg0i = R127i.x; -R127i.xyz = floatBitsToInt(vec3(intBitsToFloat(R10i.y),intBitsToFloat(R11i.y),intBitsToFloat(R6i.x)) + vec3(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z))); -PV1i.x = R127i.x; -PV1i.y = R127i.y; -PV1i.z = R127i.z; -R124i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(backupReg0i)),intBitsToFloat(PV0i.w)) + 1.0)); -R124i.w = clampFI32(R124i.w); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(R125i.x))); -PS1i = R124i.z; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].z), intBitsToFloat(R125i.x))); -PS0i = R126i.y; -// 11 -backupReg0i = R125i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R12i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R126i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 12 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.z; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS1i))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg2i), intBitsToFloat(PS1i))); -PV0i.z = R127i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R5i.x)) + intBitsToFloat(R9i.y))); -PV0i.w = R123i.w; -R125i.w = floatBitsToInt(min(intBitsToFloat(R125i.z), 1.0)); -PS0i = R125i.w; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R10i.y),intBitsToFloat(R11i.y),intBitsToFloat(R6i.x),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R124i.x; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R7i.x),intBitsToFloat(R12i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R127i.z; -// 15 -backupReg0i = R126i.w; -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -PV1i.z = floatBitsToInt(-(intBitsToFloat(R124i.y)) + 1.0); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R124i.x))); -R124i.x = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3ea2f983)); -PS1i = R124i.x; -// 16 -backupReg0i = R13i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.y))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(PV1i.z)) + intBitsToFloat(R124i.y))); -PV0i.z = floatBitsToInt(intBitsToFloat(R124i.z) * intBitsToFloat(0x3ea2f983)); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV1i.x)) + 1.0)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(0x3ea2f983)); -// 17 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(PV0i.w))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(backupReg0i))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PV0i.z))); -// 18 -R14i.x = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x42000000))); -R14i.y = floatBitsToInt(min(intBitsToFloat(PS1i), intBitsToFloat(0x42000000))); -R127i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x3f75c28f) + intBitsToFloat(0x3d23d70a))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.y)); -// 19 -R14i.z = floatBitsToInt(min(intBitsToFloat(R124i.x), intBitsToFloat(0x42000000))); -PV1i.w = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(PS0i)); -// 20 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R127i.z))); -// 21 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(PV0i.y))); -// 22 -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.x) * 0.25); -// 23 -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV0i.w))); -// 24 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV1i.z))); -// 25 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.y))); -// 26 -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].z), intBitsToFloat(PV1i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y), intBitsToFloat(PV1i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].x), intBitsToFloat(PV1i.x))); -// 27 -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(PV0i.w))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(PV0i.y))); -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(PV0i.z))); -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R5i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R7i.x))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R4i.z))); -// 1 -R4i.x = floatBitsToInt(min(intBitsToFloat(PV0i.y), intBitsToFloat(0x42000000))); -R4i.y = floatBitsToInt(min(intBitsToFloat(PV0i.x), intBitsToFloat(0x42000000))); -R4i.z = floatBitsToInt(min(intBitsToFloat(PV0i.w), intBitsToFloat(0x42000000))); -// 2 -R0i.xyz = ivec3(R14i.x,R14i.y,R14i.z); -R0i.w = R14i.w; -// 3 -R1i.xyz = ivec3(R4i.x,R4i.y,R4i.z); -R1i.w = R4i.w; -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_!AMDLights/e95d54571be1c0a9_000000000001fe49_ps.txt b/Workaround/BreathOfTheWild_!AMDLights/e95d54571be1c0a9_000000000001fe49_ps.txt deleted file mode 100644 index 4e9cdcde..00000000 --- a/Workaround/BreathOfTheWild_!AMDLights/e95d54571be1c0a9_000000000001fe49_ps.txt +++ /dev/null @@ -1,398 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader e95d54571be1c0a9 -// AMD Light Circle fix - Shrine lights reflection pass - -uniform ivec4 uf_remappedPS[8]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5054000 res 640x360x1 dim 1 tm: 4 format 080e compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf494a800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 1 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x3df6f800 res 64x64x1 dim 1 tm: 4 format 0806 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 1 -layout(location = 1) noperspective in vec4 passParameterSem0; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)); -R1i = floatBitsToInt(passParameterSem0); -// 0 -PV0i.x = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(uf_remappedPS[0].x))); -R127i.y = floatBitsToInt(intBitsToFloat(R1i.y) + -(intBitsToFloat(uf_remappedPS[0].y))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R1i.x)) + 1.0)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[1].x)); -// 1 -R2i.x = floatBitsToInt(intBitsToFloat(R0i.x) * intBitsToFloat(PS0i)); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R1i.y)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R5i.w = floatBitsToInt((0.0 * intBitsToFloat(uf_remappedPS[2].w) + 1.0)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(uf_remappedPS[1].y)); -// 2 -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.y))); -R2i.y = floatBitsToInt(intBitsToFloat(R0i.y) * intBitsToFloat(PS1i)); -R8i.w = 0; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.z)); -R0i.y = floatBitsToInt(tempResultf); -PS0i = R0i.y; -R3i.xyzw = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R2i.xy)).xyzw); -R2i.x = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R2i.xy)).x); -// 0 -R127i.x = floatBitsToInt((intBitsToFloat(R3i.x) * 2.0 + -(1.0))); -PV0i.x = R127i.x; -R127i.y = floatBitsToInt((intBitsToFloat(R3i.y) * 2.0 + -(1.0))); -PV0i.y = R127i.y; -R127i.z = floatBitsToInt((intBitsToFloat(R3i.z) * 2.0 + -(1.0))); -PV0i.z = R127i.z; -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(R2i.x)) + intBitsToFloat(uf_remappedPS[3].x))); -PV0i.w = R127i.w; -R126i.w = floatBitsToInt(intBitsToFloat(R3i.w) * intBitsToFloat(0x437f0000)); -PS0i = R126i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),-(intBitsToFloat(PV0i.w))) + -(intBitsToFloat(uf_remappedPS[4].x)))); -PS1i = R124i.x; -// 2 -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R0i.y))); -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),-(intBitsToFloat(R127i.w))) + -(intBitsToFloat(uf_remappedPS[4].y)))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.z),-(intBitsToFloat(R127i.w))) + -(intBitsToFloat(uf_remappedPS[4].z)))); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.y), intBitsToFloat(R0i.y))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -R5i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PS0i))); -R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.z), intBitsToFloat(R0i.y))); -PS1i = int(intBitsToFloat(R126i.w)); -// 4 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R124i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R125i.z)),-0.0),vec4(-(intBitsToFloat(R124i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R125i.z)),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.x = PS1i & 0x00000002; -PS0i = R1i.x; -// 5 -R125i.x = floatBitsToInt(max(intBitsToFloat(PV0i.x), intBitsToFloat(0x3a83126f))); -PV1i.x = R125i.x; -R0i.y = floatBitsToInt(-(intBitsToFloat(R3i.w)) + 1.0); -R7i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(uf_remappedPS[0].z)),intBitsToFloat(R0i.x)) + 1.0)); -R7i.z = clampFI32(R7i.z); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(R1i.w))); -// 6 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(PS1i),-0.0),vec4(intBitsToFloat(R4i.x),intBitsToFloat(R0i.w),1.0,0.0))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R124i.x)), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R2i.y)), intBitsToFloat(PS0i))); -R5i.z = floatBitsToInt(mul_nonIEEE(-(intBitsToFloat(R125i.z)), intBitsToFloat(PS0i))); -PV1i.z = R5i.z; -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].w), intBitsToFloat(PS0i))); -R126i.w = PV0i.x; -R126i.w = floatBitsToInt(intBitsToFloat(R126i.w) * 2.0); -PS1i = R126i.w; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.z = tempi.x; -R124i.y = floatBitsToInt(min(intBitsToFloat(PV1i.w), 1.0)); -PS0i = R124i.y; -// 9 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R126i.w)) + -(intBitsToFloat(R4i.x)))); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.y),intBitsToFloat(R126i.w)) + -(intBitsToFloat(R0i.w)))); -PV1i.y = R127i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(R126i.w)) + -(intBitsToFloat(R1i.w)))); -PV1i.z = R127i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R0i.y)) + intBitsToFloat(0x3d4ccccd))); -R123i.w = clampFI32(R123i.w); -PV1i.w = R123i.w; -R126i.y = floatBitsToInt((intBitsToFloat(R0i.y) * 0.5 + 0.5)); -PS1i = R126i.y; -// 10 -tempi.x = floatBitsToInt(dot(vec4(-(intBitsToFloat(R124i.x)),-(intBitsToFloat(R2i.y)),-(intBitsToFloat(R125i.z)),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.w))); -PS0i = R125i.y; -// 11 -backupReg0i = R127i.x; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV0i.x)) + intBitsToFloat(R124i.x))); -PV1i.x = R127i.x; -R3i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R2i.y))); -PV1i.y = R3i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV0i.x)) + intBitsToFloat(R125i.z))); -PV1i.z = R127i.z; -R2i.w = floatBitsToInt(intBitsToFloat(PS0i) + -(1.0)); -R127i.y = floatBitsToInt(max(intBitsToFloat(R126i.z), -(1.0))); -PS1i = R127i.y; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(R126i.y))); -R2i.x = floatBitsToInt(intBitsToFloat(R2i.x) / 2.0); -PS0i = R2i.x; -// 13 -R3i.x = floatBitsToInt(-(intBitsToFloat(PS0i)) + 1.0); -PV1i.x = R3i.x; -PV1i.y = R126i.x; -PV1i.y = clampFI32(PV1i.y); -R6i.z = floatBitsToInt(intBitsToFloat(R125i.y) * intBitsToFloat(0x3ea2f983)); -PV1i.w = floatBitsToInt(min(intBitsToFloat(R127i.y), 1.0)); -PS1i = floatBitsToInt(sqrt(intBitsToFloat(PV0i.x))); -// 14 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.x)) + intBitsToFloat(R2i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_remappedPS[2].y))); -R127i.y = clampFI32(R127i.y); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(uf_remappedPS[6].w))); -PV0i.z = R126i.z; -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R124i.y))); -PV0i.w = R4i.w; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PS1i)); -// 15 -backupReg0i = R124i.y; -R0i.x = ((intBitsToFloat(PV0i.z) > 0.0)?int(0xFFFFFFFF):int(0x0)); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(uf_remappedPS[7].y))); -PV1i.w = floatBitsToInt(intBitsToFloat(uf_remappedPS[5].w) * intBitsToFloat(PS0i)); -PV1i.w = clampFI32(PV1i.w); -R126i.x = floatBitsToInt(1.0 / intBitsToFloat(backupReg0i)); -PS1i = R126i.x; -// 16 -backupReg0i = R127i.x; -backupReg1i = R127i.z; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PV1i.w)) + -(intBitsToFloat(R124i.x)))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(PV1i.w)) + -(intBitsToFloat(R2i.y)))); -PV0i.y = R125i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PV1i.w)) + -(intBitsToFloat(R125i.z)))); -PV0i.z = R127i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x40400000)); -R3i.y = floatBitsToInt(1.0 / intBitsToFloat(R125i.x)); -PS0i = R3i.y; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 18 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R124i.y))); -R6i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R127i.y)),intBitsToFloat(R127i.y)) + 1.0)); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(uf_remappedPS[6].y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(PS1i)); -PV0i.w = clampFI32(PV0i.w); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 19 -backupReg0i = R0i.x; -R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS0i))); -PV1i.x = R0i.x; -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS0i))); -PV1i.y = R2i.y; -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -PV1i.z = R1i.z; -R123i.w = ((backupReg0i == 0)?(0):(PV0i.x)); -PV1i.w = R123i.w; -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 20 -backupReg0i = R1i.x; -backupReg1i = R0i.y; -R1i.x = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PV1i.x)); -R0i.y = floatBitsToInt(intBitsToFloat(R0i.w) + intBitsToFloat(PV1i.y)); -R0i.z = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(PV1i.z)); -R3i.w = R126i.z; -R4i.y = floatBitsToInt(intBitsToFloat(backupReg1i) * intBitsToFloat(PS1i)); -PS0i = R4i.y; -R5i.y = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R3i.ww)).x); -// 0 -backupReg0i = R0i.y; -backupReg0i = R0i.y; -backupReg1i = R0i.z; -backupReg1i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),-0.0),vec4(intBitsToFloat(R1i.x),intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.y = ((intBitsToFloat(R3i.z) > intBitsToFloat(uf_remappedPS[7].x))?int(0xFFFFFFFF):int(0x0)); -PS0i = R127i.y; -// 1 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R0i.x),intBitsToFloat(R2i.y),intBitsToFloat(R1i.z),0.0))); -R125i.x = clampFI32(R125i.x); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(PS1i))); -PV0i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.y), intBitsToFloat(PS1i))); -PV0i.y = R125i.y; -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -PV0i.z = R126i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R3i.x)) + intBitsToFloat(R2i.x))); -PV0i.w = R123i.w; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R2i.z))); -PS0i = R127i.w; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R0i.w),intBitsToFloat(R1i.w),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.w = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -PS1i = R126i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R1i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.z),0.0))); -tempi.x = clampFI32(tempi.x); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R125i.y; -// 5 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(PS0i))); -PV1i.x = R127i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(R4i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(R126i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -PS1i = floatBitsToInt(max(-(intBitsToFloat(R5i.z)), 0.0)); -// 6 -R126i.x = ((R127i.y == 0)?(R5i.y):(R127i.w)); -PV0i.x = R126i.x; -R127i.y = floatBitsToInt(min(intBitsToFloat(PS1i), 1.0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.w)) + 1.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV1i.x))); -// 7 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.y), intBitsToFloat(R6i.y))); -PV1i.y = R124i.y; -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV0i.w))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].x), intBitsToFloat(PV0i.x))); -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].y), intBitsToFloat(PV0i.x))); -PS1i = R127i.x; -// 8 -PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.y)) + 1.0); -R125i.y = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x3f75c28f) + intBitsToFloat(0x3d23d70a))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3ea2f983)); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].z), intBitsToFloat(R126i.x))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 9 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R124i.y))); -PV1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) * intBitsToFloat(0x3ea2f983)); -PV1i.z = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x3ea2f983)); -PS1i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PV0i.z))); -// 10 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R125i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PS1i))); -// 11 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV0i.x))); -R8i.x = floatBitsToInt(min(intBitsToFloat(PV0i.w), intBitsToFloat(0x42000000))); -PS1i = R8i.x; -// 12 -R8i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), intBitsToFloat(0x42000000))); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.w) * 0.25); -R8i.z = floatBitsToInt(min(intBitsToFloat(PV1i.z), intBitsToFloat(0x42000000))); -PS0i = R8i.z; -// 13 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PV0i.z))); -// 14 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(PV1i.y))); -// 15 -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV0i.x))); -// 16 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].z), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].y), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[5].x), intBitsToFloat(PV1i.w))); -// 17 -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV0i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.z), intBitsToFloat(PV0i.z))); -// 18 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.y))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PV1i.z))); -// 19 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.w))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.x))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(PV0i.z))); -// 20 -R7i.x = floatBitsToInt(min(intBitsToFloat(PV1i.y), intBitsToFloat(0x42000000))); -R7i.y = floatBitsToInt(min(intBitsToFloat(PV1i.x), intBitsToFloat(0x42000000))); -R7i.z = floatBitsToInt(min(intBitsToFloat(PV1i.w), intBitsToFloat(0x42000000))); -// 21 -R0i.xyz = ivec3(R8i.x,R8i.y,R8i.z); -R0i.w = R8i.w; -// 22 -R1i.xyz = ivec3(R7i.x,R7i.y,R7i.z); -R1i.w = R7i.w; -// export -passPixelColor0 = vec4(intBitsToFloat(R0i.x), intBitsToFloat(R0i.y), intBitsToFloat(R0i.z), intBitsToFloat(R0i.w)); -passPixelColor1 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -} diff --git a/Workaround/BreathOfTheWild_!AMDLights/rules.txt b/Workaround/BreathOfTheWild_!AMDLights/rules.txt deleted file mode 100644 index f0cf2de9..00000000 --- a/Workaround/BreathOfTheWild_!AMDLights/rules.txt +++ /dev/null @@ -1,8 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - AMD Light Circle fix" -version = 2 - -# credit of identifying shaders go to Kiri -# these two shaders are based on Glow Lights Color Mod -# works Cemu 1.11.0c and BotW 1.3.1 and 1.4.0 \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_!AMDShadows/rules.txt b/Workaround/BreathOfTheWild_!AMDShadows/rules.txt deleted file mode 100644 index 8a724823..00000000 --- a/Workaround/BreathOfTheWild_!AMDShadows/rules.txt +++ /dev/null @@ -1,6 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - AMD Shadows" # made by ethrillo -version = 2 - -#Updated by Cypher to support BotW 1.40 \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_LwzxNullCheck/rules.txt b/Workaround/BreathOfTheWild_LwzxNullCheck/rules.txt deleted file mode 100644 index 6f4c38f8..00000000 --- a/Workaround/BreathOfTheWild_LwzxNullCheck/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - LWZX Crash workaround" -version = 2 \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/10e939370329849a_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/10e939370329849a_0000000000000000_vs.txt deleted file mode 100644 index 0a29e900..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/10e939370329849a_0000000000000000_vs.txt +++ /dev/null @@ -1,471 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 10e939370329849a -// Used for: Fixing Nvidia lava when on Vah Rudania. -// Check rules.txt for documentation and when to enable. - - - -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 2, std140) uniform uniformBlockVS2 -{ -vec4 uf_blockVS2[1024]; -}; - -layout(binding = 4, std140) uniform uniformBlockVS4 -{ -vec4 uf_blockVS4[1024]; -}; - -layout(binding = 8, std140) uniform uniformBlockVS8 -{ -vec4 uf_blockVS8[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem6; -layout(location = 4) in uvec4 attrDataSem8; -layout(location = 5) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 6) out vec4 passParameterSem6; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 7) out vec4 passParameterSem7; -layout(location = 3) out vec4 passParameterSem3; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R11i = ivec4(0); -ivec4 R12i = ivec4(0); -ivec4 R13i = ivec4(0); -ivec4 R14i = ivec4(0); -ivec4 R15i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = uvec4(attrDataSem6.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -// 0 -backupReg0i = R1i.x; -R7i.x = 0x3f800000; -R1i.yzw = ivec3(0x3f800000,floatBitsToInt(uf_blockVS4[3].y),0x3f800000); -R1i.x = backupReg0i * 0x00000003; -PS0i = R1i.x; -// 1 -R0i.x = PS0i + 0x00000002; -R0i.y = floatBitsToInt(uf_blockVS8[7].x); -R0i.z = floatBitsToInt(uf_blockVS8[7].y); -R0i.w = PS0i + int(1); -R8i.x = floatBitsToInt(uf_blockVS8[8].x); -PS1i = R8i.x; -R9i.xyzw = floatBitsToInt(uf_blockVS2[R1i.x].xyzw); -R10i.xyzw = floatBitsToInt(uf_blockVS2[R0i.w].xyzw); -R11i.xyzw = floatBitsToInt(uf_blockVS2[R0i.x].xyzw); -// export -passParameterSem5 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -// 0 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),intBitsToFloat(R9i.w)))); -PV0i.x = R127i.x; -PV0i.y = R127i.x; -PV0i.z = R127i.x; -PV0i.w = R127i.x; -R127i.w = floatBitsToInt(uf_blockVS8[8].y); -PS0i = R127i.w; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),intBitsToFloat(R10i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R126i.w = floatBitsToInt(uf_blockVS8[11].x); -PS1i = R126i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),intBitsToFloat(R11i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R126i.y = floatBitsToInt(uf_blockVS8[11].y); -PS0i = R126i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x),intBitsToFloat(R7i.x)),vec4(uf_blockVS1[0].x,uf_blockVS1[0].y,uf_blockVS1[0].z,uf_blockVS1[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.w = R5i.w; -PS1i = R14i.w; -// 4 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R7i.x)),vec4(uf_blockVS1[1].x,uf_blockVS1[1].y,uf_blockVS1[1].z,uf_blockVS1[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R4i.x = PV1i.x; -PS0i = R4i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(R7i.x)),vec4(uf_blockVS1[2].x,uf_blockVS1[2].y,uf_blockVS1[2].z,uf_blockVS1[2].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = PV0i.x; -PS1i = R4i.y; -// 6 -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].x,intBitsToFloat(R1i.z)) + intBitsToFloat(R0i.y))); -R124i.y = floatBitsToInt(uf_blockVS8[12].y); -R4i.z = PV1i.x; -PV0i.z = R4i.z; -R125i.w = floatBitsToInt(uf_blockVS8[12].x); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].y,intBitsToFloat(R1i.z)) + intBitsToFloat(R0i.z))); -PS0i = R127i.y; -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R1i.y)),vec4(uf_blockVS1[8].x,uf_blockVS1[8].y,uf_blockVS1[8].z,uf_blockVS1[8].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.y = tempi.x; -R13i.z = R6i.x; -PS1i = R13i.z; -// 8 -R12i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.y)),vec4(uf_blockVS1[7].x,uf_blockVS1[7].y,uf_blockVS1[7].z,uf_blockVS1[7].w))); -PV0i.x = R12i.x; -PV0i.y = R12i.x; -PV0i.z = R12i.x; -PV0i.w = R12i.x; -R0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x))); -PS0i = R0i.z; -// 9 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.y)),vec4(uf_blockVS1[9].x,uf_blockVS1[9].y,uf_blockVS1[9].z,uf_blockVS1[9].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R12i.z = tempi.x; -R13i.w = R6i.y; -PS1i = R13i.w; -// 10 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.y)),vec4(uf_blockVS1[10].x,uf_blockVS1[10].y,uf_blockVS1[10].z,uf_blockVS1[10].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R12i.w = tempi.x; -R15i.z = PV1i.x; -PS0i = R15i.z; -// 11 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),0.0))); -PV1i.x = R126i.x; -PV1i.y = R126i.x; -PV1i.z = R126i.x; -PV1i.w = R126i.x; -R7i.x = floatBitsToInt(uf_blockVS8[7].z); -PS1i = R7i.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.y = tempi.x; -R1i.w = floatBitsToInt(uf_blockVS8[7].w); -PS0i = R1i.w; -// 13 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R126i.z = tempi.x; -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS8[16].x,intBitsToFloat(R1i.z)) + intBitsToFloat(R8i.x))); -PS1i = R127i.z; -// 14 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),0.0))); -PV0i.x = R125i.x; -PV0i.y = R125i.x; -PV0i.z = R125i.x; -PV0i.w = R125i.x; -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS8[16].y,intBitsToFloat(R1i.z)) + intBitsToFloat(R127i.w))); -PS0i = R125i.y; -// 15 -backupReg0i = R10i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R10i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R10i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R10i.y = tempi.x; -R10i.x = floatBitsToInt(uf_blockVS8[9].x); -PS1i = R10i.x; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R5i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(R11i.x),intBitsToFloat(R11i.y),intBitsToFloat(R11i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R10i.z = tempi.x; -R5i.w = floatBitsToInt(uf_blockVS8[9].y); -PS0i = R5i.w; -// 17 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y),intBitsToFloat(R126i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R1i.y),intBitsToFloat(R126i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R5i.x = floatBitsToInt(uf_blockVS8[10].x); -PS1i = R5i.x; -// 18 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R10i.y),intBitsToFloat(R10i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R5i.y = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -R125i.z = floatBitsToInt(tempResultf); -PS0i = R125i.z; -// 19 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].y,intBitsToFloat(R1i.z)) + intBitsToFloat(R126i.y))); -R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(backupReg0i)) + intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].x,intBitsToFloat(R1i.z)) + intBitsToFloat(R126i.w))); -R10i.w = floatBitsToInt(uf_blockVS8[10].y); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.y)) + intBitsToFloat(R125i.y))); -PS1i = R5i.z; -// 20 -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS8[16].y,intBitsToFloat(R1i.z)) + intBitsToFloat(R124i.y))); -PV0i.x = R123i.x; -R9i.y = floatBitsToInt(uf_blockVS8[11].w); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS8[16].x,intBitsToFloat(R1i.z)) + intBitsToFloat(R125i.w))); -PV0i.z = R123i.z; -R11i.w = floatBitsToInt(uf_blockVS8[11].z); -R9i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(R125i.z))); -PS0i = R9i.x; -// 21 -backupReg0i = R1i.y; -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R125i.z))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R125i.z))); -R11i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -R9i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R127i.z)) + intBitsToFloat(PV0i.z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(R5i.y)); -R2i.w = floatBitsToInt(tempResultf); -PS1i = R2i.w; -// 22 -backupReg0i = R10i.y; -R11i.x = floatBitsToInt(uf_blockVS8[6].x); -R10i.y = floatBitsToInt(uf_blockVS8[31].x); -R9i.z = floatBitsToInt(uf_blockVS8[6].y); -R0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS1i))); -R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PS0i = R5i.y; -// export -gl_Position = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), 1.0); // "workaround" -// export -passParameterSem6 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// 0 -R125i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].x,intBitsToFloat(R1i.z)) + intBitsToFloat(R10i.x))); -R124i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].w,intBitsToFloat(R1i.z)) + intBitsToFloat(R1i.w))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].z,intBitsToFloat(R1i.z)) + intBitsToFloat(R7i.x))); -PV0i.z = R123i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].y,intBitsToFloat(R1i.z)) + intBitsToFloat(R5i.w))); -R127i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].z,intBitsToFloat(R1i.z)) + intBitsToFloat(R11i.w))); -PS0i = R127i.z; -// 1 -R127i.x = floatBitsToInt(uf_blockVS8[9].z); -R123i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS8[16].y,intBitsToFloat(R1i.z)) + intBitsToFloat(R10i.w))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS8[16].x,intBitsToFloat(R1i.z)) + intBitsToFloat(R5i.x))); -PV1i.z = R123i.z; -R126i.w = floatBitsToInt(uf_blockVS8[9].w); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.z)) + intBitsToFloat(R11i.y))); -PS1i = R127i.w; -// 2 -backupReg0i = R124i.y; -backupReg1i = R125i.w; -backupReg2i = R127i.z; -R123i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].w,intBitsToFloat(R1i.z)) + intBitsToFloat(R9i.y))); -PV0i.x = R123i.x; -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(backupReg0i)) + intBitsToFloat(R5i.z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(R125i.x)) + intBitsToFloat(PV1i.z))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV1i.y))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(backupReg2i)) + intBitsToFloat(R9i.w))); -PS0i = R126i.y; -// 3 -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV0i.x)) + intBitsToFloat(R11i.z))); -R125i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS8[5].y,intBitsToFloat(R10i.y)) + intBitsToFloat(R9i.z))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.z), intBitsToFloat(R2i.w))); -R124i.w = floatBitsToInt((mul_nonIEEE(uf_blockVS8[5].x,intBitsToFloat(R10i.y)) + intBitsToFloat(R11i.x))); -R15i.x = floatBitsToInt(intBitsToFloat(R12i.x) + intBitsToFloat(R12i.w)); -R15i.x = floatBitsToInt(intBitsToFloat(R15i.x) / 2.0); -PS1i = R15i.x; -// 4 -backupReg0i = R0i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R1i.y),intBitsToFloat(R3i.x),-0.0),vec4(uf_blockVS1[0].x,uf_blockVS1[0].y,uf_blockVS1[0].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R15i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(R12i.w)); -R15i.y = floatBitsToInt(intBitsToFloat(R15i.y) / 2.0); -PS0i = R15i.y; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R1i.y),intBitsToFloat(R3i.x),-0.0),vec4(uf_blockVS1[1].x,uf_blockVS1[1].y,uf_blockVS1[1].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.x = PV0i.x; -PS1i = R2i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R1i.y),intBitsToFloat(R3i.x),-0.0),vec4(uf_blockVS1[2].x,uf_blockVS1[2].y,uf_blockVS1[2].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.y = PV1i.x; -PS0i = R2i.y; -// 7 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), uf_blockVS1[0].z)); -R127i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].w,intBitsToFloat(R1i.z)) + intBitsToFloat(R126i.w))); -R123i.z = floatBitsToInt((mul_nonIEEE(uf_blockVS8[15].z,intBitsToFloat(R1i.z)) + intBitsToFloat(backupReg0i))); -PV1i.z = R123i.z; -R2i.w = PV0i.x; -R15i.w = R12i.w; -PS1i = R15i.w; -// 8 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),uf_blockVS8[13].y) + uf_blockVS8[14].y)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),uf_blockVS8[13].x) + uf_blockVS8[14].x)); -PV0i.y = R123i.y; -R1i.z = R127i.w; -R1i.w = R124i.y; -R12i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(PV1i.z)) + intBitsToFloat(R127i.z))); -PS0i = R12i.x; -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),uf_blockVS1[0].y) + intBitsToFloat(R127i.x))); -PV1i.x = R123i.x; -R12i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(R125i.w))); -R12i.w = R125i.x; -R13i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),uf_blockVS8[13].z) + intBitsToFloat(PV0i.y))); -PS1i = R13i.x; -// 10 -R14i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),uf_blockVS1[0].x) + intBitsToFloat(PV1i.x))); -R13i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.y),uf_blockVS8[13].w) + intBitsToFloat(R126i.x))); -R12i.z = R126i.y; -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.w),intBitsToFloat(R5i.y),intBitsToFloat(R126i.z),-0.0),vec4(uf_blockVS1[1].x,uf_blockVS1[1].y,uf_blockVS1[1].z,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R14i.y = tempi.x; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R0i.w),intBitsToFloat(R5i.y),intBitsToFloat(R126i.z),-0.0),vec4(uf_blockVS1[2].x,uf_blockVS1[2].y,uf_blockVS1[2].z,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R14i.z = tempi.x; -// 13 -R1i.x = floatBitsToInt((mul_nonIEEE(uf_blockVS8[5].z,uf_blockVS8[31].x) + intBitsToFloat(R124i.w))); -R1i.y = floatBitsToInt((mul_nonIEEE(uf_blockVS8[5].w,uf_blockVS8[31].x) + intBitsToFloat(R125i.y))); -// export -passParameterSem0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem1 = vec4(intBitsToFloat(R12i.x), intBitsToFloat(R12i.y), intBitsToFloat(R12i.z), intBitsToFloat(R12i.w)); -// export -passParameterSem2 = vec4(intBitsToFloat(R13i.x), intBitsToFloat(R13i.y), intBitsToFloat(R13i.z), intBitsToFloat(R13i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R14i.x), intBitsToFloat(R14i.y), intBitsToFloat(R14i.z), intBitsToFloat(R14i.w)); -// export -passParameterSem7 = vec4(intBitsToFloat(R15i.x), intBitsToFloat(R15i.y), intBitsToFloat(R15i.z), intBitsToFloat(R15i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.w), intBitsToFloat(R2i.w)); -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33e6425e2e83_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33e6425e2e83_0000000000000000_vs.txt deleted file mode 100644 index 2ffccbdb..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33e6425e2e83_0000000000000000_vs.txt +++ /dev/null @@ -1,449 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 127a33e6425e2e83 -// Used for: Fixing Nvidia lava artifacts. -// Check rules.txt for documentation and when to enable. - - - - -uniform ivec4 uf_remappedVS[24]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 7) out vec4 passParameterSem7; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 6) out vec4 passParameterSem6; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R12f = vec4(0.0); -vec4 R13f = vec4(0.0); -vec4 R14f = vec4(0.0); -vec4 R15f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xy = floatBitsToUint(vec2(float(attrDecoder.x), float(attrDecoder.y))/65535.0); -attrDecoder.zw = uvec2(0); -R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -R7f.x = 1.0; -R6f.y = 1.0; -R0f.z = intBitsToFloat(uf_remappedVS[0].y); -R127f.w = 1.0; -PV0f.w = R127f.w; -R124f.x = intBitsToFloat(uf_remappedVS[1].x); -PS0f = R124f.x; -// 1 -R6f.x = dot(vec4(R3f.x,R3f.y,R3f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV1f.x = R6f.x; -PV1f.y = R6f.x; -PV1f.z = R6f.x; -PV1f.w = R6f.x; -R13f.w = R4f.w; -PS1f = R13f.w; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R12f.z = R5f.x; -PS0f = R12f.z; -// 3 -backupReg0f = R3f.z; -tempf.x = dot(vec4(R3f.x,R3f.y,backupReg0f,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.z = tempf.x; -R12f.w = R5f.y; -PS1f = R12f.w; -// 4 -R3f.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV0f.x = R3f.x; -PV0f.y = R3f.x; -PV0f.z = R3f.x; -PV0f.w = R3f.x; -R127f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[2].z)); -PS0f = R127f.x; -// 5 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R124f.y = tempf.x; -R126f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[3].z)); -PS1f = R126f.x; -// 6 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R125f.z = tempf.x; -R125f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[4].z)); -PS0f = R125f.x; -// 7 -backupReg0f = R126f.x; -R126f.x = dot(vec4(R4f.x,R4f.y,R127f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),1.0,0.0)); -PV1f.x = R126f.x; -PV1f.y = R126f.x; -PV1f.z = R126f.x; -PV1f.w = R126f.x; -R122f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[3].y)) + backupReg0f); -PS1f = R122f.x; -// 8 -R123f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[4].y)) + R125f.x); -PV0f.x = R123f.x; -R2f.y = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[3].x)) + PS1f); -PS0f = mul_nonIEEE(R125f.z, R125f.z); -// 9 -R123f.x = (mul_nonIEEE(R124f.y,R124f.y) + PS0f); -PV1f.x = R123f.x; -R4f.z = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[4].x)) + PV0f.x); -R127f.w = intBitsToFloat(uf_remappedVS[1].y); -// 10 -R125f.x = intBitsToFloat(uf_remappedVS[5].x); -R127f.y = intBitsToFloat(uf_remappedVS[5].y); -R126f.z = intBitsToFloat(uf_remappedVS[6].x); -R123f.w = (mul_nonIEEE(R3f.x,R3f.x) + PV1f.x); -PV0f.w = R123f.w; -R125f.y = intBitsToFloat(uf_remappedVS[6].y); -PS0f = R125f.y; -// 11 -backupReg0f = R124f.x; -R124f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R127f.w); -R126f.y = intBitsToFloat(uf_remappedVS[8].y); -R127f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + backupReg0f); -R127f.w = intBitsToFloat(uf_remappedVS[8].x); -tempResultf = 1.0 / sqrt(PV0f.w); -R124f.z = tempResultf; -PS1f = R124f.z; -// 12 -tempf.x = dot(vec4(R126f.x,R2f.y,R4f.z,-0.0),vec4(R126f.x,R2f.y,R4f.z,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R4f.y = tempf.x; -R4f.x = intBitsToFloat(uf_remappedVS[1].z); -PS0f = R4f.x; -// 13 -backupReg0f = R127f.y; -backupReg1f = R125f.x; -R125f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R127f.w); -R127f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + backupReg0f); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + backupReg1f); -PV1f.z = R123f.z; -R127f.w = intBitsToFloat(uf_remappedVS[1].w); -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R126f.y); -PS1f = R127f.x; -// 14 -backupReg0f = R127f.z; -R2f.x = intBitsToFloat(uf_remappedVS[10].x); -R126f.y = intBitsToFloat(uf_remappedVS[11].x); -R127f.z = intBitsToFloat(uf_remappedVS[11].y); -R126f.w = intBitsToFloat(uf_remappedVS[10].y); -R0f.x = (mul_nonIEEE(R5f.x,backupReg0f) + PV1f.z); -PS0f = R0f.x; -// 15 -backupReg0f = R127f.y; -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R125f.y); -PV1f.x = R123f.x; -R127f.y = intBitsToFloat(uf_remappedVS[6].w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R126f.z); -PV1f.z = R123f.z; -R125f.w = intBitsToFloat(uf_remappedVS[6].z); -R126f.z = (mul_nonIEEE(R5f.x,R124f.x) + backupReg0f); -PS1f = R126f.z; -// 16 -backupReg0f = R4f.y; -R8f.x = mul_nonIEEE(R125f.z, R124f.z); -R4f.y = mul_nonIEEE(R124f.y, R124f.z); -R125f.z = (mul_nonIEEE(R5f.x,PV1f.x) + R127f.x); -R124f.w = (mul_nonIEEE(R5f.x,PV1f.z) + R125f.x); -tempResultf = 1.0 / sqrt(backupReg0f); -R4f.w = tempResultf; -PS0f = R4f.w; -// 17 -backupReg0f = R3f.x; -R3f.x = mul_nonIEEE(backupReg0f, R124f.z); -R125f.y = intBitsToFloat(uf_remappedVS[12].x); -R2f.z = intBitsToFloat(uf_remappedVS[13].x); -R0f.w = intBitsToFloat(uf_remappedVS[13].y); -R9f.x = mul_nonIEEE(R126f.x, PS0f); -PS1f = R9f.x; -// 18 -R126f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R2f.x); -R124f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R4f.x); -PV0f.z = R123f.z; -R127f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R126f.w); -R124f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R125f.w); -PS0f = R124f.z; -// 19 -R127f.x = intBitsToFloat(uf_remappedVS[10].z); -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R127f.z); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R126f.y); -PV1f.z = R123f.z; -R126f.w = intBitsToFloat(uf_remappedVS[10].w); -R125f.w = (mul_nonIEEE(R5f.y,PV0f.z) + R0f.x); -PS1f = R125f.w; -// 20 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.y); -PV0f.x = R123f.x; -R127f.y = (mul_nonIEEE(R5f.y,R124f.y) + R126f.z); -R126f.z = (mul_nonIEEE(R5f.x,R126f.x) + PV1f.z); -R2f.w = (mul_nonIEEE(R5f.x,R127f.w) + PV1f.y); -R124f.y = (mul_nonIEEE(R5f.y,R124f.z) + R124f.w); -PS0f = R124f.y; -// 21 -backupReg0f = R2f.z; -backupReg1f = R0f.w; -R126f.x = (mul_nonIEEE(R5f.y,PV0f.x) + R125f.z); -R3f.y = mul_nonIEEE(R2f.y, R4f.w); -R2f.z = mul_nonIEEE(R4f.z, R4f.w); -R0f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].x),R125f.y) + backupReg0f); -R4f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].y),R125f.y) + backupReg1f); -PS1f = R4f.w; -// 22 -R2f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R126f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R127f.x); -PV0f.z = R123f.z; -R10f.w = R127f.y; -R10f.z = R125f.w; -PS0f = R10f.z; -// 23 -R0f.x = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].y)) + intBitsToFloat(uf_remappedVS[16].y)); -R7f.y = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].x)) + intBitsToFloat(uf_remappedVS[16].x)); -R11f.z = R124f.y; -R11f.w = R126f.x; -R11f.x = (mul_nonIEEE(R5f.y,PV0f.z) + R126f.z); -PS1f = R11f.x; -// export -passParameterSem5 = vec4(R1f.x, R1f.y, R1f.z, 1.0); // = "workaround" -// 0 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R11f.y = (mul_nonIEEE(R5f.y,R2f.y) + R2f.w); -PS0f = R11f.y; -// 1 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R15f.x = PV0f.x; -PS1f = R15f.x; -// 2 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),intBitsToFloat(uf_remappedVS[19].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R15f.y = PV1f.x; -PS0f = R15f.y; -// 3 -R10f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[12].x)) + R0f.w); -R10f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].w),intBitsToFloat(uf_remappedVS[12].x)) + R4f.w); -R15f.z = PV0f.x; -PV1f.z = R15f.z; -// 4 -tempf.x = dot(vec4(R15f.x,R15f.y,PV1f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[20].x),intBitsToFloat(uf_remappedVS[20].y),intBitsToFloat(uf_remappedVS[20].z),intBitsToFloat(uf_remappedVS[20].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.y = tempf.x; -// 5 -R1f.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),intBitsToFloat(uf_remappedVS[21].w))); -PV1f.x = R1f.x; -PV1f.y = R1f.x; -PV1f.z = R1f.x; -PV1f.w = R1f.x; -R126f.z = -(PV0f.x); -PS1f = R126f.z; -// 6 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),intBitsToFloat(uf_remappedVS[22].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.z = tempf.x; -// 7 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(uf_remappedVS[23].z),intBitsToFloat(uf_remappedVS[23].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R1f.w = tempf.x; -R6f.z = PV0f.x; -PS1f = R6f.z; -// 8 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R6f.x = R1f.x + PV1f.x; -R6f.x /= 2.0; -PS0f = R6f.x; -// 9 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R14f.x = PV0f.x; -PS1f = R14f.x; -// 10 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R14f.y = PV1f.x; -PS0f = R14f.y; -// 11 -R13f.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV1f.x = R13f.x; -PV1f.y = R13f.x; -PV1f.z = R13f.x; -PV1f.w = R13f.x; -R14f.z = PV0f.x; -PS1f = R14f.z; -// 12 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R13f.y = tempf.x; -R6f.y = R126f.z + R1f.w; -R6f.y /= 2.0; -PS0f = R6f.y; -// 13 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R13f.z = tempf.x; -R6f.w = R1f.w; -PS1f = R6f.w; -// 14 -R12f.x = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].z)) + R7f.y); -R12f.y = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].w)) + R0f.x); -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R10f.x, R10f.y, R10f.z, R10f.w); -// export -passParameterSem1 = vec4(R11f.x, R11f.y, R11f.z, R11f.w); -// export -passParameterSem2 = vec4(R12f.x, R12f.y, R12f.z, R12f.w); -// export -passParameterSem4 = vec4(R13f.x, R13f.y, R13f.z, R13f.w); -// export -passParameterSem7 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -// export -passParameterSem3 = vec4(R14f.x, R14f.y, R14f.z, R14f.w); -// export -passParameterSem6 = vec4(R15f.x, R15f.y, R15f.z, R15f.w); -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33e6825e2e83_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33e6825e2e83_0000000000000000_vs.txt deleted file mode 100644 index 069eb228..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33e6825e2e83_0000000000000000_vs.txt +++ /dev/null @@ -1,451 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 127a33e6825e2e83 -// Used for: Fixing Nvidia lava waterfall artifacts. -// Check rules.txt for documentation and when to enable. - - - -uniform ivec4 uf_remappedVS[24]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 7) out vec4 passParameterSem7; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 6) out vec4 passParameterSem6; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R12f = vec4(0.0); -vec4 R13f = vec4(0.0); -vec4 R14f = vec4(0.0); -vec4 R15f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -if( (attrDecoder.x&0x8000) != 0 ) attrDecoder.x |= 0xFFFF0000; -if( (attrDecoder.y&0x8000) != 0 ) attrDecoder.y |= 0xFFFF0000; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/32767.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/32767.0,-1.0)); -attrDecoder.zw = uvec2(0); -R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -R7f.x = 1.0; -R6f.y = 1.0; -R0f.z = intBitsToFloat(uf_remappedVS[0].y); -R127f.w = 1.0; -PV0f.w = R127f.w; -R124f.x = intBitsToFloat(uf_remappedVS[1].x); -PS0f = R124f.x; -// 1 -R6f.x = dot(vec4(R3f.x,R3f.y,R3f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV1f.x = R6f.x; -PV1f.y = R6f.x; -PV1f.z = R6f.x; -PV1f.w = R6f.x; -R13f.w = R4f.w; -PS1f = R13f.w; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R12f.z = R5f.x; -PS0f = R12f.z; -// 3 -backupReg0f = R3f.z; -tempf.x = dot(vec4(R3f.x,R3f.y,backupReg0f,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.z = tempf.x; -R12f.w = R5f.y; -PS1f = R12f.w; -// 4 -R3f.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV0f.x = R3f.x; -PV0f.y = R3f.x; -PV0f.z = R3f.x; -PV0f.w = R3f.x; -R127f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[2].z)); -PS0f = R127f.x; -// 5 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R124f.y = tempf.x; -R126f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[3].z)); -PS1f = R126f.x; -// 6 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R125f.z = tempf.x; -R125f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[4].z)); -PS0f = R125f.x; -// 7 -backupReg0f = R126f.x; -R126f.x = dot(vec4(R4f.x,R4f.y,R127f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),1.0,0.0)); -PV1f.x = R126f.x; -PV1f.y = R126f.x; -PV1f.z = R126f.x; -PV1f.w = R126f.x; -R122f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[3].y)) + backupReg0f); -PS1f = R122f.x; -// 8 -R123f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[4].y)) + R125f.x); -PV0f.x = R123f.x; -R2f.y = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[3].x)) + PS1f); -PS0f = mul_nonIEEE(R125f.z, R125f.z); -// 9 -R123f.x = (mul_nonIEEE(R124f.y,R124f.y) + PS0f); -PV1f.x = R123f.x; -R4f.z = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[4].x)) + PV0f.x); -R127f.w = intBitsToFloat(uf_remappedVS[1].y); -// 10 -R125f.x = intBitsToFloat(uf_remappedVS[5].x); -R127f.y = intBitsToFloat(uf_remappedVS[5].y); -R126f.z = intBitsToFloat(uf_remappedVS[6].x); -R123f.w = (mul_nonIEEE(R3f.x,R3f.x) + PV1f.x); -PV0f.w = R123f.w; -R125f.y = intBitsToFloat(uf_remappedVS[6].y); -PS0f = R125f.y; -// 11 -backupReg0f = R124f.x; -R124f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R127f.w); -R126f.y = intBitsToFloat(uf_remappedVS[8].y); -R127f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + backupReg0f); -R127f.w = intBitsToFloat(uf_remappedVS[8].x); -tempResultf = 1.0 / sqrt(PV0f.w); -R124f.z = tempResultf; -PS1f = R124f.z; -// 12 -tempf.x = dot(vec4(R126f.x,R2f.y,R4f.z,-0.0),vec4(R126f.x,R2f.y,R4f.z,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R4f.y = tempf.x; -R4f.x = intBitsToFloat(uf_remappedVS[1].z); -PS0f = R4f.x; -// 13 -backupReg0f = R127f.y; -backupReg1f = R125f.x; -R125f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R127f.w); -R127f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + backupReg0f); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + backupReg1f); -PV1f.z = R123f.z; -R127f.w = intBitsToFloat(uf_remappedVS[1].w); -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R126f.y); -PS1f = R127f.x; -// 14 -backupReg0f = R127f.z; -R2f.x = intBitsToFloat(uf_remappedVS[10].x); -R126f.y = intBitsToFloat(uf_remappedVS[11].x); -R127f.z = intBitsToFloat(uf_remappedVS[11].y); -R126f.w = intBitsToFloat(uf_remappedVS[10].y); -R0f.x = (mul_nonIEEE(R5f.x,backupReg0f) + PV1f.z); -PS0f = R0f.x; -// 15 -backupReg0f = R127f.y; -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R125f.y); -PV1f.x = R123f.x; -R127f.y = intBitsToFloat(uf_remappedVS[6].w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R126f.z); -PV1f.z = R123f.z; -R125f.w = intBitsToFloat(uf_remappedVS[6].z); -R126f.z = (mul_nonIEEE(R5f.x,R124f.x) + backupReg0f); -PS1f = R126f.z; -// 16 -backupReg0f = R4f.y; -R8f.x = mul_nonIEEE(R125f.z, R124f.z); -R4f.y = mul_nonIEEE(R124f.y, R124f.z); -R125f.z = (mul_nonIEEE(R5f.x,PV1f.x) + R127f.x); -R124f.w = (mul_nonIEEE(R5f.x,PV1f.z) + R125f.x); -tempResultf = 1.0 / sqrt(backupReg0f); -R4f.w = tempResultf; -PS0f = R4f.w; -// 17 -backupReg0f = R3f.x; -R3f.x = mul_nonIEEE(backupReg0f, R124f.z); -R125f.y = intBitsToFloat(uf_remappedVS[12].x); -R2f.z = intBitsToFloat(uf_remappedVS[13].x); -R0f.w = intBitsToFloat(uf_remappedVS[13].y); -R9f.x = mul_nonIEEE(R126f.x, PS0f); -PS1f = R9f.x; -// 18 -R126f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R2f.x); -R124f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R4f.x); -PV0f.z = R123f.z; -R127f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R126f.w); -R124f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R125f.w); -PS0f = R124f.z; -// 19 -R127f.x = intBitsToFloat(uf_remappedVS[10].z); -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R127f.z); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R126f.y); -PV1f.z = R123f.z; -R126f.w = intBitsToFloat(uf_remappedVS[10].w); -R125f.w = (mul_nonIEEE(R5f.y,PV0f.z) + R0f.x); -PS1f = R125f.w; -// 20 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.y); -PV0f.x = R123f.x; -R127f.y = (mul_nonIEEE(R5f.y,R124f.y) + R126f.z); -R126f.z = (mul_nonIEEE(R5f.x,R126f.x) + PV1f.z); -R2f.w = (mul_nonIEEE(R5f.x,R127f.w) + PV1f.y); -R124f.y = (mul_nonIEEE(R5f.y,R124f.z) + R124f.w); -PS0f = R124f.y; -// 21 -backupReg0f = R2f.z; -backupReg1f = R0f.w; -R126f.x = (mul_nonIEEE(R5f.y,PV0f.x) + R125f.z); -R3f.y = mul_nonIEEE(R2f.y, R4f.w); -R2f.z = mul_nonIEEE(R4f.z, R4f.w); -R0f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].x),R125f.y) + backupReg0f); -R4f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].y),R125f.y) + backupReg1f); -PS1f = R4f.w; -// 22 -R2f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R126f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R127f.x); -PV0f.z = R123f.z; -R10f.w = R127f.y; -R10f.z = R125f.w; -PS0f = R10f.z; -// 23 -R0f.x = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].y)) + intBitsToFloat(uf_remappedVS[16].y)); -R7f.y = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].x)) + intBitsToFloat(uf_remappedVS[16].x)); -R11f.z = R124f.y; -R11f.w = R126f.x; -R11f.x = (mul_nonIEEE(R5f.y,PV0f.z) + R126f.z); -PS1f = R11f.x; -// export -passParameterSem5 = vec4(R1f.x, R1f.y, R1f.z, 1.0); // = "workaround" -// 0 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R11f.y = (mul_nonIEEE(R5f.y,R2f.y) + R2f.w); -PS0f = R11f.y; -// 1 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R15f.x = PV0f.x; -PS1f = R15f.x; -// 2 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),intBitsToFloat(uf_remappedVS[19].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R15f.y = PV1f.x; -PS0f = R15f.y; -// 3 -R10f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[12].x)) + R0f.w); -R10f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].w),intBitsToFloat(uf_remappedVS[12].x)) + R4f.w); -R15f.z = PV0f.x; -PV1f.z = R15f.z; -// 4 -tempf.x = dot(vec4(R15f.x,R15f.y,PV1f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[20].x),intBitsToFloat(uf_remappedVS[20].y),intBitsToFloat(uf_remappedVS[20].z),intBitsToFloat(uf_remappedVS[20].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.y = tempf.x; -// 5 -R1f.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),intBitsToFloat(uf_remappedVS[21].w))); -PV1f.x = R1f.x; -PV1f.y = R1f.x; -PV1f.z = R1f.x; -PV1f.w = R1f.x; -R126f.z = -(PV0f.x); -PS1f = R126f.z; -// 6 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),intBitsToFloat(uf_remappedVS[22].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.z = tempf.x; -// 7 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(uf_remappedVS[23].z),intBitsToFloat(uf_remappedVS[23].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R1f.w = tempf.x; -R6f.z = PV0f.x; -PS1f = R6f.z; -// 8 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R6f.x = R1f.x + PV1f.x; -R6f.x /= 2.0; -PS0f = R6f.x; -// 9 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R14f.x = PV0f.x; -PS1f = R14f.x; -// 10 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R14f.y = PV1f.x; -PS0f = R14f.y; -// 11 -R13f.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV1f.x = R13f.x; -PV1f.y = R13f.x; -PV1f.z = R13f.x; -PV1f.w = R13f.x; -R14f.z = PV0f.x; -PS1f = R14f.z; -// 12 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R13f.y = tempf.x; -R6f.y = R126f.z + R1f.w; -R6f.y /= 2.0; -PS0f = R6f.y; -// 13 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R13f.z = tempf.x; -R6f.w = R1f.w; -PS1f = R6f.w; -// 14 -R12f.x = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].z)) + R7f.y); -R12f.y = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].w)) + R0f.x); -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R10f.x, R10f.y, R10f.z, R10f.w); -// export -passParameterSem1 = vec4(R11f.x, R11f.y, R11f.z, R11f.w); -// export -passParameterSem2 = vec4(R12f.x, R12f.y, R12f.z, R12f.w); -// export -passParameterSem4 = vec4(R13f.x, R13f.y, R13f.z, R13f.w); -// export -passParameterSem7 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -// export -passParameterSem3 = vec4(R14f.x, R14f.y, R14f.z, R14f.w); -// export -passParameterSem6 = vec4(R15f.x, R15f.y, R15f.z, R15f.w); -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33ea625e2e83_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33ea625e2e83_0000000000000000_vs.txt deleted file mode 100644 index 1c755a38..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/127a33ea625e2e83_0000000000000000_vs.txt +++ /dev/null @@ -1,449 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 127a33ea625e2e83 -// Used for: Fixing Nvidia lava waterfall artifacts. -// Check rules.txt for documentation and when to enable. - - - - -uniform ivec4 uf_remappedVS[24]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 7) out vec4 passParameterSem7; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 6) out vec4 passParameterSem6; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R12f = vec4(0.0); -vec4 R13f = vec4(0.0); -vec4 R14f = vec4(0.0); -vec4 R15f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xy = floatBitsToUint(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16))); -attrDecoder.zw = uvec2(0); -R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -R7f.x = 1.0; -R6f.y = 1.0; -R0f.z = intBitsToFloat(uf_remappedVS[0].y); -R127f.w = 1.0; -PV0f.w = R127f.w; -R124f.x = intBitsToFloat(uf_remappedVS[1].x); -PS0f = R124f.x; -// 1 -R6f.x = dot(vec4(R3f.x,R3f.y,R3f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV1f.x = R6f.x; -PV1f.y = R6f.x; -PV1f.z = R6f.x; -PV1f.w = R6f.x; -R13f.w = R4f.w; -PS1f = R13f.w; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R12f.z = R5f.x; -PS0f = R12f.z; -// 3 -backupReg0f = R3f.z; -tempf.x = dot(vec4(R3f.x,R3f.y,backupReg0f,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.z = tempf.x; -R12f.w = R5f.y; -PS1f = R12f.w; -// 4 -R3f.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV0f.x = R3f.x; -PV0f.y = R3f.x; -PV0f.z = R3f.x; -PV0f.w = R3f.x; -R127f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[2].z)); -PS0f = R127f.x; -// 5 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R124f.y = tempf.x; -R126f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[3].z)); -PS1f = R126f.x; -// 6 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R125f.z = tempf.x; -R125f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[4].z)); -PS0f = R125f.x; -// 7 -backupReg0f = R126f.x; -R126f.x = dot(vec4(R4f.x,R4f.y,R127f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),1.0,0.0)); -PV1f.x = R126f.x; -PV1f.y = R126f.x; -PV1f.z = R126f.x; -PV1f.w = R126f.x; -R122f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[3].y)) + backupReg0f); -PS1f = R122f.x; -// 8 -R123f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[4].y)) + R125f.x); -PV0f.x = R123f.x; -R2f.y = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[3].x)) + PS1f); -PS0f = mul_nonIEEE(R125f.z, R125f.z); -// 9 -R123f.x = (mul_nonIEEE(R124f.y,R124f.y) + PS0f); -PV1f.x = R123f.x; -R4f.z = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[4].x)) + PV0f.x); -R127f.w = intBitsToFloat(uf_remappedVS[1].y); -// 10 -R125f.x = intBitsToFloat(uf_remappedVS[5].x); -R127f.y = intBitsToFloat(uf_remappedVS[5].y); -R126f.z = intBitsToFloat(uf_remappedVS[6].x); -R123f.w = (mul_nonIEEE(R3f.x,R3f.x) + PV1f.x); -PV0f.w = R123f.w; -R125f.y = intBitsToFloat(uf_remappedVS[6].y); -PS0f = R125f.y; -// 11 -backupReg0f = R124f.x; -R124f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R127f.w); -R126f.y = intBitsToFloat(uf_remappedVS[8].y); -R127f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + backupReg0f); -R127f.w = intBitsToFloat(uf_remappedVS[8].x); -tempResultf = 1.0 / sqrt(PV0f.w); -R124f.z = tempResultf; -PS1f = R124f.z; -// 12 -tempf.x = dot(vec4(R126f.x,R2f.y,R4f.z,-0.0),vec4(R126f.x,R2f.y,R4f.z,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R4f.y = tempf.x; -R4f.x = intBitsToFloat(uf_remappedVS[1].z); -PS0f = R4f.x; -// 13 -backupReg0f = R127f.y; -backupReg1f = R125f.x; -R125f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R127f.w); -R127f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + backupReg0f); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + backupReg1f); -PV1f.z = R123f.z; -R127f.w = intBitsToFloat(uf_remappedVS[1].w); -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R126f.y); -PS1f = R127f.x; -// 14 -backupReg0f = R127f.z; -R2f.x = intBitsToFloat(uf_remappedVS[10].x); -R126f.y = intBitsToFloat(uf_remappedVS[11].x); -R127f.z = intBitsToFloat(uf_remappedVS[11].y); -R126f.w = intBitsToFloat(uf_remappedVS[10].y); -R0f.x = (mul_nonIEEE(R5f.x,backupReg0f) + PV1f.z); -PS0f = R0f.x; -// 15 -backupReg0f = R127f.y; -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R125f.y); -PV1f.x = R123f.x; -R127f.y = intBitsToFloat(uf_remappedVS[6].w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R126f.z); -PV1f.z = R123f.z; -R125f.w = intBitsToFloat(uf_remappedVS[6].z); -R126f.z = (mul_nonIEEE(R5f.x,R124f.x) + backupReg0f); -PS1f = R126f.z; -// 16 -backupReg0f = R4f.y; -R8f.x = mul_nonIEEE(R125f.z, R124f.z); -R4f.y = mul_nonIEEE(R124f.y, R124f.z); -R125f.z = (mul_nonIEEE(R5f.x,PV1f.x) + R127f.x); -R124f.w = (mul_nonIEEE(R5f.x,PV1f.z) + R125f.x); -tempResultf = 1.0 / sqrt(backupReg0f); -R4f.w = tempResultf; -PS0f = R4f.w; -// 17 -backupReg0f = R3f.x; -R3f.x = mul_nonIEEE(backupReg0f, R124f.z); -R125f.y = intBitsToFloat(uf_remappedVS[12].x); -R2f.z = intBitsToFloat(uf_remappedVS[13].x); -R0f.w = intBitsToFloat(uf_remappedVS[13].y); -R9f.x = mul_nonIEEE(R126f.x, PS0f); -PS1f = R9f.x; -// 18 -R126f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R2f.x); -R124f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R4f.x); -PV0f.z = R123f.z; -R127f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R126f.w); -R124f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R125f.w); -PS0f = R124f.z; -// 19 -R127f.x = intBitsToFloat(uf_remappedVS[10].z); -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R127f.z); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R126f.y); -PV1f.z = R123f.z; -R126f.w = intBitsToFloat(uf_remappedVS[10].w); -R125f.w = (mul_nonIEEE(R5f.y,PV0f.z) + R0f.x); -PS1f = R125f.w; -// 20 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.y); -PV0f.x = R123f.x; -R127f.y = (mul_nonIEEE(R5f.y,R124f.y) + R126f.z); -R126f.z = (mul_nonIEEE(R5f.x,R126f.x) + PV1f.z); -R2f.w = (mul_nonIEEE(R5f.x,R127f.w) + PV1f.y); -R124f.y = (mul_nonIEEE(R5f.y,R124f.z) + R124f.w); -PS0f = R124f.y; -// 21 -backupReg0f = R2f.z; -backupReg1f = R0f.w; -R126f.x = (mul_nonIEEE(R5f.y,PV0f.x) + R125f.z); -R3f.y = mul_nonIEEE(R2f.y, R4f.w); -R2f.z = mul_nonIEEE(R4f.z, R4f.w); -R0f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].x),R125f.y) + backupReg0f); -R4f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].y),R125f.y) + backupReg1f); -PS1f = R4f.w; -// 22 -R2f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R126f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R127f.x); -PV0f.z = R123f.z; -R10f.w = R127f.y; -R10f.z = R125f.w; -PS0f = R10f.z; -// 23 -R0f.x = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].y)) + intBitsToFloat(uf_remappedVS[16].y)); -R7f.y = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].x)) + intBitsToFloat(uf_remappedVS[16].x)); -R11f.z = R124f.y; -R11f.w = R126f.x; -R11f.x = (mul_nonIEEE(R5f.y,PV0f.z) + R126f.z); -PS1f = R11f.x; -// export -passParameterSem5 = vec4(R1f.x, R1f.y, R1f.z, 1.0); -// 0 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R11f.y = (mul_nonIEEE(R5f.y,R2f.y) + R2f.w); -PS0f = R11f.y; -// 1 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R15f.x = PV0f.x; -PS1f = R15f.x; -// 2 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),intBitsToFloat(uf_remappedVS[19].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R15f.y = PV1f.x; -PS0f = R15f.y; -// 3 -R10f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[12].x)) + R0f.w); -R10f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].w),intBitsToFloat(uf_remappedVS[12].x)) + R4f.w); -R15f.z = PV0f.x; -PV1f.z = R15f.z; -// 4 -tempf.x = dot(vec4(R15f.x,R15f.y,PV1f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[20].x),intBitsToFloat(uf_remappedVS[20].y),intBitsToFloat(uf_remappedVS[20].z),intBitsToFloat(uf_remappedVS[20].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.y = tempf.x; -// 5 -R1f.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),intBitsToFloat(uf_remappedVS[21].w))); -PV1f.x = R1f.x; -PV1f.y = R1f.x; -PV1f.z = R1f.x; -PV1f.w = R1f.x; -R126f.z = -(PV0f.x); -PS1f = R126f.z; -// 6 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),intBitsToFloat(uf_remappedVS[22].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.z = tempf.x; -// 7 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(uf_remappedVS[23].z),intBitsToFloat(uf_remappedVS[23].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R1f.w = tempf.x; -R6f.z = PV0f.x; -PS1f = R6f.z; -// 8 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R6f.x = R1f.x + PV1f.x; -R6f.x /= 2.0; -PS0f = R6f.x; -// 9 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R14f.x = PV0f.x; -PS1f = R14f.x; -// 10 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R14f.y = PV1f.x; -PS0f = R14f.y; -// 11 -R13f.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV1f.x = R13f.x; -PV1f.y = R13f.x; -PV1f.z = R13f.x; -PV1f.w = R13f.x; -R14f.z = PV0f.x; -PS1f = R14f.z; -// 12 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R13f.y = tempf.x; -R6f.y = R126f.z + R1f.w; -R6f.y /= 2.0; -PS0f = R6f.y; -// 13 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R13f.z = tempf.x; -R6f.w = R1f.w; -PS1f = R6f.w; -// 14 -R12f.x = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].z)) + R7f.y); -R12f.y = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].w)) + R0f.x); -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R10f.x, R10f.y, R10f.z, R10f.w); -// export -passParameterSem1 = vec4(R11f.x, R11f.y, R11f.z, R11f.w); -// export -passParameterSem2 = vec4(R12f.x, R12f.y, R12f.z, R12f.w); -// export -passParameterSem4 = vec4(R13f.x, R13f.y, R13f.z, R13f.w); -// export -passParameterSem7 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -// export -passParameterSem3 = vec4(R14f.x, R14f.y, R14f.z, R14f.w); -// export -passParameterSem6 = vec4(R15f.x, R15f.y, R15f.z, R15f.w); -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/16fa33eae25e2e83_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/16fa33eae25e2e83_0000000000000000_vs.txt deleted file mode 100644 index 55072e95..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/16fa33eae25e2e83_0000000000000000_vs.txt +++ /dev/null @@ -1,449 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 16fa33eae25e2e83 -// Used for: Fixing Nvidia lava artifacts. -// Check rules.txt for documentation and when to enable. - - - - -uniform ivec4 uf_remappedVS[24]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 7) out vec4 passParameterSem7; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 6) out vec4 passParameterSem6; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R12f = vec4(0.0); -vec4 R13f = vec4(0.0); -vec4 R14f = vec4(0.0); -vec4 R15f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xy = floatBitsToUint(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16))); -attrDecoder.zw = uvec2(0); -R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -R7f.x = 1.0; -R6f.y = 1.0; -R0f.z = intBitsToFloat(uf_remappedVS[0].y); -R127f.w = 1.0; -PV0f.w = R127f.w; -R124f.x = intBitsToFloat(uf_remappedVS[1].x); -PS0f = R124f.x; -// 1 -R6f.x = dot(vec4(R3f.x,R3f.y,R3f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV1f.x = R6f.x; -PV1f.y = R6f.x; -PV1f.z = R6f.x; -PV1f.w = R6f.x; -R13f.w = R4f.w; -PS1f = R13f.w; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R12f.z = R5f.x; -PS0f = R12f.z; -// 3 -backupReg0f = R3f.z; -tempf.x = dot(vec4(R3f.x,R3f.y,backupReg0f,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.z = tempf.x; -R12f.w = R5f.y; -PS1f = R12f.w; -// 4 -R3f.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV0f.x = R3f.x; -PV0f.y = R3f.x; -PV0f.z = R3f.x; -PV0f.w = R3f.x; -R127f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[2].z)); -PS0f = R127f.x; -// 5 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R124f.y = tempf.x; -R126f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[3].z)); -PS1f = R126f.x; -// 6 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R125f.z = tempf.x; -R125f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[4].z)); -PS0f = R125f.x; -// 7 -backupReg0f = R126f.x; -R126f.x = dot(vec4(R4f.x,R4f.y,R127f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),1.0,0.0)); -PV1f.x = R126f.x; -PV1f.y = R126f.x; -PV1f.z = R126f.x; -PV1f.w = R126f.x; -R122f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[3].y)) + backupReg0f); -PS1f = R122f.x; -// 8 -R123f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[4].y)) + R125f.x); -PV0f.x = R123f.x; -R2f.y = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[3].x)) + PS1f); -PS0f = mul_nonIEEE(R125f.z, R125f.z); -// 9 -R123f.x = (mul_nonIEEE(R124f.y,R124f.y) + PS0f); -PV1f.x = R123f.x; -R4f.z = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[4].x)) + PV0f.x); -R127f.w = intBitsToFloat(uf_remappedVS[1].y); -// 10 -R125f.x = intBitsToFloat(uf_remappedVS[5].x); -R127f.y = intBitsToFloat(uf_remappedVS[5].y); -R126f.z = intBitsToFloat(uf_remappedVS[6].x); -R123f.w = (mul_nonIEEE(R3f.x,R3f.x) + PV1f.x); -PV0f.w = R123f.w; -R125f.y = intBitsToFloat(uf_remappedVS[6].y); -PS0f = R125f.y; -// 11 -backupReg0f = R124f.x; -R124f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R127f.w); -R126f.y = intBitsToFloat(uf_remappedVS[8].y); -R127f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + backupReg0f); -R127f.w = intBitsToFloat(uf_remappedVS[8].x); -tempResultf = 1.0 / sqrt(PV0f.w); -R124f.z = tempResultf; -PS1f = R124f.z; -// 12 -tempf.x = dot(vec4(R126f.x,R2f.y,R4f.z,-0.0),vec4(R126f.x,R2f.y,R4f.z,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R4f.y = tempf.x; -R4f.x = intBitsToFloat(uf_remappedVS[1].z); -PS0f = R4f.x; -// 13 -backupReg0f = R127f.y; -backupReg1f = R125f.x; -R125f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R127f.w); -R127f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + backupReg0f); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + backupReg1f); -PV1f.z = R123f.z; -R127f.w = intBitsToFloat(uf_remappedVS[1].w); -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R126f.y); -PS1f = R127f.x; -// 14 -backupReg0f = R127f.z; -R2f.x = intBitsToFloat(uf_remappedVS[10].x); -R126f.y = intBitsToFloat(uf_remappedVS[11].x); -R127f.z = intBitsToFloat(uf_remappedVS[11].y); -R126f.w = intBitsToFloat(uf_remappedVS[10].y); -R0f.x = (mul_nonIEEE(R5f.x,backupReg0f) + PV1f.z); -PS0f = R0f.x; -// 15 -backupReg0f = R127f.y; -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R125f.y); -PV1f.x = R123f.x; -R127f.y = intBitsToFloat(uf_remappedVS[6].w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R126f.z); -PV1f.z = R123f.z; -R125f.w = intBitsToFloat(uf_remappedVS[6].z); -R126f.z = (mul_nonIEEE(R5f.x,R124f.x) + backupReg0f); -PS1f = R126f.z; -// 16 -backupReg0f = R4f.y; -R8f.x = mul_nonIEEE(R125f.z, R124f.z); -R4f.y = mul_nonIEEE(R124f.y, R124f.z); -R125f.z = (mul_nonIEEE(R5f.x,PV1f.x) + R127f.x); -R124f.w = (mul_nonIEEE(R5f.x,PV1f.z) + R125f.x); -tempResultf = 1.0 / sqrt(backupReg0f); -R4f.w = tempResultf; -PS0f = R4f.w; -// 17 -backupReg0f = R3f.x; -R3f.x = mul_nonIEEE(backupReg0f, R124f.z); -R125f.y = intBitsToFloat(uf_remappedVS[12].x); -R2f.z = intBitsToFloat(uf_remappedVS[13].x); -R0f.w = intBitsToFloat(uf_remappedVS[13].y); -R9f.x = mul_nonIEEE(R126f.x, PS0f); -PS1f = R9f.x; -// 18 -R126f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R2f.x); -R124f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R4f.x); -PV0f.z = R123f.z; -R127f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R126f.w); -R124f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R125f.w); -PS0f = R124f.z; -// 19 -R127f.x = intBitsToFloat(uf_remappedVS[10].z); -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R127f.z); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R126f.y); -PV1f.z = R123f.z; -R126f.w = intBitsToFloat(uf_remappedVS[10].w); -R125f.w = (mul_nonIEEE(R5f.y,PV0f.z) + R0f.x); -PS1f = R125f.w; -// 20 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.y); -PV0f.x = R123f.x; -R127f.y = (mul_nonIEEE(R5f.y,R124f.y) + R126f.z); -R126f.z = (mul_nonIEEE(R5f.x,R126f.x) + PV1f.z); -R2f.w = (mul_nonIEEE(R5f.x,R127f.w) + PV1f.y); -R124f.y = (mul_nonIEEE(R5f.y,R124f.z) + R124f.w); -PS0f = R124f.y; -// 21 -backupReg0f = R2f.z; -backupReg1f = R0f.w; -R126f.x = (mul_nonIEEE(R5f.y,PV0f.x) + R125f.z); -R3f.y = mul_nonIEEE(R2f.y, R4f.w); -R2f.z = mul_nonIEEE(R4f.z, R4f.w); -R0f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].x),R125f.y) + backupReg0f); -R4f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].y),R125f.y) + backupReg1f); -PS1f = R4f.w; -// 22 -R2f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R126f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R127f.x); -PV0f.z = R123f.z; -R10f.w = R127f.y; -R10f.z = R125f.w; -PS0f = R10f.z; -// 23 -R0f.x = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].y)) + intBitsToFloat(uf_remappedVS[16].y)); -R7f.y = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].x)) + intBitsToFloat(uf_remappedVS[16].x)); -R11f.z = R124f.y; -R11f.w = R126f.x; -R11f.x = (mul_nonIEEE(R5f.y,PV0f.z) + R126f.z); -PS1f = R11f.x; -// export -passParameterSem5 = vec4(R1f.x, R1f.y, R1f.z, 1.0); -// 0 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R11f.y = (mul_nonIEEE(R5f.y,R2f.y) + R2f.w); -PS0f = R11f.y; -// 1 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R15f.x = PV0f.x; -PS1f = R15f.x; -// 2 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),intBitsToFloat(uf_remappedVS[19].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R15f.y = PV1f.x; -PS0f = R15f.y; -// 3 -R10f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[12].x)) + R0f.w); -R10f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].w),intBitsToFloat(uf_remappedVS[12].x)) + R4f.w); -R15f.z = PV0f.x; -PV1f.z = R15f.z; -// 4 -tempf.x = dot(vec4(R15f.x,R15f.y,PV1f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[20].x),intBitsToFloat(uf_remappedVS[20].y),intBitsToFloat(uf_remappedVS[20].z),intBitsToFloat(uf_remappedVS[20].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.y = tempf.x; -// 5 -R1f.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),intBitsToFloat(uf_remappedVS[21].w))); -PV1f.x = R1f.x; -PV1f.y = R1f.x; -PV1f.z = R1f.x; -PV1f.w = R1f.x; -R126f.z = -(PV0f.x); -PS1f = R126f.z; -// 6 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),intBitsToFloat(uf_remappedVS[22].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.z = tempf.x; -// 7 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(uf_remappedVS[23].z),intBitsToFloat(uf_remappedVS[23].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R1f.w = tempf.x; -R6f.z = PV0f.x; -PS1f = R6f.z; -// 8 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R6f.x = R1f.x + PV1f.x; -R6f.x /= 2.0; -PS0f = R6f.x; -// 9 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R14f.x = PV0f.x; -PS1f = R14f.x; -// 10 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R14f.y = PV1f.x; -PS0f = R14f.y; -// 11 -R13f.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV1f.x = R13f.x; -PV1f.y = R13f.x; -PV1f.z = R13f.x; -PV1f.w = R13f.x; -R14f.z = PV0f.x; -PS1f = R14f.z; -// 12 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R13f.y = tempf.x; -R6f.y = R126f.z + R1f.w; -R6f.y /= 2.0; -PS0f = R6f.y; -// 13 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R13f.z = tempf.x; -R6f.w = R1f.w; -PS1f = R6f.w; -// 14 -R12f.x = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].z)) + R7f.y); -R12f.y = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].w)) + R0f.x); -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R10f.x, R10f.y, R10f.z, R10f.w); -// export -passParameterSem1 = vec4(R11f.x, R11f.y, R11f.z, R11f.w); -// export -passParameterSem2 = vec4(R12f.x, R12f.y, R12f.z, R12f.w); -// export -passParameterSem4 = vec4(R13f.x, R13f.y, R13f.z, R13f.w); -// export -passParameterSem7 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -// export -passParameterSem3 = vec4(R14f.x, R14f.y, R14f.z, R14f.w); -// export -passParameterSem6 = vec4(R15f.x, R15f.y, R15f.z, R15f.w); -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/16fa33fca25e2e83_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/16fa33fca25e2e83_0000000000000000_vs.txt deleted file mode 100644 index 477d6fad..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/16fa33fca25e2e83_0000000000000000_vs.txt +++ /dev/null @@ -1,447 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 16fa33fca25e2e83 -// Used for: Fixing Nvidia lava artifacts. -// Check rules.txt for documentation and when to enable. - - - - -uniform ivec4 uf_remappedVS[24]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 1) out vec4 passParameterSem1; -layout(location = 2) out vec4 passParameterSem2; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 7) out vec4 passParameterSem7; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 6) out vec4 passParameterSem6; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R10f = vec4(0.0); -vec4 R11f = vec4(0.0); -vec4 R12f = vec4(0.0); -vec4 R13f = vec4(0.0); -vec4 R14f = vec4(0.0); -vec4 R15f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -R7f.x = 1.0; -R6f.y = 1.0; -R0f.z = intBitsToFloat(uf_remappedVS[0].y); -R127f.w = 1.0; -PV0f.w = R127f.w; -R124f.x = intBitsToFloat(uf_remappedVS[1].x); -PS0f = R124f.x; -// 1 -R6f.x = dot(vec4(R3f.x,R3f.y,R3f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV1f.x = R6f.x; -PV1f.y = R6f.x; -PV1f.z = R6f.x; -PV1f.w = R6f.x; -R13f.w = R4f.w; -PS1f = R13f.w; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R12f.z = R5f.x; -PS0f = R12f.z; -// 3 -backupReg0f = R3f.z; -tempf.x = dot(vec4(R3f.x,R3f.y,backupReg0f,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.z = tempf.x; -R12f.w = R5f.y; -PS1f = R12f.w; -// 4 -R3f.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV0f.x = R3f.x; -PV0f.y = R3f.x; -PV0f.z = R3f.x; -PV0f.w = R3f.x; -R127f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[2].z)); -PS0f = R127f.x; -// 5 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R124f.y = tempf.x; -R126f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[3].z)); -PS1f = R126f.x; -// 6 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R125f.z = tempf.x; -R125f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[4].z)); -PS0f = R125f.x; -// 7 -backupReg0f = R126f.x; -R126f.x = dot(vec4(R4f.x,R4f.y,R127f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),1.0,0.0)); -PV1f.x = R126f.x; -PV1f.y = R126f.x; -PV1f.z = R126f.x; -PV1f.w = R126f.x; -R122f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[3].y)) + backupReg0f); -PS1f = R122f.x; -// 8 -R123f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[4].y)) + R125f.x); -PV0f.x = R123f.x; -R2f.y = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[3].x)) + PS1f); -PS0f = mul_nonIEEE(R125f.z, R125f.z); -// 9 -R123f.x = (mul_nonIEEE(R124f.y,R124f.y) + PS0f); -PV1f.x = R123f.x; -R4f.z = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[4].x)) + PV0f.x); -R127f.w = intBitsToFloat(uf_remappedVS[1].y); -// 10 -R125f.x = intBitsToFloat(uf_remappedVS[5].x); -R127f.y = intBitsToFloat(uf_remappedVS[5].y); -R126f.z = intBitsToFloat(uf_remappedVS[6].x); -R123f.w = (mul_nonIEEE(R3f.x,R3f.x) + PV1f.x); -PV0f.w = R123f.w; -R125f.y = intBitsToFloat(uf_remappedVS[6].y); -PS0f = R125f.y; -// 11 -backupReg0f = R124f.x; -R124f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R127f.w); -R126f.y = intBitsToFloat(uf_remappedVS[8].y); -R127f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + backupReg0f); -R127f.w = intBitsToFloat(uf_remappedVS[8].x); -tempResultf = 1.0 / sqrt(PV0f.w); -R124f.z = tempResultf; -PS1f = R124f.z; -// 12 -tempf.x = dot(vec4(R126f.x,R2f.y,R4f.z,-0.0),vec4(R126f.x,R2f.y,R4f.z,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R4f.y = tempf.x; -R4f.x = intBitsToFloat(uf_remappedVS[1].z); -PS0f = R4f.x; -// 13 -backupReg0f = R127f.y; -backupReg1f = R125f.x; -R125f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R127f.w); -R127f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + backupReg0f); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + backupReg1f); -PV1f.z = R123f.z; -R127f.w = intBitsToFloat(uf_remappedVS[1].w); -R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R126f.y); -PS1f = R127f.x; -// 14 -backupReg0f = R127f.z; -R2f.x = intBitsToFloat(uf_remappedVS[10].x); -R126f.y = intBitsToFloat(uf_remappedVS[11].x); -R127f.z = intBitsToFloat(uf_remappedVS[11].y); -R126f.w = intBitsToFloat(uf_remappedVS[10].y); -R0f.x = (mul_nonIEEE(R5f.x,backupReg0f) + PV1f.z); -PS0f = R0f.x; -// 15 -backupReg0f = R127f.y; -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R125f.y); -PV1f.x = R123f.x; -R127f.y = intBitsToFloat(uf_remappedVS[6].w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R126f.z); -PV1f.z = R123f.z; -R125f.w = intBitsToFloat(uf_remappedVS[6].z); -R126f.z = (mul_nonIEEE(R5f.x,R124f.x) + backupReg0f); -PS1f = R126f.z; -// 16 -backupReg0f = R4f.y; -R8f.x = mul_nonIEEE(R125f.z, R124f.z); -R4f.y = mul_nonIEEE(R124f.y, R124f.z); -R125f.z = (mul_nonIEEE(R5f.x,PV1f.x) + R127f.x); -R124f.w = (mul_nonIEEE(R5f.x,PV1f.z) + R125f.x); -tempResultf = 1.0 / sqrt(backupReg0f); -R4f.w = tempResultf; -PS0f = R4f.w; -// 17 -backupReg0f = R3f.x; -R3f.x = mul_nonIEEE(backupReg0f, R124f.z); -R125f.y = intBitsToFloat(uf_remappedVS[12].x); -R2f.z = intBitsToFloat(uf_remappedVS[13].x); -R0f.w = intBitsToFloat(uf_remappedVS[13].y); -R9f.x = mul_nonIEEE(R126f.x, PS0f); -PS1f = R9f.x; -// 18 -R126f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].x),R0f.z) + R2f.x); -R124f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R4f.x); -PV0f.z = R123f.z; -R127f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].y),R0f.z) + R126f.w); -R124f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R125f.w); -PS0f = R124f.z; -// 19 -R127f.x = intBitsToFloat(uf_remappedVS[10].z); -R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].y),R0f.z) + R127f.z); -PV1f.y = R123f.y; -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[9].x),R0f.z) + R126f.y); -PV1f.z = R123f.z; -R126f.w = intBitsToFloat(uf_remappedVS[10].w); -R125f.w = (mul_nonIEEE(R5f.y,PV0f.z) + R0f.x); -PS1f = R125f.w; -// 20 -R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R127f.y); -PV0f.x = R123f.x; -R127f.y = (mul_nonIEEE(R5f.y,R124f.y) + R126f.z); -R126f.z = (mul_nonIEEE(R5f.x,R126f.x) + PV1f.z); -R2f.w = (mul_nonIEEE(R5f.x,R127f.w) + PV1f.y); -R124f.y = (mul_nonIEEE(R5f.y,R124f.z) + R124f.w); -PS0f = R124f.y; -// 21 -backupReg0f = R2f.z; -backupReg1f = R0f.w; -R126f.x = (mul_nonIEEE(R5f.y,PV0f.x) + R125f.z); -R3f.y = mul_nonIEEE(R2f.y, R4f.w); -R2f.z = mul_nonIEEE(R4f.z, R4f.w); -R0f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].x),R125f.y) + backupReg0f); -R4f.w = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].y),R125f.y) + backupReg1f); -PS1f = R4f.w; -// 22 -R2f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].w),R0f.z) + R126f.w); -R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[7].z),R0f.z) + R127f.x); -PV0f.z = R123f.z; -R10f.w = R127f.y; -R10f.z = R125f.w; -PS0f = R10f.z; -// 23 -R0f.x = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].y)) + intBitsToFloat(uf_remappedVS[16].y)); -R7f.y = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[15].x)) + intBitsToFloat(uf_remappedVS[16].x)); -R11f.z = R124f.y; -R11f.w = R126f.x; -R11f.x = (mul_nonIEEE(R5f.y,PV0f.z) + R126f.z); -PS1f = R11f.x; -// export -passParameterSem5 = vec4(R1f.x, R1f.y, R1f.z, 1.0); // = "workaround" -// 0 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),intBitsToFloat(uf_remappedVS[17].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R11f.y = (mul_nonIEEE(R5f.y,R2f.y) + R2f.w); -PS0f = R11f.y; -// 1 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),intBitsToFloat(uf_remappedVS[18].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R15f.x = PV0f.x; -PS1f = R15f.x; -// 2 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R6f.x,backupReg0f,R3f.z,R7f.x),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),intBitsToFloat(uf_remappedVS[19].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R15f.y = PV1f.x; -PS0f = R15f.y; -// 3 -R10f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[12].x)) + R0f.w); -R10f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[14].w),intBitsToFloat(uf_remappedVS[12].x)) + R4f.w); -R15f.z = PV0f.x; -PV1f.z = R15f.z; -// 4 -tempf.x = dot(vec4(R15f.x,R15f.y,PV1f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[20].x),intBitsToFloat(uf_remappedVS[20].y),intBitsToFloat(uf_remappedVS[20].z),intBitsToFloat(uf_remappedVS[20].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.y = tempf.x; -// 5 -R1f.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[21].x),intBitsToFloat(uf_remappedVS[21].y),intBitsToFloat(uf_remappedVS[21].z),intBitsToFloat(uf_remappedVS[21].w))); -PV1f.x = R1f.x; -PV1f.y = R1f.x; -PV1f.z = R1f.x; -PV1f.w = R1f.x; -R126f.z = -(PV0f.x); -PS1f = R126f.z; -// 6 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[22].x),intBitsToFloat(uf_remappedVS[22].y),intBitsToFloat(uf_remappedVS[22].z),intBitsToFloat(uf_remappedVS[22].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.z = tempf.x; -// 7 -tempf.x = dot(vec4(R15f.x,R15f.y,R15f.z,R6f.y),vec4(intBitsToFloat(uf_remappedVS[23].x),intBitsToFloat(uf_remappedVS[23].y),intBitsToFloat(uf_remappedVS[23].z),intBitsToFloat(uf_remappedVS[23].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R1f.w = tempf.x; -R6f.z = PV0f.x; -PS1f = R6f.z; -// 8 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R6f.x = R1f.x + PV1f.x; -R6f.x /= 2.0; -PS0f = R6f.x; -// 9 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R14f.x = PV0f.x; -PS1f = R14f.x; -// 10 -tempf.x = dot(vec4(R3f.x,R4f.y,R8f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R14f.y = PV1f.x; -PS0f = R14f.y; -// 11 -R13f.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[17].x),intBitsToFloat(uf_remappedVS[17].y),intBitsToFloat(uf_remappedVS[17].z),0.0)); -PV1f.x = R13f.x; -PV1f.y = R13f.x; -PV1f.z = R13f.x; -PV1f.w = R13f.x; -R14f.z = PV0f.x; -PS1f = R14f.z; -// 12 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[18].x),intBitsToFloat(uf_remappedVS[18].y),intBitsToFloat(uf_remappedVS[18].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R13f.y = tempf.x; -R6f.y = R126f.z + R1f.w; -R6f.y /= 2.0; -PS0f = R6f.y; -// 13 -tempf.x = dot(vec4(R9f.x,R3f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[19].x),intBitsToFloat(uf_remappedVS[19].y),intBitsToFloat(uf_remappedVS[19].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R13f.z = tempf.x; -R6f.w = R1f.w; -PS1f = R6f.w; -// 14 -R12f.x = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].z)) + R7f.y); -R12f.y = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[15].w)) + R0f.x); -// export -gl_Position = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem0 = vec4(R10f.x, R10f.y, R10f.z, R10f.w); -// export -passParameterSem1 = vec4(R11f.x, R11f.y, R11f.z, R11f.w); -// export -passParameterSem2 = vec4(R12f.x, R12f.y, R12f.z, R12f.w); -// export -passParameterSem4 = vec4(R13f.x, R13f.y, R13f.z, R13f.w); -// export -passParameterSem7 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -// export -passParameterSem3 = vec4(R14f.x, R14f.y, R14f.z, R14f.w); -// export -passParameterSem6 = vec4(R15f.x, R15f.y, R15f.z, R15f.w); -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/37d4289e0541199b_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/37d4289e0541199b_0000000000000000_vs.txt deleted file mode 100644 index ed58744e..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/37d4289e0541199b_0000000000000000_vs.txt +++ /dev/null @@ -1,370 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 37d4289e0541199b -// Used for: Fixing Nvidia waterfall artifacts. -// Check rules.txt for documentation and when to enable. - - - -uniform ivec4 uf_remappedVS[17]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(binding = 32) uniform sampler2D textureUnitVS0;// Tex0 addr 0xb7993000 res 64x64x1 dim 1 tm: 4 format 0034 compSel: 0 0 0 0 mipView: 0x0 (num 0x7) sliceView: 0x0 (num 0x1) Sampler18 ClampX/Y/Z: 0 0 2 border: 0 -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 4) out vec4 passParameterSem5; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 3) out vec4 passParameterSem4; -layout(location = 1) out vec4 passParameterSem7; -layout(location = 2) out vec4 passParameterSem3; -layout(location = 5) out vec4 passParameterSem6; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xy = floatBitsToUint(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16))); -attrDecoder.zw = uvec2(0); -R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -PV0f.x = mul_nonIEEE(R5f.x, intBitsToFloat(uf_remappedVS[0].x)); -PV0f.y = mul_nonIEEE(R5f.y, intBitsToFloat(uf_remappedVS[0].w)); -PV0f.z = mul_nonIEEE(R5f.y, intBitsToFloat(uf_remappedVS[0].z)); -PV0f.w = mul_nonIEEE(R5f.x, intBitsToFloat(uf_remappedVS[0].y)); -R0f.w = 1.0; -PS0f = R0f.w; -// 1 -R8f.x = 1.0; -R8f.y = 1.0; -PV1f.z = PV0f.z + PV0f.x; -PV1f.w = PV0f.y + PV0f.w; -R122f.x = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[1].x)) + intBitsToFloat(uf_remappedVS[2].x)); -PS1f = R122f.x; -// 2 -R7f.x = intBitsToFloat(uf_remappedVS[3].x) + PV1f.z; -R7f.y = intBitsToFloat(uf_remappedVS[3].y) + PV1f.w; -R5f.z = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[1].z)) + PS1f); -R9f.w = R4f.w; -R7f.z = R5f.x; -PS0f = R7f.z; -R0f.xyz = (textureLod(textureUnitVS0, R7f.xy,0.0).xyz); -// export -passParameterSem5 = vec4(R1f.x, R1f.y, R1f.z, 1.0); -// 0 -backupReg0f = R0f.y; -backupReg1f = R0f.x; -PV0f.x = mul_nonIEEE(R0f.z, intBitsToFloat(uf_remappedVS[4].z)); -PV0f.y = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedVS[4].z)); -PV0f.z = mul_nonIEEE(backupReg1f, intBitsToFloat(uf_remappedVS[4].z)); -R7f.w = R5f.y; -R6f.z = R5f.z; -PS0f = R6f.z; -// 1 -R127f.x = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[1].y)) + intBitsToFloat(uf_remappedVS[2].y)); -PV1f.y = mul_nonIEEE(R1f.y, PV0f.x); -PV1f.z = mul_nonIEEE(R1f.y, PV0f.y); -PV1f.w = mul_nonIEEE(R1f.y, PV0f.z); -// 2 -PV0f.x = mul_nonIEEE(R2f.x, PV1f.w); -PV0f.y = mul_nonIEEE(R2f.z, PV1f.y); -R123f.z = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[5].x)) + intBitsToFloat(uf_remappedVS[6].x)); -PV0f.z = R123f.z; -PV0f.w = mul_nonIEEE(R2f.y, PV1f.z); -R127f.w = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[5].y)) + intBitsToFloat(uf_remappedVS[6].y)); -PS0f = R127f.w; -// 3 -backupReg0f = R127f.x; -R127f.xyz = vec3(R3f.x,R3f.y,R3f.z) + vec3(PV0f.x,PV0f.w,PV0f.y); -PV1f.x = R127f.x; -PV1f.y = R127f.y; -PV1f.z = R127f.z; -R123f.w = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[1].w)) + backupReg0f); -PV1f.w = R123f.w; -R6f.x = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[5].z)) + PV0f.z); -PS1f = R6f.x; -// 4 -backupReg0f = R0f.w; -R3f.x = dot(vec4(PV1f.x,PV1f.y,PV1f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w))); -PV0f.x = R3f.x; -PV0f.y = R3f.x; -PV0f.z = R3f.x; -PV0f.w = R3f.x; -R6f.w = PV1f.w; -PS0f = R6f.w; -// 5 -backupReg0f = R0f.w; -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.y = tempf.x; -R126f.x = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[8].z)); -PS1f = R126f.x; -// 6 -backupReg0f = R0f.w; -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,backupReg0f),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R3f.z = tempf.x; -R127f.x = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[9].z)); -PS0f = R127f.x; -// 7 -R124f.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),0.0)); -PV1f.x = R124f.x; -PV1f.y = R124f.x; -PV1f.z = R124f.x; -PV1f.w = R124f.x; -R125f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[7].z)); -PS1f = R125f.x; -// 8 -tempf.x = dot(vec4(R2f.x,R2f.y,R126f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),1.0,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R127f.y = tempf.x; -R122f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedVS[9].y)) + R127f.x); -PS0f = R122f.x; -// 9 -R123f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[7].y)) + R125f.x); -PV1f.x = R123f.x; -R127f.z = (mul_nonIEEE(R2f.x,intBitsToFloat(uf_remappedVS[9].x)) + PS0f); -PV1f.z = R127f.z; -PS1f = mul_nonIEEE(R4f.y, intBitsToFloat(uf_remappedVS[9].y)); -// 10 -R127f.x = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[7].x)) + PV1f.x); -PV0f.y = mul_nonIEEE(PV1f.z, PV1f.z); -R125f.x = (mul_nonIEEE(R4f.z,intBitsToFloat(uf_remappedVS[9].z)) + PS1f); -PS0f = R125f.x; -// 11 -tempf.x = dot(vec4(R4f.x,R4f.y,R4f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R126f.y = tempf.x; -R122f.x = (mul_nonIEEE(R127f.y,R127f.y) + PV0f.y); -PS1f = R122f.x; -// 12 -R6f.y = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[5].w)) + R127f.w); -R126f.z = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[9].x)) + R125f.x); -PV0f.z = R126f.z; -R123f.w = (mul_nonIEEE(R124f.x,R124f.x) + PS1f); -PV0f.w = R123f.w; -// 13 -tempf.x = dot(vec4(R127f.x,R126f.y,PV0f.z,-0.0),vec4(R127f.x,R126f.y,PV0f.z,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -tempResultf = 1.0 / sqrt(PV0f.w); -PS1f = tempResultf; -// 14 -R4f.x = mul_nonIEEE(R124f.x, PS1f); -R4f.y = mul_nonIEEE(R127f.y, PS1f); -R4f.z = mul_nonIEEE(R127f.z, PS1f); -tempResultf = 1.0 / sqrt(PV1f.x); -PS0f = tempResultf; -// 15 -R5f.x = mul_nonIEEE(R127f.x, PS0f); -R5f.y = mul_nonIEEE(R126f.y, PS0f); -R2f.z = mul_nonIEEE(R126f.z, PS0f); -// export -passParameterSem0 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -// export -// skipped export to semanticId 255 -// 0 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R8f.x),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R127f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[10].z)); -PS0f = R127f.x; -// 1 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R8f.x),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R6f.x = PV0f.x; -PS1f = R6f.x; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R8f.x),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R6f.y = PV1f.x; -PS0f = R6f.y; -// 3 -backupReg0f = R127f.x; -R127f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[10].y)) + backupReg0f); -R126f.y = mul_nonIEEE(R5f.y, intBitsToFloat(uf_remappedVS[10].y)); -R6f.z = PV0f.x; -PV1f.z = R6f.z; -R127f.w = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[11].z)); -R124f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[11].z)); -PS1f = R124f.x; -// 4 -tempf.x = dot(vec4(R6f.x,R6f.y,PV1f.z,R8f.y),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R3f.y = tempf.x; -// 5 -R3f.x = dot(vec4(R6f.x,R6f.y,R6f.z,R8f.y),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[14].w))); -PV1f.x = R3f.x; -PV1f.y = R3f.x; -PV1f.z = R3f.x; -PV1f.w = R3f.x; -R125f.x = -(PV0f.x); -PS1f = R125f.x; -// 6 -tempf.x = dot(vec4(R6f.x,R6f.y,R6f.z,R8f.y),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R3f.z = tempf.x; -// 7 -tempf.x = dot(vec4(R6f.x,R6f.y,R6f.z,R8f.y),vec4(intBitsToFloat(uf_remappedVS[16].x),intBitsToFloat(uf_remappedVS[16].y),intBitsToFloat(uf_remappedVS[16].z),intBitsToFloat(uf_remappedVS[16].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.w = tempf.x; -R8f.z = PV0f.x; -PS1f = R8f.z; -// 8 -R123f.x = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[10].x)) + R127f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[11].y)) + R127f.w); -PV0f.y = R123f.y; -R8f.w = PV1f.x; -R122f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[11].y)) + R124f.x); -PS0f = R122f.x; -// 9 -R127f.x = (mul_nonIEEE(R2f.z,intBitsToFloat(uf_remappedVS[10].z)) + R126f.y); -R9f.y = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[11].x)) + PV0f.y); -R123f.w = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[11].x)) + PS0f); -PV1f.w = R123f.w; -R7f.x = PV0f.x; -PS1f = R7f.x; -// 10 -tempf.x = dot(vec4(R4f.x,R4f.y,R4f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R7f.y = PV1f.w; -PS0f = R7f.y; -// 11 -R9f.x = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[10].x)) + R127f.x); -PV1f.y = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[12].z)); -R7f.z = PV0f.x; -R8f.x = R3f.x + R3f.w; -R8f.x /= 2.0; -PS1f = R8f.x; -// 12 -tempf.x = dot(vec4(R5f.x,R5f.y,PV1f.y,-0.0),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),1.0,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R9f.z = tempf.x; -R8f.y = R125f.x + R3f.w; -R8f.y /= 2.0; -PS0f = R8f.y; -// export -gl_Position = vec4(R3f.x, R3f.y, R3f.z, R3f.w); -// export -passParameterSem4 = vec4(R9f.x, R9f.y, R9f.z, R9f.w); -// export -passParameterSem7 = vec4(R8f.x, R8f.y, R8f.z, R8f.w); -// export -passParameterSem3 = vec4(R7f.x, R7f.y, R7f.z, R7f.w); -// export -passParameterSem6 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -} \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/4d3766953c3d41b4_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/4d3766953c3d41b4_0000000000000000_vs.txt deleted file mode 100644 index 4f861623..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/4d3766953c3d41b4_0000000000000000_vs.txt +++ /dev/null @@ -1,343 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 4d3766953c3d41b4 -// Used for: Fixing Nvidia ice artifacts. -// Check rules.txt for documentation and when to enable. - - - - -layout(binding = 1, std140) uniform uniformBlockVS1 -{ -vec4 uf_blockVS1[1024]; -}; - -layout(binding = 2, std140) uniform uniformBlockVS2 -{ -vec4 uf_blockVS2[1024]; -}; - -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem6; -layout(location = 4) in uvec4 attrDataSem8; -layout(location = 5) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 5) out vec4 passParameterSem5; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 4) out vec4 passParameterSem4; -layout(location = 2) out vec4 passParameterSem7; -layout(location = 3) out vec4 passParameterSem3; -layout(location = 1) out vec4 passParameterSem6; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R10i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -uvec4 attrDecoder; -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R4i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R3i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R5i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xy = floatBitsToUint(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16))); -attrDecoder.zw = uvec2(0); -R6i = ivec4(int(attrDecoder.x), int(attrDecoder.y), floatBitsToInt(0.0), floatBitsToInt(1.0)); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R2i = ivec4(int(attrDecoder.x), int(attrDecoder.y), int(attrDecoder.z), int(attrDecoder.w)); -attrDecoder.xyzw = uvec4(attrDataSem6.x,0,0,0); -R1i = ivec4(int(attrDecoder.x), 0, 0, 1); -// 0 -R0i.x = 0x3f800000; -R0i.y = 0x3f800000; -R1i.w = 0x3f800000; -R0i.z = R1i.x * 0x00000003; -PS0i = R0i.z; -// 1 -R1i.x = PS0i + 0x00000002; -R0i.w = PS0i + int(1); -R10i.w = R5i.w; -PS1i = R10i.w; -R7i.xyzw = floatBitsToInt(uf_blockVS2[R0i.z].xyzw); -R8i.xyzw = floatBitsToInt(uf_blockVS2[R0i.w].xyzw); -R9i.xyzw = floatBitsToInt(uf_blockVS2[R1i.x].xyzw); -// export -passParameterSem5 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), 1.0); // = "workaround" -// export -passParameterSem0 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.x), intBitsToFloat(R6i.y)); -// 0 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(R7i.x),intBitsToFloat(R7i.y),intBitsToFloat(R7i.z),intBitsToFloat(R7i.w)))); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R7i.z))); -PS0i = R127i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),intBitsToFloat(R8i.z),intBitsToFloat(R8i.w)))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R8i.z))); -PS1i = R125i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R4i.x),intBitsToFloat(R4i.y),intBitsToFloat(R4i.z),intBitsToFloat(R1i.w)),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),intBitsToFloat(R9i.z),intBitsToFloat(R9i.w)))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R9i.z))); -PS0i = R124i.x; -// 3 -backupReg0i = R0i.x; -backupReg1i = R127i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PV0i.x),intBitsToFloat(backupReg0i)),vec4(uf_blockVS1[0].x,uf_blockVS1[0].y,uf_blockVS1[0].z,uf_blockVS1[0].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(backupReg1i))); -PS1i = R127i.x; -// 4 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(backupReg0i)),vec4(uf_blockVS1[1].x,uf_blockVS1[1].y,uf_blockVS1[1].z,uf_blockVS1[1].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R2i.x = PV1i.x; -PS0i = R2i.x; -// 5 -backupReg0i = R0i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(R127i.z),intBitsToFloat(backupReg0i)),vec4(uf_blockVS1[2].x,uf_blockVS1[2].y,uf_blockVS1[2].z,uf_blockVS1[2].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R2i.y = PV0i.x; -PS1i = R2i.y; -// 6 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(R127i.x))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R8i.z))); -R2i.z = PV1i.x; -PV0i.z = R2i.z; -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R9i.y))); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R7i.z))); -// 7 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(PV0i.z),intBitsToFloat(R0i.y)),vec4(uf_blockVS1[8].x,uf_blockVS1[8].y,uf_blockVS1[8].z,uf_blockVS1[8].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.y = tempi.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R7i.x)) + intBitsToFloat(PS0i))); -PS1i = R127i.x; -// 8 -backupReg0i = R0i.y; -R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(uf_blockVS1[7].x,uf_blockVS1[7].y,uf_blockVS1[7].z,uf_blockVS1[7].w))); -PV0i.x = R1i.x; -PV0i.y = R1i.x; -PV0i.z = R1i.x; -PV0i.w = R1i.x; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(R9i.z)) + intBitsToFloat(R127i.w))); -PS0i = R0i.x; -// 9 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(uf_blockVS1[9].x,uf_blockVS1[9].y,uf_blockVS1[9].z,uf_blockVS1[9].w))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R1i.z = tempi.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R8i.x)) + intBitsToFloat(R127i.y))); -PS1i = R126i.x; -// 10 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),intBitsToFloat(backupReg0i)),vec4(uf_blockVS1[10].x,uf_blockVS1[10].y,uf_blockVS1[10].z,uf_blockVS1[10].w))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R1i.w = tempi.x; -PS0i = floatBitsToInt(-(intBitsToFloat(R1i.y))); -// 11 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R125i.x),-0.0),vec4(intBitsToFloat(R8i.x),intBitsToFloat(R8i.y),1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.y = tempi.x; -R6i.y = floatBitsToInt(intBitsToFloat(PS0i) + intBitsToFloat(PV0i.x)); -R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) / 2.0); -PS1i = R6i.y; -// 12 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R124i.x),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R9i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R6i.z = R1i.z; -PS0i = R6i.z; -// 13 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R7i.y)) + intBitsToFloat(backupReg0i))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R8i.y)) + intBitsToFloat(R126i.x))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x))); -R6i.w = R1i.w; -R6i.x = floatBitsToInt(intBitsToFloat(R1i.x) + intBitsToFloat(R1i.w)); -R6i.x = floatBitsToInt(intBitsToFloat(R6i.x) / 2.0); -PS1i = R6i.x; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R127i.y)) + intBitsToFloat(PV1i.z))); -PV0i.x = R123i.x; -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.x),intBitsToFloat(R9i.x)) + intBitsToFloat(R0i.x))); -PV0i.z = R126i.z; -// 15 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.z), intBitsToFloat(PV0i.z))); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV1i.x),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R126i.y),1.0,0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.y)); -PS0i = floatBitsToInt(tempResultf); -// 17 -backupReg0i = R127i.y; -backupReg1i = R127i.z; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(PS0i))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PS0i))); -PV1i.z = R127i.z; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 18 -backupReg0i = R126i.z; -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockVS1[1].z)); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), uf_blockVS1[0].z)); -// 19 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PS0i),-0.0),vec4(uf_blockVS1[0].x,uf_blockVS1[0].y,1.0,0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),uf_blockVS1[1].y) + intBitsToFloat(PV0i.w))); -PS1i = R122i.x; -// 20 -R4i.x = PV1i.x; -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.x),uf_blockVS1[1].x) + intBitsToFloat(PS1i))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), uf_blockVS1[1].y)); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), uf_blockVS1[2].z)); -PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), uf_blockVS1[2].z)); -// 21 -R127i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.y),intBitsToFloat(PS0i),-0.0),vec4(uf_blockVS1[2].x,uf_blockVS1[2].y,1.0,0.0))); -PV1i.x = R127i.x; -PV1i.y = R127i.x; -PV1i.z = R127i.x; -PV1i.w = R127i.x; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),uf_blockVS1[1].z) + intBitsToFloat(PV0i.z))); -PS1i = R126i.x; -// 22 -R10i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R126i.z),-0.0),vec4(uf_blockVS1[0].x,uf_blockVS1[0].y,uf_blockVS1[0].z,0.0))); -PV0i.x = R10i.x; -PV0i.y = R10i.x; -PV0i.z = R10i.x; -PV0i.w = R10i.x; -R4i.y = R126i.y; -PS0i = R4i.y; -// 23 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),uf_blockVS1[2].y) + intBitsToFloat(R127i.w))); -PV1i.x = R123i.x; -R10i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),uf_blockVS1[1].x) + intBitsToFloat(R126i.x))); -R4i.z = R127i.x; -// 24 -R10i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),uf_blockVS1[2].x) + intBitsToFloat(PV1i.x))); -// export -gl_Position = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -// export -passParameterSem4 = vec4(intBitsToFloat(R10i.x), intBitsToFloat(R10i.y), intBitsToFloat(R10i.z), intBitsToFloat(R10i.w)); -// export -passParameterSem7 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -// export -passParameterSem3 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -// export -passParameterSem6 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/95a6fa7649598084_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/95a6fa7649598084_0000000000000000_vs.txt deleted file mode 100644 index 5427d108..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/95a6fa7649598084_0000000000000000_vs.txt +++ /dev/null @@ -1,353 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader 95a6fa7649598084 -// Used for: Fixing Nvidia water artifacts. -// Check rules.txt for documentation and when to enable. - - - - -uniform ivec4 uf_remappedVS[16]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem9; -layout(location = 5) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 0) out vec4 passParameterSem0; -layout(location = 4) out vec4 passParameterSem5; -layout(location = 3) out vec4 passParameterSem4; -layout(location = 1) out vec4 passParameterSem7; -layout(location = 2) out vec4 passParameterSem3; -layout(location = 5) out vec4 passParameterSem6; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R9f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyzw = attrDataSem0.xyzw; -attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); -attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|(attrDecoder.y<<16)),unpackHalf2x16(attrDecoder.z|(attrDecoder.w<<16)))); -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xy = floatBitsToUint(vec2(float(attrDecoder.x), float(attrDecoder.y))/65535.0); -attrDecoder.zw = uvec2(0); -R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xy = attrDataSem9.xy; -attrDecoder.xy = ((attrDecoder.xy>>8)&0xFF)|((attrDecoder.xy<<8)&0xFF00); -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xy = floatBitsToUint(vec2(float(attrDecoder.x), float(attrDecoder.y))/65535.0); -attrDecoder.zw = uvec2(0); -R6f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -R8f.x = 1.0; -R7f.y = 1.0; -R127f.z = (mul_nonIEEE(R6f.x,intBitsToFloat(uf_remappedVS[0].x)) + intBitsToFloat(uf_remappedVS[1].x)); -R127f.w = 1.0; -PV0f.w = R127f.w; -R0f.x = (mul_nonIEEE(R6f.x,intBitsToFloat(uf_remappedVS[0].y)) + intBitsToFloat(uf_remappedVS[1].y)); -PS0f = R0f.x; -// 1 -R7f.x = dot(vec4(R3f.x,R3f.y,R3f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV1f.x = R7f.x; -PV1f.y = R7f.x; -PV1f.z = R7f.x; -PV1f.w = R7f.x; -R9f.w = R4f.w; -PS1f = R9f.w; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -R127f.x = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[3].z)); -PS0f = R127f.x; -// 3 -backupReg0f = R3f.z; -tempf.x = dot(vec4(R3f.x,R3f.y,backupReg0f,R127f.w),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R3f.z = tempf.x; -R126f.x = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[4].z)); -PS1f = R126f.x; -// 4 -R124f.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),0.0)); -PV0f.x = R124f.x; -PV0f.y = R124f.x; -PV0f.z = R124f.x; -PV0f.w = R124f.x; -R125f.x = mul_nonIEEE(R4f.z, intBitsToFloat(uf_remappedVS[2].z)); -PS0f = R125f.x; -// 5 -tempf.x = dot(vec4(R2f.x,R2f.y,R127f.x,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),1.0,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R127f.y = tempf.x; -R122f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedVS[4].y)) + R126f.x); -PS1f = R122f.x; -// 6 -R123f.x = (mul_nonIEEE(R4f.y,intBitsToFloat(uf_remappedVS[2].y)) + R125f.x); -PV0f.x = R123f.x; -R126f.z = (mul_nonIEEE(R2f.x,intBitsToFloat(uf_remappedVS[4].x)) + PS1f); -PV0f.z = R126f.z; -PS0f = mul_nonIEEE(R4f.y, intBitsToFloat(uf_remappedVS[4].y)); -// 7 -R127f.x = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[2].x)) + PV0f.x); -PV1f.y = mul_nonIEEE(PV0f.z, PV0f.z); -R125f.x = (mul_nonIEEE(R4f.z,intBitsToFloat(uf_remappedVS[4].z)) + PS0f); -PS1f = R125f.x; -// 8 -tempf.x = dot(vec4(R4f.x,R4f.y,R4f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R126f.y = tempf.x; -R122f.x = (mul_nonIEEE(R127f.y,R127f.y) + PV1f.y); -PS0f = R122f.x; -// 9 -backupReg0f = R125f.x; -R125f.x = (mul_nonIEEE(R6f.y,intBitsToFloat(uf_remappedVS[0].z)) + R127f.z); -R127f.z = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[4].x)) + backupReg0f); -PV1f.z = R127f.z; -R123f.w = (mul_nonIEEE(R124f.x,R124f.x) + PS0f); -PV1f.w = R123f.w; -// 10 -tempf.x = dot(vec4(R127f.x,R126f.y,PV1f.z,-0.0),vec4(R127f.x,R126f.y,PV1f.z,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -tempResultf = 1.0 / sqrt(PV1f.w); -PS0f = tempResultf; -// 11 -R2f.x = mul_nonIEEE(R124f.x, PS0f); -R2f.y = mul_nonIEEE(R127f.y, PS0f); -R2f.z = mul_nonIEEE(R126f.z, PS0f); -R127f.w = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[5].x)) + intBitsToFloat(uf_remappedVS[6].x)); -tempResultf = 1.0 / sqrt(PV0f.x); -PS1f = tempResultf; -// 12 -R3f.x = mul_nonIEEE(R127f.x, PS1f); -R3f.y = mul_nonIEEE(R126f.y, PS1f); -R0f.z = mul_nonIEEE(R127f.z, PS1f); -R123f.w = (mul_nonIEEE(R5f.x,intBitsToFloat(uf_remappedVS[5].y)) + intBitsToFloat(uf_remappedVS[6].y)); -PV0f.w = R123f.w; -R4f.z = R125f.x; -PS0f = R4f.z; -// 13 -R4f.x = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[5].z)) + R127f.w); -R4f.y = (mul_nonIEEE(R5f.y,intBitsToFloat(uf_remappedVS[5].w)) + PV0f.w); -R123f.z = (mul_nonIEEE(R6f.y,intBitsToFloat(uf_remappedVS[0].w)) + R0f.x); -PV1f.z = R123f.z; -// 14 -R123f.x = (mul_nonIEEE(R6f.x,intBitsToFloat(uf_remappedVS[7].y)) + intBitsToFloat(uf_remappedVS[8].y)); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R6f.x,intBitsToFloat(uf_remappedVS[7].x)) + intBitsToFloat(uf_remappedVS[8].x)); -PV0f.y = R123f.y; -R4f.w = PV1f.z; -// 15 -backupReg0f = R6f.y; -R6f.x = (mul_nonIEEE(R6f.y,intBitsToFloat(uf_remappedVS[7].z)) + PV0f.y); -R6f.y = (mul_nonIEEE(backupReg0f,intBitsToFloat(uf_remappedVS[7].w)) + PV0f.x); -// export -passParameterSem0 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -// export -passParameterSem5 = vec4(R1f.x, R1f.y, R1f.z, 1.0); // = "workaround" -// export -// skipped export to semanticId 255 -// 0 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R7f.x,backupReg0f,R3f.z,R8f.x),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R127f.x = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[9].z)); -PS0f = R127f.x; -// 1 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R7f.x,backupReg0f,R3f.z,R8f.x),vec4(intBitsToFloat(uf_remappedVS[10].x),intBitsToFloat(uf_remappedVS[10].y),intBitsToFloat(uf_remappedVS[10].z),intBitsToFloat(uf_remappedVS[10].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R1f.x = PV0f.x; -PS1f = R1f.x; -// 2 -backupReg0f = R0f.y; -tempf.x = dot(vec4(R7f.x,backupReg0f,R3f.z,R8f.x),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),intBitsToFloat(uf_remappedVS[11].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R1f.y = PV1f.x; -PS0f = R1f.y; -// 3 -backupReg0f = R127f.x; -R127f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedVS[9].y)) + backupReg0f); -R126f.y = mul_nonIEEE(R3f.y, intBitsToFloat(uf_remappedVS[9].y)); -R1f.z = PV0f.x; -PV1f.z = R1f.z; -R127f.w = mul_nonIEEE(R0f.z, intBitsToFloat(uf_remappedVS[10].z)); -R125f.x = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[10].z)); -PS1f = R125f.x; -// 4 -tempf.x = dot(vec4(R1f.x,R1f.y,PV1f.z,R7f.y),vec4(intBitsToFloat(uf_remappedVS[12].x),intBitsToFloat(uf_remappedVS[12].y),intBitsToFloat(uf_remappedVS[12].z),intBitsToFloat(uf_remappedVS[12].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R8f.y = tempf.x; -// 5 -R8f.x = dot(vec4(R1f.x,R1f.y,R1f.z,R7f.y),vec4(intBitsToFloat(uf_remappedVS[13].x),intBitsToFloat(uf_remappedVS[13].y),intBitsToFloat(uf_remappedVS[13].z),intBitsToFloat(uf_remappedVS[13].w))); -PV1f.x = R8f.x; -PV1f.y = R8f.x; -PV1f.z = R8f.x; -PV1f.w = R8f.x; -R127f.z = -(PV0f.x); -PS1f = R127f.z; -// 6 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R7f.y),vec4(intBitsToFloat(uf_remappedVS[14].x),intBitsToFloat(uf_remappedVS[14].y),intBitsToFloat(uf_remappedVS[14].z),intBitsToFloat(uf_remappedVS[14].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R8f.z = tempf.x; -// 7 -tempf.x = dot(vec4(R1f.x,R1f.y,R1f.z,R7f.y),vec4(intBitsToFloat(uf_remappedVS[15].x),intBitsToFloat(uf_remappedVS[15].y),intBitsToFloat(uf_remappedVS[15].z),intBitsToFloat(uf_remappedVS[15].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R8f.w = tempf.x; -R7f.z = PV0f.x; -PS1f = R7f.z; -// 8 -R123f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedVS[10].y)) + R125f.x); -PV0f.x = R123f.x; -R123f.y = (mul_nonIEEE(R2f.x,intBitsToFloat(uf_remappedVS[9].x)) + R127f.x); -PV0f.y = R123f.y; -R7f.w = PV1f.x; -R122f.x = (mul_nonIEEE(R3f.y,intBitsToFloat(uf_remappedVS[10].y)) + R127f.w); -PS0f = R122f.x; -// 9 -R123f.x = (mul_nonIEEE(R2f.x,intBitsToFloat(uf_remappedVS[10].x)) + PV0f.x); -PV1f.x = R123f.x; -R9f.y = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[10].x)) + PS0f); -R6f.w = PV0f.y; -R127f.x = (mul_nonIEEE(R0f.z,intBitsToFloat(uf_remappedVS[9].z)) + R126f.y); -PS1f = R127f.x; -// 10 -tempf.x = dot(vec4(R2f.x,R2f.y,R2f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),intBitsToFloat(uf_remappedVS[11].z),0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R6f.y = PV1f.x; -PS0f = R6f.y; -// 11 -R9f.x = (mul_nonIEEE(R3f.x,intBitsToFloat(uf_remappedVS[9].x)) + R127f.x); -R7f.y = R127f.z + R8f.w; -R7f.y /= 2.0; -R6f.z = PV0f.x; -PV1f.w = mul_nonIEEE(R0f.z, intBitsToFloat(uf_remappedVS[11].z)); -R7f.x = R8f.x + R8f.w; -R7f.x /= 2.0; -PS1f = R7f.x; -// 12 -tempf.x = dot(vec4(R3f.x,R3f.y,PV1f.w,-0.0),vec4(intBitsToFloat(uf_remappedVS[11].x),intBitsToFloat(uf_remappedVS[11].y),1.0,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R9f.z = tempf.x; -// export -gl_Position = vec4(R8f.x, R8f.y, R8f.z, R8f.w); -// export -passParameterSem4 = vec4(R9f.x, R9f.y, R9f.z, R9f.w); -// export -passParameterSem7 = vec4(R7f.x, R7f.y, R7f.z, R7f.w); -// export -passParameterSem3 = vec4(R6f.w, R6f.y, R6f.z, R6f.w); -// export -passParameterSem6 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/c6c67c24e7df1604_0000000000000000_vs.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/c6c67c24e7df1604_0000000000000000_vs.txt deleted file mode 100644 index 73c4b4ce..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/c6c67c24e7df1604_0000000000000000_vs.txt +++ /dev/null @@ -1,306 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -#extension GL_ARB_shading_language_packing : enable -// shader c6c67c24e7df1604 -// Used for: Fixing Nvidia ground(?) artifacts. -// BREAKS WHOLE GAME, SHADER DOESN'T DO ANYTHING -// Check rules.txt for documentation and when to enable. - - - -uniform ivec4 uf_remappedVS[10]; -uniform vec2 uf_windowSpaceToClipSpaceTransform; -layout(location = 0) in uvec4 attrDataSem0; -layout(location = 1) in uvec4 attrDataSem1; -layout(location = 2) in uvec4 attrDataSem2; -layout(location = 3) in uvec4 attrDataSem8; -layout(location = 4) in uvec4 attrDataSem12; -out gl_PerVertex -{ - vec4 gl_Position; - float gl_PointSize; -}; -layout(location = 2) out vec4 passParameterSem4; -layout(location = 3) out vec4 passParameterSem5; -layout(location = 4) out vec4 passParameterSem7; -layout(location = 1) out vec4 passParameterSem3; -layout(location = 0) out vec4 passParameterSem0; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){return mix(0.0, a*b, (a != 0.0) && (b != 0.0));} -void main() -{ -vec4 R0f = vec4(0.0); -vec4 R1f = vec4(0.0); -vec4 R2f = vec4(0.0); -vec4 R3f = vec4(0.0); -vec4 R4f = vec4(0.0); -vec4 R5f = vec4(0.0); -vec4 R6f = vec4(0.0); -vec4 R7f = vec4(0.0); -vec4 R8f = vec4(0.0); -vec4 R122f = vec4(0.0); -vec4 R123f = vec4(0.0); -vec4 R124f = vec4(0.0); -vec4 R125f = vec4(0.0); -vec4 R126f = vec4(0.0); -vec4 R127f = vec4(0.0); -uvec4 attrDecoder; -float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; -vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); -float PS0f = 0.0, PS1f = 0.0; -vec4 tempf = vec4(0.0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0f = floatBitsToInt(ivec4(gl_VertexID, 0, 0, gl_InstanceID)); -attrDecoder.xyz = attrDataSem0.xyz; -attrDecoder.xyz = (attrDecoder.xyz>>24)|((attrDecoder.xyz>>8)&0xFF00)|((attrDecoder.xyz<<8)&0xFF0000)|((attrDecoder.xyz<<24)); -attrDecoder.w = 0; -R3f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.x = attrDataSem1.x; -attrDecoder.x = (attrDecoder.x>>24)|((attrDecoder.x>>8)&0xFF00)|((attrDecoder.x<<8)&0xFF0000)|((attrDecoder.x<<24)); -attrDecoder.y = 0; -attrDecoder.z = 0; -attrDecoder.w = 0; -attrDecoder.xyzw = uvec4((attrDecoder.x>>0)&0x3FF,(attrDecoder.x>>10)&0x3FF,(attrDecoder.x>>20)&0x3FF,(attrDecoder.x>>30)&0x3); -if( (attrDecoder.x&0x200) != 0 ) attrDecoder.x |= 0xFFFFFC00; -if( (attrDecoder.y&0x200) != 0 ) attrDecoder.y |= 0xFFFFFC00; -if( (attrDecoder.z&0x200) != 0 ) attrDecoder.z |= 0xFFFFFC00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/511.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/511.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/511.0,-1.0)); -attrDecoder.w = floatBitsToUint(float(attrDecoder.w)); -R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xyzw = attrDataSem2.xyzw; -if( (attrDecoder.x&0x80) != 0 ) attrDecoder.x |= 0xFFFFFF00; -if( (attrDecoder.y&0x80) != 0 ) attrDecoder.y |= 0xFFFFFF00; -if( (attrDecoder.z&0x80) != 0 ) attrDecoder.z |= 0xFFFFFF00; -if( (attrDecoder.w&0x80) != 0 ) attrDecoder.w |= 0xFFFFFF00; -attrDecoder.x = floatBitsToUint(max(float(int(attrDecoder.x))/127.0,-1.0)); -attrDecoder.y = floatBitsToUint(max(float(int(attrDecoder.y))/127.0,-1.0)); -attrDecoder.z = floatBitsToUint(max(float(int(attrDecoder.z))/127.0,-1.0)); -attrDecoder.w = floatBitsToUint(max(float(int(attrDecoder.w))/127.0,-1.0)); -R4f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -attrDecoder.xy = attrDataSem8.xy; -attrDecoder.xy = (attrDecoder.xy>>24)|((attrDecoder.xy>>8)&0xFF00)|((attrDecoder.xy<<8)&0xFF0000)|((attrDecoder.xy<<24)); -attrDecoder.z = 0; -attrDecoder.w = 0; -R5f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0))); -attrDecoder.xyzw = floatBitsToUint(vec4(attrDataSem12.xyzw)/255.0); -R1f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(int(attrDecoder.z)), intBitsToFloat(int(attrDecoder.w))); -// 0 -R126f.x = 1.0; -R126f.y = 1.0; -PV0f.z = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[0].z)); -R127f.w = 1.0; -PV0f.w = R127f.w; -R6f.w = R4f.w; -PS0f = R6f.w; -// 1 -R127f.x = dot(vec4(R3f.x,R3f.y,R3f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z),intBitsToFloat(uf_remappedVS[0].w))); -PV1f.x = R127f.x; -PV1f.y = R127f.x; -PV1f.z = R127f.x; -PV1f.w = R127f.x; -R125f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedVS[0].y)) + PV0f.z); -PS1f = R125f.x; -// 2 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R127f.y = tempf.x; -R124f.x = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[1].z)); -PS0f = R124f.x; -// 3 -tempf.x = dot(vec4(R3f.x,R3f.y,R3f.z,R127f.w),vec4(intBitsToFloat(uf_remappedVS[2].x),intBitsToFloat(uf_remappedVS[2].y),intBitsToFloat(uf_remappedVS[2].z),intBitsToFloat(uf_remappedVS[2].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R127f.z = tempf.x; -R3f.x = mul_nonIEEE(R2f.z, intBitsToFloat(uf_remappedVS[2].z)); -PS1f = R3f.x; -// 4 -tempf.x = dot(vec4(R127f.x,R127f.y,PV1f.x,R126f.x),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),intBitsToFloat(uf_remappedVS[3].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -// 5 -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,R126f.x),vec4(intBitsToFloat(uf_remappedVS[4].x),intBitsToFloat(uf_remappedVS[4].y),intBitsToFloat(uf_remappedVS[4].z),intBitsToFloat(uf_remappedVS[4].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R8f.x = PV0f.x; -PS1f = R8f.x; -// 6 -tempf.x = dot(vec4(R127f.x,R127f.y,R127f.z,R126f.x),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),intBitsToFloat(uf_remappedVS[5].z),intBitsToFloat(uf_remappedVS[5].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R8f.y = PV1f.x; -PS0f = R8f.y; -// 7 -R127f.x = (mul_nonIEEE(R2f.x,intBitsToFloat(uf_remappedVS[0].x)) + R125f.x); -R127f.y = mul_nonIEEE(R4f.y, intBitsToFloat(uf_remappedVS[0].y)); -R8f.z = PV0f.x; -PV1f.z = R8f.z; -R127f.w = mul_nonIEEE(R4f.y, intBitsToFloat(uf_remappedVS[1].y)); -R125f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedVS[1].y)) + R124f.x); -PS1f = R125f.x; -// 8 -tempf.x = dot(vec4(R8f.x,R8f.y,PV1f.z,R126f.y),vec4(intBitsToFloat(uf_remappedVS[6].x),intBitsToFloat(uf_remappedVS[6].y),intBitsToFloat(uf_remappedVS[6].z),intBitsToFloat(uf_remappedVS[6].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.y = tempf.x; -// 9 -R0f.x = dot(vec4(R8f.x,R8f.y,R8f.z,R126f.y),vec4(intBitsToFloat(uf_remappedVS[7].x),intBitsToFloat(uf_remappedVS[7].y),intBitsToFloat(uf_remappedVS[7].z),intBitsToFloat(uf_remappedVS[7].w))); -PV1f.x = R0f.x; -PV1f.y = R0f.x; -PV1f.z = R0f.x; -PV1f.w = R0f.x; -R124f.x = -(PV0f.x); -PS1f = R124f.x; -// 10 -tempf.x = dot(vec4(R8f.x,R8f.y,R8f.z,R126f.y),vec4(intBitsToFloat(uf_remappedVS[8].x),intBitsToFloat(uf_remappedVS[8].y),intBitsToFloat(uf_remappedVS[8].z),intBitsToFloat(uf_remappedVS[8].w))); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R0f.z = tempf.x; -// 11 -tempf.x = dot(vec4(R8f.x,R8f.y,R8f.z,R126f.y),vec4(intBitsToFloat(uf_remappedVS[9].x),intBitsToFloat(uf_remappedVS[9].y),intBitsToFloat(uf_remappedVS[9].z),intBitsToFloat(uf_remappedVS[9].w))); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -R0f.w = tempf.x; -R7f.z = PV0f.x; -PS1f = R7f.z; -// 12 -R123f.x = (mul_nonIEEE(R2f.y,intBitsToFloat(uf_remappedVS[2].y)) + R3f.x); -PV0f.x = R123f.x; -R126f.y = (mul_nonIEEE(R2f.x,intBitsToFloat(uf_remappedVS[1].x)) + R125f.x); -R7f.w = PV1f.x; -PS0f = mul_nonIEEE(R4f.y, intBitsToFloat(uf_remappedVS[2].y)); -// 13 -R123f.x = (mul_nonIEEE(R4f.z,intBitsToFloat(uf_remappedVS[0].z)) + R127f.y); -PV1f.x = R123f.x; -R7f.y = R124f.x + R0f.w; -R7f.y /= 2.0; -R127f.z = (mul_nonIEEE(R2f.x,intBitsToFloat(uf_remappedVS[2].x)) + PV0f.x); -PV1f.z = R127f.z; -R124f.x = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[2].x)) + PS0f); -PS1f = R124f.x; -// 14 -R125f.x = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[0].x)) + PV1f.x); -PV0f.y = mul_nonIEEE(PV1f.z, PV1f.z); -R122f.x = (mul_nonIEEE(R4f.z,intBitsToFloat(uf_remappedVS[1].z)) + R127f.w); -PS0f = R122f.x; -// 15 -R123f.x = (mul_nonIEEE(R126f.y,R126f.y) + PV0f.y); -PV1f.x = R123f.x; -R127f.y = (mul_nonIEEE(R4f.x,intBitsToFloat(uf_remappedVS[1].x)) + PS0f); -R126f.z = (mul_nonIEEE(R4f.z,intBitsToFloat(uf_remappedVS[2].z)) + R124f.x); -PV1f.z = R126f.z; -R7f.x = R0f.x + R0f.w; -R7f.x /= 2.0; -PS1f = R7f.x; -// 16 -PV0f.x = mul_nonIEEE(PV1f.z, PV1f.z); -R123f.y = (mul_nonIEEE(R127f.x,R127f.x) + PV1f.x); -PV0f.y = R123f.y; -// 17 -tempf.x = dot(vec4(R125f.x,R127f.y,PV0f.x,-0.0),vec4(R125f.x,R127f.y,1.0,0.0)); -PV1f.x = tempf.x; -PV1f.y = tempf.x; -PV1f.z = tempf.x; -PV1f.w = tempf.x; -tempResultf = 1.0 / sqrt(PV0f.y); -PS1f = tempResultf; -// 18 -backupReg0f = R127f.x; -backupReg1f = R126f.y; -backupReg2f = R127f.z; -R127f.x = mul_nonIEEE(backupReg0f, PS1f); -R126f.y = mul_nonIEEE(backupReg1f, PS1f); -R127f.z = mul_nonIEEE(backupReg2f, PS1f); -PV0f.z = R127f.z; -tempResultf = 1.0 / sqrt(PV1f.x); -PS0f = tempResultf; -// 19 -backupReg0f = R126f.z; -R124f.x = mul_nonIEEE(R125f.x, PS0f); -R125f.y = mul_nonIEEE(R127f.y, PS0f); -R126f.z = mul_nonIEEE(backupReg0f, PS0f); -PV1f.w = mul_nonIEEE(PV0f.z, intBitsToFloat(uf_remappedVS[4].z)); -PS1f = mul_nonIEEE(PV0f.z, intBitsToFloat(uf_remappedVS[3].z)); -// 20 -tempf.x = dot(vec4(R127f.x,R126f.y,PS1f,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),1.0,0.0)); -PV0f.x = tempf.x; -PV0f.y = tempf.x; -PV0f.z = tempf.x; -PV0f.w = tempf.x; -R122f.x = (mul_nonIEEE(R126f.y,intBitsToFloat(uf_remappedVS[4].y)) + PV1f.w); -PS0f = R122f.x; -// 21 -R4f.x = PV0f.x; -R127f.y = (mul_nonIEEE(R127f.x,intBitsToFloat(uf_remappedVS[4].x)) + PS0f); -PV1f.z = mul_nonIEEE(R125f.y, intBitsToFloat(uf_remappedVS[4].y)); -R127f.w = mul_nonIEEE(R126f.z, intBitsToFloat(uf_remappedVS[5].z)); -PS1f = mul_nonIEEE(R127f.z, intBitsToFloat(uf_remappedVS[5].z)); -// 22 -R125f.x = dot(vec4(R127f.x,R126f.y,PS1f,-0.0),vec4(intBitsToFloat(uf_remappedVS[5].x),intBitsToFloat(uf_remappedVS[5].y),1.0,0.0)); -PV0f.x = R125f.x; -PV0f.y = R125f.x; -PV0f.z = R125f.x; -PV0f.w = R125f.x; -R127f.x = (mul_nonIEEE(R126f.z,intBitsToFloat(uf_remappedVS[4].z)) + PV1f.z); -PS0f = R127f.x; -// 23 -R6f.x = dot(vec4(R124f.x,R125f.y,R126f.z,-0.0),vec4(intBitsToFloat(uf_remappedVS[3].x),intBitsToFloat(uf_remappedVS[3].y),intBitsToFloat(uf_remappedVS[3].z),0.0)); -PV1f.x = R6f.x; -PV1f.y = R6f.x; -PV1f.z = R6f.x; -PV1f.w = R6f.x; -R4f.y = R127f.y; -PS1f = R4f.y; -// 24 -R123f.x = (mul_nonIEEE(R125f.y,intBitsToFloat(uf_remappedVS[5].y)) + R127f.w); -PV0f.x = R123f.x; -R6f.y = (mul_nonIEEE(R124f.x,intBitsToFloat(uf_remappedVS[4].x)) + R127f.x); -R4f.z = R125f.x; -// 25 -R6f.z = (mul_nonIEEE(R124f.x,intBitsToFloat(uf_remappedVS[5].x)) + PV0f.x); -// export -gl_Position = vec4(R0f.x, R0f.y, R0f.z, R0f.z); // "workaround" (has side-effect of destroying the game...) -// export -passParameterSem4 = vec4(R6f.x, R6f.y, R6f.z, R6f.w); -// export -passParameterSem5 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); -// export -passParameterSem7 = vec4(R7f.x, R7f.y, R7f.z, R7f.w); -// export -passParameterSem3 = vec4(R4f.x, R4f.y, R4f.z, R4f.w); -// export -passParameterSem0 = vec4(R5f.x, R5f.y, R5f.x, R5f.y); -// export -// skipped export to semanticId 255 -} diff --git a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/rules.txt b/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/rules.txt deleted file mode 100644 index 84502b04..00000000 --- a/Workaround/BreathOfTheWild_NVIDIAGlitchArtifacts/rules.txt +++ /dev/null @@ -1,23 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - NVIDIA Glitch Artifacts Workaround" -version = 2 - -# This pack contains a workaround for the glitch/blockish artifacts found on lava, water or reflections. -# However, this pack can cause tile transition issues which don't appear to transition smoothly. -# If you experience these issues, it's recommended to enable this pack. Otherwise, don't. -# This bug (and graphic pack) only affects GPU's from the Maxwell or Pascal generation (roughly everything above GTX 700). - -# Images of issue: -# https://cdn.discordapp.com/attachments/207547103726010368/372217955741597706/unknown.png -# https://cdn.discordapp.com/attachments/207547103726010368/372220915012075520/unknown.png -# https://cdn.discordapp.com/attachments/292733452590120961/433211809898561536/unknown.png - -# Image of tile transition issue: -# https://cdn.discordapp.com/attachments/292733452590120961/433019304955609098/unknown.png - - -# This graphic pack is made as an easy to install alternative to this fix by Flocker: -# https://www.reddit.com/r/cemu/comments/6qwmon/got_blocky_artifacts_in_lava_water_and_other/ -# The difference is that this fix reduces it, while it doesn't have the tile transition issue. -# It also requires an external program and might reset itself on a driver installation (unlikely). \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/rules.txt b/Workaround/BreathOfTheWild_NVIDIASmoke/rules.txt deleted file mode 100644 index 589cfe9d..00000000 --- a/Workaround/BreathOfTheWild_NVIDIASmoke/rules.txt +++ /dev/null @@ -1,8 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - NVIDIA Explosion Smoke" -version = 2 - -# A quick found by Rajkosto, Xalphenos, Darkemaste -# Partially fix thin paper look explosion smoke on nvdia when using AccurateShaderMul = true -# Shaders dumped from Cemu 1.10.0f and BotW 1.3.1 \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_SquareShadowsFix/rules.txt b/Workaround/BreathOfTheWild_SquareShadowsFix/rules.txt deleted file mode 100644 index e816cf95..00000000 --- a/Workaround/BreathOfTheWild_SquareShadowsFix/rules.txt +++ /dev/null @@ -1,8 +0,0 @@ -[Definition] -titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - Square Kakariko Torch Shadows Fix" -version = 2 - -# Workaround for the square shadows seen around torches in Kakariko Village -# found by Kiri -# Shaders dumped from Cemu 1.11.0b and BotW 1.3.1 \ No newline at end of file diff --git a/Workaround/ColorSplash_30FPS/rules.txt b/Workaround/ColorSplash_30FPS/rules.txt deleted file mode 100644 index c604d353..00000000 --- a/Workaround/ColorSplash_30FPS/rules.txt +++ /dev/null @@ -1,7 +0,0 @@ -[Definition] -titleIds = 000500001F600900,000500001F600A00,000500001F600B00 -name = "Paper Mario: Color Splash - 30FPS Lock" -version = 2 - -[Control] -vsyncFrequency = 30 diff --git a/Workaround/HyruleWarriors_30FPS/rules.txt b/Workaround/HyruleWarriors_30FPS/rules.txt deleted file mode 100644 index 6917142a..00000000 --- a/Workaround/HyruleWarriors_30FPS/rules.txt +++ /dev/null @@ -1,7 +0,0 @@ -[Definition] -titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - 30FPS Lock" -version = 2 - -[Control] -vsyncFrequency = 30 diff --git a/Workaround/HyruleWarriors_DLCFix/patches.txt b/Workaround/HyruleWarriors_DLCFix/patches.txt deleted file mode 100644 index bc9e51e4..00000000 --- a/Workaround/HyruleWarriors_DLCFix/patches.txt +++ /dev/null @@ -1,38 +0,0 @@ -[HWDLCFixv208] -# thanks to MelonSpeedruns for testing! -moduleMatches = 0xE159AE91 - -# CDLCManager::bIsValidDLCCostume -0x216F97C = li r3, 1 -0x216F980 = blr - -# CDLCManager::bIsValidDLCBushou -0x216F9D8 = li r3, 1 -0x216F9DC = blr - -# CDLCManager::bIsValidDLCWeaponType -0x216FA18 = li r3, 1 -0x216FA1C = blr - -# CDLCManager::bIsValidDLCWeapon -0x216FA58 = li r3, 1 -0x216FA5C = blr - -# CDLCManager::bIsValidDLCAdventureMap -0x216FA98 = li r3, 1 -0x216FA9C = blr - -# CDLCManager::bIsValidDLCScenario -0x216FAD8 = li r3, 1 -0x216FADC = blr - -# CDLCManager::bIsValidDLCBossChallengeMode -0x216FB28 = li r3, 1 -0x216FB2C = blr - -# CDLCManager::bIsValidDLCGanonPlayMode -0x216FB40 = li r3, 1 -0x216FB44 = blr - -# CDLCManager::CheckThreadMainWiiU -0x216F23C = blr diff --git a/Workaround/HyruleWarriors_DLCFix/rules.txt b/Workaround/HyruleWarriors_DLCFix/rules.txt deleted file mode 100644 index 6d2ecdc9..00000000 --- a/Workaround/HyruleWarriors_DLCFix/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - DLC Fix" -version = 2 diff --git a/Workaround/HyruleWarriors_DoFBlurRemoval/patches.txt b/Workaround/HyruleWarriors_DoFBlurRemoval/patches.txt deleted file mode 100644 index e29435eb..00000000 --- a/Workaround/HyruleWarriors_DoFBlurRemoval/patches.txt +++ /dev/null @@ -1,18 +0,0 @@ -[HWBlurRemovalv208] -moduleMatches = 0xE159AE91 - -codeCaveSize = 0x20 - -# function that nulls out fields meant to be set by ktgl::CCafeGraphicsDevice::GetViewport -_nullViewport = 0x00000000 -0x00000000 = li r4, 0 -0x00000004 = stw r4, 0x0(r3) -0x00000008 = stw r4, 0x4(r3) -0x0000000C = stw r4, 0x8(r3) -0x00000010 = stw r4, 0xC(r3) -0x00000014 = stw r4, 0x10(r3) -0x00000018 = stw r4, 0x14(r3) -0x0000001C = blr - -# patch DoF call to ktgl::CCafeGraphicsDevice::GetViewport to use our nulling out function instead -0x02878FAC = bla _nullViewport diff --git a/Workaround/HyruleWarriors_DoFBlurRemoval/rules.txt b/Workaround/HyruleWarriors_DoFBlurRemoval/rules.txt deleted file mode 100644 index 3ecd1b5b..00000000 --- a/Workaround/HyruleWarriors_DoFBlurRemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - DoF Blur Removal" -version = 2 diff --git a/Workaround/HyruleWarriors_EnemyDeathFix/6e8a52b2c5236e90_0000000001fffe49_ps.txt b/Workaround/HyruleWarriors_EnemyDeathFix/6e8a52b2c5236e90_0000000001fffe49_ps.txt deleted file mode 100644 index 659cdba6..00000000 --- a/Workaround/HyruleWarriors_EnemyDeathFix/6e8a52b2c5236e90_0000000001fffe49_ps.txt +++ /dev/null @@ -1,714 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader 6e8a52b2c5236e90 -uniform ivec4 uf_remappedPS[16]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x21304000 res 512x512x1 dim 1 tm: 4 format 0033 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0x212d7000 res 512x512x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x21280000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 0 border: 0 -layout(location = 0) in vec4 passParameterSem64; -layout(location = 1) in vec4 passParameterSem65; -layout(location = 2) in vec4 passParameterSem66; -layout(location = 3) in vec4 passParameterSem67; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 3) out vec4 passPixelColor3; -uniform vec2 uf_fragCoordScale; -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R7i = ivec4(0); -ivec4 R8i = ivec4(0); -ivec4 R9i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -R0i = floatBitsToInt(passParameterSem64); -R1i = floatBitsToInt(passParameterSem65); -R2i = floatBitsToInt(passParameterSem66); -R3i = floatBitsToInt(passParameterSem67); -if( activeMaskStackC[1] == true ) { -R5i.xyzw = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R0i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R1i.w = floatBitsToInt(intBitsToFloat(R5i.w) + -(intBitsToFloat(0x3ec8c8cd))); -// 1 -predResult = (0.0 >= intBitsToFloat(R1i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -if( (0 == 0)) discard; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R0i.wz)).xyz); -R0i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = floatBitsToInt((intBitsToFloat(R4i.x) * intBitsToFloat(0x40008102) + -(intBitsToFloat(0x3f810204)))); -PS0i = R127i.z; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PS1i))); -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(PS1i))); -R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R126i.w = floatBitsToInt((intBitsToFloat(R4i.y) * intBitsToFloat(0x40008102) + -(intBitsToFloat(0x3f810204)))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PS0i))); -PV1i.x = R127i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PS0i))); -PV1i.y = R127i.y; -R124i.z = floatBitsToInt((intBitsToFloat(R4i.z) * intBitsToFloat(0x40008102) + -(intBitsToFloat(0x3f810204)))); -R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PS0i))); -PV1i.w = R127i.w; -R4i.x = floatBitsToInt(intBitsToFloat(R5i.y) * 1.0); -PS1i = R4i.x; -// 4 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PV1i.y))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PV1i.x))); -R124i.w = floatBitsToInt(intBitsToFloat(R5i.z) * 1.0); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[0].w)) + intBitsToFloat(uf_remappedPS[0].x))); -R122i.x = clampFI32(R122i.x); -PS0i = R122i.x; -// 5 -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) * 1.0); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.z)),intBitsToFloat(R127i.x)) + intBitsToFloat(PV0i.x))); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.x)),intBitsToFloat(R127i.y)) + intBitsToFloat(PV0i.y))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.y)),intBitsToFloat(R127i.w)) + intBitsToFloat(PV0i.z))); -PV1i.w = R123i.w; -R125i.w = floatBitsToInt(intBitsToFloat(PS0i) * 1.0); -PS1i = R125i.w; -// 6 -backupReg0i = R0i.y; -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.w))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.y))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.z))); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(PS1i))); -PS0i = R126i.x; -// 7 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(uf_remappedPS[1].y))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.y), intBitsToFloat(R127i.z))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R127i.z))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(R127i.z))); -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(uf_remappedPS[1].z))); -PS1i = R127i.z; -// 8 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R126i.w)) + intBitsToFloat(PV1i.w))); -PV0i.x = R123i.x; -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_remappedPS[2].y))); -PV0i.y = R127i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R126i.w)) + intBitsToFloat(PV1i.y))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R126i.w)) + intBitsToFloat(PV1i.z))); -PV0i.w = R123i.w; -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(uf_remappedPS[2].z))); -PS0i = R124i.y; -// 9 -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R124i.z)) + intBitsToFloat(PV0i.x))); -PV1i.x = R9i.x; -R7i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R124i.z)) + intBitsToFloat(PV0i.w))); -PV1i.y = R7i.y; -R6i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R124i.z)) + intBitsToFloat(PV0i.z))); -PV1i.z = R6i.z; -R127i.w = floatBitsToInt(intBitsToFloat(R124i.x) + -(intBitsToFloat(R127i.z))); -R126i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(intBitsToFloat(PS0i))); -PS1i = R126i.w; -// 10 -backupReg0i = R0i.x; -backupReg1i = R125i.w; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[3].x),intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(uf_remappedPS[3].z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -PS0i = R124i.z; -// 11 -R125i.x = floatBitsToInt(intBitsToFloat(R124i.x) + -(intBitsToFloat(R127i.z))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedPS[4].y)) + intBitsToFloat(uf_remappedPS[5].y))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedPS[4].x)) + intBitsToFloat(uf_remappedPS[5].x))); -R5i.w = ((intBitsToFloat(R127i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.w = R5i.w; -PS1i = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R124i.x))); -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(uf_remappedPS[4].z)) + intBitsToFloat(uf_remappedPS[5].z))); -PV0i.x = R123i.x; -R125i.y = floatBitsToInt(intBitsToFloat(R127i.y) + -(intBitsToFloat(R124i.y))); -R5i.z = ((intBitsToFloat(R126i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.z = R5i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R124i.y) + -(intBitsToFloat(R127i.y))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.w)) + intBitsToFloat(R124i.x))); -PS0i = R0i.y; -// 13 -backupReg0i = R125i.x; -backupReg1i = R127i.z; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.z)) + intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedPS[6].z)); -PV1i.z = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(uf_remappedPS[6].y)); -PV1i.w = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(uf_remappedPS[6].x)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.w)) + intBitsToFloat(backupReg1i))); -PS1i = R127i.z; -// 14 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(uf_remappedPS[7].x)) + 0.0)); -PV0i.x = R123i.x; -R2i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(R5i.z)) + intBitsToFloat(R124i.y))); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedPS[7].z)) + 0.0)); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(uf_remappedPS[7].y)) + 0.0)); -PV0i.w = R123i.w; -R1i.w = R0i.y; -PS0i = R1i.w; -// 15 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(uf_remappedPS[8].y)); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_remappedPS[8].x)); -R126i.z = backupReg0i; -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(uf_remappedPS[8].z)); -R3i.z = R127i.z; -PS1i = R3i.z; -// 16 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + 0.0); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + 0.0); -PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + 0.0); -R2i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_remappedPS[1].x))); -PV0i.w = R2i.w; -R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(uf_remappedPS[2].x))); -PS0i = R7i.x; -// 17 -R5i.x = PV0i.w; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(PV0i.x)) + 0.0)); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(PV0i.y)) + 0.0)); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.z)) + 0.0)); -PV1i.w = R123i.w; -R125i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(R127i.z))); -PS1i = R125i.y; -// 18 -R2i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + 0.0); -PV0i.x = R2i.x; -R6i.y = R125i.x; -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.y) + 0.0); -PV0i.z = R124i.z; -R126i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + 0.0); -PV0i.w = R126i.w; -R6i.x = R7i.x; -PS0i = R6i.x; -// 19 -R0i.x = PV0i.x; -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(PV0i.z))); -R125i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + -(intBitsToFloat(PV0i.w))); -R124i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + -(intBitsToFloat(PV0i.z))); -R0i.w = R125i.x; -PS1i = R0i.w; -// 20 -R123i.x = ((intBitsToFloat(PV1i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.x = R123i.x; -R5i.y = R2i.y; -R4i.z = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R2i.y))); -R4i.w = R127i.z; -R8i.x = ((intBitsToFloat(R125i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PS0i = R8i.x; -// 21 -R3i.x = floatBitsToInt(-(intBitsToFloat(PV0i.x)) + intBitsToFloat(0x3f2aaaab)); -R3i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + -(1.0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(PV0i.x)) + intBitsToFloat(R126i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(PV0i.x)) + intBitsToFloat(R124i.z))); -PV1i.w = R123i.w; -R2i.z = floatBitsToInt(intBitsToFloat(R126i.z) + -(intBitsToFloat(R1i.w))); -PS1i = R2i.z; -// 22 -R4i.x = PV1i.z; -R0i.y = PV1i.z; -R0i.z = floatBitsToInt(intBitsToFloat(R2i.x) + -(intBitsToFloat(PV1i.w))); -R3i.w = PV1i.w; -R4i.y = PV1i.w; -PS0i = R4i.y; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.x; -PV0i.x = floatBitsToInt(intBitsToFloat(R3i.w) + -(intBitsToFloat(backupReg0i))); -R124i.y = ((intBitsToFloat(R0i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.y = R124i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R2i.x) + -(intBitsToFloat(R4i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R4i.x))); -R125i.x = R3i.y; -PS0i = R125i.x; -// 1 -backupReg0i = R0i.x; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(R4i.y))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(backupReg0i))); -PV1i.y = R125i.y; -R126i.z = R3i.x; -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(R4i.x))); -PV1i.w = R126i.w; -R125i.w = R2i.y; -PS1i = R125i.w; -// 2 -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.y))); -PV0i.y = floatBitsToInt(intBitsToFloat(R3i.z) + -(intBitsToFloat(R5i.x))); -PV0i.z = floatBitsToInt(intBitsToFloat(R0i.w) + -(intBitsToFloat(R6i.y))); -R127i.w = ((intBitsToFloat(R4i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.w = R127i.w; -R124i.w = floatBitsToInt(intBitsToFloat(R5i.y) + -(intBitsToFloat(R6i.x))); -PS0i = R124i.w; -// 3 -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R8i.x)) + intBitsToFloat(R5i.x))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(R6i.y))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.z),intBitsToFloat(R8i.x)) + intBitsToFloat(R1i.w))); -R1i.w = floatBitsToInt(intBitsToFloat(R0i.x) + -(intBitsToFloat(PV0i.x))); -PV1i.w = R1i.w; -R125i.z = floatBitsToInt(-(intBitsToFloat(R126i.w)) + intBitsToFloat(R125i.y)); -PS1i = R125i.z; -// 4 -backupReg0i = R125i.x; -R125i.x = floatBitsToInt(intBitsToFloat(R7i.x) + -(intBitsToFloat(R125i.w))); -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c00000) + 0.0)); -PV0i.y = R123i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R126i.z))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.w),intBitsToFloat(R127i.w)) + intBitsToFloat(R6i.x))); -R125i.y = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(uf_remappedPS[9].y)); -PS0i = R125i.y; -// 5 -backupReg0i = R126i.z; -R124i.x = floatBitsToInt(-(intBitsToFloat(R1i.x)) + intBitsToFloat(uf_remappedPS[9].x)); -R127i.y = floatBitsToInt(-(intBitsToFloat(R1i.z)) + intBitsToFloat(uf_remappedPS[9].z)); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R124i.y)) + intBitsToFloat(backupReg0i))); -PV1i.w = floatBitsToInt(intBitsToFloat(R2i.w) + -(intBitsToFloat(R4i.w))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 6 -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R8i.x)) + intBitsToFloat(R4i.w))); -PV0i.x = R6i.x; -PV0i.y = floatBitsToInt(min(intBitsToFloat(R124i.z), intBitsToFloat(R127i.x))); -R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(R125i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R125i.z) * intBitsToFloat(PS1i)); -R124i.w = floatBitsToInt(intBitsToFloat(R5i.z) + -(1.0)); -PS0i = R124i.w; -// 7 -R125i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV0i.w)); -R124i.y = floatBitsToInt(intBitsToFloat(R5i.w) + -(1.0)); -R126i.z = floatBitsToInt(min(intBitsToFloat(R126i.y), intBitsToFloat(R126i.w))); -R125i.w = floatBitsToInt(-(intBitsToFloat(R5i.w)) + intBitsToFloat(0x3f2aaaab)); -R4i.z = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(PV0i.y))); -PS1i = R4i.z; -// 8 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.y),-0.0),vec4(intBitsToFloat(R124i.x),intBitsToFloat(R125i.y),intBitsToFloat(R127i.y),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(0x3f2aaaab)); -PS0i = R125i.z; -// 9 -backupReg0i = R125i.x; -backupReg0i = R125i.x; -R125i.x = R124i.y; -R5i.y = floatBitsToInt(intBitsToFloat(R0i.z) + -(intBitsToFloat(R126i.z))); -PV1i.y = R5i.y; -R126i.z = R125i.w; -R125i.w = floatBitsToInt(max(intBitsToFloat(backupReg0i), -(intBitsToFloat(backupReg0i)))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R124i.y = floatBitsToInt(tempResultf); -PS1i = R124i.y; -// 10 -backupReg0i = R124i.x; -R124i.x = floatBitsToInt((intBitsToFloat(R4i.z) * intBitsToFloat(0x40c00000) + 0.0)); -R1i.y = R125i.z; -R125i.z = R124i.w; -R124i.w = floatBitsToInt((intBitsToFloat(PV1i.y) * intBitsToFloat(0x40c00000) + 0.0)); -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i))); -PS0i = R126i.x; -// 11 -backupReg0i = R125i.y; -backupReg1i = R124i.z; -backupReg2i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(uf_remappedPS[10].x)) + intBitsToFloat(uf_remappedPS[11].x))); -PV1i.x = R127i.x; -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R124i.y))); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R124i.y))); -PV1i.w = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R126i.z))); -R127i.y = floatBitsToInt(-(intBitsToFloat(backupReg1i)) + intBitsToFloat(backupReg2i)); -PS1i = R127i.y; -// 12 -backupReg0i = R126i.y; -backupReg1i = R126i.z; -PV0i.x = floatBitsToInt(intBitsToFloat(R125i.z) + -(intBitsToFloat(R1i.y))); -R126i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(R126i.w)); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R8i.x)) + intBitsToFloat(backupReg1i))); -R126i.w = floatBitsToInt(intBitsToFloat(PV1i.x) + 1.0); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R124i.x)); -// 13 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R127i.w)) + intBitsToFloat(R1i.y))); -PV1i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(0x3f2aaaab)); -PV1i.z = floatBitsToInt(intBitsToFloat(R127i.y) * intBitsToFloat(PS0i)); -PV1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(0x3eaaaaab)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R124i.w)); -// 14 -R125i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.z)); -PV0i.y = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(PS1i)); -R126i.z = floatBitsToInt(fract(intBitsToFloat(R126i.w))); -R126i.w = floatBitsToInt(fract(intBitsToFloat(PV1i.y))); -R124i.x = floatBitsToInt(fract(intBitsToFloat(PV1i.w))); -PS0i = R124i.x; -// 15 -backupReg0i = R127i.x; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R125i.y),intBitsToFloat(R124i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.y)); -PS1i = R127i.x; -// 16 -backupReg0i = R124i.x; -backupReg1i = R126i.z; -R124i.x = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R126i.y = floatBitsToInt(intBitsToFloat(R0i.x) + 0.0); -R126i.z = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R126i.w = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 17 -PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i))); -R127i.w = floatBitsToInt(max(intBitsToFloat(R125i.x), -(intBitsToFloat(R125i.x)))); -R125i.y = floatBitsToInt(max(intBitsToFloat(R127i.x), -(intBitsToFloat(R127i.x)))); -PS1i = R125i.y; -// 18 -R126i.x = floatBitsToInt(dot(vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),-0.0),vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),0.0))); -R126i.x = clampFI32(R126i.x); -PV0i.x = R126i.x; -PV0i.y = R126i.x; -PV0i.z = R126i.x; -PV0i.w = R126i.x; -R127i.x = floatBitsToInt(1.0 / intBitsToFloat(R126i.y)); -PS0i = R127i.x; -// 19 -backupReg0i = R125i.y; -PV1i.x = floatBitsToInt(max(intBitsToFloat(R126i.w), -(intBitsToFloat(R126i.w)))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedPS[10].x)) + intBitsToFloat(uf_remappedPS[11].x))); -PV1i.z = floatBitsToInt(max(intBitsToFloat(R124i.x), -(intBitsToFloat(R124i.x)))); -PV1i.w = floatBitsToInt(max(intBitsToFloat(R126i.z), -(intBitsToFloat(R126i.z)))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[10].x)) + intBitsToFloat(uf_remappedPS[11].x))); -PS1i = R126i.z; -// 20 -R8i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(1.0)); -R8i.x = clampFI32(R8i.x); -R126i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -R126i.y = clampFI32(R126i.y); -R124i.z = floatBitsToInt(intBitsToFloat(R1i.w) * intBitsToFloat(R127i.x)); -R127i.w = floatBitsToInt(-(intBitsToFloat(R126i.x)) + 1.0); -R1i.w = floatBitsToInt(intBitsToFloat(PV1i.z) + -(1.0)); -R1i.w = clampFI32(R1i.w); -PS0i = R1i.w; -// 21 -R1i.x = floatBitsToInt(intBitsToFloat(R125i.y) + 1.0); -R1i.y = floatBitsToInt(intBitsToFloat(R126i.z) + 1.0); -R5i.z = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(0x3eaaaaab)); -R5i.w = floatBitsToInt(intBitsToFloat(R125i.y) + intBitsToFloat(0x3f2aaaab)); -R1i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(0x3f2aaaab)); -PS1i = R1i.z; -// 22 -R6i.y = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(0x3eaaaaab)); -R3i.z = floatBitsToInt(intBitsToFloat(R126i.y) + -(1.0)); -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(uf_remappedPS[10].y)) + intBitsToFloat(uf_remappedPS[11].y))); -tempResultf = log2(intBitsToFloat(R127i.w)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R2i.z = floatBitsToInt(tempResultf); -PS0i = R2i.z; -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(intBitsToFloat(R1i.w) + -(1.0)); -R126i.y = floatBitsToInt(intBitsToFloat(R8i.x) + -(1.0)); -R126i.z = floatBitsToInt(fract(intBitsToFloat(R1i.x))); -R127i.w = floatBitsToInt(fract(intBitsToFloat(R5i.w))); -R126i.w = floatBitsToInt(fract(intBitsToFloat(R5i.z))); -PS0i = R126i.w; -// 1 -R126i.x = floatBitsToInt(fract(intBitsToFloat(R1i.y))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_remappedPS[12].w))); -R124i.z = floatBitsToInt(fract(intBitsToFloat(R6i.y))); -R124i.w = floatBitsToInt(fract(intBitsToFloat(R1i.z))); -R1i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(R4i.w)) + 1.0)); -PS1i = R1i.w; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[13].x),intBitsToFloat(uf_remappedPS[13].y),intBitsToFloat(uf_remappedPS[13].z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.w = tempi.x; -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R4i.w)) + 1.0)); -PS0i = R125i.z; -// 3 -backupReg0i = R127i.x; -backupReg1i = R126i.z; -backupReg2i = R127i.w; -R127i.x = floatBitsToInt(intBitsToFloat(R6i.x) + 0.0); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R4i.w)) + 1.0)); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.x),intBitsToFloat(uf_remappedPS[10].z)) + intBitsToFloat(uf_remappedPS[11].z))); -R127i.w = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R127i.y = floatBitsToInt((intBitsToFloat(backupReg2i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -PS1i = R127i.y; -// 4 -backupReg0i = R126i.x; -backupReg1i = R124i.z; -R126i.x = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R124i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R124i.z = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R126i.w = floatBitsToInt(intBitsToFloat(R0i.z) + 0.0); -R124i.w = floatBitsToInt((intBitsToFloat(backupReg1i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -PS0i = R124i.w; -// 5 -R125i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[14].x),intBitsToFloat(uf_remappedPS[14].y),intBitsToFloat(uf_remappedPS[14].z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),0.0))); -PV1i.x = R125i.x; -PV1i.y = R125i.x; -PV1i.z = R125i.x; -PV1i.w = R125i.x; -R124i.x = floatBitsToInt(exp2(intBitsToFloat(R125i.y))); -PS1i = R124i.x; -// 6 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),-0.0),vec4(intBitsToFloat(R9i.x),intBitsToFloat(R7i.y),intBitsToFloat(R6i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R125i.y = tempi.x; -R127i.z = floatBitsToInt(max(intBitsToFloat(R125i.w), 0.0)); -PS0i = R127i.z; -// 7 -backupReg0i = R126i.z; -backupReg1i = R126i.y; -backupReg0i = R126i.z; -backupReg2i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R1i.w))); -R126i.y = floatBitsToInt(max(intBitsToFloat(R127i.w), -(intBitsToFloat(R127i.w)))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(backupReg1i))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(1.0 / intBitsToFloat(backupReg2i)); -PS1i = R127i.w; -// 8 -backupReg0i = R126i.x; -backupReg0i = R126i.x; -backupReg1i = R127i.y; -backupReg1i = R127i.y; -backupReg2i = R124i.z; -backupReg2i = R124i.z; -backupReg3i = R126i.w; -R126i.x = floatBitsToInt(max(intBitsToFloat(R124i.y), -(intBitsToFloat(R124i.y)))); -R127i.y = floatBitsToInt(max(intBitsToFloat(backupReg0i), -(intBitsToFloat(backupReg0i)))); -R124i.z = floatBitsToInt(max(intBitsToFloat(backupReg1i), -(intBitsToFloat(backupReg1i)))); -R126i.w = floatBitsToInt(max(intBitsToFloat(backupReg2i), -(intBitsToFloat(backupReg2i)))); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(backupReg3i)); -// 9 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(max(intBitsToFloat(R124i.w), -(intBitsToFloat(R124i.w)))); -R124i.y = floatBitsToInt(intBitsToFloat(R4i.z) * intBitsToFloat(R127i.w)); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.y) * intBitsToFloat(PS0i)); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(uf_remappedPS[12].x)) + intBitsToFloat(backupReg0i))); -R9i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(uf_remappedPS[12].y)) + intBitsToFloat(R125i.w))); -PS1i = R9i.x; -// 10 -backupReg0i = R127i.z; -backupReg0i = R127i.z; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(backupReg0i),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R125i.y),intBitsToFloat(backupReg0i),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.z = tempi.x; -R4i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(uf_remappedPS[12].z)) + intBitsToFloat(R126i.z))); -PS0i = R4i.w; -// 11 -backupReg0i = R126i.x; -backupReg1i = R127i.y; -backupReg2i = R124i.z; -backupReg3i = R126i.w; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.y) + -(1.0)); -R126i.x = clampFI32(R126i.x); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(1.0)); -R127i.y = clampFI32(R127i.y); -R124i.z = floatBitsToInt(intBitsToFloat(backupReg1i) + -(1.0)); -R124i.z = clampFI32(R124i.z); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg2i) + -(1.0)); -R126i.w = clampFI32(R126i.w); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg3i) + -(1.0)); -R126i.z = clampFI32(R126i.z); -PS1i = R126i.z; -// 12 -R124i.x = floatBitsToInt(intBitsToFloat(R9i.x) + 1.0); -R126i.y = floatBitsToInt(intBitsToFloat(R127i.x) + -(1.0)); -R126i.y = clampFI32(R126i.y); -R4i.z = floatBitsToInt(intBitsToFloat(R124i.w) + 1.0); -R1i.w = floatBitsToInt(intBitsToFloat(R4i.w) + 1.0); -tempResultf = 1.0 / sqrt(intBitsToFloat(R127i.z)); -R5i.y = floatBitsToInt(tempResultf); -PS0i = R5i.y; -// 13 -backupReg0i = R126i.x; -backupReg1i = R124i.y; -backupReg2i = R126i.w; -backupReg3i = R124i.z; -R126i.x = R6i.x; -R124i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(1.0)); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(uf_remappedPS[10].y)) + intBitsToFloat(uf_remappedPS[11].y))); -R126i.w = floatBitsToInt(intBitsToFloat(backupReg2i) + -(1.0)); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg3i) + -(1.0)); -PS1i = R127i.w; -// 14 -backupReg0i = R126i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.y) + -(1.0)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(uf_remappedPS[10].y)) + intBitsToFloat(uf_remappedPS[11].y))); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(1.0)); -R125i.w = R0i.z; -R125i.z = floatBitsToInt(intBitsToFloat(R126i.y) + -(1.0)); -PS0i = R125i.z; -// 15 -backupReg0i = R126i.x; -backupReg1i = R124i.y; -backupReg2i = R126i.w; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(R5i.y))); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[10].z)) + intBitsToFloat(uf_remappedPS[11].z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R124i.z)) + 1.0)); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(R5i.y))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg2i),intBitsToFloat(R124i.z)) + 1.0)); -PS1i = R125i.y; -// 16 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R126i.z; -backupReg1i = R127i.y; -backupReg1i = R127i.y; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R124i.z)) + 1.0)); -R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(uf_remappedPS[10].z)) + intBitsToFloat(uf_remappedPS[11].z))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(backupReg1i)) + 1.0)); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg2i),intBitsToFloat(backupReg1i)) + 1.0)); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(backupReg1i)) + 1.0)); -PS0i = R125i.w; -// 17 -R5i.x = floatBitsToInt((intBitsToFloat(R126i.x) * intBitsToFloat(0x3efefeff) + intBitsToFloat(0x3efefeff))); -R5i.y = floatBitsToInt((intBitsToFloat(R126i.w) * intBitsToFloat(0x3efefeff) + intBitsToFloat(0x3efefeff))); -R0i.w = 0; -R5i.w = 0x3f800000; -PS1i = R5i.w; -// 18 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R127i.z))); -R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R125i.y))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R127i.x))); -R2i.w = 0; -R3i.w = 0x3f800000; -PS0i = R3i.w; -// 19 -R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R126i.z))); -R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R127i.w))); -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(R125i.w))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R4i.z)); -// 20 -R0i.x = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(PS1i)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R124i.x)); -// 21 -R0i.y = floatBitsToInt(intBitsToFloat(R9i.x) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R1i.w)); -// 22 -R0i.z = floatBitsToInt(intBitsToFloat(R4i.w) * intBitsToFloat(PS1i)); -tempResultf = log2(intBitsToFloat(uf_remappedPS[2].w)); -PS0i = floatBitsToInt(tempResultf); -// 23 -R5i.z = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3dcccccd)); -// 24 -R4i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R4i.w = R3i.w; -// 25 -R3i.xyz = ivec3(R1i.x,R1i.y,R1i.z); -R3i.w = R2i.w; -// 26 -R2i.xyz = ivec3(R5i.x,R5i.y,R5i.z); -R2i.w = R5i.w; -} -if( activeMaskStackC[1] == true ) { -// 0 -R1i.xyz = ivec3(R0i.x,R0i.y,R0i.z); -R1i.w = R0i.w; -} -// export - -// enemy death weird highlights fix - just changed the passPixelColor0 line below -// original was: -// passPixelColor0 = vec4(intBitsToFloat(R1i.x), intBitsToFloat(R1i.y), intBitsToFloat(R1i.z), intBitsToFloat(R1i.w)); -passPixelColor0 = vec4(0.0f, 0.0f, 0.0f, 0.0f); -passPixelColor1 = vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)); -passPixelColor2 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -passPixelColor3 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -} diff --git a/Workaround/HyruleWarriors_EnemyDeathFix/fcea74ffa264fa58_000000000ffff2c9_ps.txt b/Workaround/HyruleWarriors_EnemyDeathFix/fcea74ffa264fa58_000000000ffff2c9_ps.txt deleted file mode 100644 index b3a6ffae..00000000 --- a/Workaround/HyruleWarriors_EnemyDeathFix/fcea74ffa264fa58_000000000ffff2c9_ps.txt +++ /dev/null @@ -1,864 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -#extension GL_ARB_separate_shader_objects : enable -// shader fcea74ffa264fa58 -uniform ivec4 uf_remappedPS[18]; -layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0x2178c000 res 512x512x1 dim 1 tm: 4 format 0033 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 1) uniform samplerCubeArray textureUnitPS1;// Tex1 addr 0x1bb2c000 res 256x256x1 dim 3 tm: 4 format 0431 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x6) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 -layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0x2175f000 res 512x512x1 dim 1 tm: 4 format 0031 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 0 0 0 border: 0 -layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0x21708000 res 512x512x1 dim 1 tm: 4 format 0433 compSel: 0 1 2 3 mipView: 0x0 (num 0x8) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 0 0 0 border: 0 -layout(location = 0) in vec4 passParameterSem64; -layout(location = 1) in vec4 passParameterSem65; -layout(location = 2) in vec4 passParameterSem66; -layout(location = 3) in vec4 passParameterSem67; -layout(location = 0) out vec4 passPixelColor0; -layout(location = 1) out vec4 passPixelColor1; -layout(location = 2) out vec4 passPixelColor2; -layout(location = 3) out vec4 passPixelColor3; -uniform vec2 uf_fragCoordScale; -void redcCUBE(vec4 src0, vec4 src1, out vec3 stm, out int faceId) -{ -// stm -> x .. s, y .. t, z .. MajorAxis*2.0 -vec3 inputCoord = normalize(vec3(src1.y, src1.x, src0.x)); -float rx = inputCoord.x; -float ry = inputCoord.y; -float rz = inputCoord.z; -if( abs(rx) > abs(ry) && abs(rx) > abs(rz) ) -{ -stm.z = rx*2.0; -stm.xy = vec2(ry,rz); -if( rx >= 0.0 ) -{ -faceId = 0; -} -else -{ -faceId = 1; -} -} -else if( abs(ry) > abs(rx) && abs(ry) > abs(rz) ) -{ -stm.z = ry*2.0; -stm.xy = vec2(rx,rz); -if( ry >= 0.0 ) -{ -faceId = 2; -} -else -{ -faceId = 3; -} -} -else //if( abs(rz) > abs(ry) && abs(rz) > abs(rx) ) -{ -stm.z = rz*2.0; -stm.xy = vec2(rx,ry); -if( rz >= 0.0 ) -{ -faceId = 4; -} -else -{ -faceId = 5; -} -} -} -vec3 redcCUBEReverse(vec2 st, int faceId) -{ -st.yx = st.xy; -vec3 v; -float majorAxis = 1.0; -if( faceId == 0 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = 1.0; -} -else if( faceId == 1 ) -{ -v.yz = (st-vec2(1.5))*(majorAxis*2.0); -v.x = -1.0; -} -else if( faceId == 2 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = 1.0; -} -else if( faceId == 3 ) -{ -v.xz = (st-vec2(1.5))*(majorAxis*2.0); -v.y = -1.0; -} -else if( faceId == 4 ) -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = 1.0; -} -else -{ -v.xy = (st-vec2(1.5))*(majorAxis*2.0); -v.z = -1.0; -} -return v; -} -int clampFI32(int v) -{ -if( v == 0x7FFFFFFF ) - return floatBitsToInt(1.0); -else if( v == 0xFFFFFFFF ) - return floatBitsToInt(0.0); -return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); -} -float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } -void main() -{ -ivec4 R0i = ivec4(0); -ivec4 R1i = ivec4(0); -ivec4 R2i = ivec4(0); -ivec4 R3i = ivec4(0); -ivec4 R4i = ivec4(0); -ivec4 R5i = ivec4(0); -ivec4 R6i = ivec4(0); -ivec4 R122i = ivec4(0); -ivec4 R123i = ivec4(0); -ivec4 R124i = ivec4(0); -ivec4 R125i = ivec4(0); -ivec4 R126i = ivec4(0); -ivec4 R127i = ivec4(0); -int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; -ivec4 PV0i = ivec4(0), PV1i = ivec4(0); -int PS0i = 0, PS1i = 0; -ivec4 tempi = ivec4(0); -float tempResultf; -int tempResulti; -ivec4 ARi = ivec4(0); -bool predResult = true; -bool activeMaskStack[2]; -bool activeMaskStackC[3]; -activeMaskStack[0] = false; -activeMaskStackC[0] = false; -activeMaskStackC[1] = false; -activeMaskStack[0] = true; -activeMaskStackC[0] = true; -activeMaskStackC[1] = true; -vec3 cubeMapSTM; -int cubeMapFaceId; -float cubeMapArrayIndex1 = 0.0; -R0i = floatBitsToInt(passParameterSem64); -R1i = floatBitsToInt(passParameterSem65); -R2i = floatBitsToInt(passParameterSem66); -R3i = floatBitsToInt(passParameterSem67); -if( activeMaskStackC[1] == true ) { -R5i.xyzw = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R0i.xy)).xyzw); -} -if( activeMaskStackC[1] == true ) { -activeMaskStack[1] = activeMaskStack[0]; -activeMaskStackC[2] = activeMaskStackC[1]; -// 0 -R1i.w = floatBitsToInt(intBitsToFloat(R5i.w) + -(intBitsToFloat(0x3ec8c8cd))); -// 1 -predResult = (0.0 >= intBitsToFloat(R1i.w)); -activeMaskStack[1] = predResult; -activeMaskStackC[2] = predResult == true && activeMaskStackC[1] == true; -} -else { -activeMaskStack[1] = false; -activeMaskStackC[2] = false; -} -if( activeMaskStackC[2] == true ) { -// 0 -if( (0 == 0)) discard; -} -activeMaskStackC[1] = activeMaskStack[0] == true && activeMaskStackC[0] == true; -if( activeMaskStackC[1] == true ) { -R4i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R0i.wz)).xyz); -R0i.xyz = floatBitsToInt(texture(textureUnitPS0, intBitsToFloat(R0i.xy)).xyz); -} -if( activeMaskStackC[1] == true ) { -// 0 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),-0.0),vec4(intBitsToFloat(R2i.x),intBitsToFloat(R2i.y),intBitsToFloat(R2i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.x = floatBitsToInt(-(intBitsToFloat(R1i.x)) + intBitsToFloat(uf_remappedPS[0].x)); -PS0i = R126i.x; -// 1 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -PS1i = floatBitsToInt(tempResultf); -// 2 -R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PS1i))); -R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(PS1i))); -R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(PS1i))); -R127i.w = floatBitsToInt(-(intBitsToFloat(R1i.y)) + intBitsToFloat(uf_remappedPS[0].y)); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 3 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(PS0i))); -PV1i.x = R125i.x; -R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(PS0i))); -PV1i.y = R126i.y; -R127i.z = floatBitsToInt(-(intBitsToFloat(R1i.z)) + intBitsToFloat(uf_remappedPS[0].z)); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(PS0i))); -PV1i.w = R125i.w; -R126i.w = floatBitsToInt((intBitsToFloat(R4i.x) * intBitsToFloat(0x40008102) + -(intBitsToFloat(0x3f810204)))); -PS1i = R126i.w; -// 4 -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.y), intBitsToFloat(PV1i.y))); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(PV1i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.x), intBitsToFloat(PV1i.x))); -R124i.w = floatBitsToInt((intBitsToFloat(R4i.y) * intBitsToFloat(0x40008102) + -(intBitsToFloat(0x3f810204)))); -R4i.x = floatBitsToInt((intBitsToFloat(R4i.z) * intBitsToFloat(0x40008102) + -(intBitsToFloat(0x3f810204)))); -PS0i = R4i.x; -// 5 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.w),intBitsToFloat(R127i.z),-0.0),vec4(intBitsToFloat(R126i.x),intBitsToFloat(R127i.w),intBitsToFloat(R127i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R122i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R125i.y)),intBitsToFloat(R125i.w)) + intBitsToFloat(PV0i.z))); -PS1i = R122i.x; -// 6 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PS1i))); -R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R126i.z)),intBitsToFloat(R125i.x)) + intBitsToFloat(backupReg0i))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R124i.x)),intBitsToFloat(R126i.y)) + intBitsToFloat(R127i.y))); -PV0i.z = R123i.z; -R1i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].y)) + 1.0); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV1i.x)); -PS0i = floatBitsToInt(tempResultf); -// 7 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.x), intBitsToFloat(PS0i))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV0i.y))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV0i.z))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i))); -PS1i = R3i.z; -// 8 -R1i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].z)) + 1.0); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.z), intBitsToFloat(R126i.w))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R126i.w))); -PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(R126i.w))); -R4i.z = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[1].x)) + 1.0); -PS0i = R4i.z; -// 9 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R124i.w)) + intBitsToFloat(PV0i.z))); -PV1i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.w),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(uf_remappedPS[2].x))); -R123i.y = clampFI32(R123i.y); -PV1i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(PV0i.w))); -PV1i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(PV0i.y))); -PV1i.w = R123i.w; -R2i.w = floatBitsToInt(intBitsToFloat(R5i.y) * 1.0); -PS1i = R2i.w; -// 10 -backupReg0i = R5i.z; -R6i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R4i.x)) + intBitsToFloat(PV1i.x))); -PV0i.x = R6i.x; -R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.y),intBitsToFloat(R4i.x)) + intBitsToFloat(PV1i.z))); -PV0i.y = R5i.y; -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R4i.x)) + intBitsToFloat(PV1i.w))); -PV0i.z = R5i.z; -R4i.w = floatBitsToInt(intBitsToFloat(backupReg0i) * 1.0); -R125i.w = floatBitsToInt(intBitsToFloat(PV1i.y) * 1.0); -PS0i = R125i.w; -// 11 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -tempi.x = floatBitsToInt(intBitsToFloat(tempi.x) * 2.0); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS0i))); -PS1i = R4i.y; -// 12 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R6i.x),intBitsToFloat(PV1i.x)) + -(intBitsToFloat(R3i.x)))); -PV0i.x = R123i.x; -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(PV1i.x)) + -(intBitsToFloat(R3i.y)))); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.z),intBitsToFloat(PV1i.x)) + -(intBitsToFloat(R3i.z)))); -PV0i.z = R123i.z; -R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R125i.w))); -R2i.x = floatBitsToInt(intBitsToFloat(R5i.x) * 1.0); -PS0i = R2i.x; -// 13 -backupReg0i = R0i.x; -redcCUBE(vec4(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)),vec4(intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.z)),cubeMapSTM,cubeMapFaceId); -R0i.x = floatBitsToInt(cubeMapSTM.x); -R0i.y = floatBitsToInt(cubeMapSTM.y); -R0i.z = floatBitsToInt(cubeMapSTM.z); -R0i.w = cubeMapFaceId; -PV1i.x = R0i.x; -PV1i.y = R0i.y; -PV1i.z = R0i.z; -PV1i.w = R0i.w; -R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R125i.w))); -PS1i = R2i.z; -// 14 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -PS0i = floatBitsToInt(1.0 / abs(intBitsToFloat(PV1i.z))); -// 15 -backupReg0i = R0i.x; -backupReg1i = R0i.y; -R0i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(PS0i)) + 1.5)); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(PS0i)) + 1.5)); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_remappedPS[3].y))); -R3i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.w), intBitsToFloat(uf_remappedPS[3].z))); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R4i.x = floatBitsToInt(tempResultf); -PS1i = R4i.x; -} -if( activeMaskStackC[1] == true ) { -R0i.xyzw = floatBitsToInt(texture(textureUnitPS1, vec4(redcCUBEReverse(intBitsToFloat(R0i.yx),R0i.w),cubeMapArrayIndex1)).xyzw); -} -if( activeMaskStackC[1] == true ) { -// 0 -PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(R4i.x))); -PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(R4i.x))); -PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.z), intBitsToFloat(R4i.x))); -R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.w), intBitsToFloat(uf_remappedPS[4].w))); -PV0i.w = R125i.w; -R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(uf_remappedPS[5].y))); -PS0i = R127i.z; -// 1 -backupReg0i = R0i.y; -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),-0.0),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R6i.w = tempi.x; -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.w))); -PS1i = R3i.z; -// 2 -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.w), intBitsToFloat(uf_remappedPS[5].z))); -R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.z), intBitsToFloat(R125i.w))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PV0i.z = clampFI32(PV0i.z); -R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R0i.x), intBitsToFloat(R125i.w))); -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_remappedPS[3].x))); -PS0i = R3i.y; -// 3 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(uf_remappedPS[6].z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = tempi.x; -PV1i.y = tempi.x; -PV1i.z = tempi.x; -PV1i.w = tempi.x; -R125i.y = tempi.x; -tempResultf = log2(intBitsToFloat(PV0i.z)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -PS1i = floatBitsToInt(tempResultf); -// 4 -PV0i.x = floatBitsToInt(intBitsToFloat(PS1i) * intBitsToFloat(0x40a00000)); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedPS[7].x)) + intBitsToFloat(uf_remappedPS[8].x))); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(uf_remappedPS[7].y)) + intBitsToFloat(uf_remappedPS[8].y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R1i.z) + -(intBitsToFloat(R3i.w))); -R125i.w = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R125i.x))); -PS0i = R125i.w; -// 5 -backupReg0i = R125i.y; -R3i.x = ((intBitsToFloat(PV0i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R125i.y = floatBitsToInt(intBitsToFloat(R3i.w) + -(intBitsToFloat(R1i.z))); -R125i.z = floatBitsToInt(intBitsToFloat(R1i.z) + -(intBitsToFloat(R3i.w))); -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[7].z)) + intBitsToFloat(uf_remappedPS[8].z))); -PV1i.w = R123i.w; -R124i.w = floatBitsToInt(exp2(intBitsToFloat(PV0i.x))); -PS1i = R124i.w; -// 6 -backupReg0i = R126i.y; -R124i.x = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(uf_remappedPS[9].y)); -R126i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(uf_remappedPS[9].x)); -R126i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(uf_remappedPS[9].z)); -R0i.w = ((intBitsToFloat(R125i.w) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.y = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R125i.x))); -PS0i = R127i.y; -// 7 -backupReg0i = R124i.w; -backupReg1i = R125i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(R127i.z))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R124i.w)) + intBitsToFloat(uf_remappedPS[1].z))); -R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.w),intBitsToFloat(R124i.w)) + intBitsToFloat(uf_remappedPS[1].y))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(uf_remappedPS[1].x))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R3i.x)) + intBitsToFloat(R1i.z))); -PS1i = R0i.y; -// 8 -backupReg0i = R124i.x; -backupReg1i = R126i.y; -R124i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(uf_remappedPS[10].z)) + 0.0)); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(uf_remappedPS[10].y)) + 0.0)); -R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R0i.w)) + intBitsToFloat(R127i.z))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(uf_remappedPS[10].x)) + 0.0)); -R1i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(R3i.x)) + intBitsToFloat(R3i.w))); -PS0i = R1i.z; -// 9 -backupReg0i = R125i.x; -backupReg1i = R125i.y; -R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.w), intBitsToFloat(uf_remappedPS[4].x))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.y),intBitsToFloat(R0i.w)) + intBitsToFloat(backupReg0i))); -PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(uf_remappedPS[4].z))); -PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(uf_remappedPS[4].y))); -R124i.w = R0i.y; -PS1i = R124i.w; -// 10 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R3i.z)) + 0.0)); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(R124i.x) + intBitsToFloat(uf_remappedPS[11].z)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R124i.y)) + 0.0)); -PV0i.z = R123i.z; -PV0i.w = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(uf_remappedPS[11].y)); -R124i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(uf_remappedPS[11].x)); -PS0i = R124i.z; -// 11 -PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + 0.0); -R126i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + 0.0); -R127i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + 0.0); -PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + 0.0); -R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.x),intBitsToFloat(R126i.w)) + 0.0)); -PS1i = R122i.x; -// 12 -PV0i.x = floatBitsToInt(intBitsToFloat(R124i.z) + 0.0); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.w),intBitsToFloat(PV1i.w)) + 0.0)); -PV0i.y = R123i.y; -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(PV1i.x)) + 0.0)); -PV0i.z = R123i.z; -R126i.w = floatBitsToInt(intBitsToFloat(PS1i) + 0.0); -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_remappedPS[5].x))); -PS0i = R1i.x; -// 13 -backupReg0i = R127i.z; -backupReg1i = R4i.y; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.x),intBitsToFloat(PV0i.x)) + 0.0)); -PV1i.x = R123i.x; -R4i.y = R3i.y; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R5i.w)) + intBitsToFloat(PV0i.y))); -PV1i.z = R127i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(backupReg1i)) + intBitsToFloat(PV0i.z))); -PV1i.w = R125i.w; -R3i.z = R1i.z; -PS1i = R3i.z; -// 14 -backupReg0i = R0i.y; -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(R2i.z)) + intBitsToFloat(PV1i.x))); -PV0i.x = R125i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(PV1i.z))); -R124i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.w))); -R126i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(PV1i.z))); -R126i.x = backupReg0i; -PS0i = R126i.x; -// 15 -R123i.x = ((intBitsToFloat(PV0i.y) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.x = R123i.x; -R127i.y = floatBitsToInt(intBitsToFloat(R3i.y) + -(intBitsToFloat(R1i.z))); -R125i.z = PV0i.x; -R127i.w = R126i.z; -R2i.x = R1i.x; -PS1i = R2i.x; -// 16 -R127i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(0x3f2aaaab)); -R124i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(1.0)); -R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.z),intBitsToFloat(PV1i.x)) + intBitsToFloat(R125i.w))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.w),intBitsToFloat(PV1i.x)) + intBitsToFloat(R127i.z))); -PV0i.w = R123i.w; -R126i.w = R126i.z; -PS0i = R126i.w; -// 17 -R124i.x = PV0i.z; -PV1i.x = R124i.x; -PV1i.y = PV0i.z; -PV1i.z = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(PV0i.w))); -PV1i.w = PV0i.w; -R126i.y = PV0i.w; -PS1i = R126i.y; -// 18 -PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(R125i.z))); -R1i.y = ((intBitsToFloat(PV1i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV0i.y = R1i.y; -PV0i.z = floatBitsToInt(intBitsToFloat(R125i.x) + -(intBitsToFloat(PS1i))); -PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.y) + -(intBitsToFloat(PV1i.x))); -R0i.y = R125i.y; -PS0i = R0i.y; -// 19 -R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.y)) + intBitsToFloat(R126i.y))); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(R125i.z))); -PV1i.y = R126i.y; -R125i.z = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R125i.y))); -PV1i.z = R125i.z; -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(PV0i.y)) + intBitsToFloat(R124i.x))); -PV1i.w = R125i.w; -R5i.w = R127i.x; -PS1i = R5i.w; -// 20 -backupReg0i = R127i.y; -PV0i.x = floatBitsToInt(min(intBitsToFloat(PV1i.w), intBitsToFloat(PV1i.y))); -R127i.y = R124i.y; -R4i.w = ((intBitsToFloat(backupReg0i) >= 0.0)?(floatBitsToInt(1.0)):(0)); -R127i.z = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(R124i.w))); -PS0i = R127i.z; -// 21 -PV1i.x = floatBitsToInt(intBitsToFloat(R3i.z) + -(intBitsToFloat(R4i.y))); -R2i.y = R125i.y; -R4i.z = ((intBitsToFloat(R125i.z) >= 0.0)?(floatBitsToInt(1.0)):(0)); -PV1i.z = R4i.z; -R3i.w = floatBitsToInt(intBitsToFloat(R5i.x) + -(intBitsToFloat(PV0i.x))); -PV1i.w = R3i.w; -PS1i = floatBitsToInt(intBitsToFloat(R126i.w) + -(intBitsToFloat(R127i.w))); -// 22 -R4i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.w)) + intBitsToFloat(R4i.y))); -R123i.y = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c00000) + 0.0)); -PV0i.y = R123i.y; -R2i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(R4i.w)) + intBitsToFloat(R124i.w))); -PV0i.w = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R2i.x))); -R0i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(PV1i.z)) + intBitsToFloat(R127i.w))); -PS0i = R0i.y; -// 23 -backupReg0i = R3i.y; -backupReg1i = R2i.x; -R2i.x = floatBitsToInt(-(intBitsToFloat(R125i.w)) + intBitsToFloat(R126i.y)); -R3i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(intBitsToFloat(R1i.z))); -R3i.z = floatBitsToInt(intBitsToFloat(R127i.y) + -(intBitsToFloat(R5i.w))); -R2i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R4i.z)) + intBitsToFloat(backupReg1i))); -R0i.x = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -PS1i = R0i.x; -} -if( activeMaskStackC[1] == true ) { -// 0 -backupReg0i = R0i.w; -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(R5i.w))); -PV0i.x = R123i.x; -R1i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R3i.y),intBitsToFloat(R4i.w)) + intBitsToFloat(R1i.z))); -PV0i.z = floatBitsToInt(intBitsToFloat(R1i.x) + -(intBitsToFloat(R2i.y))); -PV0i.w = floatBitsToInt(intBitsToFloat(R2i.x) * intBitsToFloat(R0i.x)); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + -(1.0)); -PS0i = R125i.w; -// 1 -PV1i.x = floatBitsToInt(min(intBitsToFloat(R0i.y), intBitsToFloat(R2i.w))); -PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.w)); -R3i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R4i.z)) + intBitsToFloat(R2i.y))); -PV1i.z = R3i.z; -PV1i.w = floatBitsToInt(min(intBitsToFloat(R2i.z), intBitsToFloat(R4i.x))); -R126i.x = floatBitsToInt(intBitsToFloat(R3i.x) + -(1.0)); -PS1i = R126i.x; -// 2 -PV0i.x = floatBitsToInt(-(intBitsToFloat(R0i.w)) + intBitsToFloat(0x3f2aaaab)); -R2i.y = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(PV1i.x))); -R1i.z = floatBitsToInt(intBitsToFloat(R1i.y) + -(intBitsToFloat(PV1i.w))); -PV0i.z = R1i.z; -PV0i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(0x3f2aaaab)); -R127i.w = floatBitsToInt(max(intBitsToFloat(PV1i.y), -(intBitsToFloat(PV1i.y)))); -PS0i = R127i.w; -// 3 -R123i.x = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(0x40c00000) + 0.0)); -PV1i.x = R123i.x; -R127i.y = PV0i.x; -R125i.z = PV0i.w; -PV1i.z = R125i.z; -PV1i.w = R126i.x; -R127i.z = R125i.w; -PS1i = R127i.z; -// 4 -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(uf_remappedPS[12].x)) + intBitsToFloat(uf_remappedPS[13].x))); -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(PV1i.z))); -PV0i.z = floatBitsToInt(-(intBitsToFloat(R2i.z)) + intBitsToFloat(R4i.x)); -R123i.w = floatBitsToInt((intBitsToFloat(R2i.y) * intBitsToFloat(0x40c00000) + 0.0)); -PV0i.w = R123i.w; -PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x)); -// 5 -backupReg0i = R0i.y; -PV1i.x = floatBitsToInt(intBitsToFloat(R127i.z) + -(intBitsToFloat(R127i.y))); -PV1i.y = floatBitsToInt(-(intBitsToFloat(backupReg0i)) + intBitsToFloat(R2i.w)); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R4i.w)) + intBitsToFloat(R125i.z))); -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.z) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.w)); -// 6 -R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.x),intBitsToFloat(R4i.z)) + intBitsToFloat(R127i.y))); -PV0i.x = R123i.x; -PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(intBitsToFloat(R126i.x) + 1.0); -PV0i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(0x3f2aaaab)); -PS0i = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(0x3eaaaaab)); -// 7 -R126i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(PV0i.y)); -PV1i.y = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(R127i.w)); -PV1i.z = floatBitsToInt(fract(intBitsToFloat(PV0i.z))); -PV1i.w = floatBitsToInt(fract(intBitsToFloat(PV0i.w))); -PS1i = floatBitsToInt(fract(intBitsToFloat(PS0i))); -// 8 -R127i.x = floatBitsToInt((intBitsToFloat(PS1i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -PV0i.y = floatBitsToInt(intBitsToFloat(R5i.x) + 0.0); -R123i.z = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -PV0i.z = R123i.z; -R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -PV0i.w = R123i.w; -R127i.z = floatBitsToInt(max(intBitsToFloat(PV1i.y), -(intBitsToFloat(PV1i.y)))); -PS0i = R127i.z; -// 9 -PV1i.x = R6i.w; -PV1i.x = clampFI32(PV1i.x); -PV1i.y = floatBitsToInt(max(intBitsToFloat(R126i.x), -(intBitsToFloat(R126i.x)))); -R125i.z = floatBitsToInt(max(intBitsToFloat(PV0i.w), -(intBitsToFloat(PV0i.w)))); -R127i.w = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z)))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(PV0i.y)); -// 10 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.y),intBitsToFloat(uf_remappedPS[12].x)) + intBitsToFloat(uf_remappedPS[13].x))); -R127i.y = floatBitsToInt(intBitsToFloat(R3i.w) * intBitsToFloat(PS1i)); -PV0i.z = floatBitsToInt(max(intBitsToFloat(backupReg0i), -(intBitsToFloat(backupReg0i)))); -R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(uf_remappedPS[12].x)) + intBitsToFloat(uf_remappedPS[13].x))); -PV0i.w = R125i.w; -R126i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + 1.0); -PS0i = R126i.x; -// 11 -R124i.x = floatBitsToInt(intBitsToFloat(R127i.w) + -(1.0)); -R124i.x = clampFI32(R124i.x); -R126i.y = floatBitsToInt(intBitsToFloat(R125i.z) + -(1.0)); -R126i.y = clampFI32(R126i.y); -R125i.z = floatBitsToInt(intBitsToFloat(PV0i.w) + 1.0); -R127i.w = floatBitsToInt(intBitsToFloat(PV0i.z) + -(1.0)); -R127i.w = clampFI32(R127i.w); -R124i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(0x3f2aaaab)); -PS1i = R124i.w; -// 12 -backupReg0i = R127i.x; -backupReg0i = R127i.x; -backupReg0i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(0x3f2aaaab)); -R125i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(0x3eaaaaab)); -R127i.z = floatBitsToInt(intBitsToFloat(R125i.w) + intBitsToFloat(0x3eaaaaab)); -R125i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + 1.0); -tempResultf = log2(intBitsToFloat(R126i.x)); -if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; -R126i.w = floatBitsToInt(tempResultf); -PS0i = R126i.w; -// 13 -backupReg0i = R124i.x; -backupReg1i = R127i.y; -backupReg2i = R127i.w; -R124i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + -(1.0)); -R127i.y = R5i.x; -R126i.z = floatBitsToInt(intBitsToFloat(R126i.y) + -(1.0)); -R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(uf_remappedPS[12].y)) + intBitsToFloat(uf_remappedPS[13].y))); -R126i.x = floatBitsToInt(intBitsToFloat(backupReg2i) + -(1.0)); -PS1i = R126i.x; -// 14 -backupReg0i = R127i.z; -backupReg1i = R127i.x; -R127i.x = floatBitsToInt(fract(intBitsToFloat(R124i.w))); -R126i.y = floatBitsToInt(fract(intBitsToFloat(R125i.z))); -R127i.z = floatBitsToInt(fract(intBitsToFloat(R125i.w))); -R125i.w = floatBitsToInt(fract(intBitsToFloat(backupReg0i))); -R124i.w = floatBitsToInt(fract(intBitsToFloat(backupReg1i))); -PS0i = R124i.w; -// 15 -backupReg0i = R125i.y; -backupReg1i = R126i.z; -backupReg2i = R126i.x; -R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.w), intBitsToFloat(uf_remappedPS[14].w))); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R124i.x),intBitsToFloat(R127i.w)) + 1.0)); -R126i.z = floatBitsToInt(fract(intBitsToFloat(backupReg0i))); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(R127i.w)) + 1.0)); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg2i),intBitsToFloat(R127i.w)) + 1.0)); -PS1i = R124i.y; -// 16 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[15].x),intBitsToFloat(uf_remappedPS[15].y),intBitsToFloat(uf_remappedPS[15].z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R127i.w = tempi.x; -R124i.x = floatBitsToInt(intBitsToFloat(R1i.y) + 0.0); -PS0i = R124i.x; -// 17 -backupReg0i = R127i.x; -backupReg1i = R127i.y; -backupReg2i = R125i.w; -R127i.x = floatBitsToInt((intBitsToFloat(R126i.y) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R127i.y = floatBitsToInt((intBitsToFloat(backupReg0i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R125i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(uf_remappedPS[12].z)) + intBitsToFloat(uf_remappedPS[13].z))); -R125i.w = floatBitsToInt((intBitsToFloat(backupReg2i) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R3i.w = floatBitsToInt(intBitsToFloat(R3i.z) + 0.0); -PS1i = R3i.w; -// 18 -R5i.x = floatBitsToInt((intBitsToFloat(R124i.w) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R0i.y = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R4i.z = floatBitsToInt(max(intBitsToFloat(R127i.w), 0.0)); -R6i.w = floatBitsToInt((intBitsToFloat(R126i.z) * intBitsToFloat(0x40c00000) + -(intBitsToFloat(0x40400000)))); -R0i.w = floatBitsToInt(exp2(intBitsToFloat(R126i.x))); -PS0i = R0i.w; -// 19 -R3i.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[16].x),intBitsToFloat(uf_remappedPS[16].y),intBitsToFloat(uf_remappedPS[16].z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV1i.x = R3i.x; -PV1i.y = R3i.x; -PV1i.z = R3i.x; -PV1i.w = R3i.x; -R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R126i.w))); -PS1i = R4i.x; -// 20 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(uf_remappedPS[17].x),intBitsToFloat(uf_remappedPS[17].y),intBitsToFloat(uf_remappedPS[17].z),-0.0),vec4(intBitsToFloat(R6i.x),intBitsToFloat(R5i.y),intBitsToFloat(R5i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R3i.y = tempi.x; -R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R125i.y))); -PS0i = R4i.w; -// 21 -R6i.x = floatBitsToInt(max(intBitsToFloat(R127i.y), -(intBitsToFloat(R127i.y)))); -R5i.y = floatBitsToInt(max(intBitsToFloat(R125i.w), -(intBitsToFloat(R125i.w)))); -R5i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(R124i.y))); -R5i.w = floatBitsToInt(max(intBitsToFloat(R127i.x), -(intBitsToFloat(R127i.x)))); -R2i.w = floatBitsToInt(1.0 / intBitsToFloat(R124i.x)); -PS1i = R2i.w; -} -if( activeMaskStackC[1] == true ) { -// 0 -R127i.x = floatBitsToInt(max(intBitsToFloat(R6i.w), -(intBitsToFloat(R6i.w)))); -R127i.y = floatBitsToInt(max(intBitsToFloat(R5i.x), -(intBitsToFloat(R5i.x)))); -R125i.z = floatBitsToInt(max(intBitsToFloat(R0i.y), -(intBitsToFloat(R0i.y)))); -R125i.w = floatBitsToInt(intBitsToFloat(R1i.z) * intBitsToFloat(R2i.w)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R3i.w)); -// 1 -backupReg0i = R5i.z; -R126i.x = floatBitsToInt(intBitsToFloat(R2i.y) * intBitsToFloat(PS0i)); -R126i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[14].x)) + intBitsToFloat(R4i.x))); -R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[14].y)) + intBitsToFloat(R4i.w))); -R124i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.w),intBitsToFloat(uf_remappedPS[14].z)) + intBitsToFloat(backupReg0i))); -R124i.x = floatBitsToInt(intBitsToFloat(R5i.w) + -(1.0)); -R124i.x = clampFI32(R124i.x); -PS1i = R124i.x; -// 2 -tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R4i.z),-0.0),vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R4i.z),0.0))); -PV0i.x = tempi.x; -PV0i.y = tempi.x; -PV0i.z = tempi.x; -PV0i.w = tempi.x; -R126i.w = floatBitsToInt(intBitsToFloat(R6i.x) + -(1.0)); -R126i.w = clampFI32(R126i.w); -PS0i = R126i.w; -// 3 -backupReg0i = R127i.x; -backupReg1i = R125i.z; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.y) + -(1.0)); -R127i.x = clampFI32(R127i.x); -R127i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(1.0)); -R127i.y = clampFI32(R127i.y); -R125i.z = floatBitsToInt(intBitsToFloat(R5i.y) + -(1.0)); -R125i.z = clampFI32(R125i.z); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + -(1.0)); -R127i.w = clampFI32(R127i.w); -tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x)); -R125i.x = floatBitsToInt(tempResultf); -PS1i = R125i.x; -// 4 -backupReg0i = R1i.y; -backupReg1i = R125i.w; -R6i.x = floatBitsToInt(intBitsToFloat(R124i.w) + 1.0); -R1i.y = floatBitsToInt(intBitsToFloat(R5i.z) + 1.0); -R4i.z = floatBitsToInt(intBitsToFloat(R126i.y) + 1.0); -R125i.w = backupReg0i; -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(uf_remappedPS[12].y)) + intBitsToFloat(uf_remappedPS[13].y))); -PS0i = R127i.z; -// 5 -backupReg0i = R125i.z; -backupReg1i = R126i.x; -R126i.x = floatBitsToInt(intBitsToFloat(R126i.w) + -(1.0)); -R124i.y = floatBitsToInt(intBitsToFloat(R124i.x) + -(1.0)); -R125i.z = R3i.z; -R126i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + -(1.0)); -R125i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(uf_remappedPS[12].y)) + intBitsToFloat(uf_remappedPS[13].y))); -PS1i = R125i.y; -// 6 -backupReg0i = R127i.y; -backupReg1i = R127i.x; -R127i.x = floatBitsToInt(intBitsToFloat(R127i.w) + -(1.0)); -R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.x), intBitsToFloat(R125i.x))); -R126i.z = floatBitsToInt(intBitsToFloat(backupReg0i) + -(1.0)); -R127i.w = floatBitsToInt(intBitsToFloat(backupReg1i) + -(1.0)); -R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.y), intBitsToFloat(R125i.x))); -PS0i = R124i.z; -// 7 -backupReg0i = R126i.x; -backupReg1i = R124i.y; -backupReg2i = R127i.z; -backupReg3i = R126i.w; -backupReg2i = R127i.z; -R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R127i.z)) + 1.0)); -R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.w),intBitsToFloat(uf_remappedPS[12].z)) + intBitsToFloat(uf_remappedPS[13].z))); -R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg1i),intBitsToFloat(backupReg2i)) + 1.0)); -R126i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg3i),intBitsToFloat(backupReg2i)) + 1.0)); -R125i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R125i.z),intBitsToFloat(uf_remappedPS[12].z)) + intBitsToFloat(uf_remappedPS[13].z))); -PS1i = R125i.x; -// 8 -backupReg0i = R127i.x; -R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R125i.y)) + 1.0)); -R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(backupReg0i),intBitsToFloat(R125i.y)) + 1.0)); -PV0i.y = R123i.y; -R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R125i.y)) + 1.0)); -PV0i.w = R123i.w; -R0i.x = floatBitsToInt((intBitsToFloat(R127i.y) * intBitsToFloat(0x3efefeff) + intBitsToFloat(0x3efefeff))); -PS0i = R0i.x; -// 9 -R3i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PV0i.y))); -R0i.y = floatBitsToInt((intBitsToFloat(R124i.z) * intBitsToFloat(0x3efefeff) + intBitsToFloat(0x3efefeff))); -R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PV0i.w))); -R2i.w = 0; -R0i.w = 0x3f800000; -PS1i = R0i.w; -// 10 -R1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R127i.z))); -R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R126i.x))); -R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(R126i.w))); -R1i.w = 0; -R3i.w = 0x3f800000; -PS0i = R3i.w; -// 11 -R3i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(R127i.x))); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R4i.z)); -// 12 -R2i.x = floatBitsToInt(intBitsToFloat(R126i.y) * intBitsToFloat(PS1i)); -PS0i = floatBitsToInt(1.0 / intBitsToFloat(R1i.y)); -// 13 -R2i.y = floatBitsToInt(intBitsToFloat(R5i.z) * intBitsToFloat(PS0i)); -PS1i = floatBitsToInt(1.0 / intBitsToFloat(R6i.x)); -// 14 -R2i.z = floatBitsToInt(intBitsToFloat(R124i.w) * intBitsToFloat(PS1i)); -tempResultf = log2(intBitsToFloat(uf_remappedPS[5].w)); -PS0i = floatBitsToInt(tempResultf); -// 15 -R0i.z = floatBitsToInt(intBitsToFloat(PS0i) * intBitsToFloat(0x3dcccccd)); -// 16 -R6i.xyz = ivec3(R3i.x,R3i.y,R3i.z); -R6i.w = R3i.w; -// 17 -R5i.xyz = ivec3(R1i.x,R4i.y,R1i.z); -R5i.w = R1i.w; -// 18 -R4i.xyz = ivec3(R0i.x,R0i.y,R0i.z); -R4i.w = R0i.w; -// 19 -R3i.xyz = ivec3(R2i.x,R2i.y,R2i.z); -R3i.w = R2i.w; -} -// export - -// enemy death weird highlights fix - just changed the passPixelColor0 line below -// original was: -//passPixelColor0 = vec4(intBitsToFloat(R3i.x), intBitsToFloat(R3i.y), intBitsToFloat(R3i.z), intBitsToFloat(R3i.w)); -passPixelColor0 = vec4(0.0f, 0.0f, 0.0f, 0.0f); -passPixelColor1 = vec4(intBitsToFloat(R4i.x), intBitsToFloat(R4i.y), intBitsToFloat(R4i.z), intBitsToFloat(R4i.w)); -passPixelColor2 = vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w)); -passPixelColor3 = vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.z), intBitsToFloat(R6i.w)); -} diff --git a/Workaround/HyruleWarriors_EnemyDeathFix/rules.txt b/Workaround/HyruleWarriors_EnemyDeathFix/rules.txt deleted file mode 100644 index 9d84f3bb..00000000 --- a/Workaround/HyruleWarriors_EnemyDeathFix/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - NVIDIA Enemy Death Fix" -version = 2 diff --git a/Workaround/HyruleWarriors_ShadowRemoval/patches.txt b/Workaround/HyruleWarriors_ShadowRemoval/patches.txt deleted file mode 100644 index 55c1ff55..00000000 --- a/Workaround/HyruleWarriors_ShadowRemoval/patches.txt +++ /dev/null @@ -1,7 +0,0 @@ -[HWShadowRemovalv208] -moduleMatches = 0xE159AE91 - -# disable calls to CDisplayListMgr::RenderScene inside CShadowMapManager::Render -# seems to stop character/item shadows being rendered to the shadowmap, while still letting the shadowmap itself get rendered (which seems needed for other effects) -0x021CD54C = nop -0x021CD578 = nop diff --git a/Workaround/HyruleWarriors_ShadowRemoval/rules.txt b/Workaround/HyruleWarriors_ShadowRemoval/rules.txt deleted file mode 100644 index b5ab51dc..00000000 --- a/Workaround/HyruleWarriors_ShadowRemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 000500001017D800,000500001017D900,000500001017CD00 -name = "Hyrule Warriors - Shadow Removal" -version = 2 diff --git a/Workaround/SonicLostWorld_BrightnessFix/rules.txt b/Workaround/SonicLostWorld_BrightnessFix/rules.txt deleted file mode 100644 index 31709d1d..00000000 --- a/Workaround/SonicLostWorld_BrightnessFix/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010135700,000500001012B100,0005000010128F00,0005000210128F01 -name = "Sonic Lost World - Display Fixes" -version = 2 diff --git a/Workaround/SuperSmashBros_PixelMess/rules.txt b/Workaround/SuperSmashBros_PixelMess/rules.txt deleted file mode 100644 index 0935e3cd..00000000 --- a/Workaround/SuperSmashBros_PixelMess/rules.txt +++ /dev/null @@ -1,13 +0,0 @@ -[Definition] -titleIds = 0005000010110E00,0005000010145000,0005000010144F00 -name = "Super Smash Bros. for Wii U - Pixel Mess" -version = 2 -# A screenshot can be seen here: https://cdn.discordapp.com/attachments/286429969104764928/335077383847673857/unknown.png - -[TextureRedefine] # tv -width = 640 -height = 360 -formats = 0x00a -#overwriteFormat = 0x81c # Might cause an error, but seems to work. Might not work on AMD. -overwriteWidth = 1 -overwriteHeight = 1 diff --git a/Workaround/Wonderful101_ShadowRemoval/rules.txt b/Workaround/Wonderful101_ShadowRemoval/rules.txt deleted file mode 100644 index 7b0e8302..00000000 --- a/Workaround/Wonderful101_ShadowRemoval/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010116300,000500001012DC00,0005000010135300 -name = "The Wonderful 101 - Shadow Removal" -version = 2 \ No newline at end of file diff --git a/Workaround/XenobladeX_AMDGCN4/rules.txt b/Workaround/XenobladeX_AMDGCN4/rules.txt deleted file mode 100644 index f2824e65..00000000 --- a/Workaround/XenobladeX_AMDGCN4/rules.txt +++ /dev/null @@ -1,11 +0,0 @@ -# Found by Esppiral -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Xenoblade Chronicles X - AMD GCN4 Workaround" -version = 2 - -[TextureRedefine] -width = 320 -height = 180 -overwriteWidth = 1 -overwriteHeight = 1 \ No newline at end of file diff --git a/Workaround/XenobladeX_AdjustableBrightness/rules.txt b/Workaround/XenobladeX_AdjustableBrightness/rules.txt deleted file mode 100644 index 0e7c2419..00000000 --- a/Workaround/XenobladeX_AdjustableBrightness/rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00,ffffffff0cd546a9 -name = "Xenoblade Chronicles X - Adjustable Brightness" -version = 2 \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_!AMDShadows/09085793b5a9f364_00001ffe492e9249_ps.txt b/Workarounds/!BreathOfTheWild_ShadowsAMD/09085793b5a9f364_00001ffe492e9249_ps.txt similarity index 100% rename from Workaround/BreathOfTheWild_!AMDShadows/09085793b5a9f364_00001ffe492e9249_ps.txt rename to Workarounds/!BreathOfTheWild_ShadowsAMD/09085793b5a9f364_00001ffe492e9249_ps.txt diff --git a/Workaround/BreathOfTheWild_!AMDShadows/45e72a252caba763_000003c000009269_ps.txt b/Workarounds/!BreathOfTheWild_ShadowsAMD/45e72a252caba763_000003c000009269_ps.txt similarity index 100% rename from Workaround/BreathOfTheWild_!AMDShadows/45e72a252caba763_000003c000009269_ps.txt rename to Workarounds/!BreathOfTheWild_ShadowsAMD/45e72a252caba763_000003c000009269_ps.txt diff --git a/Workaround/BreathOfTheWild_!AMDShadows/59cba7eb9a9c1df6_00000007f924d249_ps.txt b/Workarounds/!BreathOfTheWild_ShadowsAMD/59cba7eb9a9c1df6_00000007f924d249_ps.txt similarity index 100% rename from Workaround/BreathOfTheWild_!AMDShadows/59cba7eb9a9c1df6_00000007f924d249_ps.txt rename to Workarounds/!BreathOfTheWild_ShadowsAMD/59cba7eb9a9c1df6_00000007f924d249_ps.txt diff --git a/Workaround/BreathOfTheWild_!AMDShadows/808ba0411f6f526e_0000007ff9249a49_ps.txt b/Workarounds/!BreathOfTheWild_ShadowsAMD/808ba0411f6f526e_0000007ff9249a49_ps.txt similarity index 100% rename from Workaround/BreathOfTheWild_!AMDShadows/808ba0411f6f526e_0000007ff9249a49_ps.txt rename to Workarounds/!BreathOfTheWild_ShadowsAMD/808ba0411f6f526e_0000007ff9249a49_ps.txt diff --git a/Workaround/BreathOfTheWild_!AMDShadows/88133ee405eaae28_000003c000009269_ps.txt b/Workarounds/!BreathOfTheWild_ShadowsAMD/88133ee405eaae28_000003c000009269_ps.txt similarity index 100% rename from Workaround/BreathOfTheWild_!AMDShadows/88133ee405eaae28_000003c000009269_ps.txt rename to Workarounds/!BreathOfTheWild_ShadowsAMD/88133ee405eaae28_000003c000009269_ps.txt diff --git a/Workaround/BreathOfTheWild_!AMDShadows/9c0b7031078fba88_0000007800001269_ps.txt b/Workarounds/!BreathOfTheWild_ShadowsAMD/9c0b7031078fba88_0000007800001269_ps.txt similarity index 100% rename from Workaround/BreathOfTheWild_!AMDShadows/9c0b7031078fba88_0000007800001269_ps.txt rename to Workarounds/!BreathOfTheWild_ShadowsAMD/9c0b7031078fba88_0000007800001269_ps.txt diff --git a/Workarounds/!BreathOfTheWild_ShadowsAMD/rules.txt b/Workarounds/!BreathOfTheWild_ShadowsAMD/rules.txt new file mode 100644 index 00000000..12693a63 --- /dev/null +++ b/Workarounds/!BreathOfTheWild_ShadowsAMD/rules.txt @@ -0,0 +1,8 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "AMD Shadows Workaround" # made by ethrillo +path = "The Legend of Zelda: Breath of the Wild/Workaround/AMD Shadows" +description = "Fixes shadows when using an AMD graphics card." +version = 3 + +#Updated by Cypher to support BotW 1.40 diff --git a/Workaround/BreathOfTheWild_SquareShadowsFix/8e9e804a3cd384c3_00000000000ff259_ps.txt b/Workarounds/BreathOfTheWild_KakarikoShadows/8e9e804a3cd384c3_00000000000ff259_ps.txt similarity index 100% rename from Workaround/BreathOfTheWild_SquareShadowsFix/8e9e804a3cd384c3_00000000000ff259_ps.txt rename to Workarounds/BreathOfTheWild_KakarikoShadows/8e9e804a3cd384c3_00000000000ff259_ps.txt diff --git a/Workaround/BreathOfTheWild_SquareShadowsFix/ab0a485b9ae1bb1e_00000000000ff259_ps.txt b/Workarounds/BreathOfTheWild_KakarikoShadows/ab0a485b9ae1bb1e_00000000000ff259_ps.txt similarity index 100% rename from Workaround/BreathOfTheWild_SquareShadowsFix/ab0a485b9ae1bb1e_00000000000ff259_ps.txt rename to Workarounds/BreathOfTheWild_KakarikoShadows/ab0a485b9ae1bb1e_00000000000ff259_ps.txt diff --git a/Workarounds/BreathOfTheWild_KakarikoShadows/rules.txt b/Workarounds/BreathOfTheWild_KakarikoShadows/rules.txt new file mode 100644 index 00000000..f4abef7c --- /dev/null +++ b/Workarounds/BreathOfTheWild_KakarikoShadows/rules.txt @@ -0,0 +1,10 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "Square Kakariko Torch Shadows Fix" +path = "The Legend of Zelda: Breath of the Wild/Workaround/Kakariko Torch Shadows" +description = "Workaround for the square shadows seen around torches in Kakariko Village." +version = 3 + +# Workaround for the square shadows seen around torches in Kakariko Village +# found by Kiri +# Shaders dumped from Cemu 1.11.0b and BotW 1.3.1 diff --git a/Workaround/BreathOfTheWild_LwzxNullCheck/patches.txt b/Workarounds/BreathOfTheWild_LwzxNullCheck/patches.txt similarity index 100% rename from Workaround/BreathOfTheWild_LwzxNullCheck/patches.txt rename to Workarounds/BreathOfTheWild_LwzxNullCheck/patches.txt diff --git a/Workarounds/BreathOfTheWild_LwzxNullCheck/rules.txt b/Workarounds/BreathOfTheWild_LwzxNullCheck/rules.txt new file mode 100644 index 00000000..17be2dd0 --- /dev/null +++ b/Workarounds/BreathOfTheWild_LwzxNullCheck/rules.txt @@ -0,0 +1,5 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +path = "The Legend of Zelda: Breath of the Wild/Workaround/LWZX Crash workaround" +description = "You should enable this pack in any circumstance. This workaround fixes crashes that would occur at specific points in the game." +version = 3 \ No newline at end of file diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/17aae2b035ae850c_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/17aae2b035ae850c_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/17aae2b035ae850c_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/17aae2b035ae850c_0000000000000000_vs.txt diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/2938a1b3abfdfe49_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/2938a1b3abfdfe49_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/2938a1b3abfdfe49_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/2938a1b3abfdfe49_0000000000000000_vs.txt diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/314c2583a1612026_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/314c2583a1612026_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/314c2583a1612026_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/314c2583a1612026_0000000000000000_vs.txt diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/344d8b1f7d6f2b8e_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/344d8b1f7d6f2b8e_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/344d8b1f7d6f2b8e_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/344d8b1f7d6f2b8e_0000000000000000_vs.txt diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/961cf134642327cc_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/961cf134642327cc_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/961cf134642327cc_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/961cf134642327cc_0000000000000000_vs.txt diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/a4f029f0b16e3776_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/a4f029f0b16e3776_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/a4f029f0b16e3776_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/a4f029f0b16e3776_0000000000000000_vs.txt diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/b9eeedc9f6628c36_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/b9eeedc9f6628c36_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/b9eeedc9f6628c36_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/b9eeedc9f6628c36_0000000000000000_vs.txt diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/ea77e7f80b23e7b7_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/ea77e7f80b23e7b7_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/ea77e7f80b23e7b7_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/ea77e7f80b23e7b7_0000000000000000_vs.txt diff --git a/Workaround/BreathOfTheWild_NVIDIASmoke/fc4a738a3df2bcce_0000000000000000_vs.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/fc4a738a3df2bcce_0000000000000000_vs.txt similarity index 100% rename from Workaround/BreathOfTheWild_NVIDIASmoke/fc4a738a3df2bcce_0000000000000000_vs.txt rename to Workarounds/BreathOfTheWild_NVIDIASmoke/fc4a738a3df2bcce_0000000000000000_vs.txt diff --git a/Workarounds/BreathOfTheWild_NVIDIASmoke/rules.txt b/Workarounds/BreathOfTheWild_NVIDIASmoke/rules.txt new file mode 100644 index 00000000..46a62fec --- /dev/null +++ b/Workarounds/BreathOfTheWild_NVIDIASmoke/rules.txt @@ -0,0 +1,9 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "NVIDIA Explosion Smoke Workaround" +path = "The Legend of Zelda: Breath of the Wild/Workaround/NVIDIA Explosion Smoke" +description = "Partially fixes thin paper look explosion smoke on NVIDIA when using accurateShaderMul = true." +version = 3 + +# A quick found by Rajkosto, Xalphenos, Darkemaste +# Shaders dumped from Cemu 1.10.0f and BotW 1.3.1 diff --git a/Workarounds/ColorSplash_30FPS/rules.txt b/Workarounds/ColorSplash_30FPS/rules.txt new file mode 100644 index 00000000..6ae6c556 --- /dev/null +++ b/Workarounds/ColorSplash_30FPS/rules.txt @@ -0,0 +1,9 @@ +[Definition] +titleIds = 000500001F600900,000500001F600A00,000500001F600B00 +name = "30FPS Lock" +path = "Paper Mario: Color Splash/Workarounds/30FPS Lock" +description = "Limits the FPS to 30 so that certain objects are not sped up." +version = 3 + +[Control] +vsyncFrequency = 30 diff --git a/Workarounds/HyruleWarriors_30FPS/rules.txt b/Workarounds/HyruleWarriors_30FPS/rules.txt new file mode 100644 index 00000000..6ee091de --- /dev/null +++ b/Workarounds/HyruleWarriors_30FPS/rules.txt @@ -0,0 +1,9 @@ +[Definition] +titleIds = 000500001017D800,000500001017D900,000500001017CD00 +name = "30FPS Lock" +path = "Hyrule Warriors/Workarounds/30FPS Lock" +description = "Limits the FPS to 30 so that menus are not sped up." +version = 3 + +[Control] +vsyncFrequency = 30 diff --git a/Workaround/SonicLostWorld_BrightnessFix/061c4a3b19113538_0000000000000000_vs.txt b/Workarounds/SonicLostWorld_DisplayFixes/061c4a3b19113538_0000000000000000_vs.txt similarity index 100% rename from Workaround/SonicLostWorld_BrightnessFix/061c4a3b19113538_0000000000000000_vs.txt rename to Workarounds/SonicLostWorld_DisplayFixes/061c4a3b19113538_0000000000000000_vs.txt diff --git a/Workaround/SonicLostWorld_BrightnessFix/289fad0a94a60a46_0000000000000000_vs.txt b/Workarounds/SonicLostWorld_DisplayFixes/289fad0a94a60a46_0000000000000000_vs.txt similarity index 100% rename from Workaround/SonicLostWorld_BrightnessFix/289fad0a94a60a46_0000000000000000_vs.txt rename to Workarounds/SonicLostWorld_DisplayFixes/289fad0a94a60a46_0000000000000000_vs.txt diff --git a/Workaround/SonicLostWorld_BrightnessFix/7658289ba65cb755_00000000000003c9_ps.txt b/Workarounds/SonicLostWorld_DisplayFixes/7658289ba65cb755_00000000000003c9_ps.txt similarity index 100% rename from Workaround/SonicLostWorld_BrightnessFix/7658289ba65cb755_00000000000003c9_ps.txt rename to Workarounds/SonicLostWorld_DisplayFixes/7658289ba65cb755_00000000000003c9_ps.txt diff --git a/Workaround/SonicLostWorld_BrightnessFix/971a39bb79e32fd1_0000000000001e71_ps.txt b/Workarounds/SonicLostWorld_DisplayFixes/971a39bb79e32fd1_0000000000001e71_ps.txt similarity index 100% rename from Workaround/SonicLostWorld_BrightnessFix/971a39bb79e32fd1_0000000000001e71_ps.txt rename to Workarounds/SonicLostWorld_DisplayFixes/971a39bb79e32fd1_0000000000001e71_ps.txt diff --git a/Workaround/SonicLostWorld_BrightnessFix/e1d2a971c93cd82a_0000000000001e71_ps.txt b/Workarounds/SonicLostWorld_DisplayFixes/e1d2a971c93cd82a_0000000000001e71_ps.txt similarity index 100% rename from Workaround/SonicLostWorld_BrightnessFix/e1d2a971c93cd82a_0000000000001e71_ps.txt rename to Workarounds/SonicLostWorld_DisplayFixes/e1d2a971c93cd82a_0000000000001e71_ps.txt diff --git a/Workarounds/SonicLostWorld_DisplayFixes/rules.txt b/Workarounds/SonicLostWorld_DisplayFixes/rules.txt new file mode 100644 index 00000000..2db09f87 --- /dev/null +++ b/Workarounds/SonicLostWorld_DisplayFixes/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010135700,000500001012B100,0005000010128F00 +name = Display Fixes +path = "Sonic Lost World/Workaround/Display Fixes" +description = This fixes/removes multiple issues shown in-game +version = 3 diff --git a/Modifications/Splatoon_UltrawideFixes219/0b2ca00a882b9629_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/0b2ca00a882b9629_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/0b2ca00a882b9629_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/0b2ca00a882b9629_0000000000000000_vs.txt index 97b41576..b522c669 100644 --- a/Modifications/Splatoon_UltrawideFixes219/0b2ca00a882b9629_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/0b2ca00a882b9629_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 0b2ca00a882b9629 // backgrounds UW scaling shader -float scaleAspect = 1.3333333333333; +float scaleAspect = $width/$height; uniform ivec4 uf_uniformRegisterVS[256]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/1e015f95e9b3e57f_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/1e015f95e9b3e57f_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/1e015f95e9b3e57f_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/1e015f95e9b3e57f_0000000000000000_vs.txt index 18bbf247..5810b6fc 100644 --- a/Modifications/Splatoon_UltrawideFixes219/1e015f95e9b3e57f_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/1e015f95e9b3e57f_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 1e015f95e9b3e57f // Second background UW scaling shader -float scaleAspect = 1.3333333333333; +float scaleAspect = $width/$height; uniform ivec4 uf_uniformRegisterVS[256]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/4754883f71f69101_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/4754883f71f69101_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/4754883f71f69101_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/4754883f71f69101_0000000000000000_vs.txt index 33fcfcf2..74afe84b 100644 --- a/Modifications/Splatoon_UltrawideFixes219/4754883f71f69101_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/4754883f71f69101_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 4754883f71f69101 // (Solid) backgrounds scaling shader - Fixes loadout and character background with the cost of other GUI elements scaling -float scaleAspect = 1.3333333333333; +float scaleAspect = $width/$height; uniform ivec4 uf_uniformRegisterVS[256]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/5bf3a3153a7cab75_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/5bf3a3153a7cab75_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/5bf3a3153a7cab75_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/5bf3a3153a7cab75_0000000000000000_vs.txt index a4bfa1ee..f749fb59 100644 --- a/Modifications/Splatoon_UltrawideFixes219/5bf3a3153a7cab75_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/5bf3a3153a7cab75_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 5bf3a3153a7cab75 // Used for: Squid TV UW scaling shader -const float scaleAspect = 1.3333333333333; +const float scaleAspect = $width/$height; uniform ivec4 uf_remappedVS[18]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/6724aef6f3f59403_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/6724aef6f3f59403_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/6724aef6f3f59403_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/6724aef6f3f59403_0000000000000000_vs.txt index 8fa35cff..47184bff 100644 --- a/Modifications/Splatoon_UltrawideFixes219/6724aef6f3f59403_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/6724aef6f3f59403_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 6724aef6f3f59403 // Used for: Second layers from some background -float scaleAspect = 1.3333333333333; +float scaleAspect = $width/$height; uniform ivec4 uf_uniformRegisterVS[256]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/6a5cfcb2e29672eb_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/6a5cfcb2e29672eb_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/6a5cfcb2e29672eb_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/6a5cfcb2e29672eb_0000000000000000_vs.txt index cb437114..9b66b7c9 100644 --- a/Modifications/Splatoon_UltrawideFixes219/6a5cfcb2e29672eb_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/6a5cfcb2e29672eb_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 6a5cfcb2e29672eb // Used for: (character selection) transparent background UW fix -const float scaleAspect = 1.3333333333333; +const float scaleAspect = $width/$height; uniform ivec4 uf_uniformRegisterVS[256]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/771cf3a9a165ebf7_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/771cf3a9a165ebf7_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/771cf3a9a165ebf7_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/771cf3a9a165ebf7_0000000000000000_vs.txt index b6a340a5..c3ba52e6 100644 --- a/Modifications/Splatoon_UltrawideFixes219/771cf3a9a165ebf7_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/771cf3a9a165ebf7_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 771cf3a9a165ebf7 // Used for: (character selection) wavy background UW fix -const float scaleAspect = 1.3333333333333; +const float scaleAspect = $width/$height; uniform ivec4 uf_remappedVS[23]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/c6628888b292c921_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/c6628888b292c921_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/c6628888b292c921_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/c6628888b292c921_0000000000000000_vs.txt index 8f621786..389c8ce7 100644 --- a/Modifications/Splatoon_UltrawideFixes219/c6628888b292c921_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/c6628888b292c921_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader c6628888b292c921 // Used for: Ink splash damage UW fix -float scaleAspect = 1.3333333333333; +float scaleAspect = $width/$height; uniform ivec4 uf_remappedVS[38]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/c73bf8204f4ddceb_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/c73bf8204f4ddceb_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/c73bf8204f4ddceb_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/c73bf8204f4ddceb_0000000000000000_vs.txt index 33f7c323..632392d7 100644 --- a/Modifications/Splatoon_UltrawideFixes219/c73bf8204f4ddceb_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/c73bf8204f4ddceb_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader c73bf8204f4ddceb // GUI UW scaling shader -float scaleAspect = 1.3333333333333; +float scaleAspect = $width/$height; uniform ivec4 uf_uniformRegisterVS[256]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Modifications/Splatoon_UltrawideFixes219/f6fc641eb23547cf_0000000000000000_vs.txt b/Workarounds/Splatoon_UltrawideFixes219/f6fc641eb23547cf_0000000000000000_vs.txt similarity index 99% rename from Modifications/Splatoon_UltrawideFixes219/f6fc641eb23547cf_0000000000000000_vs.txt rename to Workarounds/Splatoon_UltrawideFixes219/f6fc641eb23547cf_0000000000000000_vs.txt index 58bcc855..991a4530 100644 --- a/Modifications/Splatoon_UltrawideFixes219/f6fc641eb23547cf_0000000000000000_vs.txt +++ b/Workarounds/Splatoon_UltrawideFixes219/f6fc641eb23547cf_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader f6fc641eb23547cf // Used for: Some blurred backgrounds -float scaleAspect = 1.3333333333333; +float scaleAspect = $width/$height; uniform ivec4 uf_remappedVS[23]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Workarounds/Splatoon_UltrawideFixes219/rules.txt b/Workarounds/Splatoon_UltrawideFixes219/rules.txt new file mode 100644 index 00000000..84803f5f --- /dev/null +++ b/Workarounds/Splatoon_UltrawideFixes219/rules.txt @@ -0,0 +1,48 @@ +[Definition] +titleIds = 0005000010176900,0005000010176A00,0005000010162B00 +name = "21:9 Ultrawide HUD Fixes" +path = "Splatoon/Workarounds/21:9 Ultrawide HUD Fixes" +description = "Attempts to fix HUD issues with the 21:9 aspect ratio patch." +version = 3 + +// 21:9 + +[Preset] +name = (21:9) 1280x540 +$width:int = 1280 +$height:int = 540 + +[Preset] +name = (21:9) 2100x900 +$width:int = 2560 +$height:int = 1080 + +[Preset] +name = (21:9) 2560x1080 +$width:int = 2560 +$height:int = 1080 + +[Preset] +name = (21:9) 3440x1440 +$width:int = 3440 +$height:int = 1440 + +[Preset] +name = (21:9) 4200x1800 +$width:int = 4200 +$height:int = 1800 + +[Preset] +name = (21:9) 5120x2160 +$width:int = 5120 +$height:int = 2160 + +[Preset] +name = (21:9) 10240x5320 +$width:int = 10240 +$height:int = 5320 + +[Preset] +name = (21:9) 13760x5760 +$width:int = 13760 +$height:int = 5760 diff --git a/Workarounds/SuperSmashBros_NoBoxingRingScreen/rules.txt b/Workarounds/SuperSmashBros_NoBoxingRingScreen/rules.txt new file mode 100644 index 00000000..9083ee3c --- /dev/null +++ b/Workarounds/SuperSmashBros_NoBoxingRingScreen/rules.txt @@ -0,0 +1,12 @@ +[Definition] +titleIds = 0005000010110E00,0005000010145000,0005000010144F00 +name = No Boxing Ring Screen +path = "Super Smash Bros. for Wii U/Workarounds/No Boxing Ring Screen" +description = Disables the boxing ring screen. +version = 3 + +[TextureRedefine] +width = 220 +height = 124 +overwriteWidth = 1 +overwriteHeight = 1 \ No newline at end of file diff --git a/Workaround/WindWakerHD_FPSSlowdownFix/patches.txt b/Workarounds/WindWakerHD_FPSSlowdownFix/patches.txt similarity index 100% rename from Workaround/WindWakerHD_FPSSlowdownFix/patches.txt rename to Workarounds/WindWakerHD_FPSSlowdownFix/patches.txt diff --git a/Workaround/WindWakerHD_FPSSlowdownFix/rules.txt b/Workarounds/WindWakerHD_FPSSlowdownFix/rules.txt similarity index 100% rename from Workaround/WindWakerHD_FPSSlowdownFix/rules.txt rename to Workarounds/WindWakerHD_FPSSlowdownFix/rules.txt diff --git a/Workaround/WindWakerHD_IntelFixes/patches.txt b/Workarounds/WindWakerHD_IntelFixes/patches.txt similarity index 100% rename from Workaround/WindWakerHD_IntelFixes/patches.txt rename to Workarounds/WindWakerHD_IntelFixes/patches.txt diff --git a/Workaround/WindWakerHD_IntelFixes/rules.txt b/Workarounds/WindWakerHD_IntelFixes/rules.txt similarity index 100% rename from Workaround/WindWakerHD_IntelFixes/rules.txt rename to Workarounds/WindWakerHD_IntelFixes/rules.txt diff --git a/Workaround/Wonderful101_ShadowRemoval/2a8afa64e98f2977_0000000000000000_vs.txt b/Workarounds/Wonderful101_ShadowRemoval/2a8afa64e98f2977_0000000000000000_vs.txt similarity index 100% rename from Workaround/Wonderful101_ShadowRemoval/2a8afa64e98f2977_0000000000000000_vs.txt rename to Workarounds/Wonderful101_ShadowRemoval/2a8afa64e98f2977_0000000000000000_vs.txt diff --git a/Workaround/Wonderful101_ShadowRemoval/5c0d907ed99903ab_0000000000000000_vs.txt b/Workarounds/Wonderful101_ShadowRemoval/5c0d907ed99903ab_0000000000000000_vs.txt similarity index 100% rename from Workaround/Wonderful101_ShadowRemoval/5c0d907ed99903ab_0000000000000000_vs.txt rename to Workarounds/Wonderful101_ShadowRemoval/5c0d907ed99903ab_0000000000000000_vs.txt diff --git a/Workarounds/Wonderful101_ShadowRemoval/rules.txt b/Workarounds/Wonderful101_ShadowRemoval/rules.txt new file mode 100644 index 00000000..663e0527 --- /dev/null +++ b/Workarounds/Wonderful101_ShadowRemoval/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010116300,000500001012DC00,0005000010135300 +name = Shadow Removal +path = "The Wonderful 101/Workaround/Shadow Removal" +description = This removes all broken shadows. +version = 3 diff --git a/Workarounds/XenobladeX_AdjustableBrightnessAMD/3cc7e98f78c258b4_00000000000003ca_ps.txt b/Workarounds/XenobladeX_AdjustableBrightnessAMD/3cc7e98f78c258b4_00000000000003ca_ps.txt new file mode 100644 index 00000000..3f20dec0 --- /dev/null +++ b/Workarounds/XenobladeX_AdjustableBrightnessAMD/3cc7e98f78c258b4_00000000000003ca_ps.txt @@ -0,0 +1,115 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +// shader 3cc7e98f78c258b4 // brightness workaround. +// To-do, .5 is daylight and 1.0 night is wiiu "correct" for nvidia +// changes here in turn "breaks" bloom as they over or under expose depending on day/night + +//old contrasty, or just copy paste clarity +const float gamma = 0.93; // 1.0 is neutral +const float exposure = 0.32; // 1.0 is neutral, first lessen to avoid truncation prob around .25 for radeon. +const float vibrance = 0.318; // 0.0 is neutral +const float lift = 0.002; // 0.0 is neutral. loss of shadow detail +const float postExposure = 1.05; // 1.0 is neutral, then slightly raise exposure back up. + +vec3 contrasty(vec3 colour){ + vec3 fColour = (colour.xyz); + + fColour = clamp(exposure * fColour, 0.0, 1.0); + fColour = pow(fColour, vec3(1.0 / gamma)); + float luminance = fColour.r*0.299 + fColour.g*0.587 + fColour.b*0.114; + float mn = min(min(fColour.r, fColour.g), fColour.b); + float mx = max(max(fColour.r, fColour.g), fColour.b); + float sat = (1.0 - (mx - mn)) * (1.0 - mx) * luminance * 5.0; + vec3 lightness = vec3((mn + mx) / 2.0); +// vibrance + fColour = mix(fColour, mix(fColour, lightness, -vibrance), sat); + fColour = max(vec3(0.0), fColour + vec3(lift)); + return fColour; +} + + +uniform ivec4 uf_remappedPS[1]; + +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 1) uniform sampler3D textureUnitPS1;// Tex1 addr 0x2603b000 res 16x16x16 dim 2 tm: 7 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x10) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 +layout(location = 0) in vec4 passParameterSem0; +layout(location = 0) out vec4 passPixelColor0; +uniform vec2 uf_fragCoordScale; +highp float lineRand(vec2 co) +{ + highp float a = 12.9898; + highp float b = 78.233; + highp float c = 43758.5453; + highp float dt = dot(co.xy, vec2(a, b)); + highp float sn = mod(dt, 3.14); + return fract(sin(sn) * c); +} + +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R1f = vec4(0.0); +vec4 R127f = vec4(0.0); +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = passParameterSem0; + +R0f.xyz = (texture(textureUnitPS0, R0f.xy).xyz) * (0.985 -(lineRand(gl_FragCoord.xy)*0.015)); +//R0f.xyz = R0f.xyz - (lineRand(gl_FragCoord.xy)*0.1); +// 0 +R0f.xyz = contrasty(R0f.xyz); +R127f.x = R0f.z * intBitsToFloat(uf_remappedPS[0].x); +R127f.x = clamp(R127f.x, 0.0, 1.0); +R127f.y = R0f.y * intBitsToFloat(uf_remappedPS[0].x); +R127f.y = clamp(R127f.y, 0.0, 1.0); +PV0f.z = R0f.x * intBitsToFloat(uf_remappedPS[0].x); +PV0f.z = clamp(PV0f.z, 0.0, 1.0); +R1f.w = 1.0; +// 1 +tempResultf = log2(PV0f.z); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS1f = tempResultf; +// 2 +R127f.z = PS1f * intBitsToFloat(0x3ee8ba2e); +tempResultf = log2(R127f.y); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS0f = tempResultf; +// 3 +R127f.w = PS0f * intBitsToFloat(0x3ee8ba2e); +tempResultf = log2(R127f.x); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS1f = tempResultf; +// 4 +R127f.x = PS1f * intBitsToFloat(0x3ee8ba2e); +PS0f = exp2(R127f.z); +// 5 +R0f.x = (PS0f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); +PS1f = exp2(R127f.w); +// 6 +R0f.y = (PS1f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); +PS0f = exp2(R127f.x); +// 7 +R0f.z = (PS0f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); +R1f.xyz = (texture(textureUnitPS1, vec3(R0f.x,R0f.y,R0f.z)).xyz); +// export +//R1f = vec4(pow(R1f.xyz, vec3(1. / gammaPostExposure)), 1.0); + +passPixelColor0 = vec4(R1f.x, R1f.y, R1f.z, R1f.w)*postExposure; +} diff --git a/Workarounds/XenobladeX_AdjustableBrightnessAMD/7b9f05b2bd8f3b71_0000000000000079_ps.txt b/Workarounds/XenobladeX_AdjustableBrightnessAMD/7b9f05b2bd8f3b71_0000000000000079_ps.txt new file mode 100644 index 00000000..3de62433 --- /dev/null +++ b/Workarounds/XenobladeX_AdjustableBrightnessAMD/7b9f05b2bd8f3b71_0000000000000079_ps.txt @@ -0,0 +1,97 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +#extension GL_ARB_separate_shader_objects : enable +// shader 7b9f05b2bd8f3b71 +//skell cockpit brigthtness fix + minor colour tweak to balance broken bloom +const float exposure = 0.32; // 1.0 is neutral, first lessen to avoid truncation prob around .25 for radeon. +const float postExposure = 1.05; // 1.0 is neutral, then slightly raise exposure back up. +const float gamma = 0.93; // 1.0 is neutral +const float vibrance = 0.3175; // 0.0 is neutral +const float crushContrast = 0.000; // 0.0 is neutral. loss of shadow detail + + +uniform ivec4 uf_remappedPS[1]; +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 +layout(location = 0) in vec4 passParameterSem0; +layout(location = 0) out vec4 passPixelColor0; +uniform vec2 uf_fragCoordScale; + + +vec3 contrasty(vec3 colour) { + vec3 fColour = (colour.xyz); + + fColour = clamp(exposure * fColour, 0.0, 1.0); + fColour = pow(fColour, vec3(1.0 / gamma)); + float luminance = fColour.r*0.299 + fColour.g*0.587 + fColour.b*0.114; + float mn = min(min(fColour.r, fColour.g), fColour.b); + float mx = max(max(fColour.r, fColour.g), fColour.b); + float sat = (1.0 - (mx - mn)) * (1.0 - mx) * luminance * 5.0; + vec3 lightness = vec3((mn + mx) / 2.0); + // vibrance + fColour = mix(fColour, mix(fColour, lightness, -vibrance), sat); + fColour = max(vec3(0.0), fColour - vec3(crushContrast)); + return fColour; +} + +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R126f = vec4(0.0); +vec4 R127f = vec4(0.0); +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = passParameterSem0; +R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); +// 0 +R0f.xyz = contrasty(R0f.xyz); + +backupReg0f = R0f.x; +backupReg1f = R0f.w; +PV0f.x = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedPS[0].x)); +R127f.y = mul_nonIEEE(R0f.z, intBitsToFloat(uf_remappedPS[0].x)); +R127f.z = mul_nonIEEE(R0f.y, intBitsToFloat(uf_remappedPS[0].x)); +R0f.w = mul_nonIEEE(backupReg1f, intBitsToFloat(uf_remappedPS[0].x)); +// 1 +tempResultf = log2(PV0f.x); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS1f = tempResultf; +// 2 +R127f.w = PS1f * intBitsToFloat(0x3ee8ba2e); +tempResultf = log2(R127f.z); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS0f = tempResultf; +// 3 +R126f.w = PS0f * intBitsToFloat(0x3ee8ba2e); +tempResultf = log2(R127f.y); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS1f = tempResultf; +// 4 +R127f.x = PS1f * intBitsToFloat(0x3ee8ba2e); +R0f.x = exp2(R127f.w); +PS0f = R0f.x; +// 5 +R0f.y = exp2(R126f.w); +PS1f = R0f.y; +// 6 +R0f.z = exp2(R127f.x); +PS0f = R0f.z; +// export +passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w)*postExposure; +} diff --git a/Workaround/XenobladeX_AdjustableBrightness/bd74794730fc559a_00000000ff249249_ps.txt b/Workarounds/XenobladeX_AdjustableBrightnessAMD/bd74794730fc559a_00000000ff249249_ps.txt similarity index 100% rename from Workaround/XenobladeX_AdjustableBrightness/bd74794730fc559a_00000000ff249249_ps.txt rename to Workarounds/XenobladeX_AdjustableBrightnessAMD/bd74794730fc559a_00000000ff249249_ps.txt diff --git a/Workarounds/XenobladeX_AdjustableBrightnessAMD/d936195db0dd8e7d_0000000000001e52_ps.txt b/Workarounds/XenobladeX_AdjustableBrightnessAMD/d936195db0dd8e7d_0000000000001e52_ps.txt new file mode 100644 index 00000000..97e4c608 --- /dev/null +++ b/Workarounds/XenobladeX_AdjustableBrightnessAMD/d936195db0dd8e7d_0000000000001e52_ps.txt @@ -0,0 +1,129 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +// shader d936195db0dd8e7d +// cross fade brightness +// To-do, .5 is daylight and 1.0 night is wiiu "correct" for nvidia +// changes here in turn "breaks" bloom as they over or under expose depending on day/night + +//old contrasty, or just copy paste clarity +const float gamma = 0.93; // 1.0 is neutral +const float exposure = 0.32; // 1.0 is neutral, first lessen to avoid truncation prob around .25 for radeon. +const float vibrance = 0.318; // 0.0 is neutral +const float lift = 0.002; // 0.0 is neutral. loss of shadow detail +const float postExposure = 1.05; // 1.0 is neutral, then slightly raise exposure back up. + +vec3 contrasty(vec3 colour){ + vec3 fColour = (colour.xyz); + + fColour = clamp(exposure * fColour, 0.0, 1.0); + fColour = pow(fColour, vec3(1.0 / gamma)); + float luminance = fColour.r*0.299 + fColour.g*0.587 + fColour.b*0.114; + float mn = min(min(fColour.r, fColour.g), fColour.b); + float mx = max(max(fColour.r, fColour.g), fColour.b); + float sat = (1.0 - (mx - mn)) * (1.0 - mx) * luminance * 5.0; + vec3 lightness = vec3((mn + mx) / 2.0); +// vibrance + fColour = mix(fColour, mix(fColour, lightness, -vibrance), sat); + fColour = max(vec3(0.0), fColour + vec3(lift)); + return fColour; +} + +uniform ivec4 uf_remappedPS[1]; +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 1) uniform sampler3D textureUnitPS1;// Tex1 addr 0x26032000 res 16x16x16 dim 2 tm: 7 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x10) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 2) uniform sampler3D textureUnitPS2;// Tex2 addr 0x2603b000 res 16x16x16 dim 2 tm: 7 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x10) Sampler2 ClampX/Y/Z: 2 2 2 border: 0 +layout(location = 0) in vec4 passParameterSem0; +layout(location = 0) out vec4 passPixelColor0; +uniform vec2 uf_fragCoordScale; + +highp float lineRand(vec2 co) +{ + highp float a = 12.9898; + highp float b = 78.233; + highp float c = 43758.5453; + highp float dt = dot(co.xy, vec2(a, b)); + highp float sn = mod(dt, 3.14); + return fract(sin(sn) * c); +} + +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R1f = vec4(0.0); +vec4 R2f = vec4(0.0); +vec4 R127f = vec4(0.0); +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = passParameterSem0; +R0f.xyz = (texture(textureUnitPS0, R0f.xy).xyz) * (0.985 -(lineRand(gl_FragCoord.yx)*0.015)); +//R0f.xyz = (texture(textureUnitPS0, R0f.xy).xyz) *preExposure; +// 0 +R0f.xyz = contrasty(R0f.xyz); +backupReg0f = R0f.x; +PV0f.x = backupReg0f * intBitsToFloat(uf_remappedPS[0].x); +PV0f.x = clamp(PV0f.x, 0.0, 1.0); +R127f.z = R0f.z * intBitsToFloat(uf_remappedPS[0].x); +R127f.z = clamp(R127f.z, 0.0, 1.0); +R127f.w = R0f.y * intBitsToFloat(uf_remappedPS[0].x); +R127f.w = clamp(R127f.w, 0.0, 1.0); +R2f.w = 1.0; +PS0f = R2f.w; +// 1 +tempResultf = log2(PV0f.x); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS1f = tempResultf; +// 2 +R127f.x = PS1f * intBitsToFloat(0x3ee8ba2e); +tempResultf = log2(R127f.w); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS0f = tempResultf; +// 3 +R127f.y = PS0f * intBitsToFloat(0x3ee8ba2e); +tempResultf = log2(R127f.z); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS1f = tempResultf; +// 4 +R127f.w = PS1f * intBitsToFloat(0x3ee8ba2e); +PS0f = exp2(R127f.x); +// 5 +R0f.x = (PS0f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); +PS1f = exp2(R127f.y); +// 6 +R0f.y = (PS1f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); +PS0f = exp2(R127f.w); +// 7 +R0f.z = (PS0f * intBitsToFloat(uf_remappedPS[0].z) + intBitsToFloat(uf_remappedPS[0].w)); +R1f.xyz = (texture(textureUnitPS1, vec3(R0f.x,R0f.y,R0f.z)).xyz); +R0f.xyz = (texture(textureUnitPS2, vec3(R0f.x,R0f.y,R0f.z)).xyz); +// 0 +backupReg0f = R0f.y; +backupReg1f = R0f.x; +PV0f.x = R1f.z + -(R0f.z); +PV0f.y = R1f.y + -(backupReg0f); +PV0f.z = R1f.x + -(backupReg1f); +// 1 +R2f.x = (PV0f.z * intBitsToFloat(uf_remappedPS[0].y) + R0f.x); +R2f.y = (PV0f.y * intBitsToFloat(uf_remappedPS[0].y) + R0f.y); +R2f.z = (PV0f.x * intBitsToFloat(uf_remappedPS[0].y) + R0f.z); +// export +//R2f = vec4(pow(R2f.xyz, vec3(1. / gammaPostExposure)), 1.0); + +passPixelColor0 = vec4(R2f.x, R2f.y, R2f.z, R2f.w)*postExposure; +} diff --git a/Workarounds/XenobladeX_AdjustableBrightnessAMD/rules.txt b/Workarounds/XenobladeX_AdjustableBrightnessAMD/rules.txt new file mode 100644 index 00000000..02775c06 --- /dev/null +++ b/Workarounds/XenobladeX_AdjustableBrightnessAMD/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = Brightness workaround AMD +path = "Xenoblade Chronicles X/Workaround/AMD Brightness Workaround" +description = Slightly less overbright/dark. Edit shader for preference. +version = 3 \ No newline at end of file diff --git a/Workaround/XenobladeX_AdjustableBrightness/3cc7e98f78c258b4_00000000000003ca_ps.txt b/Workarounds/XenobladeX_AdjustableBrightnessNvidia/3cc7e98f78c258b4_00000000000003ca_ps.txt similarity index 100% rename from Workaround/XenobladeX_AdjustableBrightness/3cc7e98f78c258b4_00000000000003ca_ps.txt rename to Workarounds/XenobladeX_AdjustableBrightnessNvidia/3cc7e98f78c258b4_00000000000003ca_ps.txt diff --git a/Workaround/XenobladeX_AdjustableBrightness/7b9f05b2bd8f3b71_0000000000000079_ps.txt b/Workarounds/XenobladeX_AdjustableBrightnessNvidia/7b9f05b2bd8f3b71_0000000000000079_ps.txt similarity index 100% rename from Workaround/XenobladeX_AdjustableBrightness/7b9f05b2bd8f3b71_0000000000000079_ps.txt rename to Workarounds/XenobladeX_AdjustableBrightnessNvidia/7b9f05b2bd8f3b71_0000000000000079_ps.txt diff --git a/Workarounds/XenobladeX_AdjustableBrightnessNvidia/bd74794730fc559a_00000000ff249249_ps.txt b/Workarounds/XenobladeX_AdjustableBrightnessNvidia/bd74794730fc559a_00000000ff249249_ps.txt new file mode 100644 index 00000000..e7fc52ab --- /dev/null +++ b/Workarounds/XenobladeX_AdjustableBrightnessNvidia/bd74794730fc559a_00000000ff249249_ps.txt @@ -0,0 +1,449 @@ +#version 420 +#extension GL_ARB_texture_gather : enable +#extension GL_ARB_separate_shader_objects : enable +// shader bd74794730fc559a +//tweak glare, less J.J. Abrams +const float glare = 0.95; //reflection on skell, characters, metal objects etc +uniform ivec4 uf_remappedPS[12]; +layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5196000 res 1280x720x1 dim 1 tm: 4 format 0810 compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4386000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 2) uniform sampler2D textureUnitPS2;// Tex2 addr 0xf5d48000 res 1x1x1 dim 1 tm: 2 format 0008 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler2 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 3) uniform sampler2D textureUnitPS3;// Tex3 addr 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 041a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler3 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 4) uniform sampler2D textureUnitPS4;// Tex4 addr 0xf4a8e000 res 1280x720x1 dim 1 tm: 4 format 041a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler4 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 5) uniform sampler2D textureUnitPS5;// Tex5 addr 0xf4e12000 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler5 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 7) uniform sampler2D textureUnitPS7;// Tex7 addr 0xf589e000 res 640x360x1 dim 1 tm: 4 format 0007 compSel: 0 1 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler7 ClampX/Y/Z: 2 2 2 border: 0 +layout(binding = 9) uniform sampler2D textureUnitPS9;// Tex9 addr 0xf5ff0000 res 64x64x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler9 ClampX/Y/Z: 2 2 2 border: 0 +layout(location = 0) in vec4 passParameterSem0; +layout(location = 1) in vec4 passParameterSem1; +layout(location = 2) in vec4 passParameterSem2; +layout(location = 3) in vec4 passParameterSem3; +layout(location = 0) out vec4 passPixelColor0; +layout(location = 1) out vec4 passPixelColor1; +uniform vec2 uf_fragCoordScale; +int clampFI32(int v) +{ +if( v == 0x7FFFFFFF ) + return floatBitsToInt(1.0); +else if( v == 0xFFFFFFFF ) + return floatBitsToInt(0.0); +return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); +} +float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } +void main() +{ +vec4 R0f = vec4(0.0); +vec4 R1f = vec4(0.0); +vec4 R2f = vec4(0.0); +vec4 R3f = vec4(0.0); +vec4 R4f = vec4(0.0); +vec4 R5f = vec4(0.0); +vec4 R6f = vec4(0.0); +vec4 R7f = vec4(0.0); +vec4 R8f = vec4(0.0); +vec4 R9f = vec4(0.0); +vec4 R10f = vec4(0.0); +vec4 R11f = vec4(0.0); +vec4 R12f = vec4(0.0); +vec4 R13f = vec4(0.0); +vec4 R123f = vec4(0.0); +vec4 R124f = vec4(0.0); +vec4 R125f = vec4(0.0); +vec4 R126f = vec4(0.0); +vec4 R127f = vec4(0.0); +float backupReg0f, backupReg1f, backupReg2f, backupReg3f, backupReg4f; +vec4 PV0f = vec4(0.0), PV1f = vec4(0.0); +float PS0f = 0.0, PS1f = 0.0; +vec4 tempf = vec4(0.0); +float tempResultf; +int tempResulti; +ivec4 ARi = ivec4(0); +bool predResult = true; +vec3 cubeMapSTM; +int cubeMapFaceId; +R0f = passParameterSem0; +R1f = passParameterSem1; +R2f = passParameterSem2; +R3f = passParameterSem3; +R4f.xyzw = (texture(textureUnitPS1, R2f.xy).xyzw); +R5f.xy = (texture(textureUnitPS0, R2f.xy).xy); +R6f.x = (texture(textureUnitPS2, R1f.xy).x); +R11f.xyzw = (texture(textureUnitPS3, R2f.xy).xyzw); +R7f.xyzw = (texture(textureUnitPS5, R2f.xy).xyzw); +R0f.x = (texture(textureUnitPS7, R0f.xy).x); +R10f.xyzw = (texture(textureUnitPS4, R2f.xy).xyzw); +// 0 +tempf.x = dot(vec4(R4f.x,R4f.y,R4f.z,-0.0),vec4(intBitsToFloat(0x3e000000),intBitsToFloat(0x41ff0000),intBitsToFloat(0x45fe0100),0.0)); +PV0f.x = tempf.x; +PV0f.y = tempf.x; +PV0f.z = tempf.x; +PV0f.w = tempf.x; +R127f.y = tempf.x; +PS0f = 1.0 / R3f.z; +// 1 +R127f.x = 0.0; +PV1f.y = max(R4f.w, intBitsToFloat(0x3c23d70a)); +R127f.z = -(PV0f.x); +PV1f.w = -(PV0f.x) * PS0f; +PS1f = intBitsToFloat(uf_remappedPS[0].y) + -(0.0); +// 2 +backupReg0f = R127f.y; +R126f.x = mul_nonIEEE(R3f.x, PV1f.w); +PV0f.x = R126f.x; +R127f.y = mul_nonIEEE(R3f.y, PV1f.w); +PV0f.y = R127f.y; +R126f.z = backupReg0f + -(intBitsToFloat(uf_remappedPS[1].x)); +PV0f.w = min(PV1f.y, 1.0); +R125f.y = mul_nonIEEE(R6f.x, PS1f); +PS0f = R125f.y; +// 3 +tempf.x = dot(vec4(PV0f.x,PV0f.y,R127f.z,-0.0),vec4(PV0f.x,PV0f.y,R127f.z,0.0)); +PV1f.x = tempf.x; +PV1f.y = tempf.x; +PV1f.z = tempf.x; +PV1f.w = tempf.x; +R126f.y = PV0f.w * intBitsToFloat(0x41400000); +PS1f = R126f.y; +// 4 +tempf.x = dot(vec4(R5f.x,R5f.y,R127f.x,-0.0),vec4(R5f.x,R5f.y,R5f.y,0.0)); +PV0f.x = tempf.x; +PV0f.y = tempf.x; +PV0f.z = tempf.x; +PV0f.w = tempf.x; +tempResultf = 1.0 / sqrt(PV1f.x); +PS0f = tempResultf; +// 5 +R8f.x = mul_nonIEEE(R126f.x, PS0f); +PV1f.x = R8f.x; +R1f.y = mul_nonIEEE(R127f.y, PS0f); +PV1f.y = R1f.y; +R1f.z = mul_nonIEEE(R127f.z, PS0f); +PV1f.z = R1f.z; +PV1f.w = -(PV0f.x) + 1.0; +R1f.x = exp2(R126f.y); +PS1f = R1f.x; +// 6 +R4f.x = -(PV1f.x) + intBitsToFloat(uf_remappedPS[2].x); +R3f.y = -(PV1f.y) + intBitsToFloat(uf_remappedPS[2].y); +R3f.z = -(PV1f.z) + intBitsToFloat(uf_remappedPS[2].z); +PV0f.w = max(PV1f.w, -(PV1f.w)); +R2f.y = PS1f + 1.0; +PS0f = R2f.y; +// 7 +R2f.x = -(R8f.x) + intBitsToFloat(uf_remappedPS[3].x); +R4f.y = -(R1f.y) + intBitsToFloat(uf_remappedPS[3].y); +R4f.z = -(R1f.z) + intBitsToFloat(uf_remappedPS[3].z); +R127f.w = -(R125f.y) + 1.0; +R0f.z = sqrt(PV0f.w); +PS1f = R0f.z; +// 8 +tempf.x = dot(vec4(R5f.x,R5f.y,PS1f,-0.0),vec4(-(R8f.x),-(R1f.y),-(R1f.z),0.0)); +PV0f.x = tempf.x; +PV0f.y = tempf.x; +PV0f.z = tempf.x; +PV0f.w = tempf.x; +PS0f = mul_nonIEEE(R126f.z, intBitsToFloat(uf_remappedPS[1].y)); +// 9 +backupReg0f = R0f.x; +PV1f.x = PV0f.x + PV0f.x; +PV1f.y = max(PS0f, 0.0); +R123f.z = (mul_nonIEEE(R127f.w,backupReg0f) + R125f.y); +PV1f.z = R123f.z; +PV1f.w = -(R10f.w) + 1.0; +R12f.x = mul_nonIEEE(R10f.x, R10f.w); +PS1f = R12f.x; +// 10 +PV0f.x = R3f.z * R3f.z; +R6f.y = mul_nonIEEE(PV1f.z, PV1f.w); +R123f.z = (mul_nonIEEE(-(PV1f.x),R5f.x) + -(R8f.x))/2.0; +PV0f.z = R123f.z; +R123f.w = (mul_nonIEEE(-(PV1f.x),R5f.y) + -(R1f.y))/2.0; +PV0f.w = R123f.w; +tempResultf = log2(PV1f.y); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS0f = tempResultf; +// 11 +R0f.x = PV0f.z + 0.5; +R0f.y = PV0f.w + 0.5; +R12f.z = mul_nonIEEE(R10f.z, R10f.w); +R4f.w = mul_nonIEEE(PS0f, intBitsToFloat(uf_remappedPS[1].z)); +R3f.x = (R3f.y * R3f.y + PV0f.x); +PS1f = R3f.x; +R9f.xyz = (texture(textureUnitPS9, R0f.xy).xyz); +// 0 +R123f.x = (R4f.x * R4f.x + R3f.x); +PV0f.x = R123f.x; +R12f.y = mul_nonIEEE(R10f.y, R10f.w); +PV0f.z = R4f.z * R4f.z; +R13f.w = 0.0; +R125f.y = exp2(R4f.w); +PS0f = R125f.y; +// 1 +tempf.x = dot(vec4(R2f.x,R4f.y,PV0f.z,-0.0),vec4(R2f.x,R4f.y,1.0,0.0)); +PV1f.x = tempf.x; +PV1f.y = tempf.x; +PV1f.z = tempf.x; +PV1f.w = tempf.x; +tempResultf = 1.0 / sqrt(PV0f.x); +PS1f = tempResultf; +// 2 +backupReg0f = R125f.y; +R126f.x = mul_nonIEEE(R4f.x, PS1f); +R125f.y = mul_nonIEEE(R3f.y, PS1f); +R126f.z = mul_nonIEEE(R3f.z, PS1f); +PV0f.z = R126f.z; +PV0f.w = min(backupReg0f, 1.0); +tempResultf = 1.0 / sqrt(PV1f.x); +PS0f = tempResultf; +// 3 +R127f.x = mul_nonIEEE(R2f.x, PS0f); +R127f.y = mul_nonIEEE(R4f.y, PS0f); +R127f.z = mul_nonIEEE(R4f.z, PS0f); +R0f.w = mul_nonIEEE(PV0f.w, intBitsToFloat(uf_remappedPS[1].w)); +PS1f = mul_nonIEEE(R0f.z, PV0f.z); +// 4 +tempf.x = dot(vec4(R5f.x,R5f.y,PS1f,-0.0),vec4(R126f.x,R125f.y,1.0,0.0)); +tempf.x = clamp(tempf.x, 0.0, 1.0); +PV0f.x = tempf.x; +PV0f.y = tempf.x; +PV0f.z = tempf.x; +PV0f.w = tempf.x; +PS0f = mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z), R126f.z); +// 5 +tempf.x = dot(vec4(intBitsToFloat(uf_remappedPS[2].x),intBitsToFloat(uf_remappedPS[2].y),PS0f,-0.0),vec4(R126f.x,R125f.y,1.0,0.0)); +tempf.x = clamp(tempf.x, 0.0, 1.0); +PV1f.x = tempf.x; +PV1f.y = tempf.x; +PV1f.z = tempf.x; +PV1f.w = tempf.x; +tempResultf = log2(PV0f.x); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +R126f.x = tempResultf; +PS1f = R126f.x; +// 6 +backupReg0f = R0f.z; +tempf.x = dot(vec4(R5f.x,R5f.y,backupReg0f,-0.0),vec4(R127f.x,R127f.y,R127f.z,0.0)); +tempf.x = clamp(tempf.x, 0.0, 1.0); +PV0f.x = tempf.x; +PV0f.y = tempf.x; +PV0f.z = tempf.x; +PV0f.w = tempf.x; +R125f.x = PV1f.x * intBitsToFloat(0x41800000); +PS0f = R125f.x; +// 7 +tempf.x = dot(vec4(intBitsToFloat(uf_remappedPS[3].x),intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(uf_remappedPS[3].z),-0.0),vec4(R127f.x,R127f.y,R127f.z,0.0)); +tempf.x = clamp(tempf.x, 0.0, 1.0); +PV1f.x = tempf.x; +PV1f.y = tempf.x; +PV1f.z = tempf.x; +PV1f.w = tempf.x; +tempResultf = log2(PV0f.x); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS1f = tempResultf; +// 8 +backupReg0f = R126f.x; +R126f.x = mul_nonIEEE(R1f.x, PS1f); +PV0f.y = mul_nonIEEE(intBitsToFloat(uf_remappedPS[4].z), R1f.z); +PV0f.z = PV1f.x * intBitsToFloat(0x41800000); +R127f.w = mul_nonIEEE(R1f.x, backupReg0f); +PS0f = 1.0 / R125f.x; +// 9 +R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[4].y),R1f.y) + PV0f.y); +PV1f.x = R123f.x; +PV1f.y = mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].z), R0f.z); +R127f.z = R2f.y * PS0f; +PV1f.w = R11f.z * intBitsToFloat(0x41200000); +PS1f = 1.0 / PV0f.z; +// 10 +R125f.x = R2f.y * PS1f; +R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].y),R5f.y) + PV1f.y); +PV0f.y = R123f.y; +R123f.z = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[4].x),R8f.x) + PV1f.x); +PV0f.z = R123f.z; +R123f.w = (R11f.y * intBitsToFloat(0x41200000) + PV1f.w); +PV0f.w = R123f.w; +PS0f = exp2(R127f.w); +// 11 +R123f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedPS[2].x),R5f.x) + PV0f.y); +R123f.x = clamp(R123f.x, 0.0, 1.0); +PV1f.x = R123f.x; +PV1f.y = mul_nonIEEE(PS0f, R127f.z); +PV1f.z = max(PV0f.z, -(PV0f.z)); +R125f.w = (R11f.x * intBitsToFloat(0x41200000) + PV0f.w); +R125f.w = clamp(R125f.w, 0.0, 1.0); +PV1f.w = R125f.w; +PS1f = exp2(R126f.x); +// 12 +backupReg0f = R125f.x; +R125f.x = mul_nonIEEE(PV1f.x, PV1f.y); +R125f.x = clamp(R125f.x, 0.0, 1.0); +R125f.y = -(PV1f.z) + 1.0; +R125f.y = clamp(R125f.y, 0.0, 1.0); +PV0f.y = R125f.y; +R126f.z = mul_nonIEEE(R6f.x, PV1f.x); +R127f.w = mul_nonIEEE(PS1f, backupReg0f); +R124f.x = (mul_nonIEEE(PV1f.w,intBitsToFloat(uf_remappedPS[5].y)) + R11f.x); +PS0f = R124f.x; +// 13 +backupReg0f = R0f.z; +tempf.x = dot(vec4(intBitsToFloat(uf_remappedPS[3].x),intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(uf_remappedPS[3].z),-0.0),vec4(R5f.x,R5f.y,backupReg0f,0.0)); +tempf.x = clamp(tempf.x, 0.0, 1.0); +PV1f.x = tempf.x; +PV1f.y = tempf.x; +PV1f.z = tempf.x; +PV1f.w = tempf.x; +R126f.w = tempf.x; +tempResultf = log2(PV0f.y); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS1f = tempResultf; +// 14 +backupReg0f = R125f.x; +R125f.x = mul_nonIEEE(PS1f, intBitsToFloat(uf_remappedPS[6].w)); +R127f.y = mul_nonIEEE(R124f.x, R9f.x); +PV0f.z = mul_nonIEEE(PV1f.x, R127f.w); +PV0f.z = clamp(PV0f.z, 0.0, 1.0); +PV0f.w = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedPS[7].w)); +// 15 +backupReg0f = R126f.w; +backupReg0f = R126f.w; +R126f.x = mul_nonIEEE(R126f.w, intBitsToFloat(uf_remappedPS[8].x)); +PV1f.y = mul_nonIEEE(PV0f.z, intBitsToFloat(uf_remappedPS[8].w)); +R127f.z = mul_nonIEEE(R6f.x, PV0f.w); +R126f.w = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedPS[8].y)); +R125f.z = mul_nonIEEE(backupReg0f, intBitsToFloat(uf_remappedPS[8].z)); +PS1f = R125f.z; +// 16 +PV0f.x = mul_nonIEEE(PV1f.y, intBitsToFloat(uf_remappedPS[8].z)); +PV0f.y = mul_nonIEEE(PV1f.y, intBitsToFloat(uf_remappedPS[8].y)); +PV0f.z = mul_nonIEEE(PV1f.y, intBitsToFloat(uf_remappedPS[8].x)); +R4f.w = mul_nonIEEE(R11f.w, R127f.y); +R5f.y = exp2(R125f.x); +PS0f = R5f.y; +// 17 +backupReg0f = R126f.x; +R126f.x = (mul_nonIEEE(R126f.z,intBitsToFloat(uf_remappedPS[7].x)) + backupReg0f); +R123f.y = (mul_nonIEEE(R127f.z,intBitsToFloat(uf_remappedPS[7].z)) + PV0f.x); +PV1f.y = R123f.y; +R123f.z = (mul_nonIEEE(R127f.z,intBitsToFloat(uf_remappedPS[7].y)) + PV0f.y); +PV1f.z = R123f.z; +R123f.w = (mul_nonIEEE(R127f.z,intBitsToFloat(uf_remappedPS[7].x)) + PV0f.z); +PV1f.w = R123f.w; +R125f.x = (mul_nonIEEE(R126f.z,intBitsToFloat(uf_remappedPS[7].y)) + R126f.w); +PS1f = R125f.x; +// 18 +backupReg0f = R126f.z; +R127f.x = (R7f.w * 2.0 + PV1f.w); +R127f.y = (R7f.w * 2.0 + PV1f.y); +R126f.z = (R7f.w * 2.0 + PV1f.z); +R123f.w = (mul_nonIEEE(backupReg0f,intBitsToFloat(uf_remappedPS[7].z)) + R125f.z); +PV0f.w = R123f.w; +R0f.z = (mul_nonIEEE(R125f.w,intBitsToFloat(uf_remappedPS[5].y)) + R11f.y); +PS0f = R0f.z; +// 19 +backupReg0f = R126f.x; +backupReg1f = R125f.w; +backupReg2f = R7f.z; +R126f.x = R5f.y + -(intBitsToFloat(0x3f4ccccd)); +R2f.y = (R7f.x * 2.0 + backupReg0f); +R4f.z = (R7f.y * 2.0 + R125f.x); +R125f.w = (mul_nonIEEE(backupReg1f,intBitsToFloat(uf_remappedPS[5].y)) + R11f.z); +R7f.z = (backupReg2f * 2.0 + PV0f.w); +PS1f = R7f.z; +// 20 +backupReg0f = R1f.y; +tempf.x = dot(vec4(intBitsToFloat(uf_remappedPS[9].x),intBitsToFloat(uf_remappedPS[9].y),intBitsToFloat(uf_remappedPS[9].z),-0.0),vec4(R8f.x,backupReg0f,R1f.z,0.0)); +tempf.x = clamp(tempf.x, 0.0, 1.0); +PV0f.x = tempf.x; +PV0f.y = tempf.x; +PV0f.z = tempf.x; +PV0f.w = tempf.x; +R1f.y = tempf.x; +R4f.y = mul_nonIEEE(R127f.x, R124f.x); +PS0f = R4f.y; +// 21 +R8f.x = mul_nonIEEE(R126f.z, R0f.z); +R7f.y = R126f.x * intBitsToFloat(0x40a00000); +R7f.y = clamp(R7f.y, 0.0, 1.0); +R1f.z = (R125f.y * intBitsToFloat(0x3f733333) + -(R5f.y)); +R7f.w = mul_nonIEEE(R127f.y, R125f.w); +R3f.y = mul_nonIEEE(R125f.w, R9f.z); +PS1f = R3f.y; +// 0 +R126f.x = (mul_nonIEEE(R10f.z,R7f.z) + R7f.w); +R127f.y = (mul_nonIEEE(R1f.z,R7f.y) + R5f.y); +R127f.w = R7f.z + R7f.w; +tempResultf = log2(R1f.y); +if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F; +PS0f = tempResultf; +// 1 +backupReg0f = R0f.z; +R123f.x = (mul_nonIEEE(R10f.x,R2f.y) + R4f.y); +PV1f.x = R123f.x; +R126f.y = R2f.y + R4f.y; +PV1f.z = mul_nonIEEE(backupReg0f, R9f.y); +R125f.w = mul_nonIEEE(PS0f, intBitsToFloat(uf_remappedPS[10].w)); +R127f.x = R4f.z + R8f.x; +PS1f = R127f.x; +// 2 +R123f.x = (mul_nonIEEE(R6f.y,PV1f.x) + R12f.x); +PV0f.x = R123f.x; +R123f.y = (mul_nonIEEE(R10f.y,R4f.z) + R8f.x); +PV0f.y = R123f.y; +R126f.z = mul_nonIEEE(R11f.w, R3f.y); +R126f.w = mul_nonIEEE(R11f.w, PV1f.z); +R125f.y = (mul_nonIEEE(R6f.y,R126f.x) + R12f.z); +PS0f = R125f.y; +// 3 +backupReg0f = R125f.w; +R126f.x = (mul_nonIEEE(R127f.y,intBitsToFloat(uf_remappedPS[6].x)) + intBitsToFloat(uf_remappedPS[11].x)); +R124f.y = (R4f.w * intBitsToFloat(0x40a00000) + PV0f.x); +R123f.z = (mul_nonIEEE(R6f.y,PV0f.y) + R12f.y); +PV1f.z = R123f.z; +R125f.w = (mul_nonIEEE(R127f.y,intBitsToFloat(uf_remappedPS[6].y)) + intBitsToFloat(uf_remappedPS[11].y)); +R125f.z = exp2(backupReg0f); +PS1f = R125f.z; +// 4 +backupReg0f = R127f.y; +R124f.x = (R126f.z * intBitsToFloat(0x40a00000) + R125f.y); +R127f.y = (mul_nonIEEE(R6f.y,R127f.w) + R12f.z); +R123f.z = (mul_nonIEEE(backupReg0f,intBitsToFloat(uf_remappedPS[6].z)) + intBitsToFloat(uf_remappedPS[11].z)); +PV0f.z = R123f.z; +R127f.w = (R126f.w * intBitsToFloat(0x40a00000) + PV1f.z); +// 5 +backupReg0f = R125f.z; +R123f.x = (mul_nonIEEE(R125f.z,intBitsToFloat(uf_remappedPS[10].y)) + R125f.w); +PV1f.x = R123f.x; +R123f.y = (mul_nonIEEE(R125f.z,intBitsToFloat(uf_remappedPS[10].x)) + R126f.x); +PV1f.y = R123f.y; +R125f.z = (mul_nonIEEE(R6f.y,R126f.y) + R12f.x); +R123f.w = (mul_nonIEEE(backupReg0f,intBitsToFloat(uf_remappedPS[10].z)) + PV0f.z); +PV1f.w = R123f.w; +R126f.y = (mul_nonIEEE(R6f.y,R127f.x) + R12f.y); +PS1f = R126f.y; +// 6 +backupReg0f = R127f.y; +R127f.x = -(R124f.x) + PV1f.w; +R127f.y = -(R127f.w) + PV1f.x; +PV0f.z = -(R124f.y) + PV1f.y; +PS0f = backupReg0f * intBitsToFloat(0x3e2aaac1); +// 7 +tempf.x = dot(vec4(R125f.z,R126f.y,PS0f,-0.0),vec4(intBitsToFloat(0x3e2aaac1),intBitsToFloat(0x3e2aaac1),1.0,0.0)); +PV1f.x = tempf.x; +PV1f.y = tempf.x; +PV1f.z = tempf.x; +PV1f.w = tempf.x; +R12f.w = tempf.x; +R13f.x = (mul_nonIEEE(PV0f.z,R0f.w) + R124f.y); +PS1f = R13f.x; +// 8 +R13f.y = (mul_nonIEEE(R127f.y,R0f.w) + R127f.w); +R13f.z = (mul_nonIEEE(R127f.x,R0f.w) + R124f.x); +// 9 +R1f.xyz = vec3(R12f.x,R12f.y,R12f.z); +R1f.w = R12f.w; +// 10 +R0f.xyz = vec3(R13f.x,R13f.y,R13f.z); +R0f.w = R13f.w; +// export +passPixelColor0 = vec4(R0f.x, R0f.y, R0f.z, R0f.w)*glare; //reduce glare +passPixelColor1 = vec4(R1f.x, R1f.y, R1f.z, R1f.w); +} diff --git a/Workaround/XenobladeX_AdjustableBrightness/d936195db0dd8e7d_0000000000001e52_ps.txt b/Workarounds/XenobladeX_AdjustableBrightnessNvidia/d936195db0dd8e7d_0000000000001e52_ps.txt similarity index 100% rename from Workaround/XenobladeX_AdjustableBrightness/d936195db0dd8e7d_0000000000001e52_ps.txt rename to Workarounds/XenobladeX_AdjustableBrightnessNvidia/d936195db0dd8e7d_0000000000001e52_ps.txt diff --git a/Workarounds/XenobladeX_AdjustableBrightnessNvidia/rules.txt b/Workarounds/XenobladeX_AdjustableBrightnessNvidia/rules.txt new file mode 100644 index 00000000..f81b9f7b --- /dev/null +++ b/Workarounds/XenobladeX_AdjustableBrightnessNvidia/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = Brightness workaround Nvida +path = "Xenoblade Chronicles X/Workaround/NVIDIA Brightness Workaround" +description = Slightly less overbright/dark. Edit shader for preference. +version = 3 \ No newline at end of file diff --git a/build.sh b/build.sh deleted file mode 100755 index 6c1f25e4..00000000 --- a/build.sh +++ /dev/null @@ -1,245 +0,0 @@ -#!/bin/bash -BGREEN='\033[1;32m' -GREEN='\033[0;32m' -BCYAN='\033[1;36m' -RED='\033[0;31m' - -NC='\033[0m' # Removes Color - -echo -e "${RED}Building $buildType resolutions of the graphic packs.\n" - -baseOutDir=$1 -if [ -n "$baseOutDir" ]; then - if [ ! -d "$baseOutDir" ]; then - echo -e "${GREEN}Making base output directory ${BGREEN}$baseOutDir\n" - mkdir "$baseOutDir" - fi -fi - -build_dir () { - srcDir=$1 - dstDir=$2 - if [ -n "$baseOutDir" ]; then - dstDir="$baseOutDir/$dstDir" - fi - params=( "$@" ) - rest=( "${params[@]:2}" ) - - if [ ! -d "$dstDir" ]; then - mkdir -p "$dstDir" - else - rm "$dstDir"/*.txt - fi - - for f in "$srcDir"/*.txt - do - filename=`basename $f` - outName="$dstDir/$filename" - echo -e "\t${GREEN}[PHP] ${NC}Exec $f to $outName with params ${rest[@]}" - php "$f" "${rest[@]}" > "$outName" - - if [ $? -ne 0 ]; then - rm "$outName" - fi - done -} - -res_144p=( "Performance" 256 144 ) -res_240p=( "Performance" 426 240 ) -res_360p489=( "Performance" 1920 360 ) -res_360p=( "Performance" 640 360 ) -res_420p=( "Performance" 854 480 ) -res_480p489=( "Performance" 2562 480 ) -res_480p=( "Performance" 854 480 ) -res_540p219=( "Performance" 1280 540 ) -res_540p489=( "Performance" 2880 540 ) -res_540p=( "Performance" 960 540 ) -res_720p219=( "Performance" 1706 720 ) -res_720p489=( "Performance" 3840 720 ) -res_720p=( "Performance" 1280 720 ) -res_768p=( "Quality" 1366 768 ) -res_900p219=( "Quality" 2100 900 ) -res_900p489=( "Quality" 4800 900 ) -res_900p=( "Quality" 1600 900 ) -res_1080p219=( "Quality" 2560 1080 ) -res_1080p489=( "Quality" 5760 1080 ) -res_1080p=( "Quality" 1920 1080 ) -res_1440p219=( "Quality" 3440 1440 ) -res_1440p489=( "Quality" 7680 1440 ) -res_1440p=( "Quality" 2560 1440 ) -res_1536p=( "Quality" 2732 1536 ) -res_1800p219=( "Quality" 4200 1800 ) -res_1800p489=( "Quality" 9600 1800 ) -res_1800p=( "Quality" 3200 1800 ) -res_2160p219=( "Quality" 5120 2160 ) -res_2160p489=( "Quality" 11520 2160 ) -res_2160p=( "Quality" 3840 2160 ) -res_2880p219=( "Enthusiast" 6880 2880 ) -res_2880p489=( "Enthusiast" 15360 2880 ) -res_2880p=( "Enthusiast" 5120 2880 ) -res_4320p219=( "Enthusiast" 10240 4320 ) -res_4320p489=( "Enthusiast" 23040 4320 ) -res_4320p=( "Enthusiast" 7680 4320 ) -res_5760p219=( "Enthusiast" 13760 5760 ) -res_5760p489=( "Enthusiast" 30720 5760 ) -res_5760p=( "Enthusiast" 10240 5760 ) - -std_respack () { - gameName=$1 - params=( "$@" ) - rest=( "${params[@]:1}" ) - echo -e "travis_fold:start:$gameName" - echo -e "${GREEN}[Building] ${BCYAN}$gameName ${NC}for ${rest[@]}" - for arrg in "${rest[@]}" - do - resvarname="res_${arrg}[@]" - if [ -v "$resvarname" ]; then - resdata=( "${!resvarname}" ) - prefix="${resdata[0]}" - subparams=( "${resdata[@]:1}" ) - - inFolder="Source/$gameName" - outFolder="${gameName}_${arrg}" - if [ -n "$prefix" ]; then - outFolder="$prefix/$outFolder" - fi - - #width="${subparams[0]}" - #height="${subparams[1]}" - #echo "$arrg w: $width h: $height inFolder: $inFolder outFolder: $outFolder" - build_dir "$inFolder" "$outFolder" "${subparams[@]}" - elif [ -n "$arrg" ]; then #only if requested resolution name not empty (which happens when you remove array elem naively) - echo -e "${RED}$arrg resolution not defined, define it in build.sh" - exit 1 - fi - done - echo -e "travis_fold:end:$gameName" -} - -mod_onearg () { - params=( "$@" ) - subparams=( "${params[@]:1}" ) - mod_folder="${params[0]}" - echo -e "travis_fold:start:$mod_folder" - echo -e "${GREEN}[Building] ${BCYAN}$mod_folder ${NC}with arguments: ${subparams[@]}" - for arrg in "${subparams[@]}" - do - inFolder="Source/$mod_folder" - - outFolder="Modifications/${mod_folder}_${arrg}" - - #echo "${arrg} inFolder: $inFolder outFolder: $outFolder" - build_dir "$inFolder" "$outFolder" "$arrg" - done - echo -e "travis_fold:end:$mod_folder" -} - -if [ "$buildType" = "Common" ]; then - res16by9=( "480p" "720p" "900p" "1080p" "1440p" "2160p" "2880p" ) - res21by9=( "720p219" "1080p219" "1440p219" "2160p219" "2880p219" ) - just720p=( "720p" ) - just1080p=( "1080p" ) - else - res16by9=( "144p" "240p" "360p" "420p" "480p" "540p" "720p" "768p" "900p" "1080p" "1440p" "1536p" "1800p" "2160p" "2880p" "4320p" "5760p" ) - res21by9=( "540p219" "720p219" "900p219" "1080p219" "1440p219" "1800p219" "2160p219" "2880p219" "4320p219" "5760p219" ) - res48by9=( "360p489" "480p489" "540p489" "720p489" "900p489" "1080p489" "1440p489" "1800p489" "2160p489" "2880p489" "4320p489" "5760p489" ) - just720p=( "720p" ) - just1080p=( "1080p" ) -fi - -std_respack "AdventureTimeEtDBIDK" "${res16by9[@]/$just1080p}" -std_respack "AdventureTimeFJI" "${res16by9[@]/$just720p}" -std_respack "AmiiboFestival" "${res16by9[@]/$just720p}" -std_respack "AquaTV" "${res16by9[@]/$just720p}" -std_respack "BatmanArkham" "${res16by9[@]/$just720p}" -std_respack "Bayonetta" "${res16by9[@]/$just720p}" -std_respack "Bayonetta2" "${res16by9[@]/$just720p}" -std_respack "Ben10Omniverse" "${res16by9[@]/$just720p}" -std_respack "BreathOfTheWild" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "Brunswick" "${res16by9[@]/$just720p}" -std_respack "CaptainToad" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "Chariot" "${res16by9[@]/$just720p}" -std_respack "ChimpuzzlePro" "${res16by9[@]/$just720p}" -std_respack "ChompyChompChompParty" "${res16by9[@]/$just720p}" -std_respack "CitizensOfEarth" "${res16by9[@]/$just720p}" -std_respack "ColorSplash" "${res16by9[@]/$just720p}" -std_respack "DevilsThird" "${res16by9[@]/$just720p}" -std_respack "DuckTalesRemastered" "${res16by9[@]/$just1080p}" -std_respack "ElectronicSuperJoyGrooveCity" "${res16by9[@]/$just1080p}" -std_respack "FASTRacingNEO" "${res16by9[@]/$just720p}" -std_respack "FamilyTennisSP" "${res16by9[@]/$just720p}" -std_respack "FistoftheNorthStar" "${res16by9[@]/$just720p}" -std_respack "FrenchyBird" "${res16by9[@]/$just720p}" -std_respack "GhostBladeHD" "${res16by9[@]/$just720p}" -std_respack "GhostlyAdventures" "${res16by9[@]/$just720p}" -std_respack "GhostlyAdventures2" "${res16by9[@]/$just720p}" -std_respack "GianaSistersTwistedDreams" "${res16by9[@]/$just720p}" -std_respack "Guacamelee" "${res16by9[@]/$just720p}" -std_respack "HyruleWarriors" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "InfinityRunner" "${res16by9[@]/$just720p}" -std_respack "KamenRider" "${res16by9[@]/$just720p}" -std_respack "KickandFennick" "${res16by9[@]/$just720p}" -std_respack "KirbyRainbowCurse" "${res16by9[@]/$just720p}" -std_respack "KungFuPanda" "${res16by9[@]/$just720p}" -std_respack "LEGOCityUndercover" "${res16by9[@]/$just720p}" -std_respack "MarioKart8" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "MarioSonicRio" "${res16by9[@]/$just720p}" -std_respack "MarioSonicSochi" "${res16by9[@]/$just720p}" -std_respack "MarioTennis" "${res16by9[@]/$just720p}" -std_respack "MarioParty10" "${res16by9[@]/$just720p}" -std_respack "Minecraft" "${res16by9[@]/$just720p}" -std_respack "MinecraftStory" "${res16by9[@]/$just720p}" -std_respack "MonsterHunter3Ultimate" "${res16by9[@]/$just1080p}" -std_respack "NBA2K13" "${res16by9[@]/$just720p}" -std_respack "NewSuperMarioBrosU" "${res16by9[@]/$just720p}" -std_respack "NinjaGaiden3RE" "${res16by9[@]/$just720p}" -std_respack "NintendoLand" "${res16by9[@]/$just720p}" -std_respack "OnePiece" "${res16by9[@]/$just720p}" -std_respack "PaperMonstersRecut" "${res16by9[@]/$just720p}" -std_respack "PhineasFerb" "${res16by9[@]/$just720p}" -std_respack "Pikmin3" "${res16by9[@]/$just720p}" -std_respack "PokkenTournament" "${res16by9[@]/$just720p}" -std_respack "ProjectZero" "${res16by9[@]/$just720p}" -std_respack "PuyoPuyoTetris" "${res16by9[@]/$just1080p}" -std_respack "RiseOfLyric" "${res16by9[@]/$just720p}" -std_respack "Runner2" "${res16by9[@]/$just720p}" -std_respack "SanatoryHallways" "${res16by9[@]/$just720p}" -std_respack "ScribblenautsUnlimited" "${res16by9[@]/$just720p}" -std_respack "ScribblenautsUnmasked" "${res16by9[@]/$just720p}" -std_respack "Severed" "${res16by9[@]/$just720p}" -std_respack "ShantaeHGH" "${res16by9[@]/$just1080p}" -std_respack "ShovelKnight" "${res16by9[@]/$just1080p}" -std_respack "Smurfs2" "${res16by9[@]/$just1080p}" -std_respack "SonicLostWorld" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "Splatoon" "${res16by9[@]/$just720p}" "${res21by9[@]}" -std_respack "SpongeBob" "${res16by9[@]/$just720p}" -std_respack "StarFoxGuard" "${res16by9[@]/$just720p}" -std_respack "StarFoxZero" "${res16by9[@]/$just720p}" -std_respack "SuperMario3DWorld" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "SuperMarioMaker" "${res16by9[@]/$just720p}" -std_respack "SuperSmashBros" "${res16by9[@]/$just1080p}" -std_respack "TNTRacers" "${res16by9[@]/$just1080p}" -std_respack "TaikoNoTatsujin" "${res16by9[@]/$just720p}" -std_respack "Tekken" "${res16by9[@]/$just720p}" -std_respack "Tengami" "${res16by9[@]/$just720p}" -std_respack "TokyoMirage" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "TropicalFreeze" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "TurboSuperStuntSquad" "${res16by9[@]/$just720p}" -std_respack "TwilightPrincessHD" "${res16by9[@]/$just1080p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "WarriorsOrochi3" "${res16by9[@]/$just720p}" -std_respack "WiiUBIOS" "${res16by9[@]/$just720p}" -std_respack "WindWakerHD" "${res16by9[@]/$just1080p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "Wipeout3" "${res16by9[@]/$just720p}" -std_respack "WipeoutCreate" "${res16by9[@]/$just720p}" -std_respack "Wonderful101" "${res16by9[@]/$just720p}" -std_respack "WoollyWorld" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" -std_respack "WorldOfKeflings" "${res16by9[@]/$just720p}" -std_respack "XenobladeX" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" - -if [ "$buildType" = "Common" ]; then - mod_onearg "BreathOfTheWild_StaticFPS" 30 45 60 - else - mod_onearg "BreathOfTheWild_StaticFPS" 15 20 30 40 45 50 60 75 120 -fi - -echo -e "${NC}" diff --git a/docs/.gitattributes b/docs/.gitattributes new file mode 100644 index 00000000..c1d2ba2b --- /dev/null +++ b/docs/.gitattributes @@ -0,0 +1,48 @@ +# Define standard eol format + +# Web Files +*.html text eol=lf +*.md text eol=lf +*.css text eol=lf +*.js text eol=lf + +# Jekyll related files +*.yml text eol=lf + +# Git related files +.gittattributes text eol=lf +.gitignore text eol=lf +.gitkeep text eol=lf + +# Ruby files +*.rb text eol=lf +Gemfile text eol=lf +Gemfile.lock text eol=lf + +# Github specific fies +LICENCE text eol=lf + +# Docker specific files +Dockerfile text eol=lf + +# VSCode files +*.json text eol=lf + +# General multimedia files +*.jpg binary +*.jpeg binary +*.gif binary +*.png binary +*.t3x binary +*.t3d binary +*.exe binary +*.data binary +*.ttf binary +*.eof binary +*.eot binary +*.swf binary +*.mov binary +*.mp4 binary +*.mp3 binary +*.ogg binary +*.flv binary diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 00000000..72e4fbb8 --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,9 @@ +# project +_site +.sass-cache +.vagrant + +# general +.DS_Store +Thumbs.db +ehthumbs.db \ No newline at end of file diff --git a/docs/404.html b/docs/404.html new file mode 100644 index 00000000..012e1533 --- /dev/null +++ b/docs/404.html @@ -0,0 +1,13 @@ +--- +layout: default +title: 404 - Page not found +permalink: /404.html +--- + +
+

Whoops, this page doesn't exist.

+

Move along. (404 error)

+
+ + +
diff --git a/docs/Dockerfile b/docs/Dockerfile new file mode 100644 index 00000000..45c8cf15 --- /dev/null +++ b/docs/Dockerfile @@ -0,0 +1,8 @@ +FROM jekyll/jekyll + +COPY Gemfile . +COPY Gemfile.lock . + +RUN bundle install --quiet --clean + +CMD ["jekyll", "serve"] diff --git a/docs/Gemfile b/docs/Gemfile new file mode 100644 index 00000000..13b570db --- /dev/null +++ b/docs/Gemfile @@ -0,0 +1,9 @@ +source 'https://rubygems.org' + +gem "github-pages", '163', group: :jekyll_plugins + +# enable tzinfo-data for local build +# gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw] +gem 'jekyll-paginate' + +# gem 'wdm', '>= 0.1.0' if Gem.win_platform? diff --git a/docs/LICENSE b/docs/LICENSE new file mode 100644 index 00000000..72fab4a3 --- /dev/null +++ b/docs/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Dean Attali + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 00000000..c770ec02 --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1,214 @@ +# --- General options --- # + +title: Cemu Graphic Packs +description: Largest graphic packs source for Cemu that modify or scale games. + +# --- Navigation bar options --- # +navbar-links: + #Installation: "installation" + Resources: + #- FAQ: "frequently-asked-questions" + - How to make graphic packs: "https://github.com/slashiee/cemu_graphic_packs/wiki/How-to-create-resolution-packs" + Contribute!: "https://github.com/slashiee/cemu_graphic_packs" + +# Image to show in the navigation bar - image must be a square (width = height) +# Remove this parameter if you don't want an image in the navbar +# avatar: "/img/avatar-icon.png" + +# If you want to have an image logo in the top-left corner instead of the title text, +# then specify the following parameter +# title-img: /path/to/image + +# --- Background colour/image options --- # + +# Dark-themed? +# navbar-col: "#1f1f1f" +# navbar-text-col: "#bfbfbf" +# navbar-children-col: "#333" +# page-col: "#FFFFFF" +# link-col: "#008AFF" +# hover-col: "#0085A1" +# footer-col: "#222" +# footer-text-col: "#989898" +# footer-link-col: "#d2d2d2" + +# Or beige +navbar-col: "#d8d8d8" +navbar-text-col: "#404040" +navbar-children-col: "#F5F5F5" +page-col: "#bbbbbb" +link-col: "#008AFF" +hover-col: "#0085A1" +footer-col: "#d8d8d8" +footer-text-col: "#777777" +footer-link-col: "#404040" + +# Or just white +# navbar-col: "#F5F5F5" +# navbar-text-col: "#404040" +# navbar-children-col: "#F5F5F5" +# page-col: "#FFFFFF" +# link-col: "#008AFF" +# hover-col: "#0085A1" +# footer-col: "#F5F5F5" +# footer-text-col: "#777777" +# footer-link-col: "#404040" + + + + +# Alternatively, the navbar, footer, and page background can be set to use background images +# instead of colour + +# navbar-img: "/img/bgimage.png" +# footer-img: "/img/bgimage.png" +# page-img: "/img/bgimage.png" + +# --- Footer options --- # + +# Change all these values or delete the ones you don't want. +# Important: you must keep the "name" parameter, everything else you can remove +author: + name: Slashiee + awesome contributors + +# Select your active Social Network Links. +# Uncomment the links you want to show in the footer and add your information to each link. +# You can reorder the items to define the link order. +# If you want to add a new link that isn't here, you'll need to also edit the file _data/SocialNetworks.yml +social-network-links: +# rss: true +# email: "someone@example.com" +# facebook: daattali +# github: daattali +# twitter: daattali +# reddit: yourname +# google-plus: +DeanAttali +# linkedin: daattali +# xing: yourname +# stackoverflow: "3943160/daattali" +# snapchat: deanat78 +# instagram: deanat78 +# youtube: user/deanat78 +# spotify: yourname +# telephone: +14159998888 +# steam: deanat78 +# twitch: yourname +# yelp: yourname + +# Select which share links to show in posts +share-links-active: + twitter: false + facebook: false + google: false + linkedin: false + +# How to display the link to the website in the footer +# Remove this if you don't want a link in the footer +url-pretty: "slashiee.github.io/gfx_pack" + +# Excerpt Word Length +# Truncates the excerpt to the specified number of words on the index page +excerpt_length: 50 + +# Character used to separate site title and description in HTML document title +# and RSS feed title +title-separator: "-" + +# --- Don't need to touch anything below here (but you can if you want) --- # + +# Output options (more information on Jekyll's site) +markdown: kramdown +highlighter: rouge +permalink: /:year-:month-:day-:title/ +paginate: 5 + +kramdown: + input: GFM + +# Default YAML values (more information on Jekyll's site) +defaults: + - + scope: + path: "" + type: "posts" + values: + layout: "post" + comments: false + social-share: false + - + scope: + path: "" # all files + values: + layout: "page" + show-avatar: true + +# Use tags index page and make tags on each post clickable +link-tags: true + +# Exclude these files from production site +exclude: + - CHANGELOG.md + - CNAME + - Dockerfile + - Gemfile + - Gemfile.lock + - LICENSE + - README.md + - Vagrantfile + - watch_local.bat + +# prose.io config +prose: + rooturl: '_posts' + media: 'img' + ignore: + - 404.html + - LICENSE + - feed.xml + - _config.yml + - /_layouts + - /_includes + - /css + - /img + - /js + metadata: + _posts: + - name: "layout" + field: + element: "hidden" + value: "post" + - name: "title" + field: + element: "text" + label: "Post title" + placeholder: "Title" + alterable: true + - name: "subtitle" + field: + element: "textarea" + label: "Subtitle" + placeholder: "A description of your post." + alterable: true + - name: "date" + field: + element: "text" + label: "Date" + help: "Enter date of post." + placeholder: "yyyy-mm-dd" + alterable: true + - name: "image" + field: + element: "text" + label: "Image" + help: "Add a thumbnail image to your post." + placeholder: "Thumbnail" + alterable: true + - name: "published" + field: + element: "checkbox" + label: "Publish" + help: "Check to publish post, uncheck to hide." + +plugins: + - jekyll-paginate + - jekyll-sitemap \ No newline at end of file diff --git a/docs/_data/GameTitles.yml b/docs/_data/GameTitles.yml new file mode 100644 index 00000000..14db9e85 --- /dev/null +++ b/docs/_data/GameTitles.yml @@ -0,0 +1,348 @@ +- title: "Adventure Time: Explore the Dungeon Because I DON’T KNOW" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/Adventure_Time:_Explore_the_Dungeon_Because_I_Don't_Know!" + version3: false +- title: "Adventure Time: Finn And Jake Investigations" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Adventure_Time:_Finn_And_Jake_Investigations" + version3: false +- title: "Animal Crossing: amiibo Festival" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Animal_Crossing:_Amiibo_Festival" + version3: false +- title: "Aqua TV" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Aqua_TV" + version3: false +- title: "Batman: Arkham City Armored Edition" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Batman:_Arkham_City_Armored_Edition" + version3: false +- title: "Bayonetta 2" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Bayonetta_2" + version3: true +- title: "Bayonetta" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Bayonetta" + version3: false +- title: "Ben 10 Omniverse" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Ben_10:_Omniverse" + version3: false +- title: "BIT.TRIP Presents… Runner2: Future Legend of Rhythm Alien" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/BIT.TRIP_Presents..._Runner2:_Future_Legend_of_Rhythm_Alien" + version3: false +- title: "Brunswick Pro Bowling" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Brunswick_Pro_Bowling" + version3: false +- title: "Captain Toad: Treasure Tracker" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Captain_Toad:_Treasure_Tracker" + version3: true +- title: "Chariot" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Chariot" + version3: false +- title: "Chimpuzzle Pro" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/Chimpuzzle_Pro" + version3: false +- title: "Chompy Chomp Chomp Party" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Chompy_Chomp_Chomp_Party" + version3: false +- title: "Citizens Of Earth" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Citizens_of_Earth" + version3: false +- title: "Devil’s Third" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Chariot" + version3: false +- title: "Donkey Kong Country: Tropical Freeze" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Donkey_Kong_Country:_Tropical_Freeze" + version3: true +- title: "DuckTales Remastered" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/DuckTales_Remastered" + version3: false +- title: "Electronic Super Joy: Groove City" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/Electronic_Super_Joy:_Groove_City" + version3: false +- title: "FAST Racing NEO" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Fast_Racing_Neo" + version3: true +- title: "Family Tennis SP" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Family_Tennis_SP" + version3: false +- title: "Fist of the North Star - Ken’s Rage 2" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Fist_of_the_North_Star:_Ken's_Rage_2" + version3: false +- title: "Frenchy Bird" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Frenchy_Bird" + version3: false +- title: "Ghost Blade HD" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Ghost_Blade_HD" + version3: false +- title: "Giana Sisters: Twisted Dreams" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Giana_Sisters:_Twisted_Dreams" + version3: false +- title: "Guacamelee! Super Turbo Championship Edition" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Guacamelee:_Super_Turbo_Championship_Edition" + version3: false +- title: "Hyrule Warriors" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Hyrule_Warriors" + version3: false +- title: "Infinity Runner" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Infinity_Runner" + version3: false +- title: "Kamen Rider - Battride War II" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Kamen_Rider:_Battride_War_II" + version3: false +- title: "Kick and Fennick" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Kick_and_Fennick" + version3: false +- title: "Kirby and the Rainbow Curse" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Kirby_and_the_Rainbow_Curse" + version3: false +- title: "Kung Fu Panda: Showdown of Legendary Legends" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Kung_Fu_Panda:_Showdown_of_Legendary_Legends" + version3: false +- title: "LEGO City Undercover" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/LEGO_City_Undercover" + version3: false +- title: "Mario Party 10" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Mario_Party_10" + version3: false +- title: "Mario & Sonic at the Rio 2016 Olympic Games" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Mario_&_Sonic_at_the_Rio_2016_Olympic_Games" + version3: true +- title: "Mario & Sonic at the Sochi 2014 Olympic Winter Games" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Mario_&_Sonic_at_the_Sochi_2014_Olympic_Winter_Games" + version3: false +- title: "Mario Kart 8" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Mario_Kart_8" + version3: true +- title: "Mario Tennis: Ultra Smash" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Mario_Tennis:_Ultra_Smash" + version3: false +- title: "Minecraft: Story Mode" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Minecraft:_Story_Mode" + version3: false +- title: "Minecraft: Wii U Edition" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Minecraft:_Wii_U_Edition" + version3: false +- title: "Monster Hunter 3 Ultimate" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/Monster_Hunter_3_Ultimate" + version3: true +- title: "NBA 2K13" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/NBA_2K13" + version3: false +- title: "New Super Luigi U" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/New_Super_Luigi_U" + version3: false +- title: "New Super Mario Bros. U" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/New_Super_Mario_Bros._U" + version3: false +- title: "Ninja Gaiden 3: Razor’s Edge" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Ninja_Gaiden_3:_Razor's_Edge" + version3: true +- title: "Nintendo Land" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Nintendo_Land" + version3: true +- title: "One Piece: Unlimited World Red" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/One_Piece:_Unlimited_World_Red" + version3: false +- title: "PAC-MAN & the Ghostly Adventures" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Pac-Man_and_the_Ghostly_Adventures_1" + version3: false +- title: "PAC-MAN & the Ghostly Adventures 2" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Pac-Man_and_the_Ghostly_Adventures_2" + version3: false +- title: "Paper Mario: Color Splash" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Paper_Mario:_Color_Splash" + version3: false +- title: "Paper Monsters Recut" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Paper_Monsters_Recut" + version3: false +- title: "Phineas and Ferb: Quest for Cool Stuff" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Phineas_and_Ferb:_Quest_for_Cool_Stuff" + version3: false +- title: "Pikmin 3" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Pikmin_3" + version3: false +- title: "Pokkén Tournament" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Pokk%C3%A9n_Tournament" + version3: true +- title: "Project Zero: Maiden of Black Water" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Project_Zero:_Maiden_of_Black_Water" + version3: false +- title: "Puyo Puyo Tetris" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/Puyo_Puyo_Tetris" + version3: false +- title: "Sanatory Hallways" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Sanatory_Hallways" + version3: false +- title: "Scribblenauts Unlimited" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Scribblenauts_Unlimited" + version3: false +- title: "Scribblenauts Unmasked: A DC Comics Adventure" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Scribblenauts_Unmasked:_A_DC_Comics_Adventure" + version3: false +- title: "Severed" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Severed" + version3: false +- title: "Shantae: Half-Genie Hero" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/Shantae:_Half-Genie_Hero" + version3: false +- title: "Shovel Knight" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/Shovel_Knight:_Plauge_of_Shadows" + version3: false +- title: "The Smurfs 2" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/The_Smurfs_2" + version3: false +- title: "Sonic Boom: Rise of Lyric" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Sonic_Boom:_Rise_of_Lyric" + version3: false +- title: "Sonic Lost World" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Sonic_Lost_World" + version3: false +- title: "Splatoon" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Splatoon" + version3: true +- title: "SpongeBob SquarePants: Plankton’s Robotic Revenge" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Spongebob_Squarepants:_Plankton's_Robotic_Revenge" + version3: false +- title: "Star Fox Guard" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Star_Fox_Guard" + version3: false +- title: "Star Fox Zero" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Star_Fox_Zero" + version3: false +- title: "Super Mario 3D World" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Super_Mario_3D_World" + version3: true +- title: "Super Mario Maker" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Super_Mario_Maker" + version3: true +- title: "Super Smash Bros. for Wii U" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/Super_Smash_Bros._U" + version3: true +- title: "TNT Racers Nitro Machines Edition" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/TNT_Racers_Nitro_Machines_Edition" + version3: false +- title: "Taiko no Tatsujin: Atsumete Tomodachi Daisakusen" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Taiko_no_Tatsujin:_Atsumete_Tomodachi_Daisakusen" + version3: false +- title: "Tekken Tag Tournament 2: Wii U Edition" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Tekken_Tag_Tournament_2" + version3: false +- title: "Tengami" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Tengami" + version3: false +- title: "The Legend of Zelda: Breath of the Wild" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/The_Legend_of_Zelda:_Breath_of_the_Wild" + version3: true +- title: "The Legend of Zelda: The Wind Waker HD" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/The_Legend_of_Zelda:_The_Wind_Waker_HD" + version3: true +- title: "The Legend of Zelda: Twilight Princess HD" + nativeRes: 1080 + compatLink: "http://compat.cemu.info/wiki/The_Legend_of_Zelda:_Twilight_Princess_HD" + version3: false +- title: "The Wonderful 101" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/The_Wonderful_101" + version3: true +- title: "Tokyo Mirage Sessions ♯FE" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Tokyo_Mirage_Sessions_#FE" + version3: true +- title: "Turbo: Super Stunt Squad" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Turbo:_Super_Stunt_Squad" + version3: false +- title: "Warriors Orochi 3 Hyper" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Warriors_Orochi_3_Hyper" + version3: false +- title: "Wipeout 3" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Wipeout_3" + version3: false +- title: "Wipeout Create & Crash" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Wipeout:_Create_&_Crash" + version3: false +- title: "Xenoblade Chronicles X" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Xenoblade_Chronicles_X" + version3: true +- title: "Yoshi’s Woolly World" + nativeRes: 720 + compatLink: "http://compat.cemu.info/wiki/Yoshi's_Woolly_World" + version3: false \ No newline at end of file diff --git a/docs/_data/SocialNetworks.yml b/docs/_data/SocialNetworks.yml new file mode 100644 index 00000000..d0a26350 --- /dev/null +++ b/docs/_data/SocialNetworks.yml @@ -0,0 +1,97 @@ +# You can define your custom social network links here. +# Use the same key you added in _config.yml -> social-network-links. +# In addition to that you need to specify the following properties: +# name: Specify a user-friendly name that will be used as a link title +# baseURL: Define a base URL which will be combined with the value of +# site.social-network-links. +# icon: Specify a valid fontawesome icon class + +facebook: + name: "Facebook" + baseURL: "https://www.facebook.com/" + icon: "fa-facebook" + +github: + name: "GitHub" + baseURL: "https://github.com/" + icon: "fa-github" + +twitter: + name: "Twitter" + baseURL: "https://twitter.com/" + icon: "fa-twitter" + +reddit: + name: "Reddit" + baseURL: "https://reddit.com/u/" + icon: "fa-reddit" + +google-plus: + name: "Google+" + baseURL: "https://plus.google.com/" + icon: "fa-google-plus" + +email: + name: "Email me" + baseURL: "mailto:" + icon: "fa-envelope" + +linkedin: + name: "LinkedIn" + baseURL: "https://linkedin.com/in/" + icon: "fa-linkedin" + +xing: + name: "Xing" + baseURL: "https://www.xing.com/profile/" + icon: "fa-xing" + +stackoverflow: + name: "StackOverflow" + baseURL: "https://stackoverflow.com/users/" + icon: "fa-stack-overflow" + +snapchat: + name: "Snapchat" + baseURL: "https://www.snapchat.com/add/" + icon: "fa-snapchat-ghost" + +instagram: + name: "Instagram" + baseURL: "https://www.instagram.com/" + icon: "fa-instagram" + +youtube: + name: "YouTube" + baseURL: "https://www.youtube.com/" + icon: "fa-youtube" + +spotify: + name: "Spotify" + baseURL: "https://open.spotify.com/user/" + icon: "fa-spotify" + +telephone: + name: "Phone" + baseURL: "tel:" + icon: "fa-phone" + +rss: + name: "RSS" + baseURL: "{{ '/feed.xml' | prepend: site.baseurl }}" + icon: "fa-rss" + +steam: + name: "Steam" + baseURL: "https://steamcommunity.com/id/" + icon: "fa-steam" + +twitch: + name: "Twitch" + baseURL: "https://www.twitch.tv/" + icon: "fa-twitch" + +yelp: + name: "Yelp" + baseURL: "https://{{ site.author.yelp }}.yelp.com" + icon: "fa-yelp" diff --git a/docs/_includes/disqus.html b/docs/_includes/disqus.html new file mode 100644 index 00000000..dd80975c --- /dev/null +++ b/docs/_includes/disqus.html @@ -0,0 +1,17 @@ +{%- if site.disqus -%} +
+
+ + +
+{%- endif -%} diff --git a/docs/_includes/ext-css.html b/docs/_includes/ext-css.html new file mode 100644 index 00000000..9e2f5220 --- /dev/null +++ b/docs/_includes/ext-css.html @@ -0,0 +1,7 @@ +{% if include.css.sri %} + +{% elsif include.css.href %} + +{% else %} + +{% endif %} \ No newline at end of file diff --git a/docs/_includes/ext-js.html b/docs/_includes/ext-js.html new file mode 100644 index 00000000..3738ef2c --- /dev/null +++ b/docs/_includes/ext-js.html @@ -0,0 +1,7 @@ +{% if include.js.sri %} + +{% elsif include.js.href %} + +{% else %} + +{% endif %} diff --git a/docs/_includes/fb-comment.html b/docs/_includes/fb-comment.html new file mode 100644 index 00000000..8b47a2b6 --- /dev/null +++ b/docs/_includes/fb-comment.html @@ -0,0 +1,14 @@ +{%- if site.fb_comment_id -%} +
+
+ +
+ +
+{%- endif -%} diff --git a/docs/_includes/footer-minimal.html b/docs/_includes/footer-minimal.html new file mode 100644 index 00000000..d8d3b419 --- /dev/null +++ b/docs/_includes/footer-minimal.html @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/docs/_includes/footer-scripts.html b/docs/_includes/footer-scripts.html new file mode 100644 index 00000000..537e9cc8 --- /dev/null +++ b/docs/_includes/footer-scripts.html @@ -0,0 +1,32 @@ +{% if layout.common-ext-js %} + {% for js in layout.common-ext-js %} + {% include ext-js.html js=js %} + {% endfor %} +{% endif %} + +{% if page.ext-js %} + {% for js in page.ext-js %} + {% include ext-js.html js=js %} + {% endfor %} +{% endif %} + +{% if page.js %} + {% for js in page.js %} + + {% endfor %} +{% endif %} + +{% if layout.common-js %} + {% for js in layout.common-js %} + + {% if js contains 'jquery' %} + + {% else %} + + {% endif %} + {% endfor %} +{% endif %} diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html new file mode 100644 index 00000000..480c2927 --- /dev/null +++ b/docs/_includes/footer.html @@ -0,0 +1,51 @@ + diff --git a/docs/_includes/google_analytics.html b/docs/_includes/google_analytics.html new file mode 100644 index 00000000..eb9b7ddb --- /dev/null +++ b/docs/_includes/google_analytics.html @@ -0,0 +1,12 @@ +{% if site.google_analytics %} + + + +{% endif %} \ No newline at end of file diff --git a/docs/_includes/gtag.html b/docs/_includes/gtag.html new file mode 100644 index 00000000..a7f49882 --- /dev/null +++ b/docs/_includes/gtag.html @@ -0,0 +1,11 @@ +{% if site.gtag %} + + + +{% endif %} diff --git a/docs/_includes/gtm_body.html b/docs/_includes/gtm_body.html new file mode 100644 index 00000000..0d9ae022 --- /dev/null +++ b/docs/_includes/gtm_body.html @@ -0,0 +1,6 @@ +{% if site.gtm %} + + + +{% endif %} \ No newline at end of file diff --git a/docs/_includes/gtm_head.html b/docs/_includes/gtm_head.html new file mode 100644 index 00000000..ded5d417 --- /dev/null +++ b/docs/_includes/gtm_head.html @@ -0,0 +1,9 @@ +{% if site.gtm %} + + + +{% endif %} \ No newline at end of file diff --git a/docs/_includes/head.html b/docs/_includes/head.html new file mode 100644 index 00000000..74a0c16c --- /dev/null +++ b/docs/_includes/head.html @@ -0,0 +1,126 @@ + + + + + + {% if page.use-site-title %}{{ site.title }} {{ site.title-separator }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} + + + + {% if page.subtitle %} + + {% endif %} + + + + {% include gtag.html %} + {% include gtm_head.html %} + {% include google_analytics.html %} + + {% if layout.common-ext-css %} + {% for css in layout.common-ext-css %} + {% include ext-css.html css=css %} + {% endfor %} + {% endif %} + + {% if layout.common-css %} + {% for css in layout.common-css %} + + {% endfor %} + {% endif %} + + {% if layout.common-googlefonts %} + {% for font in layout.common-googlefonts %} + + {% endfor %} + {% endif %} + + {% if page.ext-css %} + {% for css in page.ext-css %} + {% include ext-css.html css=css %} + {% endfor %} + {% endif %} + + {% if page.css %} + {% for css in page.css %} + + {% endfor %} + {% endif %} + + {% if page.googlefonts %} + {% for font in page.googlefonts %} + + {% endfor %} + {% endif %} + + + {% if site.fb_app_id %} + + {% endif %} + + {% if page.meta-title %} + + {% elsif page.title %} + + {% else %} + + {% endif %} + + {% if page.meta-description %} + + {% elsif page.subtitle %} + + {% else %} + + {% endif %} + + + + + {% if page.id %} + + + {% else %} + + + {% endif %} + + {% if page.share-img %} + + {% elsif site.avatar %} + + {% endif %} + + + + + + + + {% if page.meta-title %} + + {% elsif page.title %} + + {% else %} + + {% endif %} + + {% if page.meta-description %} + + {% elsif page.subtitle %} + + {% else %} + + {% endif %} + + {% if page.share-img %} + + {% elsif site.avatar %} + + {% endif %} + + {% if site.matomo %} + {% include matomo.html %} + {% endif %} + + diff --git a/docs/_includes/header.html b/docs/_includes/header.html new file mode 100644 index 00000000..cc21bd35 --- /dev/null +++ b/docs/_includes/header.html @@ -0,0 +1,76 @@ + + +{% if page.bigimg or page.title %} + +{% if page.bigimg %} +
+{% endif %} + +
+{% if page.bigimg %} +
+
+
+
+
+

{% if page.title %}{{ page.title }}{% else %}
{% endif %}

+ {% if page.subtitle %} + {% if include.type == "page" %} +
+ {{ page.subtitle }} + {% else %} +

{{ page.subtitle }}

+ {% endif %} + {% endif %} + + {% if include.type == "post" %} + + {% endif %} +
+
+
+
+ +
+{% endif %} +
+
+
+
+
+

{% if page.title %}{{ page.title }}{% else %}
{% endif %}

+ {% if page.subtitle %} + {% if include.type == "page" %} +
+ {{ page.subtitle }} + {% else %} +

{{ page.subtitle }}

+ {% endif %} + {% endif %} + + {% if include.type == "post" %} + + {% endif %} +
+
+
+
+
+
+ + +{% else %} +
+{% endif %} \ No newline at end of file diff --git a/docs/_includes/matomo.html b/docs/_includes/matomo.html new file mode 100644 index 00000000..e53a3eff --- /dev/null +++ b/docs/_includes/matomo.html @@ -0,0 +1,17 @@ +{% if site.matomo %} + + + +{% endif %} diff --git a/docs/_includes/nav.html b/docs/_includes/nav.html new file mode 100644 index 00000000..3e90137b --- /dev/null +++ b/docs/_includes/nav.html @@ -0,0 +1,59 @@ + diff --git a/docs/_includes/navbarlink.html b/docs/_includes/navbarlink.html new file mode 100644 index 00000000..f2646188 --- /dev/null +++ b/docs/_includes/navbarlink.html @@ -0,0 +1,16 @@ +{% capture before %}{{ include.link[1] | split: "://" | first }}{% endcapture %} +{% capture after %}{{ include.link[1] | split: "://" | last }}{% endcapture %} +{% assign internal = true %} +{% if before != after %} + {% if before == "http" or before == "https" %} + {% assign internal = false %} + {% endif %} +{% endif %} + +{% if internal %} + {% capture linkurl %}{{ site.baseurl }}/{{ include.link[1] }}{% endcapture %} +{% else %} + {% capture linkurl %}{{ include.link[1] }}{% endcapture %} +{% endif %} + +{{ include.link[0] }} diff --git a/docs/_includes/social-share.html b/docs/_includes/social-share.html new file mode 100644 index 00000000..53d75d0f --- /dev/null +++ b/docs/_includes/social-share.html @@ -0,0 +1,51 @@ + +{% assign any-share-links = false %} +{% for links in site.share-links-active %} + {% if links[1] == true %} + {% assign any-share-links = true %} + {% endif %} +{% endfor %} + +{% if any-share-links %} +
+ Share: + + {% if site.share-links-active.twitter %} + + + + Twitter + + {% endif %} + + {% if site.share-links-active.facebook %} + + + + Facebook + + {% endif %} + + {% if site.share-links-active.google %} + + + + Google+ + + {% endif %} + + {% if site.share-links-active.linkedin %} + + + + LinkedIn + + {% endif %} + +
+ +{% endif %} diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html new file mode 100644 index 00000000..fc28fb02 --- /dev/null +++ b/docs/_layouts/base.html @@ -0,0 +1,35 @@ +--- +common-css: + - "/css/bootstrap.min.css" + - "/css/bootstrap-social.css" + - "/css/main.css" +common-ext-css: + - "//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css" +common-googlefonts: + - "Lora:400,700,400italic,700italic" + - "Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" +common-js: + - "/js/jquery-1.11.2.min.js" + - "/js/bootstrap.min.js" + - "/js/main.js" +--- + + + + + {% include head.html %} + + + + {% include gtm_body.html %} + + {% include nav.html %} + + {{ content }} + + {% include footer.html %} + + {% include footer-scripts.html %} + + + diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html new file mode 100644 index 00000000..919ec8ea --- /dev/null +++ b/docs/_layouts/default.html @@ -0,0 +1,9 @@ +--- +layout: base +--- + +
+ +
+ {{ content }} +
\ No newline at end of file diff --git a/docs/_layouts/minimal.html b/docs/_layouts/minimal.html new file mode 100644 index 00000000..a2311c31 --- /dev/null +++ b/docs/_layouts/minimal.html @@ -0,0 +1,26 @@ +--- +common-css: + - "/css/bootstrap.min.css" + - "/css/main-minimal.css" +common-js: + - "/js/jquery-1.11.2.min.js" + - "/js/bootstrap.min.js" +--- + + + + + {% include head.html %} + + + +
+ {{ content }} +
+ + {% include footer-minimal.html %} + + {% include footer-scripts.html %} + + + diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html new file mode 100644 index 00000000..9dff5529 --- /dev/null +++ b/docs/_layouts/page.html @@ -0,0 +1,19 @@ +--- +layout: base +--- + +{% include header.html type="page" %} + +
+
+
+ {{ content }} + {% if page.comments %} +
+ {% include disqus.html %} +
+ {% include fb-comment.html %} + {% endif %} +
+
+
diff --git a/docs/_layouts/post.html b/docs/_layouts/post.html new file mode 100644 index 00000000..fc546b94 --- /dev/null +++ b/docs/_layouts/post.html @@ -0,0 +1,76 @@ +--- +layout: base +--- + +{% include header.html type="post" %} + +
+
+
+ + {% if page.gh-repo %} + {% assign gh_split = page.gh-repo | split:'/' %} + {% assign gh_user = gh_split[0] %} + {% assign gh_repo = gh_split[1] %} + +
+ {% if page.gh-badge.size > 0 %} + {% for badge in page.gh-badge %} + {% case badge %} + {% when 'star'%} + + {% when 'watch'%} + + {% when 'fork'%} + + {% when 'follow'%} + + {% endcase %} + {% endfor %} + {% endif %} +
+ {% endif %} + +
+ {{ content }} +
+ + {% if page.tags.size > 0 %} +
+ Tags: + {% if site.link-tags %} + {% for tag in page.tags %} + {{- tag -}} + {% endfor %} + {% else %} + {{ page.tags | join: ", " }} + {% endif %} +
+ {% endif %} + + {% if page.social-share %} + {% include social-share.html %} + {% endif %} + + + + {% if page.comments %} +
+ {% include disqus.html %} +
+ {% include fb-comment.html %} + {% endif %} +
+
+
diff --git a/docs/css/bootstrap-social.css b/docs/css/bootstrap-social.css new file mode 100644 index 00000000..e565f3a3 --- /dev/null +++ b/docs/css/bootstrap-social.css @@ -0,0 +1,147 @@ +/* + * Social Buttons for Bootstrap + * + * Copyright 2013-2015 Panayiotis Lipiridis + * Licensed under the MIT License + * + * https://github.com/lipis/bootstrap-social + */ + +.btn-social{position:relative;margin-bottom:5px;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-social>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)} +.btn-social.btn-lg{padding-left:61px}.btn-social.btn-lg>:first-child{line-height:45px;width:45px;font-size:1.8em} +.btn-social.btn-sm{padding-left:38px}.btn-social.btn-sm>:first-child{line-height:28px;width:28px;font-size:1.4em} +.btn-social.btn-xs{padding-left:30px}.btn-social.btn-xs>:first-child{line-height:20px;width:20px;font-size:1.2em} +.btn-social-icon{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:34px;width:34px;padding:0}.btn-social-icon>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)} +.btn-social-icon.btn-lg{padding-left:61px}.btn-social-icon.btn-lg>:first-child{line-height:45px;width:45px;font-size:1.8em} +.btn-social-icon.btn-sm{padding-left:38px}.btn-social-icon.btn-sm>:first-child{line-height:28px;width:28px;font-size:1.4em} +.btn-social-icon.btn-xs{padding-left:30px}.btn-social-icon.btn-xs>:first-child{line-height:20px;width:20px;font-size:1.2em} +.btn-social-icon>:first-child{border:none;text-align:center;width:100% !important} +.btn-social-icon.btn-lg{height:45px;width:45px;padding-left:0;padding-right:0} +.btn-social-icon.btn-sm{height:30px;width:30px;padding-left:0;padding-right:0} +.btn-social-icon.btn-xs{height:22px;width:22px;padding-left:0;padding-right:0} +.btn-adn{color:#fff;background-color:#d87a68;border-color:rgba(0,0,0,0.2)}.btn-adn:focus,.btn-adn.focus{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)} +.btn-adn:hover{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)} +.btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)}.btn-adn:active:hover,.btn-adn.active:hover,.open>.dropdown-toggle.btn-adn:hover,.btn-adn:active:focus,.btn-adn.active:focus,.open>.dropdown-toggle.btn-adn:focus,.btn-adn:active.focus,.btn-adn.active.focus,.open>.dropdown-toggle.btn-adn.focus{color:#fff;background-color:#b94630;border-color:rgba(0,0,0,0.2)} +.btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{background-image:none} +.btn-adn.disabled,.btn-adn[disabled],fieldset[disabled] .btn-adn,.btn-adn.disabled:hover,.btn-adn[disabled]:hover,fieldset[disabled] .btn-adn:hover,.btn-adn.disabled:focus,.btn-adn[disabled]:focus,fieldset[disabled] .btn-adn:focus,.btn-adn.disabled.focus,.btn-adn[disabled].focus,fieldset[disabled] .btn-adn.focus,.btn-adn.disabled:active,.btn-adn[disabled]:active,fieldset[disabled] .btn-adn:active,.btn-adn.disabled.active,.btn-adn[disabled].active,fieldset[disabled] .btn-adn.active{background-color:#d87a68;border-color:rgba(0,0,0,0.2)} +.btn-adn .badge{color:#d87a68;background-color:#fff} +.btn-bitbucket{color:#fff;background-color:#205081;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:focus,.btn-bitbucket.focus{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)} +.btn-bitbucket:hover{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)} +.btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:active:hover,.btn-bitbucket.active:hover,.open>.dropdown-toggle.btn-bitbucket:hover,.btn-bitbucket:active:focus,.btn-bitbucket.active:focus,.open>.dropdown-toggle.btn-bitbucket:focus,.btn-bitbucket:active.focus,.btn-bitbucket.active.focus,.open>.dropdown-toggle.btn-bitbucket.focus{color:#fff;background-color:#0f253c;border-color:rgba(0,0,0,0.2)} +.btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{background-image:none} +.btn-bitbucket.disabled,.btn-bitbucket[disabled],fieldset[disabled] .btn-bitbucket,.btn-bitbucket.disabled:hover,.btn-bitbucket[disabled]:hover,fieldset[disabled] .btn-bitbucket:hover,.btn-bitbucket.disabled:focus,.btn-bitbucket[disabled]:focus,fieldset[disabled] .btn-bitbucket:focus,.btn-bitbucket.disabled.focus,.btn-bitbucket[disabled].focus,fieldset[disabled] .btn-bitbucket.focus,.btn-bitbucket.disabled:active,.btn-bitbucket[disabled]:active,fieldset[disabled] .btn-bitbucket:active,.btn-bitbucket.disabled.active,.btn-bitbucket[disabled].active,fieldset[disabled] .btn-bitbucket.active{background-color:#205081;border-color:rgba(0,0,0,0.2)} +.btn-bitbucket .badge{color:#205081;background-color:#fff} +.btn-dropbox{color:#fff;background-color:#1087dd;border-color:rgba(0,0,0,0.2)}.btn-dropbox:focus,.btn-dropbox.focus{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)} +.btn-dropbox:hover{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)} +.btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)}.btn-dropbox:active:hover,.btn-dropbox.active:hover,.open>.dropdown-toggle.btn-dropbox:hover,.btn-dropbox:active:focus,.btn-dropbox.active:focus,.open>.dropdown-toggle.btn-dropbox:focus,.btn-dropbox:active.focus,.btn-dropbox.active.focus,.open>.dropdown-toggle.btn-dropbox.focus{color:#fff;background-color:#0a568c;border-color:rgba(0,0,0,0.2)} +.btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{background-image:none} +.btn-dropbox.disabled,.btn-dropbox[disabled],fieldset[disabled] .btn-dropbox,.btn-dropbox.disabled:hover,.btn-dropbox[disabled]:hover,fieldset[disabled] .btn-dropbox:hover,.btn-dropbox.disabled:focus,.btn-dropbox[disabled]:focus,fieldset[disabled] .btn-dropbox:focus,.btn-dropbox.disabled.focus,.btn-dropbox[disabled].focus,fieldset[disabled] .btn-dropbox.focus,.btn-dropbox.disabled:active,.btn-dropbox[disabled]:active,fieldset[disabled] .btn-dropbox:active,.btn-dropbox.disabled.active,.btn-dropbox[disabled].active,fieldset[disabled] .btn-dropbox.active{background-color:#1087dd;border-color:rgba(0,0,0,0.2)} +.btn-dropbox .badge{color:#1087dd;background-color:#fff} +.btn-facebook{color:#fff;background-color:#3b5998;border-color:rgba(0,0,0,0.2)}.btn-facebook:focus,.btn-facebook.focus{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)} +.btn-facebook:hover{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)} +.btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)}.btn-facebook:active:hover,.btn-facebook.active:hover,.open>.dropdown-toggle.btn-facebook:hover,.btn-facebook:active:focus,.btn-facebook.active:focus,.open>.dropdown-toggle.btn-facebook:focus,.btn-facebook:active.focus,.btn-facebook.active.focus,.open>.dropdown-toggle.btn-facebook.focus{color:#fff;background-color:#23345a;border-color:rgba(0,0,0,0.2)} +.btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{background-image:none} +.btn-facebook.disabled,.btn-facebook[disabled],fieldset[disabled] .btn-facebook,.btn-facebook.disabled:hover,.btn-facebook[disabled]:hover,fieldset[disabled] .btn-facebook:hover,.btn-facebook.disabled:focus,.btn-facebook[disabled]:focus,fieldset[disabled] .btn-facebook:focus,.btn-facebook.disabled.focus,.btn-facebook[disabled].focus,fieldset[disabled] .btn-facebook.focus,.btn-facebook.disabled:active,.btn-facebook[disabled]:active,fieldset[disabled] .btn-facebook:active,.btn-facebook.disabled.active,.btn-facebook[disabled].active,fieldset[disabled] .btn-facebook.active{background-color:#3b5998;border-color:rgba(0,0,0,0.2)} +.btn-facebook .badge{color:#3b5998;background-color:#fff} +.btn-flickr{color:#fff;background-color:#ff0084;border-color:rgba(0,0,0,0.2)}.btn-flickr:focus,.btn-flickr.focus{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)} +.btn-flickr:hover{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)} +.btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)}.btn-flickr:active:hover,.btn-flickr.active:hover,.open>.dropdown-toggle.btn-flickr:hover,.btn-flickr:active:focus,.btn-flickr.active:focus,.open>.dropdown-toggle.btn-flickr:focus,.btn-flickr:active.focus,.btn-flickr.active.focus,.open>.dropdown-toggle.btn-flickr.focus{color:#fff;background-color:#a80057;border-color:rgba(0,0,0,0.2)} +.btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{background-image:none} +.btn-flickr.disabled,.btn-flickr[disabled],fieldset[disabled] .btn-flickr,.btn-flickr.disabled:hover,.btn-flickr[disabled]:hover,fieldset[disabled] .btn-flickr:hover,.btn-flickr.disabled:focus,.btn-flickr[disabled]:focus,fieldset[disabled] .btn-flickr:focus,.btn-flickr.disabled.focus,.btn-flickr[disabled].focus,fieldset[disabled] .btn-flickr.focus,.btn-flickr.disabled:active,.btn-flickr[disabled]:active,fieldset[disabled] .btn-flickr:active,.btn-flickr.disabled.active,.btn-flickr[disabled].active,fieldset[disabled] .btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2)} +.btn-flickr .badge{color:#ff0084;background-color:#fff} +.btn-foursquare{color:#fff;background-color:#f94877;border-color:rgba(0,0,0,0.2)}.btn-foursquare:focus,.btn-foursquare.focus{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)} +.btn-foursquare:hover{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)} +.btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)}.btn-foursquare:active:hover,.btn-foursquare.active:hover,.open>.dropdown-toggle.btn-foursquare:hover,.btn-foursquare:active:focus,.btn-foursquare.active:focus,.open>.dropdown-toggle.btn-foursquare:focus,.btn-foursquare:active.focus,.btn-foursquare.active.focus,.open>.dropdown-toggle.btn-foursquare.focus{color:#fff;background-color:#e30742;border-color:rgba(0,0,0,0.2)} +.btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{background-image:none} +.btn-foursquare.disabled,.btn-foursquare[disabled],fieldset[disabled] .btn-foursquare,.btn-foursquare.disabled:hover,.btn-foursquare[disabled]:hover,fieldset[disabled] .btn-foursquare:hover,.btn-foursquare.disabled:focus,.btn-foursquare[disabled]:focus,fieldset[disabled] .btn-foursquare:focus,.btn-foursquare.disabled.focus,.btn-foursquare[disabled].focus,fieldset[disabled] .btn-foursquare.focus,.btn-foursquare.disabled:active,.btn-foursquare[disabled]:active,fieldset[disabled] .btn-foursquare:active,.btn-foursquare.disabled.active,.btn-foursquare[disabled].active,fieldset[disabled] .btn-foursquare.active{background-color:#f94877;border-color:rgba(0,0,0,0.2)} +.btn-foursquare .badge{color:#f94877;background-color:#fff} +.btn-github{color:#fff;background-color:#444;border-color:rgba(0,0,0,0.2)}.btn-github:focus,.btn-github.focus{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)} +.btn-github:hover{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)} +.btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)}.btn-github:active:hover,.btn-github.active:hover,.open>.dropdown-toggle.btn-github:hover,.btn-github:active:focus,.btn-github.active:focus,.open>.dropdown-toggle.btn-github:focus,.btn-github:active.focus,.btn-github.active.focus,.open>.dropdown-toggle.btn-github.focus{color:#fff;background-color:#191919;border-color:rgba(0,0,0,0.2)} +.btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{background-image:none} +.btn-github.disabled,.btn-github[disabled],fieldset[disabled] .btn-github,.btn-github.disabled:hover,.btn-github[disabled]:hover,fieldset[disabled] .btn-github:hover,.btn-github.disabled:focus,.btn-github[disabled]:focus,fieldset[disabled] .btn-github:focus,.btn-github.disabled.focus,.btn-github[disabled].focus,fieldset[disabled] .btn-github.focus,.btn-github.disabled:active,.btn-github[disabled]:active,fieldset[disabled] .btn-github:active,.btn-github.disabled.active,.btn-github[disabled].active,fieldset[disabled] .btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2)} +.btn-github .badge{color:#444;background-color:#fff} +.btn-google{color:#fff;background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}.btn-google:focus,.btn-google.focus{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)} +.btn-google:hover{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)} +.btn-google:active,.btn-google.active,.open>.dropdown-toggle.btn-google{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)}.btn-google:active:hover,.btn-google.active:hover,.open>.dropdown-toggle.btn-google:hover,.btn-google:active:focus,.btn-google.active:focus,.open>.dropdown-toggle.btn-google:focus,.btn-google:active.focus,.btn-google.active.focus,.open>.dropdown-toggle.btn-google.focus{color:#fff;background-color:#a32b1c;border-color:rgba(0,0,0,0.2)} +.btn-google:active,.btn-google.active,.open>.dropdown-toggle.btn-google{background-image:none} +.btn-google.disabled,.btn-google[disabled],fieldset[disabled] .btn-google,.btn-google.disabled:hover,.btn-google[disabled]:hover,fieldset[disabled] .btn-google:hover,.btn-google.disabled:focus,.btn-google[disabled]:focus,fieldset[disabled] .btn-google:focus,.btn-google.disabled.focus,.btn-google[disabled].focus,fieldset[disabled] .btn-google.focus,.btn-google.disabled:active,.btn-google[disabled]:active,fieldset[disabled] .btn-google:active,.btn-google.disabled.active,.btn-google[disabled].active,fieldset[disabled] .btn-google.active{background-color:#dd4b39;border-color:rgba(0,0,0,0.2)} +.btn-google .badge{color:#dd4b39;background-color:#fff} +.btn-instagram{color:#fff;background-color:#3f729b;border-color:rgba(0,0,0,0.2)}.btn-instagram:focus,.btn-instagram.focus{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)} +.btn-instagram:hover{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)} +.btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)}.btn-instagram:active:hover,.btn-instagram.active:hover,.open>.dropdown-toggle.btn-instagram:hover,.btn-instagram:active:focus,.btn-instagram.active:focus,.open>.dropdown-toggle.btn-instagram:focus,.btn-instagram:active.focus,.btn-instagram.active.focus,.open>.dropdown-toggle.btn-instagram.focus{color:#fff;background-color:#26455d;border-color:rgba(0,0,0,0.2)} +.btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{background-image:none} +.btn-instagram.disabled,.btn-instagram[disabled],fieldset[disabled] .btn-instagram,.btn-instagram.disabled:hover,.btn-instagram[disabled]:hover,fieldset[disabled] .btn-instagram:hover,.btn-instagram.disabled:focus,.btn-instagram[disabled]:focus,fieldset[disabled] .btn-instagram:focus,.btn-instagram.disabled.focus,.btn-instagram[disabled].focus,fieldset[disabled] .btn-instagram.focus,.btn-instagram.disabled:active,.btn-instagram[disabled]:active,fieldset[disabled] .btn-instagram:active,.btn-instagram.disabled.active,.btn-instagram[disabled].active,fieldset[disabled] .btn-instagram.active{background-color:#3f729b;border-color:rgba(0,0,0,0.2)} +.btn-instagram .badge{color:#3f729b;background-color:#fff} +.btn-linkedin{color:#fff;background-color:#007bb6;border-color:rgba(0,0,0,0.2)}.btn-linkedin:focus,.btn-linkedin.focus{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)} +.btn-linkedin:hover{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)} +.btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)}.btn-linkedin:active:hover,.btn-linkedin.active:hover,.open>.dropdown-toggle.btn-linkedin:hover,.btn-linkedin:active:focus,.btn-linkedin.active:focus,.open>.dropdown-toggle.btn-linkedin:focus,.btn-linkedin:active.focus,.btn-linkedin.active.focus,.open>.dropdown-toggle.btn-linkedin.focus{color:#fff;background-color:#00405f;border-color:rgba(0,0,0,0.2)} +.btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{background-image:none} +.btn-linkedin.disabled,.btn-linkedin[disabled],fieldset[disabled] .btn-linkedin,.btn-linkedin.disabled:hover,.btn-linkedin[disabled]:hover,fieldset[disabled] .btn-linkedin:hover,.btn-linkedin.disabled:focus,.btn-linkedin[disabled]:focus,fieldset[disabled] .btn-linkedin:focus,.btn-linkedin.disabled.focus,.btn-linkedin[disabled].focus,fieldset[disabled] .btn-linkedin.focus,.btn-linkedin.disabled:active,.btn-linkedin[disabled]:active,fieldset[disabled] .btn-linkedin:active,.btn-linkedin.disabled.active,.btn-linkedin[disabled].active,fieldset[disabled] .btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2)} +.btn-linkedin .badge{color:#007bb6;background-color:#fff} +.btn-microsoft{color:#fff;background-color:#2672ec;border-color:rgba(0,0,0,0.2)}.btn-microsoft:focus,.btn-microsoft.focus{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)} +.btn-microsoft:hover{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)} +.btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)}.btn-microsoft:active:hover,.btn-microsoft.active:hover,.open>.dropdown-toggle.btn-microsoft:hover,.btn-microsoft:active:focus,.btn-microsoft.active:focus,.open>.dropdown-toggle.btn-microsoft:focus,.btn-microsoft:active.focus,.btn-microsoft.active.focus,.open>.dropdown-toggle.btn-microsoft.focus{color:#fff;background-color:#0f4bac;border-color:rgba(0,0,0,0.2)} +.btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{background-image:none} +.btn-microsoft.disabled,.btn-microsoft[disabled],fieldset[disabled] .btn-microsoft,.btn-microsoft.disabled:hover,.btn-microsoft[disabled]:hover,fieldset[disabled] .btn-microsoft:hover,.btn-microsoft.disabled:focus,.btn-microsoft[disabled]:focus,fieldset[disabled] .btn-microsoft:focus,.btn-microsoft.disabled.focus,.btn-microsoft[disabled].focus,fieldset[disabled] .btn-microsoft.focus,.btn-microsoft.disabled:active,.btn-microsoft[disabled]:active,fieldset[disabled] .btn-microsoft:active,.btn-microsoft.disabled.active,.btn-microsoft[disabled].active,fieldset[disabled] .btn-microsoft.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2)} +.btn-microsoft .badge{color:#2672ec;background-color:#fff} +.btn-odnoklassniki{color:#fff;background-color:#f4731c;border-color:rgba(0,0,0,0.2)}.btn-odnoklassniki:focus,.btn-odnoklassniki.focus{color:#fff;background-color:#d35b0a;border-color:rgba(0,0,0,0.2)} +.btn-odnoklassniki:hover{color:#fff;background-color:#d35b0a;border-color:rgba(0,0,0,0.2)} +.btn-odnoklassniki:active,.btn-odnoklassniki.active,.open>.dropdown-toggle.btn-odnoklassniki{color:#fff;background-color:#d35b0a;border-color:rgba(0,0,0,0.2)}.btn-odnoklassniki:active:hover,.btn-odnoklassniki.active:hover,.open>.dropdown-toggle.btn-odnoklassniki:hover,.btn-odnoklassniki:active:focus,.btn-odnoklassniki.active:focus,.open>.dropdown-toggle.btn-odnoklassniki:focus,.btn-odnoklassniki:active.focus,.btn-odnoklassniki.active.focus,.open>.dropdown-toggle.btn-odnoklassniki.focus{color:#fff;background-color:#b14c09;border-color:rgba(0,0,0,0.2)} +.btn-odnoklassniki:active,.btn-odnoklassniki.active,.open>.dropdown-toggle.btn-odnoklassniki{background-image:none} +.btn-odnoklassniki.disabled,.btn-odnoklassniki[disabled],fieldset[disabled] .btn-odnoklassniki,.btn-odnoklassniki.disabled:hover,.btn-odnoklassniki[disabled]:hover,fieldset[disabled] .btn-odnoklassniki:hover,.btn-odnoklassniki.disabled:focus,.btn-odnoklassniki[disabled]:focus,fieldset[disabled] .btn-odnoklassniki:focus,.btn-odnoklassniki.disabled.focus,.btn-odnoklassniki[disabled].focus,fieldset[disabled] .btn-odnoklassniki.focus,.btn-odnoklassniki.disabled:active,.btn-odnoklassniki[disabled]:active,fieldset[disabled] .btn-odnoklassniki:active,.btn-odnoklassniki.disabled.active,.btn-odnoklassniki[disabled].active,fieldset[disabled] .btn-odnoklassniki.active{background-color:#f4731c;border-color:rgba(0,0,0,0.2)} +.btn-odnoklassniki .badge{color:#f4731c;background-color:#fff} +.btn-openid{color:#fff;background-color:#f7931e;border-color:rgba(0,0,0,0.2)}.btn-openid:focus,.btn-openid.focus{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)} +.btn-openid:hover{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)} +.btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)}.btn-openid:active:hover,.btn-openid.active:hover,.open>.dropdown-toggle.btn-openid:hover,.btn-openid:active:focus,.btn-openid.active:focus,.open>.dropdown-toggle.btn-openid:focus,.btn-openid:active.focus,.btn-openid.active.focus,.open>.dropdown-toggle.btn-openid.focus{color:#fff;background-color:#b86607;border-color:rgba(0,0,0,0.2)} +.btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{background-image:none} +.btn-openid.disabled,.btn-openid[disabled],fieldset[disabled] .btn-openid,.btn-openid.disabled:hover,.btn-openid[disabled]:hover,fieldset[disabled] .btn-openid:hover,.btn-openid.disabled:focus,.btn-openid[disabled]:focus,fieldset[disabled] .btn-openid:focus,.btn-openid.disabled.focus,.btn-openid[disabled].focus,fieldset[disabled] .btn-openid.focus,.btn-openid.disabled:active,.btn-openid[disabled]:active,fieldset[disabled] .btn-openid:active,.btn-openid.disabled.active,.btn-openid[disabled].active,fieldset[disabled] .btn-openid.active{background-color:#f7931e;border-color:rgba(0,0,0,0.2)} +.btn-openid .badge{color:#f7931e;background-color:#fff} +.btn-pinterest{color:#fff;background-color:#cb2027;border-color:rgba(0,0,0,0.2)}.btn-pinterest:focus,.btn-pinterest.focus{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)} +.btn-pinterest:hover{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)} +.btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)}.btn-pinterest:active:hover,.btn-pinterest.active:hover,.open>.dropdown-toggle.btn-pinterest:hover,.btn-pinterest:active:focus,.btn-pinterest.active:focus,.open>.dropdown-toggle.btn-pinterest:focus,.btn-pinterest:active.focus,.btn-pinterest.active.focus,.open>.dropdown-toggle.btn-pinterest.focus{color:#fff;background-color:#801419;border-color:rgba(0,0,0,0.2)} +.btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{background-image:none} +.btn-pinterest.disabled,.btn-pinterest[disabled],fieldset[disabled] .btn-pinterest,.btn-pinterest.disabled:hover,.btn-pinterest[disabled]:hover,fieldset[disabled] .btn-pinterest:hover,.btn-pinterest.disabled:focus,.btn-pinterest[disabled]:focus,fieldset[disabled] .btn-pinterest:focus,.btn-pinterest.disabled.focus,.btn-pinterest[disabled].focus,fieldset[disabled] .btn-pinterest.focus,.btn-pinterest.disabled:active,.btn-pinterest[disabled]:active,fieldset[disabled] .btn-pinterest:active,.btn-pinterest.disabled.active,.btn-pinterest[disabled].active,fieldset[disabled] .btn-pinterest.active{background-color:#cb2027;border-color:rgba(0,0,0,0.2)} +.btn-pinterest .badge{color:#cb2027;background-color:#fff} +.btn-reddit{color:#000;background-color:#eff7ff;border-color:rgba(0,0,0,0.2)}.btn-reddit:focus,.btn-reddit.focus{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)} +.btn-reddit:hover{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)} +.btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)}.btn-reddit:active:hover,.btn-reddit.active:hover,.open>.dropdown-toggle.btn-reddit:hover,.btn-reddit:active:focus,.btn-reddit.active:focus,.open>.dropdown-toggle.btn-reddit:focus,.btn-reddit:active.focus,.btn-reddit.active.focus,.open>.dropdown-toggle.btn-reddit.focus{color:#000;background-color:#98ccff;border-color:rgba(0,0,0,0.2)} +.btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{background-image:none} +.btn-reddit.disabled,.btn-reddit[disabled],fieldset[disabled] .btn-reddit,.btn-reddit.disabled:hover,.btn-reddit[disabled]:hover,fieldset[disabled] .btn-reddit:hover,.btn-reddit.disabled:focus,.btn-reddit[disabled]:focus,fieldset[disabled] .btn-reddit:focus,.btn-reddit.disabled.focus,.btn-reddit[disabled].focus,fieldset[disabled] .btn-reddit.focus,.btn-reddit.disabled:active,.btn-reddit[disabled]:active,fieldset[disabled] .btn-reddit:active,.btn-reddit.disabled.active,.btn-reddit[disabled].active,fieldset[disabled] .btn-reddit.active{background-color:#eff7ff;border-color:rgba(0,0,0,0.2)} +.btn-reddit .badge{color:#eff7ff;background-color:#000} +.btn-soundcloud{color:#fff;background-color:#f50;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:focus,.btn-soundcloud.focus{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)} +.btn-soundcloud:hover{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)} +.btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:active:hover,.btn-soundcloud.active:hover,.open>.dropdown-toggle.btn-soundcloud:hover,.btn-soundcloud:active:focus,.btn-soundcloud.active:focus,.open>.dropdown-toggle.btn-soundcloud:focus,.btn-soundcloud:active.focus,.btn-soundcloud.active.focus,.open>.dropdown-toggle.btn-soundcloud.focus{color:#fff;background-color:#a83800;border-color:rgba(0,0,0,0.2)} +.btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{background-image:none} +.btn-soundcloud.disabled,.btn-soundcloud[disabled],fieldset[disabled] .btn-soundcloud,.btn-soundcloud.disabled:hover,.btn-soundcloud[disabled]:hover,fieldset[disabled] .btn-soundcloud:hover,.btn-soundcloud.disabled:focus,.btn-soundcloud[disabled]:focus,fieldset[disabled] .btn-soundcloud:focus,.btn-soundcloud.disabled.focus,.btn-soundcloud[disabled].focus,fieldset[disabled] .btn-soundcloud.focus,.btn-soundcloud.disabled:active,.btn-soundcloud[disabled]:active,fieldset[disabled] .btn-soundcloud:active,.btn-soundcloud.disabled.active,.btn-soundcloud[disabled].active,fieldset[disabled] .btn-soundcloud.active{background-color:#f50;border-color:rgba(0,0,0,0.2)} +.btn-soundcloud .badge{color:#f50;background-color:#fff} +.btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2)}.btn-tumblr:focus,.btn-tumblr.focus{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)} +.btn-tumblr:hover{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)} +.btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)}.btn-tumblr:active:hover,.btn-tumblr.active:hover,.open>.dropdown-toggle.btn-tumblr:hover,.btn-tumblr:active:focus,.btn-tumblr.active:focus,.open>.dropdown-toggle.btn-tumblr:focus,.btn-tumblr:active.focus,.btn-tumblr.active.focus,.open>.dropdown-toggle.btn-tumblr.focus{color:#fff;background-color:#111c26;border-color:rgba(0,0,0,0.2)} +.btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{background-image:none} +.btn-tumblr.disabled,.btn-tumblr[disabled],fieldset[disabled] .btn-tumblr,.btn-tumblr.disabled:hover,.btn-tumblr[disabled]:hover,fieldset[disabled] .btn-tumblr:hover,.btn-tumblr.disabled:focus,.btn-tumblr[disabled]:focus,fieldset[disabled] .btn-tumblr:focus,.btn-tumblr.disabled.focus,.btn-tumblr[disabled].focus,fieldset[disabled] .btn-tumblr.focus,.btn-tumblr.disabled:active,.btn-tumblr[disabled]:active,fieldset[disabled] .btn-tumblr:active,.btn-tumblr.disabled.active,.btn-tumblr[disabled].active,fieldset[disabled] .btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2)} +.btn-tumblr .badge{color:#2c4762;background-color:#fff} +.btn-twitter{color:#fff;background-color:#55acee;border-color:rgba(0,0,0,0.2)}.btn-twitter:focus,.btn-twitter.focus{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)} +.btn-twitter:hover{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)} +.btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)}.btn-twitter:active:hover,.btn-twitter.active:hover,.open>.dropdown-toggle.btn-twitter:hover,.btn-twitter:active:focus,.btn-twitter.active:focus,.open>.dropdown-toggle.btn-twitter:focus,.btn-twitter:active.focus,.btn-twitter.active.focus,.open>.dropdown-toggle.btn-twitter.focus{color:#fff;background-color:#1583d7;border-color:rgba(0,0,0,0.2)} +.btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{background-image:none} +.btn-twitter.disabled,.btn-twitter[disabled],fieldset[disabled] .btn-twitter,.btn-twitter.disabled:hover,.btn-twitter[disabled]:hover,fieldset[disabled] .btn-twitter:hover,.btn-twitter.disabled:focus,.btn-twitter[disabled]:focus,fieldset[disabled] .btn-twitter:focus,.btn-twitter.disabled.focus,.btn-twitter[disabled].focus,fieldset[disabled] .btn-twitter.focus,.btn-twitter.disabled:active,.btn-twitter[disabled]:active,fieldset[disabled] .btn-twitter:active,.btn-twitter.disabled.active,.btn-twitter[disabled].active,fieldset[disabled] .btn-twitter.active{background-color:#55acee;border-color:rgba(0,0,0,0.2)} +.btn-twitter .badge{color:#55acee;background-color:#fff} +.btn-vimeo{color:#fff;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)}.btn-vimeo:focus,.btn-vimeo.focus{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)} +.btn-vimeo:hover{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)} +.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)}.btn-vimeo:active:hover,.btn-vimeo.active:hover,.open>.dropdown-toggle.btn-vimeo:hover,.btn-vimeo:active:focus,.btn-vimeo.active:focus,.open>.dropdown-toggle.btn-vimeo:focus,.btn-vimeo:active.focus,.btn-vimeo.active.focus,.open>.dropdown-toggle.btn-vimeo.focus{color:#fff;background-color:#0f7b9f;border-color:rgba(0,0,0,0.2)} +.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{background-image:none} +.btn-vimeo.disabled,.btn-vimeo[disabled],fieldset[disabled] .btn-vimeo,.btn-vimeo.disabled:hover,.btn-vimeo[disabled]:hover,fieldset[disabled] .btn-vimeo:hover,.btn-vimeo.disabled:focus,.btn-vimeo[disabled]:focus,fieldset[disabled] .btn-vimeo:focus,.btn-vimeo.disabled.focus,.btn-vimeo[disabled].focus,fieldset[disabled] .btn-vimeo.focus,.btn-vimeo.disabled:active,.btn-vimeo[disabled]:active,fieldset[disabled] .btn-vimeo:active,.btn-vimeo.disabled.active,.btn-vimeo[disabled].active,fieldset[disabled] .btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)} +.btn-vimeo .badge{color:#1ab7ea;background-color:#fff} +.btn-vk{color:#fff;background-color:#587ea3;border-color:rgba(0,0,0,0.2)}.btn-vk:focus,.btn-vk.focus{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)} +.btn-vk:hover{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)} +.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)}.btn-vk:active:hover,.btn-vk.active:hover,.open>.dropdown-toggle.btn-vk:hover,.btn-vk:active:focus,.btn-vk.active:focus,.open>.dropdown-toggle.btn-vk:focus,.btn-vk:active.focus,.btn-vk.active.focus,.open>.dropdown-toggle.btn-vk.focus{color:#fff;background-color:#3a526b;border-color:rgba(0,0,0,0.2)} +.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{background-image:none} +.btn-vk.disabled,.btn-vk[disabled],fieldset[disabled] .btn-vk,.btn-vk.disabled:hover,.btn-vk[disabled]:hover,fieldset[disabled] .btn-vk:hover,.btn-vk.disabled:focus,.btn-vk[disabled]:focus,fieldset[disabled] .btn-vk:focus,.btn-vk.disabled.focus,.btn-vk[disabled].focus,fieldset[disabled] .btn-vk.focus,.btn-vk.disabled:active,.btn-vk[disabled]:active,fieldset[disabled] .btn-vk:active,.btn-vk.disabled.active,.btn-vk[disabled].active,fieldset[disabled] .btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2)} +.btn-vk .badge{color:#587ea3;background-color:#fff} +.btn-yahoo{color:#fff;background-color:#720e9e;border-color:rgba(0,0,0,0.2)}.btn-yahoo:focus,.btn-yahoo.focus{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)} +.btn-yahoo:hover{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)} +.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)}.btn-yahoo:active:hover,.btn-yahoo.active:hover,.open>.dropdown-toggle.btn-yahoo:hover,.btn-yahoo:active:focus,.btn-yahoo.active:focus,.open>.dropdown-toggle.btn-yahoo:focus,.btn-yahoo:active.focus,.btn-yahoo.active.focus,.open>.dropdown-toggle.btn-yahoo.focus{color:#fff;background-color:#39074e;border-color:rgba(0,0,0,0.2)} +.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{background-image:none} +.btn-yahoo.disabled,.btn-yahoo[disabled],fieldset[disabled] .btn-yahoo,.btn-yahoo.disabled:hover,.btn-yahoo[disabled]:hover,fieldset[disabled] .btn-yahoo:hover,.btn-yahoo.disabled:focus,.btn-yahoo[disabled]:focus,fieldset[disabled] .btn-yahoo:focus,.btn-yahoo.disabled.focus,.btn-yahoo[disabled].focus,fieldset[disabled] .btn-yahoo.focus,.btn-yahoo.disabled:active,.btn-yahoo[disabled]:active,fieldset[disabled] .btn-yahoo:active,.btn-yahoo.disabled.active,.btn-yahoo[disabled].active,fieldset[disabled] .btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2)} +.btn-yahoo .badge{color:#720e9e;background-color:#fff} diff --git a/docs/css/bootstrap-theme.css b/docs/css/bootstrap-theme.css new file mode 100644 index 00000000..bb663496 --- /dev/null +++ b/docs/css/bootstrap-theme.css @@ -0,0 +1,476 @@ +/*! + * Bootstrap v3.3.2 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ + +.btn-default, +.btn-primary, +.btn-success, +.btn-info, +.btn-warning, +.btn-danger { + text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); +} +.btn-default:active, +.btn-primary:active, +.btn-success:active, +.btn-info:active, +.btn-warning:active, +.btn-danger:active, +.btn-default.active, +.btn-primary.active, +.btn-success.active, +.btn-info.active, +.btn-warning.active, +.btn-danger.active { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn-default .badge, +.btn-primary .badge, +.btn-success .badge, +.btn-info .badge, +.btn-warning .badge, +.btn-danger .badge { + text-shadow: none; +} +.btn:active, +.btn.active { + background-image: none; +} +.btn-default { + text-shadow: 0 1px 0 #fff; + background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%); + background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0)); + background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + background-repeat: repeat-x; + border-color: #dbdbdb; + border-color: #ccc; +} +.btn-default:hover, +.btn-default:focus { + background-color: #e0e0e0; + background-position: 0 -15px; +} +.btn-default:active, +.btn-default.active { + background-color: #e0e0e0; + border-color: #dbdbdb; +} +.btn-default.disabled, +.btn-default:disabled, +.btn-default[disabled] { + background-color: #e0e0e0; + background-image: none; +} +.btn-primary { + background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%); + background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88)); + background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + background-repeat: repeat-x; + border-color: #245580; +} +.btn-primary:hover, +.btn-primary:focus { + background-color: #265a88; + background-position: 0 -15px; +} +.btn-primary:active, +.btn-primary.active { + background-color: #265a88; + border-color: #245580; +} +.btn-primary.disabled, +.btn-primary:disabled, +.btn-primary[disabled] { + background-color: #265a88; + background-image: none; +} +.btn-success { + background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%); + background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641)); + background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + background-repeat: repeat-x; + border-color: #3e8f3e; +} +.btn-success:hover, +.btn-success:focus { + background-color: #419641; + background-position: 0 -15px; +} +.btn-success:active, +.btn-success.active { + background-color: #419641; + border-color: #3e8f3e; +} +.btn-success.disabled, +.btn-success:disabled, +.btn-success[disabled] { + background-color: #419641; + background-image: none; +} +.btn-info { + background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); + background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2)); + background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + background-repeat: repeat-x; + border-color: #28a4c9; +} +.btn-info:hover, +.btn-info:focus { + background-color: #2aabd2; + background-position: 0 -15px; +} +.btn-info:active, +.btn-info.active { + background-color: #2aabd2; + border-color: #28a4c9; +} +.btn-info.disabled, +.btn-info:disabled, +.btn-info[disabled] { + background-color: #2aabd2; + background-image: none; +} +.btn-warning { + background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); + background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316)); + background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + background-repeat: repeat-x; + border-color: #e38d13; +} +.btn-warning:hover, +.btn-warning:focus { + background-color: #eb9316; + background-position: 0 -15px; +} +.btn-warning:active, +.btn-warning.active { + background-color: #eb9316; + border-color: #e38d13; +} +.btn-warning.disabled, +.btn-warning:disabled, +.btn-warning[disabled] { + background-color: #eb9316; + background-image: none; +} +.btn-danger { + background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%); + background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a)); + background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + background-repeat: repeat-x; + border-color: #b92c28; +} +.btn-danger:hover, +.btn-danger:focus { + background-color: #c12e2a; + background-position: 0 -15px; +} +.btn-danger:active, +.btn-danger.active { + background-color: #c12e2a; + border-color: #b92c28; +} +.btn-danger.disabled, +.btn-danger:disabled, +.btn-danger[disabled] { + background-color: #c12e2a; + background-image: none; +} +.thumbnail, +.img-thumbnail { + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); + box-shadow: 0 1px 2px rgba(0, 0, 0, .075); +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + background-color: #e8e8e8; + background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); + background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); + background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); + background-repeat: repeat-x; +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + background-color: #2e6da4; + background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); + background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); + background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); + background-repeat: repeat-x; +} +.navbar-default { + background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%); + background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8)); + background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + background-repeat: repeat-x; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); +} +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .active > a { + background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); + background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2)); + background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0); + background-repeat: repeat-x; + -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); + box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); +} +.navbar-brand, +.navbar-nav > li > a { + text-shadow: 0 1px 0 rgba(255, 255, 255, .25); +} +.navbar-inverse { + background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%); + background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222)); + background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + background-repeat: repeat-x; +} +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .active > a { + background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%); + background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f)); + background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0); + background-repeat: repeat-x; + -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); + box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); +} +.navbar-inverse .navbar-brand, +.navbar-inverse .navbar-nav > li > a { + text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); +} +.navbar-static-top, +.navbar-fixed-top, +.navbar-fixed-bottom { + border-radius: 0; +} +@media (max-width: 767px) { + .navbar .navbar-nav .open .dropdown-menu > .active > a, + .navbar .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #fff; + background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); + background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); + background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); + background-repeat: repeat-x; + } +} +.alert { + text-shadow: 0 1px 0 rgba(255, 255, 255, .2); + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); +} +.alert-success { + background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); + background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc)); + background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); + background-repeat: repeat-x; + border-color: #b2dba1; +} +.alert-info { + background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%); + background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0)); + background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); + background-repeat: repeat-x; + border-color: #9acfea; +} +.alert-warning { + background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); + background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0)); + background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); + background-repeat: repeat-x; + border-color: #f5e79e; +} +.alert-danger { + background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); + background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3)); + background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); + background-repeat: repeat-x; + border-color: #dca7a7; +} +.progress { + background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); + background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5)); + background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); + background-repeat: repeat-x; +} +.progress-bar { + background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%); + background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090)); + background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0); + background-repeat: repeat-x; +} +.progress-bar-success { + background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%); + background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44)); + background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); + background-repeat: repeat-x; +} +.progress-bar-info { + background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); + background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5)); + background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); + background-repeat: repeat-x; +} +.progress-bar-warning { + background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); + background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f)); + background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); + background-repeat: repeat-x; +} +.progress-bar-danger { + background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%); + background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c)); + background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); + background-repeat: repeat-x; +} +.progress-bar-striped { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.list-group { + border-radius: 4px; + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); + box-shadow: 0 1px 2px rgba(0, 0, 0, .075); +} +.list-group-item.active, +.list-group-item.active:hover, +.list-group-item.active:focus { + text-shadow: 0 -1px 0 #286090; + background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%); + background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a)); + background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0); + background-repeat: repeat-x; + border-color: #2b669a; +} +.list-group-item.active .badge, +.list-group-item.active:hover .badge, +.list-group-item.active:focus .badge { + text-shadow: none; +} +.panel { + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); + box-shadow: 0 1px 2px rgba(0, 0, 0, .05); +} +.panel-default > .panel-heading { + background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); + background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); + background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); + background-repeat: repeat-x; +} +.panel-primary > .panel-heading { + background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); + background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); + background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); + background-repeat: repeat-x; +} +.panel-success > .panel-heading { + background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); + background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6)); + background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); + background-repeat: repeat-x; +} +.panel-info > .panel-heading { + background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); + background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3)); + background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); + background-repeat: repeat-x; +} +.panel-warning > .panel-heading { + background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); + background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc)); + background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); + background-repeat: repeat-x; +} +.panel-danger > .panel-heading { + background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%); + background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc)); + background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); + background-repeat: repeat-x; +} +.well { + background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); + background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); + background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5)); + background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); + background-repeat: repeat-x; + border-color: #dcdcdc; + -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); + box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); +} +/*# sourceMappingURL=bootstrap-theme.css.map */ diff --git a/docs/css/bootstrap-theme.css.map b/docs/css/bootstrap-theme.css.map new file mode 100644 index 00000000..5a12d631 --- /dev/null +++ b/docs/css/bootstrap-theme.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["less/theme.less","less/mixins/vendor-prefixes.less","bootstrap-theme.css","less/mixins/gradients.less","less/mixins/reset-filter.less"],"names":[],"mappings":"AAcA;;;;;;EAME,0CAAA;ECgDA,6FAAA;EACQ,qFAAA;EC5DT;AFgBC;;;;;;;;;;;;EC2CA,0DAAA;EACQ,kDAAA;EC7CT;AFVD;;;;;;EAiBI,mBAAA;EECH;AFiCC;;EAEE,wBAAA;EE/BH;AFoCD;EGnDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EAgC2C,2BAAA;EAA2B,oBAAA;EEzBvE;AFLC;;EAEE,2BAAA;EACA,8BAAA;EEOH;AFJC;;EAEE,2BAAA;EACA,uBAAA;EEMH;AFHC;;;EAGE,2BAAA;EACA,wBAAA;EEKH;AFUD;EGpDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EEgCD;AF9BC;;EAEE,2BAAA;EACA,8BAAA;EEgCH;AF7BC;;EAEE,2BAAA;EACA,uBAAA;EE+BH;AF5BC;;;EAGE,2BAAA;EACA,wBAAA;EE8BH;AFdD;EGrDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EEyDD;AFvDC;;EAEE,2BAAA;EACA,8BAAA;EEyDH;AFtDC;;EAEE,2BAAA;EACA,uBAAA;EEwDH;AFrDC;;;EAGE,2BAAA;EACA,wBAAA;EEuDH;AFtCD;EGtDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EEkFD;AFhFC;;EAEE,2BAAA;EACA,8BAAA;EEkFH;AF/EC;;EAEE,2BAAA;EACA,uBAAA;EEiFH;AF9EC;;;EAGE,2BAAA;EACA,wBAAA;EEgFH;AF9DD;EGvDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EE2GD;AFzGC;;EAEE,2BAAA;EACA,8BAAA;EE2GH;AFxGC;;EAEE,2BAAA;EACA,uBAAA;EE0GH;AFvGC;;;EAGE,2BAAA;EACA,wBAAA;EEyGH;AFtFD;EGxDI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EAEA,wHAAA;ECnBF,qEAAA;EJiCA,6BAAA;EACA,uBAAA;EEoID;AFlIC;;EAEE,2BAAA;EACA,8BAAA;EEoIH;AFjIC;;EAEE,2BAAA;EACA,uBAAA;EEmIH;AFhIC;;;EAGE,2BAAA;EACA,wBAAA;EEkIH;AFxGD;;EChBE,oDAAA;EACQ,4CAAA;EC4HT;AFnGD;;EGzEI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EHwEF,2BAAA;EEyGD;AFvGD;;;EG9EI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH8EF,2BAAA;EE6GD;AFpGD;EG3FI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ECnBF,qEAAA;EJ6GA,oBAAA;EC/CA,6FAAA;EACQ,qFAAA;EC0JT;AF/GD;;EG3FI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EF2CF,0DAAA;EACQ,kDAAA;ECoKT;AF5GD;;EAEE,gDAAA;EE8GD;AF1GD;EG9GI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ECnBF,qEAAA;EF+OD;AFlHD;;EG9GI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EF2CF,yDAAA;EACQ,iDAAA;EC0LT;AF5HD;;EAYI,2CAAA;EEoHH;AF/GD;;;EAGE,kBAAA;EEiHD;AF5FD;EAfI;;;IAGE,aAAA;IG3IF,0EAAA;IACA,qEAAA;IACA,+FAAA;IAAA,wEAAA;IACA,6BAAA;IACA,wHAAA;ID0PD;EACF;AFxGD;EACE,+CAAA;ECzGA,4FAAA;EACQ,oFAAA;ECoNT;AFhGD;EGpKI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH4JF,uBAAA;EE4GD;AFvGD;EGrKI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH4JF,uBAAA;EEoHD;AF9GD;EGtKI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH4JF,uBAAA;EE4HD;AFrHD;EGvKI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH4JF,uBAAA;EEoID;AFrHD;EG/KI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDuSH;AFlHD;EGzLI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED8SH;AFxHD;EG1LI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDqTH;AF9HD;EG3LI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED4TH;AFpID;EG5LI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDmUH;AF1ID;EG7LI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED0UH;AF7ID;EGhKI,+MAAA;EACA,0MAAA;EACA,uMAAA;EDgTH;AFzID;EACE,oBAAA;EC5JA,oDAAA;EACQ,4CAAA;ECwST;AF1ID;;;EAGE,+BAAA;EGjNE,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EH+MF,uBAAA;EEgJD;AFrJD;;;EAQI,mBAAA;EEkJH;AFxID;ECjLE,mDAAA;EACQ,2CAAA;EC4TT;AFlID;EG1OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED+WH;AFxID;EG3OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDsXH;AF9ID;EG5OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED6XH;AFpJD;EG7OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDoYH;AF1JD;EG9OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;ED2YH;AFhKD;EG/OI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EDkZH;AFhKD;EGtPI,0EAAA;EACA,qEAAA;EACA,+FAAA;EAAA,wEAAA;EACA,6BAAA;EACA,wHAAA;EHoPF,uBAAA;ECzMA,2FAAA;EACQ,mFAAA;ECgXT","file":"bootstrap-theme.css","sourcesContent":["\n//\n// Load core variables and mixins\n// --------------------------------------------------\n\n@import \"variables.less\";\n@import \"mixins.less\";\n\n\n//\n// Buttons\n// --------------------------------------------------\n\n// Common styles\n.btn-default,\n.btn-primary,\n.btn-success,\n.btn-info,\n.btn-warning,\n.btn-danger {\n text-shadow: 0 -1px 0 rgba(0,0,0,.2);\n @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);\n .box-shadow(@shadow);\n\n // Reset the shadow\n &:active,\n &.active {\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n }\n\n .badge {\n text-shadow: none;\n }\n}\n\n// Mixin for generating new styles\n.btn-styles(@btn-color: #555) {\n #gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));\n .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620\n background-repeat: repeat-x;\n border-color: darken(@btn-color, 14%);\n\n &:hover,\n &:focus {\n background-color: darken(@btn-color, 12%);\n background-position: 0 -15px;\n }\n\n &:active,\n &.active {\n background-color: darken(@btn-color, 12%);\n border-color: darken(@btn-color, 14%);\n }\n\n &.disabled,\n &:disabled,\n &[disabled] {\n background-color: darken(@btn-color, 12%);\n background-image: none;\n }\n}\n\n// Common styles\n.btn {\n // Remove the gradient for the pressed/active state\n &:active,\n &.active {\n background-image: none;\n }\n}\n\n// Apply the mixin to the buttons\n.btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }\n.btn-primary { .btn-styles(@btn-primary-bg); }\n.btn-success { .btn-styles(@btn-success-bg); }\n.btn-info { .btn-styles(@btn-info-bg); }\n.btn-warning { .btn-styles(@btn-warning-bg); }\n.btn-danger { .btn-styles(@btn-danger-bg); }\n\n\n//\n// Images\n// --------------------------------------------------\n\n.thumbnail,\n.img-thumbnail {\n .box-shadow(0 1px 2px rgba(0,0,0,.075));\n}\n\n\n//\n// Dropdowns\n// --------------------------------------------------\n\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n #gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));\n background-color: darken(@dropdown-link-hover-bg, 5%);\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\n background-color: darken(@dropdown-link-active-bg, 5%);\n}\n\n\n//\n// Navbar\n// --------------------------------------------------\n\n// Default navbar\n.navbar-default {\n #gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);\n .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered\n border-radius: @navbar-border-radius;\n @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);\n .box-shadow(@shadow);\n\n .navbar-nav > .open > a,\n .navbar-nav > .active > a {\n #gradient > .vertical(@start-color: darken(@navbar-default-link-active-bg, 5%); @end-color: darken(@navbar-default-link-active-bg, 2%));\n .box-shadow(inset 0 3px 9px rgba(0,0,0,.075));\n }\n}\n.navbar-brand,\n.navbar-nav > li > a {\n text-shadow: 0 1px 0 rgba(255,255,255,.25);\n}\n\n// Inverted navbar\n.navbar-inverse {\n #gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);\n .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257\n\n .navbar-nav > .open > a,\n .navbar-nav > .active > a {\n #gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-bg, 2.5%));\n .box-shadow(inset 0 3px 9px rgba(0,0,0,.25));\n }\n\n .navbar-brand,\n .navbar-nav > li > a {\n text-shadow: 0 -1px 0 rgba(0,0,0,.25);\n }\n}\n\n// Undo rounded corners in static and fixed navbars\n.navbar-static-top,\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n border-radius: 0;\n}\n\n// Fix active state of dropdown items in collapsed mode\n@media (max-width: @grid-float-breakpoint-max) {\n .navbar .navbar-nav .open .dropdown-menu > .active > a {\n &,\n &:hover,\n &:focus {\n color: #fff;\n #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\n }\n }\n}\n\n\n//\n// Alerts\n// --------------------------------------------------\n\n// Common styles\n.alert {\n text-shadow: 0 1px 0 rgba(255,255,255,.2);\n @shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);\n .box-shadow(@shadow);\n}\n\n// Mixin for generating new styles\n.alert-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 7.5%));\n border-color: darken(@color, 15%);\n}\n\n// Apply the mixin to the alerts\n.alert-success { .alert-styles(@alert-success-bg); }\n.alert-info { .alert-styles(@alert-info-bg); }\n.alert-warning { .alert-styles(@alert-warning-bg); }\n.alert-danger { .alert-styles(@alert-danger-bg); }\n\n\n//\n// Progress bars\n// --------------------------------------------------\n\n// Give the progress background some depth\n.progress {\n #gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)\n}\n\n// Mixin for generating new styles\n.progress-bar-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 10%));\n}\n\n// Apply the mixin to the progress bars\n.progress-bar { .progress-bar-styles(@progress-bar-bg); }\n.progress-bar-success { .progress-bar-styles(@progress-bar-success-bg); }\n.progress-bar-info { .progress-bar-styles(@progress-bar-info-bg); }\n.progress-bar-warning { .progress-bar-styles(@progress-bar-warning-bg); }\n.progress-bar-danger { .progress-bar-styles(@progress-bar-danger-bg); }\n\n// Reset the striped class because our mixins don't do multiple gradients and\n// the above custom styles override the new `.progress-bar-striped` in v3.2.0.\n.progress-bar-striped {\n #gradient > .striped();\n}\n\n\n//\n// List groups\n// --------------------------------------------------\n\n.list-group {\n border-radius: @border-radius-base;\n .box-shadow(0 1px 2px rgba(0,0,0,.075));\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);\n #gradient > .vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%));\n border-color: darken(@list-group-active-border, 7.5%);\n\n .badge {\n text-shadow: none;\n }\n}\n\n\n//\n// Panels\n// --------------------------------------------------\n\n// Common styles\n.panel {\n .box-shadow(0 1px 2px rgba(0,0,0,.05));\n}\n\n// Mixin for generating new styles\n.panel-heading-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 5%));\n}\n\n// Apply the mixin to the panel headings only\n.panel-default > .panel-heading { .panel-heading-styles(@panel-default-heading-bg); }\n.panel-primary > .panel-heading { .panel-heading-styles(@panel-primary-heading-bg); }\n.panel-success > .panel-heading { .panel-heading-styles(@panel-success-heading-bg); }\n.panel-info > .panel-heading { .panel-heading-styles(@panel-info-heading-bg); }\n.panel-warning > .panel-heading { .panel-heading-styles(@panel-warning-heading-bg); }\n.panel-danger > .panel-heading { .panel-heading-styles(@panel-danger-heading-bg); }\n\n\n//\n// Wells\n// --------------------------------------------------\n\n.well {\n #gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);\n border-color: darken(@well-bg, 10%);\n @shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);\n .box-shadow(@shadow);\n}\n","// Vendor Prefixes\n//\n// All vendor mixins are deprecated as of v3.2.0 due to the introduction of\n// Autoprefixer in our Gruntfile. They will be removed in v4.\n\n// - Animations\n// - Backface visibility\n// - Box shadow\n// - Box sizing\n// - Content columns\n// - Hyphens\n// - Placeholder text\n// - Transformations\n// - Transitions\n// - User Select\n\n\n// Animations\n.animation(@animation) {\n -webkit-animation: @animation;\n -o-animation: @animation;\n animation: @animation;\n}\n.animation-name(@name) {\n -webkit-animation-name: @name;\n animation-name: @name;\n}\n.animation-duration(@duration) {\n -webkit-animation-duration: @duration;\n animation-duration: @duration;\n}\n.animation-timing-function(@timing-function) {\n -webkit-animation-timing-function: @timing-function;\n animation-timing-function: @timing-function;\n}\n.animation-delay(@delay) {\n -webkit-animation-delay: @delay;\n animation-delay: @delay;\n}\n.animation-iteration-count(@iteration-count) {\n -webkit-animation-iteration-count: @iteration-count;\n animation-iteration-count: @iteration-count;\n}\n.animation-direction(@direction) {\n -webkit-animation-direction: @direction;\n animation-direction: @direction;\n}\n.animation-fill-mode(@fill-mode) {\n -webkit-animation-fill-mode: @fill-mode;\n animation-fill-mode: @fill-mode;\n}\n\n// Backface visibility\n// Prevent browsers from flickering when using CSS 3D transforms.\n// Default value is `visible`, but can be changed to `hidden`\n\n.backface-visibility(@visibility){\n -webkit-backface-visibility: @visibility;\n -moz-backface-visibility: @visibility;\n backface-visibility: @visibility;\n}\n\n// Drop shadows\n//\n// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's\n// supported browsers that have box shadow capabilities now support it.\n\n.box-shadow(@shadow) {\n -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\n box-shadow: @shadow;\n}\n\n// Box sizing\n.box-sizing(@boxmodel) {\n -webkit-box-sizing: @boxmodel;\n -moz-box-sizing: @boxmodel;\n box-sizing: @boxmodel;\n}\n\n// CSS3 Content Columns\n.content-columns(@column-count; @column-gap: @grid-gutter-width) {\n -webkit-column-count: @column-count;\n -moz-column-count: @column-count;\n column-count: @column-count;\n -webkit-column-gap: @column-gap;\n -moz-column-gap: @column-gap;\n column-gap: @column-gap;\n}\n\n// Optional hyphenation\n.hyphens(@mode: auto) {\n word-wrap: break-word;\n -webkit-hyphens: @mode;\n -moz-hyphens: @mode;\n -ms-hyphens: @mode; // IE10+\n -o-hyphens: @mode;\n hyphens: @mode;\n}\n\n// Placeholder text\n.placeholder(@color: @input-color-placeholder) {\n // Firefox\n &::-moz-placeholder {\n color: @color;\n opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526\n }\n &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+\n &::-webkit-input-placeholder { color: @color; } // Safari and Chrome\n}\n\n// Transformations\n.scale(@ratio) {\n -webkit-transform: scale(@ratio);\n -ms-transform: scale(@ratio); // IE9 only\n -o-transform: scale(@ratio);\n transform: scale(@ratio);\n}\n.scale(@ratioX; @ratioY) {\n -webkit-transform: scale(@ratioX, @ratioY);\n -ms-transform: scale(@ratioX, @ratioY); // IE9 only\n -o-transform: scale(@ratioX, @ratioY);\n transform: scale(@ratioX, @ratioY);\n}\n.scaleX(@ratio) {\n -webkit-transform: scaleX(@ratio);\n -ms-transform: scaleX(@ratio); // IE9 only\n -o-transform: scaleX(@ratio);\n transform: scaleX(@ratio);\n}\n.scaleY(@ratio) {\n -webkit-transform: scaleY(@ratio);\n -ms-transform: scaleY(@ratio); // IE9 only\n -o-transform: scaleY(@ratio);\n transform: scaleY(@ratio);\n}\n.skew(@x; @y) {\n -webkit-transform: skewX(@x) skewY(@y);\n -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\n -o-transform: skewX(@x) skewY(@y);\n transform: skewX(@x) skewY(@y);\n}\n.translate(@x; @y) {\n -webkit-transform: translate(@x, @y);\n -ms-transform: translate(@x, @y); // IE9 only\n -o-transform: translate(@x, @y);\n transform: translate(@x, @y);\n}\n.translate3d(@x; @y; @z) {\n -webkit-transform: translate3d(@x, @y, @z);\n transform: translate3d(@x, @y, @z);\n}\n.rotate(@degrees) {\n -webkit-transform: rotate(@degrees);\n -ms-transform: rotate(@degrees); // IE9 only\n -o-transform: rotate(@degrees);\n transform: rotate(@degrees);\n}\n.rotateX(@degrees) {\n -webkit-transform: rotateX(@degrees);\n -ms-transform: rotateX(@degrees); // IE9 only\n -o-transform: rotateX(@degrees);\n transform: rotateX(@degrees);\n}\n.rotateY(@degrees) {\n -webkit-transform: rotateY(@degrees);\n -ms-transform: rotateY(@degrees); // IE9 only\n -o-transform: rotateY(@degrees);\n transform: rotateY(@degrees);\n}\n.perspective(@perspective) {\n -webkit-perspective: @perspective;\n -moz-perspective: @perspective;\n perspective: @perspective;\n}\n.perspective-origin(@perspective) {\n -webkit-perspective-origin: @perspective;\n -moz-perspective-origin: @perspective;\n perspective-origin: @perspective;\n}\n.transform-origin(@origin) {\n -webkit-transform-origin: @origin;\n -moz-transform-origin: @origin;\n -ms-transform-origin: @origin; // IE9 only\n transform-origin: @origin;\n}\n\n\n// Transitions\n\n.transition(@transition) {\n -webkit-transition: @transition;\n -o-transition: @transition;\n transition: @transition;\n}\n.transition-property(@transition-property) {\n -webkit-transition-property: @transition-property;\n transition-property: @transition-property;\n}\n.transition-delay(@transition-delay) {\n -webkit-transition-delay: @transition-delay;\n transition-delay: @transition-delay;\n}\n.transition-duration(@transition-duration) {\n -webkit-transition-duration: @transition-duration;\n transition-duration: @transition-duration;\n}\n.transition-timing-function(@timing-function) {\n -webkit-transition-timing-function: @timing-function;\n transition-timing-function: @timing-function;\n}\n.transition-transform(@transition) {\n -webkit-transition: -webkit-transform @transition;\n -moz-transition: -moz-transform @transition;\n -o-transition: -o-transform @transition;\n transition: transform @transition;\n}\n\n\n// User select\n// For selecting text on the page\n\n.user-select(@select) {\n -webkit-user-select: @select;\n -moz-user-select: @select;\n -ms-user-select: @select; // IE10+\n user-select: @select;\n}\n",".btn-default,\n.btn-primary,\n.btn-success,\n.btn-info,\n.btn-warning,\n.btn-danger {\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.btn-default:active,\n.btn-primary:active,\n.btn-success:active,\n.btn-info:active,\n.btn-warning:active,\n.btn-danger:active,\n.btn-default.active,\n.btn-primary.active,\n.btn-success.active,\n.btn-info.active,\n.btn-warning.active,\n.btn-danger.active {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n.btn-default .badge,\n.btn-primary .badge,\n.btn-success .badge,\n.btn-info .badge,\n.btn-warning .badge,\n.btn-danger .badge {\n text-shadow: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n}\n.btn-default {\n background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);\n background-image: -o-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);\n background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #dbdbdb;\n text-shadow: 0 1px 0 #fff;\n border-color: #ccc;\n}\n.btn-default:hover,\n.btn-default:focus {\n background-color: #e0e0e0;\n background-position: 0 -15px;\n}\n.btn-default:active,\n.btn-default.active {\n background-color: #e0e0e0;\n border-color: #dbdbdb;\n}\n.btn-default.disabled,\n.btn-default:disabled,\n.btn-default[disabled] {\n background-color: #e0e0e0;\n background-image: none;\n}\n.btn-primary {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #245580;\n}\n.btn-primary:hover,\n.btn-primary:focus {\n background-color: #265a88;\n background-position: 0 -15px;\n}\n.btn-primary:active,\n.btn-primary.active {\n background-color: #265a88;\n border-color: #245580;\n}\n.btn-primary.disabled,\n.btn-primary:disabled,\n.btn-primary[disabled] {\n background-color: #265a88;\n background-image: none;\n}\n.btn-success {\n background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);\n background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);\n background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #3e8f3e;\n}\n.btn-success:hover,\n.btn-success:focus {\n background-color: #419641;\n background-position: 0 -15px;\n}\n.btn-success:active,\n.btn-success.active {\n background-color: #419641;\n border-color: #3e8f3e;\n}\n.btn-success.disabled,\n.btn-success:disabled,\n.btn-success[disabled] {\n background-color: #419641;\n background-image: none;\n}\n.btn-info {\n background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);\n background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);\n background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #28a4c9;\n}\n.btn-info:hover,\n.btn-info:focus {\n background-color: #2aabd2;\n background-position: 0 -15px;\n}\n.btn-info:active,\n.btn-info.active {\n background-color: #2aabd2;\n border-color: #28a4c9;\n}\n.btn-info.disabled,\n.btn-info:disabled,\n.btn-info[disabled] {\n background-color: #2aabd2;\n background-image: none;\n}\n.btn-warning {\n background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);\n background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);\n background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #e38d13;\n}\n.btn-warning:hover,\n.btn-warning:focus {\n background-color: #eb9316;\n background-position: 0 -15px;\n}\n.btn-warning:active,\n.btn-warning.active {\n background-color: #eb9316;\n border-color: #e38d13;\n}\n.btn-warning.disabled,\n.btn-warning:disabled,\n.btn-warning[disabled] {\n background-color: #eb9316;\n background-image: none;\n}\n.btn-danger {\n background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);\n background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);\n background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #b92c28;\n}\n.btn-danger:hover,\n.btn-danger:focus {\n background-color: #c12e2a;\n background-position: 0 -15px;\n}\n.btn-danger:active,\n.btn-danger.active {\n background-color: #c12e2a;\n border-color: #b92c28;\n}\n.btn-danger.disabled,\n.btn-danger:disabled,\n.btn-danger[disabled] {\n background-color: #c12e2a;\n background-image: none;\n}\n.thumbnail,\n.img-thumbnail {\n -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);\n background-color: #e8e8e8;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);\n background-color: #2e6da4;\n}\n.navbar-default {\n background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);\n background-image: -o-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);\n background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .active > a {\n background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);\n background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);\n background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);\n -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);\n}\n.navbar-brand,\n.navbar-nav > li > a {\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);\n}\n.navbar-inverse {\n background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);\n background-image: -o-linear-gradient(top, #3c3c3c 0%, #222222 100%);\n background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .active > a {\n background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);\n background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);\n background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);\n -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);\n box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);\n}\n.navbar-inverse .navbar-brand,\n.navbar-inverse .navbar-nav > li > a {\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n.navbar-static-top,\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n border-radius: 0;\n}\n@media (max-width: 767px) {\n .navbar .navbar-nav .open .dropdown-menu > .active > a,\n .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);\n }\n}\n.alert {\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n.alert-success {\n background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);\n background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);\n background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);\n border-color: #b2dba1;\n}\n.alert-info {\n background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);\n background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);\n background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);\n border-color: #9acfea;\n}\n.alert-warning {\n background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);\n background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);\n background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);\n border-color: #f5e79e;\n}\n.alert-danger {\n background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);\n background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);\n background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);\n border-color: #dca7a7;\n}\n.progress {\n background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);\n background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);\n background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);\n}\n.progress-bar {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);\n}\n.progress-bar-success {\n background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);\n background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);\n background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);\n}\n.progress-bar-info {\n background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);\n background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);\n background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);\n}\n.progress-bar-warning {\n background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);\n background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);\n background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);\n}\n.progress-bar-danger {\n background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);\n background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);\n background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);\n}\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.list-group {\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n text-shadow: 0 -1px 0 #286090;\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);\n border-color: #2b669a;\n}\n.list-group-item.active .badge,\n.list-group-item.active:hover .badge,\n.list-group-item.active:focus .badge {\n text-shadow: none;\n}\n.panel {\n -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n.panel-default > .panel-heading {\n background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);\n}\n.panel-primary > .panel-heading {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);\n}\n.panel-success > .panel-heading {\n background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);\n background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);\n background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);\n}\n.panel-info > .panel-heading {\n background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);\n background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);\n background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);\n}\n.panel-warning > .panel-heading {\n background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);\n background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);\n background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);\n}\n.panel-danger > .panel-heading {\n background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);\n background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);\n background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);\n}\n.well {\n background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);\n background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);\n background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);\n border-color: #dcdcdc;\n -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);\n}\n/*# sourceMappingURL=bootstrap-theme.css.map */","// Gradients\n\n#gradient {\n\n // Horizontal gradient, from left to right\n //\n // Creates two color stops, start and end, by specifying a color and position for each color stop.\n // Color stops are not available in IE9 and below.\n .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12\n background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n background-repeat: repeat-x;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down\n }\n\n // Vertical gradient, from top to bottom\n //\n // Creates two color stops, start and end, by specifying a color and position for each color stop.\n // Color stops are not available in IE9 and below.\n .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12\n background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n background-repeat: repeat-x;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down\n }\n\n .directional(@start-color: #555; @end-color: #333; @deg: 45deg) {\n background-repeat: repeat-x;\n background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12\n background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n }\n .horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);\n background-repeat: no-repeat;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n }\n .vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-repeat: no-repeat;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n }\n .radial(@inner-color: #555; @outer-color: #333) {\n background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);\n background-image: radial-gradient(circle, @inner-color, @outer-color);\n background-repeat: no-repeat;\n }\n .striped(@color: rgba(255,255,255,.15); @angle: 45deg) {\n background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n }\n}\n","// Reset filters for IE\n//\n// When you need to remove a gradient background, do not forget to use this to reset\n// the IE filter for IE9 and below.\n\n.reset-filter() {\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"));\n}\n"]} \ No newline at end of file diff --git a/docs/css/bootstrap-theme.min.css b/docs/css/bootstrap-theme.min.css new file mode 100644 index 00000000..ac8dd550 --- /dev/null +++ b/docs/css/bootstrap-theme.min.css @@ -0,0 +1,5 @@ +/*! + * Bootstrap v3.3.2 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} \ No newline at end of file diff --git a/docs/css/bootstrap.css b/docs/css/bootstrap.css new file mode 100644 index 00000000..c46af7df --- /dev/null +++ b/docs/css/bootstrap.css @@ -0,0 +1,6566 @@ +/*! + * Bootstrap v3.3.2 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ + +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} +body { + margin: 0; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; +} +audio:not([controls]) { + display: none; + height: 0; +} +[hidden], +template { + display: none; +} +a { + background-color: transparent; +} +a:active, +a:hover { + outline: 0; +} +abbr[title] { + border-bottom: 1px dotted; +} +b, +strong { + font-weight: bold; +} +dfn { + font-style: italic; +} +h1 { + margin: .67em 0; + font-size: 2em; +} +mark { + color: #000; + background: #ff0; +} +small { + font-size: 80%; +} +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} +sup { + top: -.5em; +} +sub { + bottom: -.25em; +} +img { + border: 0; +} +svg:not(:root) { + overflow: hidden; +} +figure { + margin: 1em 40px; +} +hr { + height: 0; + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} +pre { + overflow: auto; +} +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} +button, +input, +optgroup, +select, +textarea { + margin: 0; + font: inherit; + color: inherit; +} +button { + overflow: visible; +} +button, +select { + text-transform: none; +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} +button[disabled], +html input[disabled] { + cursor: default; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} +input { + line-height: normal; +} +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 0; +} +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +fieldset { + padding: .35em .625em .75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} +legend { + padding: 0; + border: 0; +} +textarea { + overflow: auto; +} +optgroup { + font-weight: bold; +} +table { + border-spacing: 0; + border-collapse: collapse; +} +td, +th { + padding: 0; +} +/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ +@media print { + *, + *:before, + *:after { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="#"]:after, + a[href^="javascript:"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} +@font-face { + font-family: 'Glyphicons Halflings'; + + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); +} +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + font-style: normal; + font-weight: normal; + line-height: 1; + + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.glyphicon-asterisk:before { + content: "\2a"; +} +.glyphicon-plus:before { + content: "\2b"; +} +.glyphicon-euro:before, +.glyphicon-eur:before { + content: "\20ac"; +} +.glyphicon-minus:before { + content: "\2212"; +} +.glyphicon-cloud:before { + content: "\2601"; +} +.glyphicon-envelope:before { + content: "\2709"; +} +.glyphicon-pencil:before { + content: "\270f"; +} +.glyphicon-glass:before { + content: "\e001"; +} +.glyphicon-music:before { + content: "\e002"; +} +.glyphicon-search:before { + content: "\e003"; +} +.glyphicon-heart:before { + content: "\e005"; +} +.glyphicon-star:before { + content: "\e006"; +} +.glyphicon-star-empty:before { + content: "\e007"; +} +.glyphicon-user:before { + content: "\e008"; +} +.glyphicon-film:before { + content: "\e009"; +} +.glyphicon-th-large:before { + content: "\e010"; +} +.glyphicon-th:before { + content: "\e011"; +} +.glyphicon-th-list:before { + content: "\e012"; +} +.glyphicon-ok:before { + content: "\e013"; +} +.glyphicon-remove:before { + content: "\e014"; +} +.glyphicon-zoom-in:before { + content: "\e015"; +} +.glyphicon-zoom-out:before { + content: "\e016"; +} +.glyphicon-off:before { + content: "\e017"; +} +.glyphicon-signal:before { + content: "\e018"; +} +.glyphicon-cog:before { + content: "\e019"; +} +.glyphicon-trash:before { + content: "\e020"; +} +.glyphicon-home:before { + content: "\e021"; +} +.glyphicon-file:before { + content: "\e022"; +} +.glyphicon-time:before { + content: "\e023"; +} +.glyphicon-road:before { + content: "\e024"; +} +.glyphicon-download-alt:before { + content: "\e025"; +} +.glyphicon-download:before { + content: "\e026"; +} +.glyphicon-upload:before { + content: "\e027"; +} +.glyphicon-inbox:before { + content: "\e028"; +} +.glyphicon-play-circle:before { + content: "\e029"; +} +.glyphicon-repeat:before { + content: "\e030"; +} +.glyphicon-refresh:before { + content: "\e031"; +} +.glyphicon-list-alt:before { + content: "\e032"; +} +.glyphicon-lock:before { + content: "\e033"; +} +.glyphicon-flag:before { + content: "\e034"; +} +.glyphicon-headphones:before { + content: "\e035"; +} +.glyphicon-volume-off:before { + content: "\e036"; +} +.glyphicon-volume-down:before { + content: "\e037"; +} +.glyphicon-volume-up:before { + content: "\e038"; +} +.glyphicon-qrcode:before { + content: "\e039"; +} +.glyphicon-barcode:before { + content: "\e040"; +} +.glyphicon-tag:before { + content: "\e041"; +} +.glyphicon-tags:before { + content: "\e042"; +} +.glyphicon-book:before { + content: "\e043"; +} +.glyphicon-bookmark:before { + content: "\e044"; +} +.glyphicon-print:before { + content: "\e045"; +} +.glyphicon-camera:before { + content: "\e046"; +} +.glyphicon-font:before { + content: "\e047"; +} +.glyphicon-bold:before { + content: "\e048"; +} +.glyphicon-italic:before { + content: "\e049"; +} +.glyphicon-text-height:before { + content: "\e050"; +} +.glyphicon-text-width:before { + content: "\e051"; +} +.glyphicon-align-left:before { + content: "\e052"; +} +.glyphicon-align-center:before { + content: "\e053"; +} +.glyphicon-align-right:before { + content: "\e054"; +} +.glyphicon-align-justify:before { + content: "\e055"; +} +.glyphicon-list:before { + content: "\e056"; +} +.glyphicon-indent-left:before { + content: "\e057"; +} +.glyphicon-indent-right:before { + content: "\e058"; +} +.glyphicon-facetime-video:before { + content: "\e059"; +} +.glyphicon-picture:before { + content: "\e060"; +} +.glyphicon-map-marker:before { + content: "\e062"; +} +.glyphicon-adjust:before { + content: "\e063"; +} +.glyphicon-tint:before { + content: "\e064"; +} +.glyphicon-edit:before { + content: "\e065"; +} +.glyphicon-share:before { + content: "\e066"; +} +.glyphicon-check:before { + content: "\e067"; +} +.glyphicon-move:before { + content: "\e068"; +} +.glyphicon-step-backward:before { + content: "\e069"; +} +.glyphicon-fast-backward:before { + content: "\e070"; +} +.glyphicon-backward:before { + content: "\e071"; +} +.glyphicon-play:before { + content: "\e072"; +} +.glyphicon-pause:before { + content: "\e073"; +} +.glyphicon-stop:before { + content: "\e074"; +} +.glyphicon-forward:before { + content: "\e075"; +} +.glyphicon-fast-forward:before { + content: "\e076"; +} +.glyphicon-step-forward:before { + content: "\e077"; +} +.glyphicon-eject:before { + content: "\e078"; +} +.glyphicon-chevron-left:before { + content: "\e079"; +} +.glyphicon-chevron-right:before { + content: "\e080"; +} +.glyphicon-plus-sign:before { + content: "\e081"; +} +.glyphicon-minus-sign:before { + content: "\e082"; +} +.glyphicon-remove-sign:before { + content: "\e083"; +} +.glyphicon-ok-sign:before { + content: "\e084"; +} +.glyphicon-question-sign:before { + content: "\e085"; +} +.glyphicon-info-sign:before { + content: "\e086"; +} +.glyphicon-screenshot:before { + content: "\e087"; +} +.glyphicon-remove-circle:before { + content: "\e088"; +} +.glyphicon-ok-circle:before { + content: "\e089"; +} +.glyphicon-ban-circle:before { + content: "\e090"; +} +.glyphicon-arrow-left:before { + content: "\e091"; +} +.glyphicon-arrow-right:before { + content: "\e092"; +} +.glyphicon-arrow-up:before { + content: "\e093"; +} +.glyphicon-arrow-down:before { + content: "\e094"; +} +.glyphicon-share-alt:before { + content: "\e095"; +} +.glyphicon-resize-full:before { + content: "\e096"; +} +.glyphicon-resize-small:before { + content: "\e097"; +} +.glyphicon-exclamation-sign:before { + content: "\e101"; +} +.glyphicon-gift:before { + content: "\e102"; +} +.glyphicon-leaf:before { + content: "\e103"; +} +.glyphicon-fire:before { + content: "\e104"; +} +.glyphicon-eye-open:before { + content: "\e105"; +} +.glyphicon-eye-close:before { + content: "\e106"; +} +.glyphicon-warning-sign:before { + content: "\e107"; +} +.glyphicon-plane:before { + content: "\e108"; +} +.glyphicon-calendar:before { + content: "\e109"; +} +.glyphicon-random:before { + content: "\e110"; +} +.glyphicon-comment:before { + content: "\e111"; +} +.glyphicon-magnet:before { + content: "\e112"; +} +.glyphicon-chevron-up:before { + content: "\e113"; +} +.glyphicon-chevron-down:before { + content: "\e114"; +} +.glyphicon-retweet:before { + content: "\e115"; +} +.glyphicon-shopping-cart:before { + content: "\e116"; +} +.glyphicon-folder-close:before { + content: "\e117"; +} +.glyphicon-folder-open:before { + content: "\e118"; +} +.glyphicon-resize-vertical:before { + content: "\e119"; +} +.glyphicon-resize-horizontal:before { + content: "\e120"; +} +.glyphicon-hdd:before { + content: "\e121"; +} +.glyphicon-bullhorn:before { + content: "\e122"; +} +.glyphicon-bell:before { + content: "\e123"; +} +.glyphicon-certificate:before { + content: "\e124"; +} +.glyphicon-thumbs-up:before { + content: "\e125"; +} +.glyphicon-thumbs-down:before { + content: "\e126"; +} +.glyphicon-hand-right:before { + content: "\e127"; +} +.glyphicon-hand-left:before { + content: "\e128"; +} +.glyphicon-hand-up:before { + content: "\e129"; +} +.glyphicon-hand-down:before { + content: "\e130"; +} +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} +.glyphicon-globe:before { + content: "\e135"; +} +.glyphicon-wrench:before { + content: "\e136"; +} +.glyphicon-tasks:before { + content: "\e137"; +} +.glyphicon-filter:before { + content: "\e138"; +} +.glyphicon-briefcase:before { + content: "\e139"; +} +.glyphicon-fullscreen:before { + content: "\e140"; +} +.glyphicon-dashboard:before { + content: "\e141"; +} +.glyphicon-paperclip:before { + content: "\e142"; +} +.glyphicon-heart-empty:before { + content: "\e143"; +} +.glyphicon-link:before { + content: "\e144"; +} +.glyphicon-phone:before { + content: "\e145"; +} +.glyphicon-pushpin:before { + content: "\e146"; +} +.glyphicon-usd:before { + content: "\e148"; +} +.glyphicon-gbp:before { + content: "\e149"; +} +.glyphicon-sort:before { + content: "\e150"; +} +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} +.glyphicon-sort-by-order:before { + content: "\e153"; +} +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} +.glyphicon-unchecked:before { + content: "\e157"; +} +.glyphicon-expand:before { + content: "\e158"; +} +.glyphicon-collapse-down:before { + content: "\e159"; +} +.glyphicon-collapse-up:before { + content: "\e160"; +} +.glyphicon-log-in:before { + content: "\e161"; +} +.glyphicon-flash:before { + content: "\e162"; +} +.glyphicon-log-out:before { + content: "\e163"; +} +.glyphicon-new-window:before { + content: "\e164"; +} +.glyphicon-record:before { + content: "\e165"; +} +.glyphicon-save:before { + content: "\e166"; +} +.glyphicon-open:before { + content: "\e167"; +} +.glyphicon-saved:before { + content: "\e168"; +} +.glyphicon-import:before { + content: "\e169"; +} +.glyphicon-export:before { + content: "\e170"; +} +.glyphicon-send:before { + content: "\e171"; +} +.glyphicon-floppy-disk:before { + content: "\e172"; +} +.glyphicon-floppy-saved:before { + content: "\e173"; +} +.glyphicon-floppy-remove:before { + content: "\e174"; +} +.glyphicon-floppy-save:before { + content: "\e175"; +} +.glyphicon-floppy-open:before { + content: "\e176"; +} +.glyphicon-credit-card:before { + content: "\e177"; +} +.glyphicon-transfer:before { + content: "\e178"; +} +.glyphicon-cutlery:before { + content: "\e179"; +} +.glyphicon-header:before { + content: "\e180"; +} +.glyphicon-compressed:before { + content: "\e181"; +} +.glyphicon-earphone:before { + content: "\e182"; +} +.glyphicon-phone-alt:before { + content: "\e183"; +} +.glyphicon-tower:before { + content: "\e184"; +} +.glyphicon-stats:before { + content: "\e185"; +} +.glyphicon-sd-video:before { + content: "\e186"; +} +.glyphicon-hd-video:before { + content: "\e187"; +} +.glyphicon-subtitles:before { + content: "\e188"; +} +.glyphicon-sound-stereo:before { + content: "\e189"; +} +.glyphicon-sound-dolby:before { + content: "\e190"; +} +.glyphicon-sound-5-1:before { + content: "\e191"; +} +.glyphicon-sound-6-1:before { + content: "\e192"; +} +.glyphicon-sound-7-1:before { + content: "\e193"; +} +.glyphicon-copyright-mark:before { + content: "\e194"; +} +.glyphicon-registration-mark:before { + content: "\e195"; +} +.glyphicon-cloud-download:before { + content: "\e197"; +} +.glyphicon-cloud-upload:before { + content: "\e198"; +} +.glyphicon-tree-conifer:before { + content: "\e199"; +} +.glyphicon-tree-deciduous:before { + content: "\e200"; +} +.glyphicon-cd:before { + content: "\e201"; +} +.glyphicon-save-file:before { + content: "\e202"; +} +.glyphicon-open-file:before { + content: "\e203"; +} +.glyphicon-level-up:before { + content: "\e204"; +} +.glyphicon-copy:before { + content: "\e205"; +} +.glyphicon-paste:before { + content: "\e206"; +} +.glyphicon-alert:before { + content: "\e209"; +} +.glyphicon-equalizer:before { + content: "\e210"; +} +.glyphicon-king:before { + content: "\e211"; +} +.glyphicon-queen:before { + content: "\e212"; +} +.glyphicon-pawn:before { + content: "\e213"; +} +.glyphicon-bishop:before { + content: "\e214"; +} +.glyphicon-knight:before { + content: "\e215"; +} +.glyphicon-baby-formula:before { + content: "\e216"; +} +.glyphicon-tent:before { + content: "\26fa"; +} +.glyphicon-blackboard:before { + content: "\e218"; +} +.glyphicon-bed:before { + content: "\e219"; +} +.glyphicon-apple:before { + content: "\f8ff"; +} +.glyphicon-erase:before { + content: "\e221"; +} +.glyphicon-hourglass:before { + content: "\231b"; +} +.glyphicon-lamp:before { + content: "\e223"; +} +.glyphicon-duplicate:before { + content: "\e224"; +} +.glyphicon-piggy-bank:before { + content: "\e225"; +} +.glyphicon-scissors:before { + content: "\e226"; +} +.glyphicon-bitcoin:before { + content: "\e227"; +} +.glyphicon-yen:before { + content: "\00a5"; +} +.glyphicon-ruble:before { + content: "\20bd"; +} +.glyphicon-scale:before { + content: "\e230"; +} +.glyphicon-ice-lolly:before { + content: "\e231"; +} +.glyphicon-ice-lolly-tasted:before { + content: "\e232"; +} +.glyphicon-education:before { + content: "\e233"; +} +.glyphicon-option-horizontal:before { + content: "\e234"; +} +.glyphicon-option-vertical:before { + content: "\e235"; +} +.glyphicon-menu-hamburger:before { + content: "\e236"; +} +.glyphicon-modal-window:before { + content: "\e237"; +} +.glyphicon-oil:before { + content: "\e238"; +} +.glyphicon-grain:before { + content: "\e239"; +} +.glyphicon-sunglasses:before { + content: "\e240"; +} +.glyphicon-text-size:before { + content: "\e241"; +} +.glyphicon-text-color:before { + content: "\e242"; +} +.glyphicon-text-background:before { + content: "\e243"; +} +.glyphicon-object-align-top:before { + content: "\e244"; +} +.glyphicon-object-align-bottom:before { + content: "\e245"; +} +.glyphicon-object-align-horizontal:before { + content: "\e246"; +} +.glyphicon-object-align-left:before { + content: "\e247"; +} +.glyphicon-object-align-vertical:before { + content: "\e248"; +} +.glyphicon-object-align-right:before { + content: "\e249"; +} +.glyphicon-triangle-right:before { + content: "\e250"; +} +.glyphicon-triangle-left:before { + content: "\e251"; +} +.glyphicon-triangle-bottom:before { + content: "\e252"; +} +.glyphicon-triangle-top:before { + content: "\e253"; +} +.glyphicon-console:before { + content: "\e254"; +} +.glyphicon-superscript:before { + content: "\e255"; +} +.glyphicon-subscript:before { + content: "\e256"; +} +.glyphicon-menu-left:before { + content: "\e257"; +} +.glyphicon-menu-right:before { + content: "\e258"; +} +.glyphicon-menu-down:before { + content: "\e259"; +} +.glyphicon-menu-up:before { + content: "\e260"; +} +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +html { + font-size: 10px; + + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.42857143; + color: #333; + background-color: #fff; +} +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} +a { + color: #337ab7; + text-decoration: none; +} +a:hover, +a:focus { + color: #23527c; + text-decoration: underline; +} +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +figure { + margin: 0; +} +img { + vertical-align: middle; +} +.img-responsive, +.thumbnail > img, +.thumbnail a > img, +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + max-width: 100%; + height: auto; +} +.img-rounded { + border-radius: 6px; +} +.img-thumbnail { + display: inline-block; + max-width: 100%; + height: auto; + padding: 4px; + line-height: 1.42857143; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-transition: all .2s ease-in-out; + -o-transition: all .2s ease-in-out; + transition: all .2s ease-in-out; +} +.img-circle { + border-radius: 50%; +} +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eee; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: inherit; + font-weight: 500; + line-height: 1.1; + color: inherit; +} +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #777; +} +h1, +.h1, +h2, +.h2, +h3, +.h3 { + margin-top: 20px; + margin-bottom: 10px; +} +h1 small, +.h1 small, +h2 small, +.h2 small, +h3 small, +.h3 small, +h1 .small, +.h1 .small, +h2 .small, +.h2 .small, +h3 .small, +.h3 .small { + font-size: 65%; +} +h4, +.h4, +h5, +.h5, +h6, +.h6 { + margin-top: 10px; + margin-bottom: 10px; +} +h4 small, +.h4 small, +h5 small, +.h5 small, +h6 small, +.h6 small, +h4 .small, +.h4 .small, +h5 .small, +.h5 .small, +h6 .small, +.h6 .small { + font-size: 75%; +} +h1, +.h1 { + font-size: 36px; +} +h2, +.h2 { + font-size: 30px; +} +h3, +.h3 { + font-size: 24px; +} +h4, +.h4 { + font-size: 18px; +} +h5, +.h5 { + font-size: 14px; +} +h6, +.h6 { + font-size: 12px; +} +p { + margin: 0 0 10px; +} +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 300; + line-height: 1.4; +} +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} +small, +.small { + font-size: 85%; +} +mark, +.mark { + padding: .2em; + background-color: #fcf8e3; +} +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-center { + text-align: center; +} +.text-justify { + text-align: justify; +} +.text-nowrap { + white-space: nowrap; +} +.text-lowercase { + text-transform: lowercase; +} +.text-uppercase { + text-transform: uppercase; +} +.text-capitalize { + text-transform: capitalize; +} +.text-muted { + color: #777; +} +.text-primary { + color: #337ab7; +} +a.text-primary:hover { + color: #286090; +} +.text-success { + color: #3c763d; +} +a.text-success:hover { + color: #2b542c; +} +.text-info { + color: #31708f; +} +a.text-info:hover { + color: #245269; +} +.text-warning { + color: #8a6d3b; +} +a.text-warning:hover { + color: #66512c; +} +.text-danger { + color: #a94442; +} +a.text-danger:hover { + color: #843534; +} +.bg-primary { + color: #fff; + background-color: #337ab7; +} +a.bg-primary:hover { + background-color: #286090; +} +.bg-success { + background-color: #dff0d8; +} +a.bg-success:hover { + background-color: #c1e2b3; +} +.bg-info { + background-color: #d9edf7; +} +a.bg-info:hover { + background-color: #afd9ee; +} +.bg-warning { + background-color: #fcf8e3; +} +a.bg-warning:hover { + background-color: #f7ecb5; +} +.bg-danger { + background-color: #f2dede; +} +a.bg-danger:hover { + background-color: #e4b9b9; +} +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eee; +} +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} +.list-unstyled { + padding-left: 0; + list-style: none; +} +.list-inline { + padding-left: 0; + margin-left: -5px; + list-style: none; +} +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} +dl { + margin-top: 0; + margin-bottom: 20px; +} +dt, +dd { + line-height: 1.42857143; +} +dt { + font-weight: bold; +} +dd { + margin-left: 0; +} +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } +} +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #777; +} +.initialism { + font-size: 90%; + text-transform: uppercase; +} +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + font-size: 17.5px; + border-left: 5px solid #eee; +} +blockquote p:last-child, +blockquote ul:last-child, +blockquote ol:last-child { + margin-bottom: 0; +} +blockquote footer, +blockquote small, +blockquote .small { + display: block; + font-size: 80%; + line-height: 1.42857143; + color: #777; +} +blockquote footer:before, +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} +.blockquote-reverse, +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + text-align: right; + border-right: 5px solid #eee; + border-left: 0; +} +.blockquote-reverse footer:before, +blockquote.pull-right footer:before, +.blockquote-reverse small:before, +blockquote.pull-right small:before, +.blockquote-reverse .small:before, +blockquote.pull-right .small:before { + content: ''; +} +.blockquote-reverse footer:after, +blockquote.pull-right footer:after, +.blockquote-reverse small:after, +blockquote.pull-right small:after, +.blockquote-reverse .small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.42857143; +} +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + background-color: #f9f2f4; + border-radius: 4px; +} +kbd { + padding: 2px 4px; + font-size: 90%; + color: #fff; + background-color: #333; + border-radius: 3px; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); +} +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: bold; + -webkit-box-shadow: none; + box-shadow: none; +} +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.42857143; + color: #333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #ccc; + border-radius: 4px; +} +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +@media (min-width: 768px) { + .container { + width: 750px; + } +} +@media (min-width: 992px) { + .container { + width: 970px; + } +} +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} +.container-fluid { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +.row { + margin-right: -15px; + margin-left: -15px; +} +.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} +.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { + float: left; +} +.col-xs-12 { + width: 100%; +} +.col-xs-11 { + width: 91.66666667%; +} +.col-xs-10 { + width: 83.33333333%; +} +.col-xs-9 { + width: 75%; +} +.col-xs-8 { + width: 66.66666667%; +} +.col-xs-7 { + width: 58.33333333%; +} +.col-xs-6 { + width: 50%; +} +.col-xs-5 { + width: 41.66666667%; +} +.col-xs-4 { + width: 33.33333333%; +} +.col-xs-3 { + width: 25%; +} +.col-xs-2 { + width: 16.66666667%; +} +.col-xs-1 { + width: 8.33333333%; +} +.col-xs-pull-12 { + right: 100%; +} +.col-xs-pull-11 { + right: 91.66666667%; +} +.col-xs-pull-10 { + right: 83.33333333%; +} +.col-xs-pull-9 { + right: 75%; +} +.col-xs-pull-8 { + right: 66.66666667%; +} +.col-xs-pull-7 { + right: 58.33333333%; +} +.col-xs-pull-6 { + right: 50%; +} +.col-xs-pull-5 { + right: 41.66666667%; +} +.col-xs-pull-4 { + right: 33.33333333%; +} +.col-xs-pull-3 { + right: 25%; +} +.col-xs-pull-2 { + right: 16.66666667%; +} +.col-xs-pull-1 { + right: 8.33333333%; +} +.col-xs-pull-0 { + right: auto; +} +.col-xs-push-12 { + left: 100%; +} +.col-xs-push-11 { + left: 91.66666667%; +} +.col-xs-push-10 { + left: 83.33333333%; +} +.col-xs-push-9 { + left: 75%; +} +.col-xs-push-8 { + left: 66.66666667%; +} +.col-xs-push-7 { + left: 58.33333333%; +} +.col-xs-push-6 { + left: 50%; +} +.col-xs-push-5 { + left: 41.66666667%; +} +.col-xs-push-4 { + left: 33.33333333%; +} +.col-xs-push-3 { + left: 25%; +} +.col-xs-push-2 { + left: 16.66666667%; +} +.col-xs-push-1 { + left: 8.33333333%; +} +.col-xs-push-0 { + left: auto; +} +.col-xs-offset-12 { + margin-left: 100%; +} +.col-xs-offset-11 { + margin-left: 91.66666667%; +} +.col-xs-offset-10 { + margin-left: 83.33333333%; +} +.col-xs-offset-9 { + margin-left: 75%; +} +.col-xs-offset-8 { + margin-left: 66.66666667%; +} +.col-xs-offset-7 { + margin-left: 58.33333333%; +} +.col-xs-offset-6 { + margin-left: 50%; +} +.col-xs-offset-5 { + margin-left: 41.66666667%; +} +.col-xs-offset-4 { + margin-left: 33.33333333%; +} +.col-xs-offset-3 { + margin-left: 25%; +} +.col-xs-offset-2 { + margin-left: 16.66666667%; +} +.col-xs-offset-1 { + margin-left: 8.33333333%; +} +.col-xs-offset-0 { + margin-left: 0; +} +@media (min-width: 768px) { + .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666667%; + } + .col-sm-10 { + width: 83.33333333%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666667%; + } + .col-sm-7 { + width: 58.33333333%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666667%; + } + .col-sm-4 { + width: 33.33333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.66666667%; + } + .col-sm-1 { + width: 8.33333333%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666667%; + } + .col-sm-pull-10 { + right: 83.33333333%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666667%; + } + .col-sm-pull-7 { + right: 58.33333333%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666667%; + } + .col-sm-pull-4 { + right: 33.33333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.66666667%; + } + .col-sm-pull-1 { + right: 8.33333333%; + } + .col-sm-pull-0 { + right: auto; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666667%; + } + .col-sm-push-10 { + left: 83.33333333%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666667%; + } + .col-sm-push-7 { + left: 58.33333333%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666667%; + } + .col-sm-push-4 { + left: 33.33333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.66666667%; + } + .col-sm-push-1 { + left: 8.33333333%; + } + .col-sm-push-0 { + left: auto; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666667%; + } + .col-sm-offset-10 { + margin-left: 83.33333333%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666667%; + } + .col-sm-offset-7 { + margin-left: 58.33333333%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.66666667%; + } + .col-sm-offset-1 { + margin-left: 8.33333333%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} +@media (min-width: 992px) { + .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666667%; + } + .col-md-10 { + width: 83.33333333%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666667%; + } + .col-md-7 { + width: 58.33333333%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666667%; + } + .col-md-4 { + width: 33.33333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.66666667%; + } + .col-md-1 { + width: 8.33333333%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666667%; + } + .col-md-pull-10 { + right: 83.33333333%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666667%; + } + .col-md-pull-7 { + right: 58.33333333%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666667%; + } + .col-md-pull-4 { + right: 33.33333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.66666667%; + } + .col-md-pull-1 { + right: 8.33333333%; + } + .col-md-pull-0 { + right: auto; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666667%; + } + .col-md-push-10 { + left: 83.33333333%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666667%; + } + .col-md-push-7 { + left: 58.33333333%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666667%; + } + .col-md-push-4 { + left: 33.33333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.66666667%; + } + .col-md-push-1 { + left: 8.33333333%; + } + .col-md-push-0 { + left: auto; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666667%; + } + .col-md-offset-10 { + margin-left: 83.33333333%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666667%; + } + .col-md-offset-7 { + margin-left: 58.33333333%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.66666667%; + } + .col-md-offset-1 { + margin-left: 8.33333333%; + } + .col-md-offset-0 { + margin-left: 0; + } +} +@media (min-width: 1200px) { + .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666667%; + } + .col-lg-10 { + width: 83.33333333%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666667%; + } + .col-lg-7 { + width: 58.33333333%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666667%; + } + .col-lg-4 { + width: 33.33333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.66666667%; + } + .col-lg-1 { + width: 8.33333333%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666667%; + } + .col-lg-pull-10 { + right: 83.33333333%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666667%; + } + .col-lg-pull-7 { + right: 58.33333333%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666667%; + } + .col-lg-pull-4 { + right: 33.33333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.66666667%; + } + .col-lg-pull-1 { + right: 8.33333333%; + } + .col-lg-pull-0 { + right: auto; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666667%; + } + .col-lg-push-10 { + left: 83.33333333%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666667%; + } + .col-lg-push-7 { + left: 58.33333333%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666667%; + } + .col-lg-push-4 { + left: 33.33333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.66666667%; + } + .col-lg-push-1 { + left: 8.33333333%; + } + .col-lg-push-0 { + left: auto; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666667%; + } + .col-lg-offset-10 { + margin-left: 83.33333333%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666667%; + } + .col-lg-offset-7 { + margin-left: 58.33333333%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.66666667%; + } + .col-lg-offset-1 { + margin-left: 8.33333333%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} +table { + background-color: transparent; +} +caption { + padding-top: 8px; + padding-bottom: 8px; + color: #777; + text-align: left; +} +th { + text-align: left; +} +.table { + width: 100%; + max-width: 100%; + margin-bottom: 20px; +} +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.42857143; + vertical-align: top; + border-top: 1px solid #ddd; +} +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #ddd; +} +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} +.table > tbody + tbody { + border-top: 2px solid #ddd; +} +.table .table { + background-color: #fff; +} +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} +.table-bordered { + border: 1px solid #ddd; +} +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #ddd; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} +.table-striped > tbody > tr:nth-of-type(odd) { + background-color: #f9f9f9; +} +.table-hover > tbody > tr:hover { + background-color: #f5f5f5; +} +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} +table td[class*="col-"], +table th[class*="col-"] { + position: static; + display: table-cell; + float: none; +} +.table > thead > tr > td.active, +.table > tbody > tr > td.active, +.table > tfoot > tr > td.active, +.table > thead > tr > th.active, +.table > tbody > tr > th.active, +.table > tfoot > tr > th.active, +.table > thead > tr.active > td, +.table > tbody > tr.active > td, +.table > tfoot > tr.active > td, +.table > thead > tr.active > th, +.table > tbody > tr.active > th, +.table > tfoot > tr.active > th { + background-color: #f5f5f5; +} +.table-hover > tbody > tr > td.active:hover, +.table-hover > tbody > tr > th.active:hover, +.table-hover > tbody > tr.active:hover > td, +.table-hover > tbody > tr:hover > .active, +.table-hover > tbody > tr.active:hover > th { + background-color: #e8e8e8; +} +.table > thead > tr > td.success, +.table > tbody > tr > td.success, +.table > tfoot > tr > td.success, +.table > thead > tr > th.success, +.table > tbody > tr > th.success, +.table > tfoot > tr > th.success, +.table > thead > tr.success > td, +.table > tbody > tr.success > td, +.table > tfoot > tr.success > td, +.table > thead > tr.success > th, +.table > tbody > tr.success > th, +.table > tfoot > tr.success > th { + background-color: #dff0d8; +} +.table-hover > tbody > tr > td.success:hover, +.table-hover > tbody > tr > th.success:hover, +.table-hover > tbody > tr.success:hover > td, +.table-hover > tbody > tr:hover > .success, +.table-hover > tbody > tr.success:hover > th { + background-color: #d0e9c6; +} +.table > thead > tr > td.info, +.table > tbody > tr > td.info, +.table > tfoot > tr > td.info, +.table > thead > tr > th.info, +.table > tbody > tr > th.info, +.table > tfoot > tr > th.info, +.table > thead > tr.info > td, +.table > tbody > tr.info > td, +.table > tfoot > tr.info > td, +.table > thead > tr.info > th, +.table > tbody > tr.info > th, +.table > tfoot > tr.info > th { + background-color: #d9edf7; +} +.table-hover > tbody > tr > td.info:hover, +.table-hover > tbody > tr > th.info:hover, +.table-hover > tbody > tr.info:hover > td, +.table-hover > tbody > tr:hover > .info, +.table-hover > tbody > tr.info:hover > th { + background-color: #c4e3f3; +} +.table > thead > tr > td.warning, +.table > tbody > tr > td.warning, +.table > tfoot > tr > td.warning, +.table > thead > tr > th.warning, +.table > tbody > tr > th.warning, +.table > tfoot > tr > th.warning, +.table > thead > tr.warning > td, +.table > tbody > tr.warning > td, +.table > tfoot > tr.warning > td, +.table > thead > tr.warning > th, +.table > tbody > tr.warning > th, +.table > tfoot > tr.warning > th { + background-color: #fcf8e3; +} +.table-hover > tbody > tr > td.warning:hover, +.table-hover > tbody > tr > th.warning:hover, +.table-hover > tbody > tr.warning:hover > td, +.table-hover > tbody > tr:hover > .warning, +.table-hover > tbody > tr.warning:hover > th { + background-color: #faf2cc; +} +.table > thead > tr > td.danger, +.table > tbody > tr > td.danger, +.table > tfoot > tr > td.danger, +.table > thead > tr > th.danger, +.table > tbody > tr > th.danger, +.table > tfoot > tr > th.danger, +.table > thead > tr.danger > td, +.table > tbody > tr.danger > td, +.table > tfoot > tr.danger > td, +.table > thead > tr.danger > th, +.table > tbody > tr.danger > th, +.table > tfoot > tr.danger > th { + background-color: #f2dede; +} +.table-hover > tbody > tr > td.danger:hover, +.table-hover > tbody > tr > th.danger:hover, +.table-hover > tbody > tr.danger:hover > td, +.table-hover > tbody > tr:hover > .danger, +.table-hover > tbody > tr.danger:hover > th { + background-color: #ebcccc; +} +.table-responsive { + min-height: .01%; + overflow-x: auto; +} +@media screen and (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-y: hidden; + -ms-overflow-style: -ms-autohiding-scrollbar; + border: 1px solid #ddd; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} +label { + display: inline-block; + max-width: 100%; + margin-bottom: 5px; + font-weight: bold; +} +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + line-height: normal; +} +input[type="file"] { + display: block; +} +input[type="range"] { + display: block; + width: 100%; +} +select[multiple], +select[size] { + height: auto; +} +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.42857143; + color: #555; +} +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.42857143; + color: #555; + background-color: #fff; + background-image: none; + border: 1px solid #ccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; + -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); +} +.form-control::-moz-placeholder { + color: #999; + opacity: 1; +} +.form-control:-ms-input-placeholder { + color: #999; +} +.form-control::-webkit-input-placeholder { + color: #999; +} +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eee; + opacity: 1; +} +textarea.form-control { + height: auto; +} +input[type="search"] { + -webkit-appearance: none; +} +@media screen and (-webkit-min-device-pixel-ratio: 0) { + input[type="date"], + input[type="time"], + input[type="datetime-local"], + input[type="month"] { + line-height: 34px; + } + input[type="date"].input-sm, + input[type="time"].input-sm, + input[type="datetime-local"].input-sm, + input[type="month"].input-sm, + .input-group-sm input[type="date"], + .input-group-sm input[type="time"], + .input-group-sm input[type="datetime-local"], + .input-group-sm input[type="month"] { + line-height: 30px; + } + input[type="date"].input-lg, + input[type="time"].input-lg, + input[type="datetime-local"].input-lg, + input[type="month"].input-lg, + .input-group-lg input[type="date"], + .input-group-lg input[type="time"], + .input-group-lg input[type="datetime-local"], + .input-group-lg input[type="month"] { + line-height: 46px; + } +} +.form-group { + margin-bottom: 15px; +} +.radio, +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; +} +.radio label, +.checkbox label { + min-height: 20px; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + position: absolute; + margin-top: 4px \9; + margin-left: -20px; +} +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"].disabled, +input[type="checkbox"].disabled, +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"] { + cursor: not-allowed; +} +.radio-inline.disabled, +.checkbox-inline.disabled, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} +.radio.disabled label, +.checkbox.disabled label, +fieldset[disabled] .radio label, +fieldset[disabled] .checkbox label { + cursor: not-allowed; +} +.form-control-static { + padding-top: 7px; + padding-bottom: 7px; + margin-bottom: 0; +} +.form-control-static.input-lg, +.form-control-static.input-sm { + padding-right: 0; + padding-left: 0; +} +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-sm { + height: 30px; + line-height: 30px; +} +textarea.input-sm, +select[multiple].input-sm { + height: auto; +} +.form-group-sm .form-control { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.form-group-sm .form-control { + height: 30px; + line-height: 30px; +} +textarea.form-group-sm .form-control, +select[multiple].form-group-sm .form-control { + height: auto; +} +.form-group-sm .form-control-static { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; +} +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-lg { + height: 46px; + line-height: 46px; +} +textarea.input-lg, +select[multiple].input-lg { + height: auto; +} +.form-group-lg .form-control { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.form-group-lg .form-control { + height: 46px; + line-height: 46px; +} +textarea.form-group-lg .form-control, +select[multiple].form-group-lg .form-control { + height: auto; +} +.form-group-lg .form-control-static { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; +} +.has-feedback { + position: relative; +} +.has-feedback .form-control { + padding-right: 42.5px; +} +.form-control-feedback { + position: absolute; + top: 0; + right: 0; + z-index: 2; + display: block; + width: 34px; + height: 34px; + line-height: 34px; + text-align: center; + pointer-events: none; +} +.input-lg + .form-control-feedback { + width: 46px; + height: 46px; + line-height: 46px; +} +.input-sm + .form-control-feedback { + width: 30px; + height: 30px; + line-height: 30px; +} +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline, +.has-success.radio label, +.has-success.checkbox label, +.has-success.radio-inline label, +.has-success.checkbox-inline label { + color: #3c763d; +} +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; +} +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} +.has-success .form-control-feedback { + color: #3c763d; +} +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline, +.has-warning.radio label, +.has-warning.checkbox label, +.has-warning.radio-inline label, +.has-warning.checkbox-inline label { + color: #8a6d3b; +} +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; +} +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} +.has-warning .form-control-feedback { + color: #8a6d3b; +} +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label { + color: #a94442; +} +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; +} +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} +.has-error .form-control-feedback { + color: #a94442; +} +.has-feedback label ~ .form-control-feedback { + top: 25px; +} +.has-feedback label.sr-only ~ .form-control-feedback { + top: 0; +} +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-static { + display: inline-block; + } + .form-inline .input-group { + display: inline-table; + vertical-align: middle; + } + .form-inline .input-group .input-group-addon, + .form-inline .input-group .input-group-btn, + .form-inline .input-group .form-control { + width: auto; + } + .form-inline .input-group > .form-control { + width: 100%; + } + .form-inline .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio label, + .form-inline .checkbox label { + padding-left: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .form-inline .has-feedback .form-control-feedback { + top: 0; + } +} +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .form-horizontal .control-label { + padding-top: 7px; + margin-bottom: 0; + text-align: right; + } +} +.form-horizontal .has-feedback .form-control-feedback { + right: 15px; +} +@media (min-width: 768px) { + .form-horizontal .form-group-lg .control-label { + padding-top: 14.333333px; + } +} +@media (min-width: 768px) { + .form-horizontal .form-group-sm .control-label { + padding-top: 6px; + } +} +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.42857143; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} +.btn:focus, +.btn:active:focus, +.btn.active:focus, +.btn.focus, +.btn:active.focus, +.btn.active.focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, +.btn:focus, +.btn.focus { + color: #333; + text-decoration: none; +} +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; + opacity: .65; +} +.btn-default { + color: #333; + background-color: #fff; + border-color: #ccc; +} +.btn-default:hover, +.btn-default:focus, +.btn-default.focus, +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + color: #333; + background-color: #e6e6e6; + border-color: #adadad; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + background-image: none; +} +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled.focus, +.btn-default[disabled].focus, +fieldset[disabled] .btn-default.focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #fff; + border-color: #ccc; +} +.btn-default .badge { + color: #fff; + background-color: #333; +} +.btn-primary { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-primary:hover, +.btn-primary:focus, +.btn-primary.focus, +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #fff; + background-color: #286090; + border-color: #204d74; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + background-image: none; +} +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled.focus, +.btn-primary[disabled].focus, +fieldset[disabled] .btn-primary.focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-primary .badge { + color: #337ab7; + background-color: #fff; +} +.btn-success { + color: #fff; + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success:hover, +.btn-success:focus, +.btn-success.focus, +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + color: #fff; + background-color: #449d44; + border-color: #398439; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + background-image: none; +} +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled.focus, +.btn-success[disabled].focus, +fieldset[disabled] .btn-success.focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} +.btn-info { + color: #fff; + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info:hover, +.btn-info:focus, +.btn-info.focus, +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + color: #fff; + background-color: #31b0d5; + border-color: #269abc; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + background-image: none; +} +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled.focus, +.btn-info[disabled].focus, +fieldset[disabled] .btn-info.focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} +.btn-warning { + color: #fff; + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning:hover, +.btn-warning:focus, +.btn-warning.focus, +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + color: #fff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + background-image: none; +} +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled.focus, +.btn-warning[disabled].focus, +fieldset[disabled] .btn-warning.focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} +.btn-danger { + color: #fff; + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger:hover, +.btn-danger:focus, +.btn-danger.focus, +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + color: #fff; + background-color: #c9302c; + border-color: #ac2925; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + background-image: none; +} +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled.focus, +.btn-danger[disabled].focus, +fieldset[disabled] .btn-danger.focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} +.btn-link { + font-weight: normal; + color: #337ab7; + border-radius: 0; +} +.btn-link, +.btn-link:active, +.btn-link.active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} +.btn-link:hover, +.btn-link:focus { + color: #23527c; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #777; + text-decoration: none; +} +.btn-lg, +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.btn-sm, +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-xs, +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-block { + display: block; + width: 100%; +} +.btn-block + .btn-block { + margin-top: 5px; +} +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} +.fade { + opacity: 0; + -webkit-transition: opacity .15s linear; + -o-transition: opacity .15s linear; + transition: opacity .15s linear; +} +.fade.in { + opacity: 1; +} +.collapse { + display: none; + visibility: hidden; +} +.collapse.in { + display: block; + visibility: visible; +} +tr.collapse.in { + display: table-row; +} +tbody.collapse.in { + display: table-row-group; +} +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition-timing-function: ease; + -o-transition-timing-function: ease; + transition-timing-function: ease; + -webkit-transition-duration: .35s; + -o-transition-duration: .35s; + transition-duration: .35s; + -webkit-transition-property: height, visibility; + -o-transition-property: height, visibility; + transition-property: height, visibility; +} +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} +.dropup, +.dropdown { + position: relative; +} +.dropdown-toggle:focus { + outline: 0; +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + text-align: left; + list-style: none; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, .15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); + box-shadow: 0 6px 12px rgba(0, 0, 0, .175); +} +.dropdown-menu.pull-right { + right: 0; + left: auto; +} +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857143; + color: #333; + white-space: nowrap; +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #fff; + text-decoration: none; + background-color: #337ab7; + outline: 0; +} +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #777; +} +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.open > .dropdown-menu { + display: block; +} +.open > a { + outline: 0; +} +.dropdown-menu-right { + right: 0; + left: auto; +} +.dropdown-menu-left { + right: auto; + left: 0; +} +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.42857143; + color: #777; + white-space: nowrap; +} +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + content: ""; + border-top: 0; + border-bottom: 4px solid; +} +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } + .navbar-right .dropdown-menu-left { + right: auto; + left: 0; + } +} +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} +.btn-toolbar { + margin-left: -5px; +} +.btn-toolbar .btn-group, +.btn-toolbar .input-group { + float: left; +} +.btn-toolbar > .btn, +.btn-toolbar > .btn-group, +.btn-toolbar > .input-group { + margin-left: 5px; +} +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} +.btn-group > .btn:first-child { + margin-left: 0; +} +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group > .btn-group { + float: left; +} +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} +.btn .caret { + margin-left: 0; +} +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} +.btn-group-vertical > .btn-group > .btn { + float: none; +} +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 4px; +} +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate; +} +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} +.btn-group-justified > .btn-group .btn { + width: 100%; +} +.btn-group-justified > .btn-group .dropdown-menu { + left: auto; +} +[data-toggle="buttons"] > .btn input[type="radio"], +[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], +[data-toggle="buttons"] > .btn input[type="checkbox"], +[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} +.input-group { + position: relative; + display: table; + border-collapse: separate; +} +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} +.input-group .form-control { + position: relative; + z-index: 2; + float: left; + width: 100%; + margin-bottom: 0; +} +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn, +select[multiple].input-group-lg > .form-control, +select[multiple].input-group-lg > .input-group-addon, +select[multiple].input-group-lg > .input-group-btn > .btn { + height: auto; +} +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn, +select[multiple].input-group-sm > .form-control, +select[multiple].input-group-sm > .input-group-addon, +select[multiple].input-group-sm > .input-group-btn > .btn { + height: auto; +} +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555; + text-align: center; + background-color: #eee; + border: 1px solid #ccc; + border-radius: 4px; +} +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group-addon:first-child { + border-right: 0; +} +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child), +.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group-addon:last-child { + border-left: 0; +} +.input-group-btn { + position: relative; + font-size: 0; + white-space: nowrap; +} +.input-group-btn > .btn { + position: relative; +} +.input-group-btn > .btn + .btn { + margin-left: -1px; +} +.input-group-btn > .btn:hover, +.input-group-btn > .btn:focus, +.input-group-btn > .btn:active { + z-index: 2; +} +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group { + margin-right: -1px; +} +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group { + margin-left: -1px; +} +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} +.nav > li { + position: relative; + display: block; +} +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eee; +} +.nav > li.disabled > a { + color: #777; +} +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #777; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eee; + border-color: #337ab7; +} +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.nav > li > a > img { + max-width: none; +} +.nav-tabs { + border-bottom: 1px solid #ddd; +} +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.42857143; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} +.nav-tabs > li > a:hover { + border-color: #eee #eee #ddd; +} +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555; + cursor: default; + background-color: #fff; + border: 1px solid #ddd; + border-bottom-color: transparent; +} +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} +.nav-tabs.nav-justified > li { + float: none; +} +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #ddd; +} +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #ddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #fff; + } +} +.nav-pills > li { + float: left; +} +.nav-pills > li > a { + border-radius: 4px; +} +.nav-pills > li + li { + margin-left: 2px; +} +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #fff; + background-color: #337ab7; +} +.nav-stacked > li { + float: none; +} +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} +.nav-justified { + width: 100%; +} +.nav-justified > li { + float: none; +} +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs-justified { + border-bottom: 0; +} +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #ddd; +} +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #ddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #fff; + } +} +.tab-content > .tab-pane { + display: none; + visibility: hidden; +} +.tab-content > .active { + display: block; + visibility: visible; +} +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} +.navbar-collapse { + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + -webkit-overflow-scrolling: touch; + border-top: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); +} +.navbar-collapse.in { + overflow-y: auto; +} +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + visibility: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} +.navbar-fixed-top .navbar-collapse, +.navbar-fixed-bottom .navbar-collapse { + max-height: 340px; +} +@media (max-device-width: 480px) and (orientation: landscape) { + .navbar-fixed-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + max-height: 200px; + } +} +.container > .navbar-header, +.container-fluid > .navbar-header, +.container > .navbar-collapse, +.container-fluid > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .container > .navbar-header, + .container-fluid > .navbar-header, + .container > .navbar-collapse, + .container-fluid > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} +.navbar-brand { + float: left; + height: 50px; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} +.navbar-brand > img { + display: block; +} +@media (min-width: 768px) { + .navbar > .container .navbar-brand, + .navbar > .container-fluid .navbar-brand { + margin-left: -15px; + } +} +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} +.navbar-toggle:focus { + outline: 0; +} +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} +.navbar-nav { + margin: 7.5px -15px; +} +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } +} +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); +} +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .navbar-form .form-control-static { + display: inline-block; + } + .navbar-form .input-group { + display: inline-table; + vertical-align: middle; + } + .navbar-form .input-group .input-group-addon, + .navbar-form .input-group .input-group-btn, + .navbar-form .input-group .form-control { + width: auto; + } + .navbar-form .input-group > .form-control { + width: 100%; + } + .navbar-form .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .radio label, + .navbar-form .checkbox label { + padding-left: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .navbar-form .has-feedback .form-control-feedback { + top: 0; + } +} +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } + .navbar-form .form-group:last-child { + margin-bottom: 0; + } +} +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } +} +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + margin-bottom: 0; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } +} +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + margin-right: -15px; + } + .navbar-right ~ .navbar-right { + margin-right: 0; + } +} +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} +.navbar-default .navbar-brand { + color: #777; +} +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} +.navbar-default .navbar-text { + color: #777; +} +.navbar-default .navbar-nav > li > a { + color: #777; +} +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333; + background-color: transparent; +} +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555; + background-color: #e7e7e7; +} +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #ccc; + background-color: transparent; +} +.navbar-default .navbar-toggle { + border-color: #ddd; +} +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #ddd; +} +.navbar-default .navbar-toggle .icon-bar { + background-color: #888; +} +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555; + background-color: #e7e7e7; +} +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #ccc; + background-color: transparent; + } +} +.navbar-default .navbar-link { + color: #777; +} +.navbar-default .navbar-link:hover { + color: #333; +} +.navbar-default .btn-link { + color: #777; +} +.navbar-default .btn-link:hover, +.navbar-default .btn-link:focus { + color: #333; +} +.navbar-default .btn-link[disabled]:hover, +fieldset[disabled] .navbar-default .btn-link:hover, +.navbar-default .btn-link[disabled]:focus, +fieldset[disabled] .navbar-default .btn-link:focus { + color: #ccc; +} +.navbar-inverse { + background-color: #222; + border-color: #080808; +} +.navbar-inverse .navbar-brand { + color: #9d9d9d; +} +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #fff; + background-color: transparent; +} +.navbar-inverse .navbar-text { + color: #9d9d9d; +} +.navbar-inverse .navbar-nav > li > a { + color: #9d9d9d; +} +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #fff; + background-color: transparent; +} +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #fff; + background-color: #080808; +} +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444; + background-color: transparent; +} +.navbar-inverse .navbar-toggle { + border-color: #333; +} +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333; +} +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #fff; +} +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #fff; + background-color: #080808; +} +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #9d9d9d; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #fff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #fff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444; + background-color: transparent; + } +} +.navbar-inverse .navbar-link { + color: #9d9d9d; +} +.navbar-inverse .navbar-link:hover { + color: #fff; +} +.navbar-inverse .btn-link { + color: #9d9d9d; +} +.navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link:focus { + color: #fff; +} +.navbar-inverse .btn-link[disabled]:hover, +fieldset[disabled] .navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link[disabled]:focus, +fieldset[disabled] .navbar-inverse .btn-link:focus { + color: #444; +} +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} +.breadcrumb > li { + display: inline-block; +} +.breadcrumb > li + li:before { + padding: 0 5px; + color: #ccc; + content: "/\00a0"; +} +.breadcrumb > .active { + color: #777; +} +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} +.pagination > li { + display: inline; +} +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.42857143; + color: #337ab7; + text-decoration: none; + background-color: #fff; + border: 1px solid #ddd; +} +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; +} +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + color: #23527c; + background-color: #eee; + border-color: #ddd; +} +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #fff; + cursor: default; + background-color: #337ab7; + border-color: #337ab7; +} +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #777; + cursor: not-allowed; + background-color: #fff; + border-color: #ddd; +} +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-top-left-radius: 6px; + border-bottom-left-radius: 6px; +} +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; +} +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} +.pager li { + display: inline; +} +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 15px; +} +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eee; +} +.pager .next > a, +.pager .next > span { + float: right; +} +.pager .previous > a, +.pager .previous > span { + float: left; +} +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #777; + cursor: not-allowed; + background-color: #fff; +} +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} +a.label:hover, +a.label:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.label:empty { + display: none; +} +.btn .label { + position: relative; + top: -1px; +} +.label-default { + background-color: #777; +} +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #5e5e5e; +} +.label-primary { + background-color: #337ab7; +} +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #286090; +} +.label-success { + background-color: #5cb85c; +} +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} +.label-info { + background-color: #5bc0de; +} +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} +.label-warning { + background-color: #f0ad4e; +} +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} +.label-danger { + background-color: #d9534f; +} +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #777; + border-radius: 10px; +} +.badge:empty { + display: none; +} +.btn .badge { + position: relative; + top: -1px; +} +.btn-xs .badge { + top: 0; + padding: 1px 5px; +} +a.badge:hover, +a.badge:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #337ab7; + background-color: #fff; +} +.list-group-item > .badge { + float: right; +} +.list-group-item > .badge + .badge { + margin-right: 5px; +} +.nav-pills > li > a > .badge { + margin-left: 3px; +} +.jumbotron { + padding: 30px 15px; + margin-bottom: 30px; + color: inherit; + background-color: #eee; +} +.jumbotron h1, +.jumbotron .h1 { + color: inherit; +} +.jumbotron p { + margin-bottom: 15px; + font-size: 21px; + font-weight: 200; +} +.jumbotron > hr { + border-top-color: #d5d5d5; +} +.container .jumbotron, +.container-fluid .jumbotron { + border-radius: 6px; +} +.jumbotron .container { + max-width: 100%; +} +@media screen and (min-width: 768px) { + .jumbotron { + padding: 48px 0; + } + .container .jumbotron, + .container-fluid .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +} +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.42857143; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-transition: border .2s ease-in-out; + -o-transition: border .2s ease-in-out; + transition: border .2s ease-in-out; +} +.thumbnail > img, +.thumbnail a > img { + margin-right: auto; + margin-left: auto; +} +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #337ab7; +} +.thumbnail .caption { + padding: 9px; + color: #333; +} +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} +.alert h4 { + margin-top: 0; + color: inherit; +} +.alert .alert-link { + font-weight: bold; +} +.alert > p, +.alert > ul { + margin-bottom: 0; +} +.alert > p + p { + margin-top: 5px; +} +.alert-dismissable, +.alert-dismissible { + padding-right: 35px; +} +.alert-dismissable .close, +.alert-dismissible .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} +.alert-success hr { + border-top-color: #c9e2b3; +} +.alert-success .alert-link { + color: #2b542c; +} +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} +.alert-info hr { + border-top-color: #a6e1ec; +} +.alert-info .alert-link { + color: #245269; +} +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} +.alert-warning hr { + border-top-color: #f7e1b5; +} +.alert-warning .alert-link { + color: #66512c; +} +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} +.alert-danger hr { + border-top-color: #e4b9c0; +} +.alert-danger .alert-link { + color: #843534; +} +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@-o-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); +} +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #fff; + text-align: center; + background-color: #337ab7; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); + -webkit-transition: width .6s ease; + -o-transition: width .6s ease; + transition: width .6s ease; +} +.progress-striped .progress-bar, +.progress-bar-striped { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + -webkit-background-size: 40px 40px; + background-size: 40px 40px; +} +.progress.active .progress-bar, +.progress-bar.active { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} +.progress-bar-success { + background-color: #5cb85c; +} +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-info { + background-color: #5bc0de; +} +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-warning { + background-color: #f0ad4e; +} +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-danger { + background-color: #d9534f; +} +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.media { + margin-top: 15px; +} +.media:first-child { + margin-top: 0; +} +.media, +.media-body { + overflow: hidden; + zoom: 1; +} +.media-body { + width: 10000px; +} +.media-object { + display: block; +} +.media-right, +.media > .pull-right { + padding-left: 10px; +} +.media-left, +.media > .pull-left { + padding-right: 10px; +} +.media-left, +.media-right, +.media-body { + display: table-cell; + vertical-align: top; +} +.media-middle { + vertical-align: middle; +} +.media-bottom { + vertical-align: bottom; +} +.media-heading { + margin-top: 0; + margin-bottom: 5px; +} +.media-list { + padding-left: 0; + list-style: none; +} +.list-group { + padding-left: 0; + margin-bottom: 20px; +} +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid #ddd; +} +.list-group-item:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} +a.list-group-item { + color: #555; +} +a.list-group-item .list-group-item-heading { + color: #333; +} +a.list-group-item:hover, +a.list-group-item:focus { + color: #555; + text-decoration: none; + background-color: #f5f5f5; +} +.list-group-item.disabled, +.list-group-item.disabled:hover, +.list-group-item.disabled:focus { + color: #777; + cursor: not-allowed; + background-color: #eee; +} +.list-group-item.disabled .list-group-item-heading, +.list-group-item.disabled:hover .list-group-item-heading, +.list-group-item.disabled:focus .list-group-item-heading { + color: inherit; +} +.list-group-item.disabled .list-group-item-text, +.list-group-item.disabled:hover .list-group-item-text, +.list-group-item.disabled:focus .list-group-item-text { + color: #777; +} +.list-group-item.active, +.list-group-item.active:hover, +.list-group-item.active:focus { + z-index: 2; + color: #fff; + background-color: #337ab7; + border-color: #337ab7; +} +.list-group-item.active .list-group-item-heading, +.list-group-item.active:hover .list-group-item-heading, +.list-group-item.active:focus .list-group-item-heading, +.list-group-item.active .list-group-item-heading > small, +.list-group-item.active:hover .list-group-item-heading > small, +.list-group-item.active:focus .list-group-item-heading > small, +.list-group-item.active .list-group-item-heading > .small, +.list-group-item.active:hover .list-group-item-heading > .small, +.list-group-item.active:focus .list-group-item-heading > .small { + color: inherit; +} +.list-group-item.active .list-group-item-text, +.list-group-item.active:hover .list-group-item-text, +.list-group-item.active:focus .list-group-item-text { + color: #c7ddef; +} +.list-group-item-success { + color: #3c763d; + background-color: #dff0d8; +} +a.list-group-item-success { + color: #3c763d; +} +a.list-group-item-success .list-group-item-heading { + color: inherit; +} +a.list-group-item-success:hover, +a.list-group-item-success:focus { + color: #3c763d; + background-color: #d0e9c6; +} +a.list-group-item-success.active, +a.list-group-item-success.active:hover, +a.list-group-item-success.active:focus { + color: #fff; + background-color: #3c763d; + border-color: #3c763d; +} +.list-group-item-info { + color: #31708f; + background-color: #d9edf7; +} +a.list-group-item-info { + color: #31708f; +} +a.list-group-item-info .list-group-item-heading { + color: inherit; +} +a.list-group-item-info:hover, +a.list-group-item-info:focus { + color: #31708f; + background-color: #c4e3f3; +} +a.list-group-item-info.active, +a.list-group-item-info.active:hover, +a.list-group-item-info.active:focus { + color: #fff; + background-color: #31708f; + border-color: #31708f; +} +.list-group-item-warning { + color: #8a6d3b; + background-color: #fcf8e3; +} +a.list-group-item-warning { + color: #8a6d3b; +} +a.list-group-item-warning .list-group-item-heading { + color: inherit; +} +a.list-group-item-warning:hover, +a.list-group-item-warning:focus { + color: #8a6d3b; + background-color: #faf2cc; +} +a.list-group-item-warning.active, +a.list-group-item-warning.active:hover, +a.list-group-item-warning.active:focus { + color: #fff; + background-color: #8a6d3b; + border-color: #8a6d3b; +} +.list-group-item-danger { + color: #a94442; + background-color: #f2dede; +} +a.list-group-item-danger { + color: #a94442; +} +a.list-group-item-danger .list-group-item-heading { + color: inherit; +} +a.list-group-item-danger:hover, +a.list-group-item-danger:focus { + color: #a94442; + background-color: #ebcccc; +} +a.list-group-item-danger.active, +a.list-group-item-danger.active:hover, +a.list-group-item-danger.active:focus { + color: #fff; + background-color: #a94442; + border-color: #a94442; +} +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} +.panel { + margin-bottom: 20px; + background-color: #fff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); + box-shadow: 0 1px 1px rgba(0, 0, 0, .05); +} +.panel-body { + padding: 15px; +} +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} +.panel-title > a, +.panel-title > small, +.panel-title > .small, +.panel-title > small > a, +.panel-title > .small > a { + color: inherit; +} +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .list-group, +.panel > .panel-collapse > .list-group { + margin-bottom: 0; +} +.panel > .list-group .list-group-item, +.panel > .panel-collapse > .list-group .list-group-item { + border-width: 1px 0; + border-radius: 0; +} +.panel > .list-group:first-child .list-group-item:first-child, +.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { + border-top: 0; + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .list-group:last-child .list-group-item:last-child, +.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { + border-bottom: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} +.list-group + .panel-footer { + border-top-width: 0; +} +.panel > .table, +.panel > .table-responsive > .table, +.panel > .panel-collapse > .table { + margin-bottom: 0; +} +.panel > .table caption, +.panel > .table-responsive > .table caption, +.panel > .panel-collapse > .table caption { + padding-right: 15px; + padding-left: 15px; +} +.panel > .table:first-child, +.panel > .table-responsive:first-child > .table:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { + border-top-right-radius: 3px; +} +.panel > .table:last-child, +.panel > .table-responsive:last-child > .table:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { + border-bottom-right-radius: 3px; +} +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive, +.panel > .table + .panel-body, +.panel > .table-responsive + .panel-body { + border-top: 1px solid #ddd; +} +.panel > .table > tbody:first-child > tr:first-child th, +.panel > .table > tbody:first-child > tr:first-child td { + border-top: 0; +} +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} +.panel > .table-bordered > thead > tr:first-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, +.panel > .table-bordered > tbody > tr:first-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, +.panel > .table-bordered > thead > tr:first-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, +.panel > .table-bordered > tbody > tr:first-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { + border-bottom: 0; +} +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { + border-bottom: 0; +} +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} +.panel-group { + margin-bottom: 20px; +} +.panel-group .panel { + margin-bottom: 0; + border-radius: 4px; +} +.panel-group .panel + .panel { + margin-top: 5px; +} +.panel-group .panel-heading { + border-bottom: 0; +} +.panel-group .panel-heading + .panel-collapse > .panel-body, +.panel-group .panel-heading + .panel-collapse > .list-group { + border-top: 1px solid #ddd; +} +.panel-group .panel-footer { + border-top: 0; +} +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #ddd; +} +.panel-default { + border-color: #ddd; +} +.panel-default > .panel-heading { + color: #333; + background-color: #f5f5f5; + border-color: #ddd; +} +.panel-default > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #ddd; +} +.panel-default > .panel-heading .badge { + color: #f5f5f5; + background-color: #333; +} +.panel-default > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #ddd; +} +.panel-primary { + border-color: #337ab7; +} +.panel-primary > .panel-heading { + color: #fff; + background-color: #337ab7; + border-color: #337ab7; +} +.panel-primary > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #337ab7; +} +.panel-primary > .panel-heading .badge { + color: #337ab7; + background-color: #fff; +} +.panel-primary > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #337ab7; +} +.panel-success { + border-color: #d6e9c6; +} +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} +.panel-success > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #d6e9c6; +} +.panel-success > .panel-heading .badge { + color: #dff0d8; + background-color: #3c763d; +} +.panel-success > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #d6e9c6; +} +.panel-info { + border-color: #bce8f1; +} +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} +.panel-info > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #bce8f1; +} +.panel-info > .panel-heading .badge { + color: #d9edf7; + background-color: #31708f; +} +.panel-info > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #bce8f1; +} +.panel-warning { + border-color: #faebcc; +} +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} +.panel-warning > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #faebcc; +} +.panel-warning > .panel-heading .badge { + color: #fcf8e3; + background-color: #8a6d3b; +} +.panel-warning > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #faebcc; +} +.panel-danger { + border-color: #ebccd1; +} +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} +.panel-danger > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #ebccd1; +} +.panel-danger > .panel-heading .badge { + color: #f2dede; + background-color: #a94442; +} +.panel-danger > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #ebccd1; +} +.embed-responsive { + position: relative; + display: block; + height: 0; + padding: 0; + overflow: hidden; +} +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; +} +.embed-responsive.embed-responsive-16by9 { + padding-bottom: 56.25%; +} +.embed-responsive.embed-responsive-4by3 { + padding-bottom: 75%; +} +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, .15); +} +.well-lg { + padding: 24px; + border-radius: 6px; +} +.well-sm { + padding: 9px; + border-radius: 3px; +} +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + filter: alpha(opacity=20); + opacity: .2; +} +.close:hover, +.close:focus { + color: #000; + text-decoration: none; + cursor: pointer; + filter: alpha(opacity=50); + opacity: .5; +} +button.close { + -webkit-appearance: none; + padding: 0; + cursor: pointer; + background: transparent; + border: 0; +} +.modal-open { + overflow: hidden; +} +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: hidden; + -webkit-overflow-scrolling: touch; + outline: 0; +} +.modal.fade .modal-dialog { + -webkit-transition: -webkit-transform .3s ease-out; + -o-transition: -o-transform .3s ease-out; + transition: transform .3s ease-out; + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + -o-transform: translate(0, -25%); + transform: translate(0, -25%); +} +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); +} +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} +.modal-dialog { + position: relative; + width: auto; + margin: 10px; +} +.modal-content { + position: relative; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #999; + border: 1px solid rgba(0, 0, 0, .2); + border-radius: 6px; + outline: 0; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); + box-shadow: 0 3px 9px rgba(0, 0, 0, .5); +} +.modal-backdrop { + position: absolute; + top: 0; + right: 0; + left: 0; + background-color: #000; +} +.modal-backdrop.fade { + filter: alpha(opacity=0); + opacity: 0; +} +.modal-backdrop.in { + filter: alpha(opacity=50); + opacity: .5; +} +.modal-header { + min-height: 16.42857143px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} +.modal-header .close { + margin-top: -2px; +} +.modal-title { + margin: 0; + line-height: 1.42857143; +} +.modal-body { + position: relative; + padding: 15px; +} +.modal-footer { + padding: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} +@media (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); + box-shadow: 0 5px 15px rgba(0, 0, 0, .5); + } + .modal-sm { + width: 300px; + } +} +@media (min-width: 992px) { + .modal-lg { + width: 900px; + } +} +.tooltip { + position: absolute; + z-index: 1070; + display: block; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 12px; + font-weight: normal; + line-height: 1.4; + visibility: visible; + filter: alpha(opacity=0); + opacity: 0; +} +.tooltip.in { + filter: alpha(opacity=90); + opacity: .9; +} +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #fff; + text-align: center; + text-decoration: none; + background-color: #000; + border-radius: 4px; +} +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-left .tooltip-arrow { + right: 5px; + bottom: 0; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-right .tooltip-arrow { + bottom: 0; + left: 5px; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-width: 5px 5px 5px 0; + border-right-color: #000; +} +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-width: 5px 0 5px 5px; + border-left-color: #000; +} +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-left .tooltip-arrow { + top: 0; + right: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-right .tooltip-arrow { + top: 0; + left: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: none; + max-width: 276px; + padding: 1px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + font-weight: normal; + line-height: 1.42857143; + text-align: left; + white-space: normal; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, .2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); + box-shadow: 0 5px 10px rgba(0, 0, 0, .2); +} +.popover.top { + margin-top: -10px; +} +.popover.right { + margin-left: 10px; +} +.popover.bottom { + margin-top: 10px; +} +.popover.left { + margin-left: -10px; +} +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} +.popover-content { + padding: 9px 14px; +} +.popover > .arrow, +.popover > .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.popover > .arrow { + border-width: 11px; +} +.popover > .arrow:after { + content: ""; + border-width: 10px; +} +.popover.top > .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999; + border-top-color: rgba(0, 0, 0, .25); + border-bottom-width: 0; +} +.popover.top > .arrow:after { + bottom: 1px; + margin-left: -10px; + content: " "; + border-top-color: #fff; + border-bottom-width: 0; +} +.popover.right > .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999; + border-right-color: rgba(0, 0, 0, .25); + border-left-width: 0; +} +.popover.right > .arrow:after { + bottom: -10px; + left: 1px; + content: " "; + border-right-color: #fff; + border-left-width: 0; +} +.popover.bottom > .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-top-width: 0; + border-bottom-color: #999; + border-bottom-color: rgba(0, 0, 0, .25); +} +.popover.bottom > .arrow:after { + top: 1px; + margin-left: -10px; + content: " "; + border-top-width: 0; + border-bottom-color: #fff; +} +.popover.left > .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-right-width: 0; + border-left-color: #999; + border-left-color: rgba(0, 0, 0, .25); +} +.popover.left > .arrow:after { + right: 1px; + bottom: -10px; + content: " "; + border-right-width: 0; + border-left-color: #fff; +} +.carousel { + position: relative; +} +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: .6s ease-in-out left; + -o-transition: .6s ease-in-out left; + transition: .6s ease-in-out left; +} +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + line-height: 1; +} +@media all and (transform-3d), (-webkit-transform-3d) { + .carousel-inner > .item { + -webkit-transition: -webkit-transform .6s ease-in-out; + -o-transition: -o-transform .6s ease-in-out; + transition: transform .6s ease-in-out; + + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000; + perspective: 1000; + } + .carousel-inner > .item.next, + .carousel-inner > .item.active.right { + left: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + .carousel-inner > .item.prev, + .carousel-inner > .item.active.left { + left: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + .carousel-inner > .item.next.left, + .carousel-inner > .item.prev.right, + .carousel-inner > .item.active { + left: 0; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} +.carousel-inner > .active { + left: 0; +} +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} +.carousel-inner > .next { + left: 100%; +} +.carousel-inner > .prev { + left: -100%; +} +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} +.carousel-inner > .active.left { + left: -100%; +} +.carousel-inner > .active.right { + left: 100%; +} +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #fff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, .6); + filter: alpha(opacity=50); + opacity: .5; +} +.carousel-control.left { + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001))); + background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); + background-repeat: repeat-x; +} +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5))); + background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); + background-repeat: repeat-x; +} +.carousel-control:hover, +.carousel-control:focus { + color: #fff; + text-decoration: none; + filter: alpha(opacity=90); + outline: 0; + opacity: .9; +} +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; + margin-left: -10px; +} +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; + margin-right: -10px; +} +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + font-family: serif; + line-height: 1; +} +.carousel-control .icon-prev:before { + content: '\2039'; +} +.carousel-control .icon-next:before { + content: '\203a'; +} +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #fff; + border-radius: 10px; +} +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #fff; +} +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #fff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, .6); +} +.carousel-caption .btn { + text-shadow: none; +} +@media screen and (min-width: 768px) { + .carousel-control .glyphicon-chevron-left, + .carousel-control .glyphicon-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + font-size: 30px; + } + .carousel-control .glyphicon-chevron-left, + .carousel-control .icon-prev { + margin-left: -15px; + } + .carousel-control .glyphicon-chevron-right, + .carousel-control .icon-next { + margin-right: -15px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} +.clearfix:before, +.clearfix:after, +.dl-horizontal dd:before, +.dl-horizontal dd:after, +.container:before, +.container:after, +.container-fluid:before, +.container-fluid:after, +.row:before, +.row:after, +.form-horizontal .form-group:before, +.form-horizontal .form-group:after, +.btn-toolbar:before, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after, +.nav:before, +.nav:after, +.navbar:before, +.navbar:after, +.navbar-header:before, +.navbar-header:after, +.navbar-collapse:before, +.navbar-collapse:after, +.pager:before, +.pager:after, +.panel-body:before, +.panel-body:after, +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} +.clearfix:after, +.dl-horizontal dd:after, +.container:after, +.container-fluid:after, +.row:after, +.form-horizontal .form-group:after, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:after, +.nav:after, +.navbar:after, +.navbar-header:after, +.navbar-collapse:after, +.pager:after, +.panel-body:after, +.modal-footer:after { + clear: both; +} +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} +.pull-right { + float: right !important; +} +.pull-left { + float: left !important; +} +.hide { + display: none !important; +} +.show { + display: block !important; +} +.invisible { + visibility: hidden; +} +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.hidden { + display: none !important; + visibility: hidden !important; +} +.affix { + position: fixed; +} +@-ms-viewport { + width: device-width; +} +.visible-xs, +.visible-sm, +.visible-md, +.visible-lg { + display: none !important; +} +.visible-xs-block, +.visible-xs-inline, +.visible-xs-inline-block, +.visible-sm-block, +.visible-sm-inline, +.visible-sm-inline-block, +.visible-md-block, +.visible-md-inline, +.visible-md-inline-block, +.visible-lg-block, +.visible-lg-inline, +.visible-lg-inline-block { + display: none !important; +} +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} +@media (max-width: 767px) { + .visible-xs-block { + display: block !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline { + display: inline !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline-block { + display: inline-block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-block { + display: block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline { + display: inline !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline-block { + display: inline-block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-block { + display: block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline { + display: inline !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline-block { + display: inline-block !important; + } +} +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-lg-block { + display: block !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline { + display: inline !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline-block { + display: inline-block !important; + } +} +@media (max-width: 767px) { + .hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md { + display: none !important; + } +} +@media (min-width: 1200px) { + .hidden-lg { + display: none !important; + } +} +.visible-print { + display: none !important; +} +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } +} +.visible-print-block { + display: none !important; +} +@media print { + .visible-print-block { + display: block !important; + } +} +.visible-print-inline { + display: none !important; +} +@media print { + .visible-print-inline { + display: inline !important; + } +} +.visible-print-inline-block { + display: none !important; +} +@media print { + .visible-print-inline-block { + display: inline-block !important; + } +} +@media print { + .hidden-print { + display: none !important; + } +} +/*# sourceMappingURL=bootstrap.css.map */ diff --git a/docs/css/bootstrap.css.map b/docs/css/bootstrap.css.map new file mode 100644 index 00000000..ff579ff5 --- /dev/null +++ b/docs/css/bootstrap.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["bootstrap.css","less/normalize.less","less/print.less","less/glyphicons.less","less/scaffolding.less","less/mixins/vendor-prefixes.less","less/mixins/tab-focus.less","less/mixins/image.less","less/type.less","less/mixins/text-emphasis.less","less/mixins/background-variant.less","less/mixins/text-overflow.less","less/code.less","less/grid.less","less/mixins/grid.less","less/mixins/grid-framework.less","less/tables.less","less/mixins/table-row.less","less/forms.less","less/mixins/forms.less","less/buttons.less","less/mixins/buttons.less","less/mixins/opacity.less","less/component-animations.less","less/dropdowns.less","less/mixins/nav-divider.less","less/mixins/reset-filter.less","less/button-groups.less","less/mixins/border-radius.less","less/input-groups.less","less/navs.less","less/navbar.less","less/mixins/nav-vertical-align.less","less/utilities.less","less/breadcrumbs.less","less/pagination.less","less/mixins/pagination.less","less/pager.less","less/labels.less","less/mixins/labels.less","less/badges.less","less/jumbotron.less","less/thumbnails.less","less/alerts.less","less/mixins/alerts.less","less/progress-bars.less","less/mixins/gradients.less","less/mixins/progress-bar.less","less/media.less","less/list-group.less","less/mixins/list-group.less","less/panels.less","less/mixins/panels.less","less/responsive-embed.less","less/wells.less","less/close.less","less/modals.less","less/tooltip.less","less/popovers.less","less/carousel.less","less/mixins/clearfix.less","less/mixins/center-block.less","less/mixins/hide-text.less","less/responsive-utilities.less","less/mixins/responsive-visibility.less"],"names":[],"mappings":"AAAA,6DAA4D;ACQ5D;EACE,yBAAA;EACA,4BAAA;EACA,gCAAA;EDND;ACaD;EACE,WAAA;EDXD;ACwBD;;;;;;;;;;;;;EAaE,gBAAA;EDtBD;AC8BD;;;;EAIE,uBAAA;EACA,0BAAA;ED5BD;ACoCD;EACE,eAAA;EACA,WAAA;EDlCD;AC0CD;;EAEE,eAAA;EDxCD;ACkDD;EACE,+BAAA;EDhDD;ACuDD;;EAEE,YAAA;EDrDD;AC+DD;EACE,2BAAA;ED7DD;ACoED;;EAEE,mBAAA;EDlED;ACyED;EACE,oBAAA;EDvED;AC+ED;EACE,gBAAA;EACA,kBAAA;ED7ED;ACoFD;EACE,kBAAA;EACA,aAAA;EDlFD;ACyFD;EACE,gBAAA;EDvFD;AC8FD;;EAEE,gBAAA;EACA,gBAAA;EACA,oBAAA;EACA,0BAAA;ED5FD;AC+FD;EACE,aAAA;ED7FD;ACgGD;EACE,iBAAA;ED9FD;ACwGD;EACE,WAAA;EDtGD;AC6GD;EACE,kBAAA;ED3GD;ACqHD;EACE,kBAAA;EDnHD;AC0HD;EACE,8BAAA;EACA,iCAAA;UAAA,yBAAA;EACA,WAAA;EDxHD;AC+HD;EACE,gBAAA;ED7HD;ACoID;;;;EAIE,mCAAA;EACA,gBAAA;EDlID;ACoJD;;;;;EAKE,gBAAA;EACA,eAAA;EACA,WAAA;EDlJD;ACyJD;EACE,mBAAA;EDvJD;ACiKD;;EAEE,sBAAA;ED/JD;AC0KD;;;;EAIE,4BAAA;EACA,iBAAA;EDxKD;AC+KD;;EAEE,iBAAA;ED7KD;ACoLD;;EAEE,WAAA;EACA,YAAA;EDlLD;AC0LD;EACE,qBAAA;EDxLD;ACmMD;;EAEE,gCAAA;KAAA,6BAAA;UAAA,wBAAA;EACA,YAAA;EDjMD;AC0MD;;EAEE,cAAA;EDxMD;ACiND;EACE,+BAAA;EACA,8BAAA;EACA,iCAAA;EACA,yBAAA;ED/MD;ACwND;;EAEE,0BAAA;EDtND;AC6ND;EACE,2BAAA;EACA,eAAA;EACA,gCAAA;ED3ND;ACmOD;EACE,WAAA;EACA,YAAA;EDjOD;ACwOD;EACE,gBAAA;EDtOD;AC8OD;EACE,mBAAA;ED5OD;ACsPD;EACE,2BAAA;EACA,mBAAA;EDpPD;ACuPD;;EAEE,YAAA;EDrPD;AACD,sFAAqF;AE1ErF;EAnGI;;;IAGI,oCAAA;IACA,wBAAA;IACA,qCAAA;YAAA,6BAAA;IACA,8BAAA;IFgLL;EE7KC;;IAEI,4BAAA;IF+KL;EE5KC;IACI,8BAAA;IF8KL;EE3KC;IACI,+BAAA;IF6KL;EExKC;;IAEI,aAAA;IF0KL;EEvKC;;IAEI,wBAAA;IACA,0BAAA;IFyKL;EEtKC;IACI,6BAAA;IFwKL;EErKC;;IAEI,0BAAA;IFuKL;EEpKC;IACI,4BAAA;IFsKL;EEnKC;;;IAGI,YAAA;IACA,WAAA;IFqKL;EElKC;;IAEI,yBAAA;IFoKL;EE7JC;IACI,6BAAA;IF+JL;EE3JC;IACI,eAAA;IF6JL;EE3JC;;IAGQ,mCAAA;IF4JT;EEzJC;IACI,wBAAA;IF2JL;EExJC;IACI,sCAAA;IF0JL;EE3JC;;IAKQ,mCAAA;IF0JT;EEvJC;;IAGQ,mCAAA;IFwJT;EACF;AGpPD;EACE,qCAAA;EACA,uDAAA;EACA,iYAAA;EHsPD;AG9OD;EACE,oBAAA;EACA,UAAA;EACA,uBAAA;EACA,qCAAA;EACA,oBAAA;EACA,qBAAA;EACA,gBAAA;EACA,qCAAA;EACA,oCAAA;EHgPD;AG5OmC;EAAW,gBAAA;EH+O9C;AG9OmC;EAAW,gBAAA;EHiP9C;AG/OmC;;EAAW,kBAAA;EHmP9C;AGlPmC;EAAW,kBAAA;EHqP9C;AGpPmC;EAAW,kBAAA;EHuP9C;AGtPmC;EAAW,kBAAA;EHyP9C;AGxPmC;EAAW,kBAAA;EH2P9C;AG1PmC;EAAW,kBAAA;EH6P9C;AG5PmC;EAAW,kBAAA;EH+P9C;AG9PmC;EAAW,kBAAA;EHiQ9C;AGhQmC;EAAW,kBAAA;EHmQ9C;AGlQmC;EAAW,kBAAA;EHqQ9C;AGpQmC;EAAW,kBAAA;EHuQ9C;AGtQmC;EAAW,kBAAA;EHyQ9C;AGxQmC;EAAW,kBAAA;EH2Q9C;AG1QmC;EAAW,kBAAA;EH6Q9C;AG5QmC;EAAW,kBAAA;EH+Q9C;AG9QmC;EAAW,kBAAA;EHiR9C;AGhRmC;EAAW,kBAAA;EHmR9C;AGlRmC;EAAW,kBAAA;EHqR9C;AGpRmC;EAAW,kBAAA;EHuR9C;AGtRmC;EAAW,kBAAA;EHyR9C;AGxRmC;EAAW,kBAAA;EH2R9C;AG1RmC;EAAW,kBAAA;EH6R9C;AG5RmC;EAAW,kBAAA;EH+R9C;AG9RmC;EAAW,kBAAA;EHiS9C;AGhSmC;EAAW,kBAAA;EHmS9C;AGlSmC;EAAW,kBAAA;EHqS9C;AGpSmC;EAAW,kBAAA;EHuS9C;AGtSmC;EAAW,kBAAA;EHyS9C;AGxSmC;EAAW,kBAAA;EH2S9C;AG1SmC;EAAW,kBAAA;EH6S9C;AG5SmC;EAAW,kBAAA;EH+S9C;AG9SmC;EAAW,kBAAA;EHiT9C;AGhTmC;EAAW,kBAAA;EHmT9C;AGlTmC;EAAW,kBAAA;EHqT9C;AGpTmC;EAAW,kBAAA;EHuT9C;AGtTmC;EAAW,kBAAA;EHyT9C;AGxTmC;EAAW,kBAAA;EH2T9C;AG1TmC;EAAW,kBAAA;EH6T9C;AG5TmC;EAAW,kBAAA;EH+T9C;AG9TmC;EAAW,kBAAA;EHiU9C;AGhUmC;EAAW,kBAAA;EHmU9C;AGlUmC;EAAW,kBAAA;EHqU9C;AGpUmC;EAAW,kBAAA;EHuU9C;AGtUmC;EAAW,kBAAA;EHyU9C;AGxUmC;EAAW,kBAAA;EH2U9C;AG1UmC;EAAW,kBAAA;EH6U9C;AG5UmC;EAAW,kBAAA;EH+U9C;AG9UmC;EAAW,kBAAA;EHiV9C;AGhVmC;EAAW,kBAAA;EHmV9C;AGlVmC;EAAW,kBAAA;EHqV9C;AGpVmC;EAAW,kBAAA;EHuV9C;AGtVmC;EAAW,kBAAA;EHyV9C;AGxVmC;EAAW,kBAAA;EH2V9C;AG1VmC;EAAW,kBAAA;EH6V9C;AG5VmC;EAAW,kBAAA;EH+V9C;AG9VmC;EAAW,kBAAA;EHiW9C;AGhWmC;EAAW,kBAAA;EHmW9C;AGlWmC;EAAW,kBAAA;EHqW9C;AGpWmC;EAAW,kBAAA;EHuW9C;AGtWmC;EAAW,kBAAA;EHyW9C;AGxWmC;EAAW,kBAAA;EH2W9C;AG1WmC;EAAW,kBAAA;EH6W9C;AG5WmC;EAAW,kBAAA;EH+W9C;AG9WmC;EAAW,kBAAA;EHiX9C;AGhXmC;EAAW,kBAAA;EHmX9C;AGlXmC;EAAW,kBAAA;EHqX9C;AGpXmC;EAAW,kBAAA;EHuX9C;AGtXmC;EAAW,kBAAA;EHyX9C;AGxXmC;EAAW,kBAAA;EH2X9C;AG1XmC;EAAW,kBAAA;EH6X9C;AG5XmC;EAAW,kBAAA;EH+X9C;AG9XmC;EAAW,kBAAA;EHiY9C;AGhYmC;EAAW,kBAAA;EHmY9C;AGlYmC;EAAW,kBAAA;EHqY9C;AGpYmC;EAAW,kBAAA;EHuY9C;AGtYmC;EAAW,kBAAA;EHyY9C;AGxYmC;EAAW,kBAAA;EH2Y9C;AG1YmC;EAAW,kBAAA;EH6Y9C;AG5YmC;EAAW,kBAAA;EH+Y9C;AG9YmC;EAAW,kBAAA;EHiZ9C;AGhZmC;EAAW,kBAAA;EHmZ9C;AGlZmC;EAAW,kBAAA;EHqZ9C;AGpZmC;EAAW,kBAAA;EHuZ9C;AGtZmC;EAAW,kBAAA;EHyZ9C;AGxZmC;EAAW,kBAAA;EH2Z9C;AG1ZmC;EAAW,kBAAA;EH6Z9C;AG5ZmC;EAAW,kBAAA;EH+Z9C;AG9ZmC;EAAW,kBAAA;EHia9C;AGhamC;EAAW,kBAAA;EHma9C;AGlamC;EAAW,kBAAA;EHqa9C;AGpamC;EAAW,kBAAA;EHua9C;AGtamC;EAAW,kBAAA;EHya9C;AGxamC;EAAW,kBAAA;EH2a9C;AG1amC;EAAW,kBAAA;EH6a9C;AG5amC;EAAW,kBAAA;EH+a9C;AG9amC;EAAW,kBAAA;EHib9C;AGhbmC;EAAW,kBAAA;EHmb9C;AGlbmC;EAAW,kBAAA;EHqb9C;AGpbmC;EAAW,kBAAA;EHub9C;AGtbmC;EAAW,kBAAA;EHyb9C;AGxbmC;EAAW,kBAAA;EH2b9C;AG1bmC;EAAW,kBAAA;EH6b9C;AG5bmC;EAAW,kBAAA;EH+b9C;AG9bmC;EAAW,kBAAA;EHic9C;AGhcmC;EAAW,kBAAA;EHmc9C;AGlcmC;EAAW,kBAAA;EHqc9C;AGpcmC;EAAW,kBAAA;EHuc9C;AGtcmC;EAAW,kBAAA;EHyc9C;AGxcmC;EAAW,kBAAA;EH2c9C;AG1cmC;EAAW,kBAAA;EH6c9C;AG5cmC;EAAW,kBAAA;EH+c9C;AG9cmC;EAAW,kBAAA;EHid9C;AGhdmC;EAAW,kBAAA;EHmd9C;AGldmC;EAAW,kBAAA;EHqd9C;AGpdmC;EAAW,kBAAA;EHud9C;AGtdmC;EAAW,kBAAA;EHyd9C;AGxdmC;EAAW,kBAAA;EH2d9C;AG1dmC;EAAW,kBAAA;EH6d9C;AG5dmC;EAAW,kBAAA;EH+d9C;AG9dmC;EAAW,kBAAA;EHie9C;AGhemC;EAAW,kBAAA;EHme9C;AGlemC;EAAW,kBAAA;EHqe9C;AGpemC;EAAW,kBAAA;EHue9C;AGtemC;EAAW,kBAAA;EHye9C;AGxemC;EAAW,kBAAA;EH2e9C;AG1emC;EAAW,kBAAA;EH6e9C;AG5emC;EAAW,kBAAA;EH+e9C;AG9emC;EAAW,kBAAA;EHif9C;AGhfmC;EAAW,kBAAA;EHmf9C;AGlfmC;EAAW,kBAAA;EHqf9C;AGpfmC;EAAW,kBAAA;EHuf9C;AGtfmC;EAAW,kBAAA;EHyf9C;AGxfmC;EAAW,kBAAA;EH2f9C;AG1fmC;EAAW,kBAAA;EH6f9C;AG5fmC;EAAW,kBAAA;EH+f9C;AG9fmC;EAAW,kBAAA;EHigB9C;AGhgBmC;EAAW,kBAAA;EHmgB9C;AGlgBmC;EAAW,kBAAA;EHqgB9C;AGpgBmC;EAAW,kBAAA;EHugB9C;AGtgBmC;EAAW,kBAAA;EHygB9C;AGxgBmC;EAAW,kBAAA;EH2gB9C;AG1gBmC;EAAW,kBAAA;EH6gB9C;AG5gBmC;EAAW,kBAAA;EH+gB9C;AG9gBmC;EAAW,kBAAA;EHihB9C;AGhhBmC;EAAW,kBAAA;EHmhB9C;AGlhBmC;EAAW,kBAAA;EHqhB9C;AGphBmC;EAAW,kBAAA;EHuhB9C;AGthBmC;EAAW,kBAAA;EHyhB9C;AGxhBmC;EAAW,kBAAA;EH2hB9C;AG1hBmC;EAAW,kBAAA;EH6hB9C;AG5hBmC;EAAW,kBAAA;EH+hB9C;AG9hBmC;EAAW,kBAAA;EHiiB9C;AGhiBmC;EAAW,kBAAA;EHmiB9C;AGliBmC;EAAW,kBAAA;EHqiB9C;AGpiBmC;EAAW,kBAAA;EHuiB9C;AGtiBmC;EAAW,kBAAA;EHyiB9C;AGxiBmC;EAAW,kBAAA;EH2iB9C;AG1iBmC;EAAW,kBAAA;EH6iB9C;AG5iBmC;EAAW,kBAAA;EH+iB9C;AG9iBmC;EAAW,kBAAA;EHijB9C;AGhjBmC;EAAW,kBAAA;EHmjB9C;AGljBmC;EAAW,kBAAA;EHqjB9C;AGpjBmC;EAAW,kBAAA;EHujB9C;AGtjBmC;EAAW,kBAAA;EHyjB9C;AGxjBmC;EAAW,kBAAA;EH2jB9C;AG1jBmC;EAAW,kBAAA;EH6jB9C;AG5jBmC;EAAW,kBAAA;EH+jB9C;AG9jBmC;EAAW,kBAAA;EHikB9C;AGhkBmC;EAAW,kBAAA;EHmkB9C;AGlkBmC;EAAW,kBAAA;EHqkB9C;AGpkBmC;EAAW,kBAAA;EHukB9C;AGtkBmC;EAAW,kBAAA;EHykB9C;AGxkBmC;EAAW,kBAAA;EH2kB9C;AG1kBmC;EAAW,kBAAA;EH6kB9C;AG5kBmC;EAAW,kBAAA;EH+kB9C;AG9kBmC;EAAW,kBAAA;EHilB9C;AGhlBmC;EAAW,kBAAA;EHmlB9C;AGllBmC;EAAW,kBAAA;EHqlB9C;AGplBmC;EAAW,kBAAA;EHulB9C;AGtlBmC;EAAW,kBAAA;EHylB9C;AGxlBmC;EAAW,kBAAA;EH2lB9C;AG1lBmC;EAAW,kBAAA;EH6lB9C;AG5lBmC;EAAW,kBAAA;EH+lB9C;AG9lBmC;EAAW,kBAAA;EHimB9C;AGhmBmC;EAAW,kBAAA;EHmmB9C;AGlmBmC;EAAW,kBAAA;EHqmB9C;AGpmBmC;EAAW,kBAAA;EHumB9C;AGtmBmC;EAAW,kBAAA;EHymB9C;AGxmBmC;EAAW,kBAAA;EH2mB9C;AG1mBmC;EAAW,kBAAA;EH6mB9C;AG5mBmC;EAAW,kBAAA;EH+mB9C;AG9mBmC;EAAW,kBAAA;EHinB9C;AGhnBmC;EAAW,kBAAA;EHmnB9C;AGlnBmC;EAAW,kBAAA;EHqnB9C;AGpnBmC;EAAW,kBAAA;EHunB9C;AGtnBmC;EAAW,kBAAA;EHynB9C;AGxnBmC;EAAW,kBAAA;EH2nB9C;AG1nBmC;EAAW,kBAAA;EH6nB9C;AG5nBmC;EAAW,kBAAA;EH+nB9C;AG9nBmC;EAAW,kBAAA;EHioB9C;AGhoBmC;EAAW,kBAAA;EHmoB9C;AGloBmC;EAAW,kBAAA;EHqoB9C;AGpoBmC;EAAW,kBAAA;EHuoB9C;AGtoBmC;EAAW,kBAAA;EHyoB9C;AGhoBmC;EAAW,kBAAA;EHmoB9C;AGloBmC;EAAW,kBAAA;EHqoB9C;AGpoBmC;EAAW,kBAAA;EHuoB9C;AGtoBmC;EAAW,kBAAA;EHyoB9C;AGxoBmC;EAAW,kBAAA;EH2oB9C;AG1oBmC;EAAW,kBAAA;EH6oB9C;AG5oBmC;EAAW,kBAAA;EH+oB9C;AG9oBmC;EAAW,kBAAA;EHipB9C;AGhpBmC;EAAW,kBAAA;EHmpB9C;AGlpBmC;EAAW,kBAAA;EHqpB9C;AGppBmC;EAAW,kBAAA;EHupB9C;AGtpBmC;EAAW,kBAAA;EHypB9C;AGxpBmC;EAAW,kBAAA;EH2pB9C;AG1pBmC;EAAW,kBAAA;EH6pB9C;AG5pBmC;EAAW,kBAAA;EH+pB9C;AG9pBmC;EAAW,kBAAA;EHiqB9C;AGhqBmC;EAAW,kBAAA;EHmqB9C;AGlqBmC;EAAW,kBAAA;EHqqB9C;AGpqBmC;EAAW,kBAAA;EHuqB9C;AGtqBmC;EAAW,kBAAA;EHyqB9C;AGxqBmC;EAAW,kBAAA;EH2qB9C;AG1qBmC;EAAW,kBAAA;EH6qB9C;AG5qBmC;EAAW,kBAAA;EH+qB9C;AG9qBmC;EAAW,kBAAA;EHirB9C;AGhrBmC;EAAW,kBAAA;EHmrB9C;AGlrBmC;EAAW,kBAAA;EHqrB9C;AGprBmC;EAAW,kBAAA;EHurB9C;AGtrBmC;EAAW,kBAAA;EHyrB9C;AGxrBmC;EAAW,kBAAA;EH2rB9C;AG1rBmC;EAAW,kBAAA;EH6rB9C;AG5rBmC;EAAW,kBAAA;EH+rB9C;AG9rBmC;EAAW,kBAAA;EHisB9C;AGhsBmC;EAAW,kBAAA;EHmsB9C;AGlsBmC;EAAW,kBAAA;EHqsB9C;AGpsBmC;EAAW,kBAAA;EHusB9C;AGtsBmC;EAAW,kBAAA;EHysB9C;AGxsBmC;EAAW,kBAAA;EH2sB9C;AG1sBmC;EAAW,kBAAA;EH6sB9C;AG5sBmC;EAAW,kBAAA;EH+sB9C;AG9sBmC;EAAW,kBAAA;EHitB9C;AGhtBmC;EAAW,kBAAA;EHmtB9C;AGltBmC;EAAW,kBAAA;EHqtB9C;AGptBmC;EAAW,kBAAA;EHutB9C;AGttBmC;EAAW,kBAAA;EHytB9C;AGxtBmC;EAAW,kBAAA;EH2tB9C;AG1tBmC;EAAW,kBAAA;EH6tB9C;AG5tBmC;EAAW,kBAAA;EH+tB9C;AG9tBmC;EAAW,kBAAA;EHiuB9C;AGhuBmC;EAAW,kBAAA;EHmuB9C;AGluBmC;EAAW,kBAAA;EHquB9C;AGpuBmC;EAAW,kBAAA;EHuuB9C;AGtuBmC;EAAW,kBAAA;EHyuB9C;AI3gCD;ECgEE,gCAAA;EACG,6BAAA;EACK,wBAAA;EL88BT;AI7gCD;;EC6DE,gCAAA;EACG,6BAAA;EACK,wBAAA;ELo9BT;AI3gCD;EACE,iBAAA;EACA,+CAAA;EJ6gCD;AI1gCD;EACE,6DAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,2BAAA;EJ4gCD;AIxgCD;;;;EAIE,sBAAA;EACA,oBAAA;EACA,sBAAA;EJ0gCD;AIpgCD;EACE,gBAAA;EACA,uBAAA;EJsgCD;AIpgCC;;EAEE,gBAAA;EACA,4BAAA;EJsgCH;AIngCC;EErDA,sBAAA;EAEA,4CAAA;EACA,sBAAA;EN0jCD;AI7/BD;EACE,WAAA;EJ+/BD;AIz/BD;EACE,wBAAA;EJ2/BD;AIv/BD;;;;;EGvEE,gBAAA;EACA,iBAAA;EACA,cAAA;EPqkCD;AI3/BD;EACE,oBAAA;EJ6/BD;AIv/BD;EACE,cAAA;EACA,yBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;EC6FA,0CAAA;EACK,qCAAA;EACG,kCAAA;EEvLR,uBAAA;EACA,iBAAA;EACA,cAAA;EPqlCD;AIv/BD;EACE,oBAAA;EJy/BD;AIn/BD;EACE,kBAAA;EACA,qBAAA;EACA,WAAA;EACA,+BAAA;EJq/BD;AI7+BD;EACE,oBAAA;EACA,YAAA;EACA,aAAA;EACA,cAAA;EACA,YAAA;EACA,kBAAA;EACA,wBAAA;EACA,WAAA;EJ++BD;AIv+BC;;EAEE,kBAAA;EACA,aAAA;EACA,cAAA;EACA,WAAA;EACA,mBAAA;EACA,YAAA;EJy+BH;AQpnCD;;;;;;;;;;;;EAEE,sBAAA;EACA,kBAAA;EACA,kBAAA;EACA,gBAAA;ERgoCD;AQroCD;;;;;;;;;;;;;;;;;;;;;;;;EASI,qBAAA;EACA,gBAAA;EACA,gBAAA;ERspCH;AQlpCD;;;;;;EAGE,kBAAA;EACA,qBAAA;ERupCD;AQ3pCD;;;;;;;;;;;;EAQI,gBAAA;ERiqCH;AQ9pCD;;;;;;EAGE,kBAAA;EACA,qBAAA;ERmqCD;AQvqCD;;;;;;;;;;;;EAQI,gBAAA;ER6qCH;AQzqCD;;EAAU,iBAAA;ER6qCT;AQ5qCD;;EAAU,iBAAA;ERgrCT;AQ/qCD;;EAAU,iBAAA;ERmrCT;AQlrCD;;EAAU,iBAAA;ERsrCT;AQrrCD;;EAAU,iBAAA;ERyrCT;AQxrCD;;EAAU,iBAAA;ER4rCT;AQtrCD;EACE,kBAAA;ERwrCD;AQrrCD;EACE,qBAAA;EACA,iBAAA;EACA,kBAAA;EACA,kBAAA;ERurCD;AQlrCD;EAAA;IAFI,iBAAA;IRwrCD;EACF;AQhrCD;;EAEE,gBAAA;ERkrCD;AQ/qCD;;EAEE,2BAAA;EACA,eAAA;ERirCD;AQ7qCD;EAAuB,kBAAA;ERgrCtB;AQ/qCD;EAAuB,mBAAA;ERkrCtB;AQjrCD;EAAuB,oBAAA;ERorCtB;AQnrCD;EAAuB,qBAAA;ERsrCtB;AQrrCD;EAAuB,qBAAA;ERwrCtB;AQrrCD;EAAuB,2BAAA;ERwrCtB;AQvrCD;EAAuB,2BAAA;ER0rCtB;AQzrCD;EAAuB,4BAAA;ER4rCtB;AQzrCD;EACE,gBAAA;ER2rCD;AQzrCD;ECrGE,gBAAA;ETiyCD;AShyCC;EACE,gBAAA;ETkyCH;AQ5rCD;ECxGE,gBAAA;ETuyCD;AStyCC;EACE,gBAAA;ETwyCH;AQ/rCD;EC3GE,gBAAA;ET6yCD;AS5yCC;EACE,gBAAA;ET8yCH;AQlsCD;EC9GE,gBAAA;ETmzCD;ASlzCC;EACE,gBAAA;ETozCH;AQrsCD;ECjHE,gBAAA;ETyzCD;ASxzCC;EACE,gBAAA;ET0zCH;AQpsCD;EAGE,aAAA;EE3HA,2BAAA;EVg0CD;AU/zCC;EACE,2BAAA;EVi0CH;AQrsCD;EE9HE,2BAAA;EVs0CD;AUr0CC;EACE,2BAAA;EVu0CH;AQxsCD;EEjIE,2BAAA;EV40CD;AU30CC;EACE,2BAAA;EV60CH;AQ3sCD;EEpIE,2BAAA;EVk1CD;AUj1CC;EACE,2BAAA;EVm1CH;AQ9sCD;EEvIE,2BAAA;EVw1CD;AUv1CC;EACE,2BAAA;EVy1CH;AQ5sCD;EACE,qBAAA;EACA,qBAAA;EACA,kCAAA;ER8sCD;AQtsCD;;EAEE,eAAA;EACA,qBAAA;ERwsCD;AQ3sCD;;;;EAMI,kBAAA;ER2sCH;AQpsCD;EACE,iBAAA;EACA,kBAAA;ERssCD;AQlsCD;EALE,iBAAA;EACA,kBAAA;EAMA,mBAAA;ERqsCD;AQvsCD;EAKI,uBAAA;EACA,mBAAA;EACA,oBAAA;ERqsCH;AQhsCD;EACE,eAAA;EACA,qBAAA;ERksCD;AQhsCD;;EAEE,yBAAA;ERksCD;AQhsCD;EACE,mBAAA;ERksCD;AQhsCD;EACE,gBAAA;ERksCD;AQzqCD;EAAA;IAVM,aAAA;IACA,cAAA;IACA,aAAA;IACA,mBAAA;IGtNJ,kBAAA;IACA,yBAAA;IACA,qBAAA;IX84CC;EQnrCH;IAHM,oBAAA;IRyrCH;EACF;AQhrCD;;EAGE,cAAA;EACA,mCAAA;ERirCD;AQ/qCD;EACE,gBAAA;EACA,2BAAA;ERirCD;AQ7qCD;EACE,oBAAA;EACA,kBAAA;EACA,mBAAA;EACA,gCAAA;ER+qCD;AQ1qCG;;;EACE,kBAAA;ER8qCL;AQxrCD;;;EAmBI,gBAAA;EACA,gBAAA;EACA,yBAAA;EACA,gBAAA;ER0qCH;AQxqCG;;;EACE,wBAAA;ER4qCL;AQpqCD;;EAEE,qBAAA;EACA,iBAAA;EACA,iCAAA;EACA,gBAAA;EACA,mBAAA;ERsqCD;AQhqCG;;;;;;EAAW,aAAA;ERwqCd;AQvqCG;;;;;;EACE,wBAAA;ER8qCL;AQxqCD;EACE,qBAAA;EACA,oBAAA;EACA,yBAAA;ER0qCD;AYh9CD;;;;EAIE,gEAAA;EZk9CD;AY98CD;EACE,kBAAA;EACA,gBAAA;EACA,gBAAA;EACA,2BAAA;EACA,oBAAA;EZg9CD;AY58CD;EACE,kBAAA;EACA,gBAAA;EACA,gBAAA;EACA,2BAAA;EACA,oBAAA;EACA,wDAAA;UAAA,gDAAA;EZ88CD;AYp9CD;EASI,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,0BAAA;UAAA,kBAAA;EZ88CH;AYz8CD;EACE,gBAAA;EACA,gBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,uBAAA;EACA,uBAAA;EACA,gBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;EZ28CD;AYt9CD;EAeI,YAAA;EACA,oBAAA;EACA,gBAAA;EACA,uBAAA;EACA,+BAAA;EACA,kBAAA;EZ08CH;AYr8CD;EACE,mBAAA;EACA,oBAAA;EZu8CD;AajgDD;ECHE,oBAAA;EACA,mBAAA;EACA,oBAAA;EACA,qBAAA;EdugDD;AajgDC;EAAA;IAFE,cAAA;IbugDD;EACF;AangDC;EAAA;IAFE,cAAA;IbygDD;EACF;AargDD;EAAA;IAFI,eAAA;Ib2gDD;EACF;AalgDD;ECvBE,oBAAA;EACA,mBAAA;EACA,oBAAA;EACA,qBAAA;Ed4hDD;Aa//CD;ECvBE,oBAAA;EACA,qBAAA;EdyhDD;AezhDG;EACE,oBAAA;EAEA,iBAAA;EAEA,oBAAA;EACA,qBAAA;EfyhDL;AezgDG;EACE,aAAA;Ef2gDL;AepgDC;EACE,aAAA;EfsgDH;AevgDC;EACE,qBAAA;EfygDH;Ae1gDC;EACE,qBAAA;Ef4gDH;Ae7gDC;EACE,YAAA;Ef+gDH;AehhDC;EACE,qBAAA;EfkhDH;AenhDC;EACE,qBAAA;EfqhDH;AethDC;EACE,YAAA;EfwhDH;AezhDC;EACE,qBAAA;Ef2hDH;Ae5hDC;EACE,qBAAA;Ef8hDH;Ae/hDC;EACE,YAAA;EfiiDH;AeliDC;EACE,qBAAA;EfoiDH;AeriDC;EACE,oBAAA;EfuiDH;AezhDC;EACE,aAAA;Ef2hDH;Ae5hDC;EACE,qBAAA;Ef8hDH;Ae/hDC;EACE,qBAAA;EfiiDH;AeliDC;EACE,YAAA;EfoiDH;AeriDC;EACE,qBAAA;EfuiDH;AexiDC;EACE,qBAAA;Ef0iDH;Ae3iDC;EACE,YAAA;Ef6iDH;Ae9iDC;EACE,qBAAA;EfgjDH;AejjDC;EACE,qBAAA;EfmjDH;AepjDC;EACE,YAAA;EfsjDH;AevjDC;EACE,qBAAA;EfyjDH;Ae1jDC;EACE,oBAAA;Ef4jDH;AexjDC;EACE,aAAA;Ef0jDH;Ae1kDC;EACE,YAAA;Ef4kDH;Ae7kDC;EACE,oBAAA;Ef+kDH;AehlDC;EACE,oBAAA;EfklDH;AenlDC;EACE,WAAA;EfqlDH;AetlDC;EACE,oBAAA;EfwlDH;AezlDC;EACE,oBAAA;Ef2lDH;Ae5lDC;EACE,WAAA;Ef8lDH;Ae/lDC;EACE,oBAAA;EfimDH;AelmDC;EACE,oBAAA;EfomDH;AermDC;EACE,WAAA;EfumDH;AexmDC;EACE,oBAAA;Ef0mDH;Ae3mDC;EACE,mBAAA;Ef6mDH;AezmDC;EACE,YAAA;Ef2mDH;Ae7lDC;EACE,mBAAA;Ef+lDH;AehmDC;EACE,2BAAA;EfkmDH;AenmDC;EACE,2BAAA;EfqmDH;AetmDC;EACE,kBAAA;EfwmDH;AezmDC;EACE,2BAAA;Ef2mDH;Ae5mDC;EACE,2BAAA;Ef8mDH;Ae/mDC;EACE,kBAAA;EfinDH;AelnDC;EACE,2BAAA;EfonDH;AernDC;EACE,2BAAA;EfunDH;AexnDC;EACE,kBAAA;Ef0nDH;Ae3nDC;EACE,2BAAA;Ef6nDH;Ae9nDC;EACE,0BAAA;EfgoDH;AejoDC;EACE,iBAAA;EfmoDH;AanoDD;EElCI;IACE,aAAA;IfwqDH;EejqDD;IACE,aAAA;IfmqDD;EepqDD;IACE,qBAAA;IfsqDD;EevqDD;IACE,qBAAA;IfyqDD;Ee1qDD;IACE,YAAA;If4qDD;Ee7qDD;IACE,qBAAA;If+qDD;EehrDD;IACE,qBAAA;IfkrDD;EenrDD;IACE,YAAA;IfqrDD;EetrDD;IACE,qBAAA;IfwrDD;EezrDD;IACE,qBAAA;If2rDD;Ee5rDD;IACE,YAAA;If8rDD;Ee/rDD;IACE,qBAAA;IfisDD;EelsDD;IACE,oBAAA;IfosDD;EetrDD;IACE,aAAA;IfwrDD;EezrDD;IACE,qBAAA;If2rDD;Ee5rDD;IACE,qBAAA;If8rDD;Ee/rDD;IACE,YAAA;IfisDD;EelsDD;IACE,qBAAA;IfosDD;EersDD;IACE,qBAAA;IfusDD;EexsDD;IACE,YAAA;If0sDD;Ee3sDD;IACE,qBAAA;If6sDD;Ee9sDD;IACE,qBAAA;IfgtDD;EejtDD;IACE,YAAA;IfmtDD;EeptDD;IACE,qBAAA;IfstDD;EevtDD;IACE,oBAAA;IfytDD;EertDD;IACE,aAAA;IfutDD;EevuDD;IACE,YAAA;IfyuDD;Ee1uDD;IACE,oBAAA;If4uDD;Ee7uDD;IACE,oBAAA;If+uDD;EehvDD;IACE,WAAA;IfkvDD;EenvDD;IACE,oBAAA;IfqvDD;EetvDD;IACE,oBAAA;IfwvDD;EezvDD;IACE,WAAA;If2vDD;Ee5vDD;IACE,oBAAA;If8vDD;Ee/vDD;IACE,oBAAA;IfiwDD;EelwDD;IACE,WAAA;IfowDD;EerwDD;IACE,oBAAA;IfuwDD;EexwDD;IACE,mBAAA;If0wDD;EetwDD;IACE,YAAA;IfwwDD;Ee1vDD;IACE,mBAAA;If4vDD;Ee7vDD;IACE,2BAAA;If+vDD;EehwDD;IACE,2BAAA;IfkwDD;EenwDD;IACE,kBAAA;IfqwDD;EetwDD;IACE,2BAAA;IfwwDD;EezwDD;IACE,2BAAA;If2wDD;Ee5wDD;IACE,kBAAA;If8wDD;Ee/wDD;IACE,2BAAA;IfixDD;EelxDD;IACE,2BAAA;IfoxDD;EerxDD;IACE,kBAAA;IfuxDD;EexxDD;IACE,2BAAA;If0xDD;Ee3xDD;IACE,0BAAA;If6xDD;Ee9xDD;IACE,iBAAA;IfgyDD;EACF;AaxxDD;EE3CI;IACE,aAAA;Ifs0DH;Ee/zDD;IACE,aAAA;Ifi0DD;Eel0DD;IACE,qBAAA;Ifo0DD;Eer0DD;IACE,qBAAA;Ifu0DD;Eex0DD;IACE,YAAA;If00DD;Ee30DD;IACE,qBAAA;If60DD;Ee90DD;IACE,qBAAA;Ifg1DD;Eej1DD;IACE,YAAA;Ifm1DD;Eep1DD;IACE,qBAAA;Ifs1DD;Eev1DD;IACE,qBAAA;Ify1DD;Ee11DD;IACE,YAAA;If41DD;Ee71DD;IACE,qBAAA;If+1DD;Eeh2DD;IACE,oBAAA;Ifk2DD;Eep1DD;IACE,aAAA;Ifs1DD;Eev1DD;IACE,qBAAA;Ify1DD;Ee11DD;IACE,qBAAA;If41DD;Ee71DD;IACE,YAAA;If+1DD;Eeh2DD;IACE,qBAAA;Ifk2DD;Een2DD;IACE,qBAAA;Ifq2DD;Eet2DD;IACE,YAAA;Ifw2DD;Eez2DD;IACE,qBAAA;If22DD;Ee52DD;IACE,qBAAA;If82DD;Ee/2DD;IACE,YAAA;Ifi3DD;Eel3DD;IACE,qBAAA;Ifo3DD;Eer3DD;IACE,oBAAA;Ifu3DD;Een3DD;IACE,aAAA;Ifq3DD;Eer4DD;IACE,YAAA;Ifu4DD;Eex4DD;IACE,oBAAA;If04DD;Ee34DD;IACE,oBAAA;If64DD;Ee94DD;IACE,WAAA;Ifg5DD;Eej5DD;IACE,oBAAA;Ifm5DD;Eep5DD;IACE,oBAAA;Ifs5DD;Eev5DD;IACE,WAAA;Ify5DD;Ee15DD;IACE,oBAAA;If45DD;Ee75DD;IACE,oBAAA;If+5DD;Eeh6DD;IACE,WAAA;Ifk6DD;Een6DD;IACE,oBAAA;Ifq6DD;Eet6DD;IACE,mBAAA;Ifw6DD;Eep6DD;IACE,YAAA;Ifs6DD;Eex5DD;IACE,mBAAA;If05DD;Ee35DD;IACE,2BAAA;If65DD;Ee95DD;IACE,2BAAA;Ifg6DD;Eej6DD;IACE,kBAAA;Ifm6DD;Eep6DD;IACE,2BAAA;Ifs6DD;Eev6DD;IACE,2BAAA;Ify6DD;Ee16DD;IACE,kBAAA;If46DD;Ee76DD;IACE,2BAAA;If+6DD;Eeh7DD;IACE,2BAAA;Ifk7DD;Een7DD;IACE,kBAAA;Ifq7DD;Eet7DD;IACE,2BAAA;Ifw7DD;Eez7DD;IACE,0BAAA;If27DD;Ee57DD;IACE,iBAAA;If87DD;EACF;Aan7DD;EE9CI;IACE,aAAA;Ifo+DH;Ee79DD;IACE,aAAA;If+9DD;Eeh+DD;IACE,qBAAA;Ifk+DD;Een+DD;IACE,qBAAA;Ifq+DD;Eet+DD;IACE,YAAA;Ifw+DD;Eez+DD;IACE,qBAAA;If2+DD;Ee5+DD;IACE,qBAAA;If8+DD;Ee/+DD;IACE,YAAA;Ifi/DD;Eel/DD;IACE,qBAAA;Ifo/DD;Eer/DD;IACE,qBAAA;Ifu/DD;Eex/DD;IACE,YAAA;If0/DD;Ee3/DD;IACE,qBAAA;If6/DD;Ee9/DD;IACE,oBAAA;IfggED;Eel/DD;IACE,aAAA;Ifo/DD;Eer/DD;IACE,qBAAA;Ifu/DD;Eex/DD;IACE,qBAAA;If0/DD;Ee3/DD;IACE,YAAA;If6/DD;Ee9/DD;IACE,qBAAA;IfggED;EejgED;IACE,qBAAA;IfmgED;EepgED;IACE,YAAA;IfsgED;EevgED;IACE,qBAAA;IfygED;Ee1gED;IACE,qBAAA;If4gED;Ee7gED;IACE,YAAA;If+gED;EehhED;IACE,qBAAA;IfkhED;EenhED;IACE,oBAAA;IfqhED;EejhED;IACE,aAAA;IfmhED;EeniED;IACE,YAAA;IfqiED;EetiED;IACE,oBAAA;IfwiED;EeziED;IACE,oBAAA;If2iED;Ee5iED;IACE,WAAA;If8iED;Ee/iED;IACE,oBAAA;IfijED;EeljED;IACE,oBAAA;IfojED;EerjED;IACE,WAAA;IfujED;EexjED;IACE,oBAAA;If0jED;Ee3jED;IACE,oBAAA;If6jED;Ee9jED;IACE,WAAA;IfgkED;EejkED;IACE,oBAAA;IfmkED;EepkED;IACE,mBAAA;IfskED;EelkED;IACE,YAAA;IfokED;EetjED;IACE,mBAAA;IfwjED;EezjED;IACE,2BAAA;If2jED;Ee5jED;IACE,2BAAA;If8jED;Ee/jED;IACE,kBAAA;IfikED;EelkED;IACE,2BAAA;IfokED;EerkED;IACE,2BAAA;IfukED;EexkED;IACE,kBAAA;If0kED;Ee3kED;IACE,2BAAA;If6kED;Ee9kED;IACE,2BAAA;IfglED;EejlED;IACE,kBAAA;IfmlED;EeplED;IACE,2BAAA;IfslED;EevlED;IACE,0BAAA;IfylED;Ee1lED;IACE,iBAAA;If4lED;EACF;AgBhqED;EACE,+BAAA;EhBkqED;AgBhqED;EACE,kBAAA;EACA,qBAAA;EACA,gBAAA;EACA,kBAAA;EhBkqED;AgBhqED;EACE,kBAAA;EhBkqED;AgB5pED;EACE,aAAA;EACA,iBAAA;EACA,qBAAA;EhB8pED;AgBjqED;;;;;;EAWQ,cAAA;EACA,yBAAA;EACA,qBAAA;EACA,+BAAA;EhB8pEP;AgB5qED;EAoBI,wBAAA;EACA,kCAAA;EhB2pEH;AgBhrED;;;;;;EA8BQ,eAAA;EhB0pEP;AgBxrED;EAoCI,+BAAA;EhBupEH;AgB3rED;EAyCI,2BAAA;EhBqpEH;AgB9oED;;;;;;EAOQ,cAAA;EhB+oEP;AgBpoED;EACE,2BAAA;EhBsoED;AgBvoED;;;;;;EAQQ,2BAAA;EhBuoEP;AgB/oED;;EAeM,0BAAA;EhBooEL;AgB1nED;EAEI,2BAAA;EhB2nEH;AgBlnED;EAEI,2BAAA;EhBmnEH;AgB1mED;EACE,kBAAA;EACA,aAAA;EACA,uBAAA;EhB4mED;AgBvmEG;;EACE,kBAAA;EACA,aAAA;EACA,qBAAA;EhB0mEL;AiBtvEC;;;;;;;;;;;;EAOI,2BAAA;EjB6vEL;AiBvvEC;;;;;EAMI,2BAAA;EjBwvEL;AiB3wEC;;;;;;;;;;;;EAOI,2BAAA;EjBkxEL;AiB5wEC;;;;;EAMI,2BAAA;EjB6wEL;AiBhyEC;;;;;;;;;;;;EAOI,2BAAA;EjBuyEL;AiBjyEC;;;;;EAMI,2BAAA;EjBkyEL;AiBrzEC;;;;;;;;;;;;EAOI,2BAAA;EjB4zEL;AiBtzEC;;;;;EAMI,2BAAA;EjBuzEL;AiB10EC;;;;;;;;;;;;EAOI,2BAAA;EjBi1EL;AiB30EC;;;;;EAMI,2BAAA;EjB40EL;AgB1rED;EACE,kBAAA;EACA,mBAAA;EhB4rED;AgB/nED;EAAA;IA1DI,aAAA;IACA,qBAAA;IACA,oBAAA;IACA,8CAAA;IACA,2BAAA;IhB6rED;EgBvoEH;IAlDM,kBAAA;IhB4rEH;EgB1oEH;;;;;;IAzCY,qBAAA;IhB2rET;EgBlpEH;IAjCM,WAAA;IhBsrEH;EgBrpEH;;;;;;IAxBY,gBAAA;IhBqrET;EgB7pEH;;;;;;IApBY,iBAAA;IhByrET;EgBrqEH;;;;IAPY,kBAAA;IhBkrET;EACF;AkB54ED;EACE,YAAA;EACA,WAAA;EACA,WAAA;EAIA,cAAA;ElB24ED;AkBx4ED;EACE,gBAAA;EACA,aAAA;EACA,YAAA;EACA,qBAAA;EACA,iBAAA;EACA,sBAAA;EACA,gBAAA;EACA,WAAA;EACA,kCAAA;ElB04ED;AkBv4ED;EACE,uBAAA;EACA,iBAAA;EACA,oBAAA;EACA,mBAAA;ElBy4ED;AkB93ED;Eb4BE,gCAAA;EACG,6BAAA;EACK,wBAAA;ELq2ET;AkB93ED;;EAEE,iBAAA;EACA,oBAAA;EACA,qBAAA;ElBg4ED;AkB53ED;EACE,gBAAA;ElB83ED;AkB13ED;EACE,gBAAA;EACA,aAAA;ElB43ED;AkBx3ED;;EAEE,cAAA;ElB03ED;AkBt3ED;;;EZxEE,sBAAA;EAEA,4CAAA;EACA,sBAAA;ENk8ED;AkBt3ED;EACE,gBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;ElBw3ED;AkB91ED;EACE,gBAAA;EACA,aAAA;EACA,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,2BAAA;EACA,wBAAA;EACA,2BAAA;EACA,oBAAA;EbzDA,0DAAA;EACQ,kDAAA;EAyHR,wFAAA;EACK,2EAAA;EACG,wEAAA;ELkyET;AmB16EC;EACE,uBAAA;EACA,YAAA;EdUF,wFAAA;EACQ,gFAAA;ELm6ET;AKl4EC;EACE,gBAAA;EACA,YAAA;ELo4EH;AKl4EC;EAA0B,gBAAA;ELq4E3B;AKp4EC;EAAgC,gBAAA;ELu4EjC;AkBt2EC;;;EAGE,qBAAA;EACA,2BAAA;EACA,YAAA;ElBw2EH;AkBp2EC;EACE,cAAA;ElBs2EH;AkB11ED;EACE,0BAAA;ElB41ED;AkBxzED;EAxBE;;;;IAIE,mBAAA;IlBm1ED;EkBj1EC;;;;;;;;IAEE,mBAAA;IlBy1EH;EkBt1EC;;;;;;;;IAEE,mBAAA;IlB81EH;EACF;AkBp1ED;EACE,qBAAA;ElBs1ED;AkB90ED;;EAEE,oBAAA;EACA,gBAAA;EACA,kBAAA;EACA,qBAAA;ElBg1ED;AkBr1ED;;EAQI,kBAAA;EACA,oBAAA;EACA,kBAAA;EACA,qBAAA;EACA,iBAAA;ElBi1EH;AkB90ED;;;;EAIE,oBAAA;EACA,oBAAA;EACA,oBAAA;ElBg1ED;AkB70ED;;EAEE,kBAAA;ElB+0ED;AkB30ED;;EAEE,uBAAA;EACA,oBAAA;EACA,kBAAA;EACA,wBAAA;EACA,qBAAA;EACA,iBAAA;ElB60ED;AkB30ED;;EAEE,eAAA;EACA,mBAAA;ElB60ED;AkBp0EC;;;;;;EAGE,qBAAA;ElBy0EH;AkBn0EC;;;;EAEE,qBAAA;ElBu0EH;AkBj0EC;;;;EAGI,qBAAA;ElBo0EL;AkBzzED;EAEE,kBAAA;EACA,qBAAA;EAEA,kBAAA;ElByzED;AkBvzEC;;EAEE,iBAAA;EACA,kBAAA;ElByzEH;AkB5yED;ECpPE,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;EnBmiFD;AmBjiFC;EACE,cAAA;EACA,mBAAA;EnBmiFH;AmBhiFC;;EAEE,cAAA;EnBkiFH;AkBxzED;ECvPE,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;EnBkjFD;AmBhjFC;EACE,cAAA;EACA,mBAAA;EnBkjFH;AmB/iFC;;EAEE,cAAA;EnBijFH;AkBv0ED;EAKI,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;ElBq0EH;AkBj0ED;ECnQE,cAAA;EACA,oBAAA;EACA,iBAAA;EACA,wBAAA;EACA,oBAAA;EnBukFD;AmBrkFC;EACE,cAAA;EACA,mBAAA;EnBukFH;AmBpkFC;;EAEE,cAAA;EnBskFH;AkB70ED;ECtQE,cAAA;EACA,oBAAA;EACA,iBAAA;EACA,wBAAA;EACA,oBAAA;EnBslFD;AmBplFC;EACE,cAAA;EACA,mBAAA;EnBslFH;AmBnlFC;;EAEE,cAAA;EnBqlFH;AkB51ED;EAKI,cAAA;EACA,oBAAA;EACA,iBAAA;EACA,wBAAA;ElB01EH;AkBj1ED;EAEE,oBAAA;ElBk1ED;AkBp1ED;EAMI,uBAAA;ElBi1EH;AkB70ED;EACE,oBAAA;EACA,QAAA;EACA,UAAA;EACA,YAAA;EACA,gBAAA;EACA,aAAA;EACA,cAAA;EACA,mBAAA;EACA,oBAAA;EACA,sBAAA;ElB+0ED;AkB70ED;EACE,aAAA;EACA,cAAA;EACA,mBAAA;ElB+0ED;AkB70ED;EACE,aAAA;EACA,cAAA;EACA,mBAAA;ElB+0ED;AkB30ED;;;;;;;;;;EC7WI,gBAAA;EnBosFH;AkBv1ED;ECzWI,uBAAA;Ed+CF,0DAAA;EACQ,kDAAA;ELqpFT;AmBnsFG;EACE,uBAAA;Ed4CJ,2EAAA;EACQ,mEAAA;EL0pFT;AkBj2ED;EC/VI,gBAAA;EACA,uBAAA;EACA,2BAAA;EnBmsFH;AkBt2ED;ECzVI,gBAAA;EnBksFH;AkBt2ED;;;;;;;;;;EChXI,gBAAA;EnBkuFH;AkBl3ED;EC5WI,uBAAA;Ed+CF,0DAAA;EACQ,kDAAA;ELmrFT;AmBjuFG;EACE,uBAAA;Ed4CJ,2EAAA;EACQ,mEAAA;ELwrFT;AkB53ED;EClWI,gBAAA;EACA,uBAAA;EACA,2BAAA;EnBiuFH;AkBj4ED;EC5VI,gBAAA;EnBguFH;AkBj4ED;;;;;;;;;;ECnXI,gBAAA;EnBgwFH;AkB74ED;EC/WI,uBAAA;Ed+CF,0DAAA;EACQ,kDAAA;ELitFT;AmB/vFG;EACE,uBAAA;Ed4CJ,2EAAA;EACQ,mEAAA;ELstFT;AkBv5ED;ECrWI,gBAAA;EACA,uBAAA;EACA,2BAAA;EnB+vFH;AkB55ED;EC/VI,gBAAA;EnB8vFH;AkBx5EC;EACG,WAAA;ElB05EJ;AkBx5EC;EACG,QAAA;ElB05EJ;AkBh5ED;EACE,gBAAA;EACA,iBAAA;EACA,qBAAA;EACA,gBAAA;ElBk5ED;AkB/zED;EAAA;IA9DM,uBAAA;IACA,kBAAA;IACA,wBAAA;IlBi4EH;EkBr0EH;IAvDM,uBAAA;IACA,aAAA;IACA,wBAAA;IlB+3EH;EkB10EH;IAhDM,uBAAA;IlB63EH;EkB70EH;IA5CM,uBAAA;IACA,wBAAA;IlB43EH;EkBj1EH;;;IAtCQ,aAAA;IlB43EL;EkBt1EH;IAhCM,aAAA;IlBy3EH;EkBz1EH;IA5BM,kBAAA;IACA,wBAAA;IlBw3EH;EkB71EH;;IApBM,uBAAA;IACA,eAAA;IACA,kBAAA;IACA,wBAAA;IlBq3EH;EkBp2EH;;IAdQ,iBAAA;IlBs3EL;EkBx2EH;;IATM,oBAAA;IACA,gBAAA;IlBq3EH;EkB72EH;IAHM,QAAA;IlBm3EH;EACF;AkBz2ED;;;;EASI,eAAA;EACA,kBAAA;EACA,kBAAA;ElBs2EH;AkBj3ED;;EAiBI,kBAAA;ElBo2EH;AkBr3ED;EJzeE,oBAAA;EACA,qBAAA;Edi2FD;AkBl1EC;EAAA;IAVI,mBAAA;IACA,kBAAA;IACA,kBAAA;IlBg2EH;EACF;AkBh4ED;EAwCI,aAAA;ElB21EH;AkB90EC;EAAA;IAHM,0BAAA;IlBq1EL;EACF;AkB50EC;EAAA;IAHM,kBAAA;IlBm1EL;EACF;AoB73FD;EACE,uBAAA;EACA,kBAAA;EACA,qBAAA;EACA,oBAAA;EACA,wBAAA;EACA,gCAAA;MAAA,4BAAA;EACA,iBAAA;EACA,wBAAA;EACA,+BAAA;EACA,qBAAA;EC6BA,mBAAA;EACA,iBAAA;EACA,yBAAA;EACA,oBAAA;EhB4KA,2BAAA;EACG,wBAAA;EACC,uBAAA;EACI,mBAAA;ELwrFT;AoBh4FG;;;;;;EdrBF,sBAAA;EAEA,4CAAA;EACA,sBAAA;EN45FD;AoBp4FC;;;EAGE,gBAAA;EACA,uBAAA;EpBs4FH;AoBn4FC;;EAEE,YAAA;EACA,wBAAA;Ef2BF,0DAAA;EACQ,kDAAA;EL22FT;AoBn4FC;;;EAGE,qBAAA;EACA,sBAAA;EE9CF,eAAA;EAGA,2BAAA;EjB8DA,0BAAA;EACQ,kBAAA;ELq3FT;AoB/3FD;ECrDE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErBu7FD;AqBr7FC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErBu7FP;AqBr7FC;;;EAGE,wBAAA;ErBu7FH;AqBl7FG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErBg8FT;AoBx6FD;ECnBI,gBAAA;EACA,2BAAA;ErB87FH;AoBz6FD;ECxDE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErBo+FD;AqBl+FC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErBo+FP;AqBl+FC;;;EAGE,wBAAA;ErBo+FH;AqB/9FG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErB6+FT;AoBl9FD;ECtBI,gBAAA;EACA,2BAAA;ErB2+FH;AoBl9FD;EC5DE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErBihGD;AqB/gGC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErBihGP;AqB/gGC;;;EAGE,wBAAA;ErBihGH;AqB5gGG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErB0hGT;AoB3/FD;EC1BI,gBAAA;EACA,2BAAA;ErBwhGH;AoB3/FD;EChEE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErB8jGD;AqB5jGC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErB8jGP;AqB5jGC;;;EAGE,wBAAA;ErB8jGH;AqBzjGG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErBukGT;AoBpiGD;EC9BI,gBAAA;EACA,2BAAA;ErBqkGH;AoBpiGD;ECpEE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErB2mGD;AqBzmGC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErB2mGP;AqBzmGC;;;EAGE,wBAAA;ErB2mGH;AqBtmGG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErBonGT;AoB7kGD;EClCI,gBAAA;EACA,2BAAA;ErBknGH;AoB7kGD;ECxEE,gBAAA;EACA,2BAAA;EACA,uBAAA;ErBwpGD;AqBtpGC;;;;;;EAME,gBAAA;EACA,2BAAA;EACI,uBAAA;ErBwpGP;AqBtpGC;;;EAGE,wBAAA;ErBwpGH;AqBnpGG;;;;;;;;;;;;;;;;;;EAME,2BAAA;EACI,uBAAA;ErBiqGT;AoBtnGD;ECtCI,gBAAA;EACA,2BAAA;ErB+pGH;AoBjnGD;EACE,gBAAA;EACA,qBAAA;EACA,kBAAA;EpBmnGD;AoBjnGC;;;;;EAKE,+BAAA;Ef7BF,0BAAA;EACQ,kBAAA;ELipGT;AoBlnGC;;;;EAIE,2BAAA;EpBonGH;AoBlnGC;;EAEE,gBAAA;EACA,4BAAA;EACA,+BAAA;EpBonGH;AoBhnGG;;;;EAEE,gBAAA;EACA,uBAAA;EpBonGL;AoB3mGD;;EC/EE,oBAAA;EACA,iBAAA;EACA,wBAAA;EACA,oBAAA;ErB8rGD;AoB9mGD;;ECnFE,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;ErBqsGD;AoBjnGD;;ECvFE,kBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;ErB4sGD;AoBhnGD;EACE,gBAAA;EACA,aAAA;EpBknGD;AoB9mGD;EACE,iBAAA;EpBgnGD;AoBzmGC;;;EACE,aAAA;EpB6mGH;AuBjwGD;EACE,YAAA;ElBoLA,0CAAA;EACK,qCAAA;EACG,kCAAA;ELglGT;AuBpwGC;EACE,YAAA;EvBswGH;AuBlwGD;EACE,eAAA;EACA,oBAAA;EvBowGD;AuBlwGC;EAAY,gBAAA;EAAgB,qBAAA;EvBswG7B;AuBrwGC;EAAY,oBAAA;EvBwwGb;AuBvwGC;EAAY,0BAAA;EvB0wGb;AuBvwGD;EACE,oBAAA;EACA,WAAA;EACA,kBAAA;ElBsKA,iDAAA;EACQ,4CAAA;KAAA,yCAAA;EAOR,oCAAA;EACQ,+BAAA;KAAA,4BAAA;EAGR,0CAAA;EACQ,qCAAA;KAAA,kCAAA;EL4lGT;AwBtyGD;EACE,uBAAA;EACA,UAAA;EACA,WAAA;EACA,kBAAA;EACA,wBAAA;EACA,uBAAA;EACA,qCAAA;EACA,oCAAA;ExBwyGD;AwBpyGD;;EAEE,oBAAA;ExBsyGD;AwBlyGD;EACE,YAAA;ExBoyGD;AwBhyGD;EACE,oBAAA;EACA,WAAA;EACA,SAAA;EACA,eAAA;EACA,eAAA;EACA,aAAA;EACA,kBAAA;EACA,gBAAA;EACA,iBAAA;EACA,kBAAA;EACA,iBAAA;EACA,kBAAA;EACA,2BAAA;EACA,2BAAA;EACA,uCAAA;EACA,oBAAA;EnBuBA,qDAAA;EACQ,6CAAA;EmBtBR,sCAAA;UAAA,8BAAA;ExBmyGD;AwB9xGC;EACE,UAAA;EACA,YAAA;ExBgyGH;AwBzzGD;ECxBE,aAAA;EACA,eAAA;EACA,kBAAA;EACA,2BAAA;EzBo1GD;AwB/zGD;EAmCI,gBAAA;EACA,mBAAA;EACA,aAAA;EACA,qBAAA;EACA,yBAAA;EACA,gBAAA;EACA,qBAAA;ExB+xGH;AwBzxGC;;EAEE,uBAAA;EACA,gBAAA;EACA,2BAAA;ExB2xGH;AwBrxGC;;;EAGE,gBAAA;EACA,uBAAA;EACA,YAAA;EACA,2BAAA;ExBuxGH;AwB9wGC;;;EAGE,gBAAA;ExBgxGH;AwB5wGC;;EAEE,uBAAA;EACA,+BAAA;EACA,wBAAA;EE1GF,qEAAA;EF4GE,qBAAA;ExB8wGH;AwBzwGD;EAGI,gBAAA;ExBywGH;AwB5wGD;EAQI,YAAA;ExBuwGH;AwB/vGD;EACE,YAAA;EACA,UAAA;ExBiwGD;AwBzvGD;EACE,SAAA;EACA,aAAA;ExB2vGD;AwBvvGD;EACE,gBAAA;EACA,mBAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,qBAAA;ExByvGD;AwBrvGD;EACE,iBAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,QAAA;EACA,cAAA;ExBuvGD;AwBnvGD;EACE,UAAA;EACA,YAAA;ExBqvGD;AwB7uGD;;EAII,eAAA;EACA,0BAAA;EACA,aAAA;ExB6uGH;AwBnvGD;;EAUI,WAAA;EACA,cAAA;EACA,oBAAA;ExB6uGH;AwBxtGD;EAXE;IAnEA,YAAA;IACA,UAAA;IxB0yGC;EwBxuGD;IAzDA,SAAA;IACA,aAAA;IxBoyGC;EACF;A2Bn7GD;;EAEE,oBAAA;EACA,uBAAA;EACA,wBAAA;E3Bq7GD;A2Bz7GD;;EAMI,oBAAA;EACA,aAAA;E3Bu7GH;A2Br7GG;;;;;;;;EAIE,YAAA;E3B27GL;A2Br7GD;;;;EAKI,mBAAA;E3Bs7GH;A2Bj7GD;EACE,mBAAA;E3Bm7GD;A2Bp7GD;;EAMI,aAAA;E3Bk7GH;A2Bx7GD;;;EAWI,kBAAA;E3Bk7GH;A2B96GD;EACE,kBAAA;E3Bg7GD;A2B56GD;EACE,gBAAA;E3B86GD;A2B76GC;ECjDA,+BAAA;EACG,4BAAA;E5Bi+GJ;A2B56GD;;EC9CE,8BAAA;EACG,2BAAA;E5B89GJ;A2B36GD;EACE,aAAA;E3B66GD;A2B36GD;EACE,kBAAA;E3B66GD;A2B36GD;;EClEE,+BAAA;EACG,4BAAA;E5Bi/GJ;A2B16GD;EChEE,8BAAA;EACG,2BAAA;E5B6+GJ;A2Bz6GD;;EAEE,YAAA;E3B26GD;A2B15GD;EACE,mBAAA;EACA,oBAAA;E3B45GD;A2B15GD;EACE,oBAAA;EACA,qBAAA;E3B45GD;A2Bv5GD;EtB9CE,0DAAA;EACQ,kDAAA;ELw8GT;A2Bv5GC;EtBlDA,0BAAA;EACQ,kBAAA;EL48GT;A2Bp5GD;EACE,gBAAA;E3Bs5GD;A2Bn5GD;EACE,yBAAA;EACA,wBAAA;E3Bq5GD;A2Bl5GD;EACE,yBAAA;E3Bo5GD;A2B74GD;;;EAII,gBAAA;EACA,aAAA;EACA,aAAA;EACA,iBAAA;E3B84GH;A2Br5GD;EAcM,aAAA;E3B04GL;A2Bx5GD;;;;EAsBI,kBAAA;EACA,gBAAA;E3Bw4GH;A2Bn4GC;EACE,kBAAA;E3Bq4GH;A2Bn4GC;EACE,8BAAA;ECnKF,+BAAA;EACC,8BAAA;E5ByiHF;A2Bp4GC;EACE,gCAAA;EC/KF,4BAAA;EACC,2BAAA;E5BsjHF;A2Bp4GD;EACE,kBAAA;E3Bs4GD;A2Bp4GD;;EC9KE,+BAAA;EACC,8BAAA;E5BsjHF;A2Bn4GD;EC5LE,4BAAA;EACC,2BAAA;E5BkkHF;A2B/3GD;EACE,gBAAA;EACA,aAAA;EACA,qBAAA;EACA,2BAAA;E3Bi4GD;A2Br4GD;;EAOI,aAAA;EACA,qBAAA;EACA,WAAA;E3Bk4GH;A2B34GD;EAYI,aAAA;E3Bk4GH;A2B94GD;EAgBI,YAAA;E3Bi4GH;A2Bh3GD;;;;EAKM,oBAAA;EACA,wBAAA;EACA,sBAAA;E3Bi3GL;A6B1lHD;EACE,oBAAA;EACA,gBAAA;EACA,2BAAA;E7B4lHD;A6BzlHC;EACE,aAAA;EACA,iBAAA;EACA,kBAAA;E7B2lHH;A6BpmHD;EAeI,oBAAA;EACA,YAAA;EAKA,aAAA;EAEA,aAAA;EACA,kBAAA;E7BmlHH;A6B1kHD;;;EV8BE,cAAA;EACA,oBAAA;EACA,iBAAA;EACA,wBAAA;EACA,oBAAA;EnBijHD;AmB/iHC;;;EACE,cAAA;EACA,mBAAA;EnBmjHH;AmBhjHC;;;;;;EAEE,cAAA;EnBsjHH;A6B5lHD;;;EVyBE,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;EnBwkHD;AmBtkHC;;;EACE,cAAA;EACA,mBAAA;EnB0kHH;AmBvkHC;;;;;;EAEE,cAAA;EnB6kHH;A6B1mHD;;;EAGE,qBAAA;E7B4mHD;A6B1mHC;;;EACE,kBAAA;E7B8mHH;A6B1mHD;;EAEE,WAAA;EACA,qBAAA;EACA,wBAAA;E7B4mHD;A6BvmHD;EACE,mBAAA;EACA,iBAAA;EACA,qBAAA;EACA,gBAAA;EACA,gBAAA;EACA,oBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;E7BymHD;A6BtmHC;EACE,mBAAA;EACA,iBAAA;EACA,oBAAA;E7BwmHH;A6BtmHC;EACE,oBAAA;EACA,iBAAA;EACA,oBAAA;E7BwmHH;A6B5nHD;;EA0BI,eAAA;E7BsmHH;A6BjmHD;;;;;;;EDhGE,+BAAA;EACG,4BAAA;E5B0sHJ;A6BlmHD;EACE,iBAAA;E7BomHD;A6BlmHD;;;;;;;EDpGE,8BAAA;EACG,2BAAA;E5B+sHJ;A6BnmHD;EACE,gBAAA;E7BqmHD;A6BhmHD;EACE,oBAAA;EAGA,cAAA;EACA,qBAAA;E7BgmHD;A6BrmHD;EAUI,oBAAA;E7B8lHH;A6BxmHD;EAYM,mBAAA;E7B+lHL;A6B5lHG;;;EAGE,YAAA;E7B8lHL;A6BzlHC;;EAGI,oBAAA;E7B0lHL;A6BvlHC;;EAGI,mBAAA;E7BwlHL;A8BlvHD;EACE,kBAAA;EACA,iBAAA;EACA,kBAAA;E9BovHD;A8BvvHD;EAOI,oBAAA;EACA,gBAAA;E9BmvHH;A8B3vHD;EAWM,oBAAA;EACA,gBAAA;EACA,oBAAA;E9BmvHL;A8BlvHK;;EAEE,uBAAA;EACA,2BAAA;E9BovHP;A8B/uHG;EACE,gBAAA;E9BivHL;A8B/uHK;;EAEE,gBAAA;EACA,uBAAA;EACA,+BAAA;EACA,qBAAA;E9BivHP;A8B1uHG;;;EAGE,2BAAA;EACA,uBAAA;E9B4uHL;A8BrxHD;ELHE,aAAA;EACA,eAAA;EACA,kBAAA;EACA,2BAAA;EzB2xHD;A8B3xHD;EA0DI,iBAAA;E9BouHH;A8B3tHD;EACE,kCAAA;E9B6tHD;A8B9tHD;EAGI,aAAA;EAEA,qBAAA;E9B6tHH;A8BluHD;EASM,mBAAA;EACA,yBAAA;EACA,+BAAA;EACA,4BAAA;E9B4tHL;A8B3tHK;EACE,uCAAA;E9B6tHP;A8BvtHK;;;EAGE,gBAAA;EACA,2BAAA;EACA,2BAAA;EACA,kCAAA;EACA,iBAAA;E9BytHP;A8BptHC;EAqDA,aAAA;EA8BA,kBAAA;E9BqoHD;A8BxtHC;EAwDE,aAAA;E9BmqHH;A8B3tHC;EA0DI,oBAAA;EACA,oBAAA;E9BoqHL;A8B/tHC;EAgEE,WAAA;EACA,YAAA;E9BkqHH;A8BtpHD;EAAA;IAPM,qBAAA;IACA,WAAA;I9BiqHH;E8B3pHH;IAJQ,kBAAA;I9BkqHL;EACF;A8B5uHC;EAuFE,iBAAA;EACA,oBAAA;E9BwpHH;A8BhvHC;;;EA8FE,2BAAA;E9BupHH;A8BzoHD;EAAA;IATM,kCAAA;IACA,4BAAA;I9BspHH;E8B9oHH;;;IAHM,8BAAA;I9BspHH;EACF;A8BvvHD;EAEI,aAAA;E9BwvHH;A8B1vHD;EAMM,oBAAA;E9BuvHL;A8B7vHD;EASM,kBAAA;E9BuvHL;A8BlvHK;;;EAGE,gBAAA;EACA,2BAAA;E9BovHP;A8B5uHD;EAEI,aAAA;E9B6uHH;A8B/uHD;EAIM,iBAAA;EACA,gBAAA;E9B8uHL;A8BluHD;EACE,aAAA;E9BouHD;A8BruHD;EAII,aAAA;E9BouHH;A8BxuHD;EAMM,oBAAA;EACA,oBAAA;E9BquHL;A8B5uHD;EAYI,WAAA;EACA,YAAA;E9BmuHH;A8BvtHD;EAAA;IAPM,qBAAA;IACA,WAAA;I9BkuHH;E8B5tHH;IAJQ,kBAAA;I9BmuHL;EACF;A8B3tHD;EACE,kBAAA;E9B6tHD;A8B9tHD;EAKI,iBAAA;EACA,oBAAA;E9B4tHH;A8BluHD;;;EAYI,2BAAA;E9B2tHH;A8B7sHD;EAAA;IATM,kCAAA;IACA,4BAAA;I9B0tHH;E8BltHH;;;IAHM,8BAAA;I9B0tHH;EACF;A8BjtHD;EAEI,eAAA;EACA,oBAAA;E9BktHH;A8BrtHD;EAMI,gBAAA;EACA,qBAAA;E9BktHH;A8BzsHD;EAEE,kBAAA;EF7OA,4BAAA;EACC,2BAAA;E5Bw7HF;A+Bl7HD;EACE,oBAAA;EACA,kBAAA;EACA,qBAAA;EACA,+BAAA;E/Bo7HD;A+B56HD;EAAA;IAFI,oBAAA;I/Bk7HD;EACF;A+Bn6HD;EAAA;IAFI,aAAA;I/By6HD;EACF;A+B35HD;EACE,qBAAA;EACA,qBAAA;EACA,oBAAA;EACA,mCAAA;EACA,4DAAA;UAAA,oDAAA;EAEA,mCAAA;E/B45HD;A+B15HC;EACE,kBAAA;E/B45HH;A+B/3HD;EAAA;IAzBI,aAAA;IACA,eAAA;IACA,0BAAA;YAAA,kBAAA;I/B45HD;E+B15HC;IACE,2BAAA;IACA,gCAAA;IACA,yBAAA;IACA,mBAAA;IACA,8BAAA;I/B45HH;E+Bz5HC;IACE,qBAAA;I/B25HH;E+Bt5HC;;;IAGE,iBAAA;IACA,kBAAA;I/Bw5HH;EACF;A+Bp5HD;;EAGI,mBAAA;E/Bq5HH;A+Bh5HC;EAAA;;IAFI,mBAAA;I/Bu5HH;EACF;A+B94HD;;;;EAII,qBAAA;EACA,oBAAA;E/Bg5HH;A+B14HC;EAAA;;;;IAHI,iBAAA;IACA,gBAAA;I/Bo5HH;EACF;A+Bx4HD;EACE,eAAA;EACA,uBAAA;E/B04HD;A+Br4HD;EAAA;IAFI,kBAAA;I/B24HD;EACF;A+Bv4HD;;EAEE,iBAAA;EACA,UAAA;EACA,SAAA;EACA,eAAA;E/By4HD;A+Bn4HD;EAAA;;IAFI,kBAAA;I/B04HD;EACF;A+Bx4HD;EACE,QAAA;EACA,uBAAA;E/B04HD;A+Bx4HD;EACE,WAAA;EACA,kBAAA;EACA,uBAAA;E/B04HD;A+Bp4HD;EACE,aAAA;EACA,oBAAA;EACA,iBAAA;EACA,mBAAA;EACA,cAAA;E/Bs4HD;A+Bp4HC;;EAEE,uBAAA;E/Bs4HH;A+B/4HD;EAaI,gBAAA;E/Bq4HH;A+B53HD;EALI;;IAEE,oBAAA;I/Bo4HH;EACF;A+B13HD;EACE,oBAAA;EACA,cAAA;EACA,oBAAA;EACA,mBAAA;EC/LA,iBAAA;EACA,oBAAA;EDgMA,+BAAA;EACA,wBAAA;EACA,+BAAA;EACA,oBAAA;E/B63HD;A+Bz3HC;EACE,YAAA;E/B23HH;A+Bz4HD;EAmBI,gBAAA;EACA,aAAA;EACA,aAAA;EACA,oBAAA;E/By3HH;A+B/4HD;EAyBI,iBAAA;E/By3HH;A+Bn3HD;EAAA;IAFI,eAAA;I/By3HD;EACF;A+Bh3HD;EACE,qBAAA;E/Bk3HD;A+Bn3HD;EAII,mBAAA;EACA,sBAAA;EACA,mBAAA;E/Bk3HH;A+Bt1HC;EAAA;IAtBI,kBAAA;IACA,aAAA;IACA,aAAA;IACA,eAAA;IACA,+BAAA;IACA,WAAA;IACA,0BAAA;YAAA,kBAAA;I/Bg3HH;E+Bh2HD;;IAbM,4BAAA;I/Bi3HL;E+Bp2HD;IAVM,mBAAA;I/Bi3HL;E+Bh3HK;;IAEE,wBAAA;I/Bk3HP;EACF;A+Bh2HD;EAAA;IAXI,aAAA;IACA,WAAA;I/B+2HD;E+Br2HH;IAPM,aAAA;I/B+2HH;E+Bx2HH;IALQ,mBAAA;IACA,sBAAA;I/Bg3HL;EACF;A+Br2HD;EACE,oBAAA;EACA,qBAAA;EACA,oBAAA;EACA,mCAAA;EACA,sCAAA;E1B/NA,8FAAA;EACQ,sFAAA;E2B/DR,iBAAA;EACA,oBAAA;EhCuoID;AkB9pHD;EAAA;IA9DM,uBAAA;IACA,kBAAA;IACA,wBAAA;IlBguHH;EkBpqHH;IAvDM,uBAAA;IACA,aAAA;IACA,wBAAA;IlB8tHH;EkBzqHH;IAhDM,uBAAA;IlB4tHH;EkB5qHH;IA5CM,uBAAA;IACA,wBAAA;IlB2tHH;EkBhrHH;;;IAtCQ,aAAA;IlB2tHL;EkBrrHH;IAhCM,aAAA;IlBwtHH;EkBxrHH;IA5BM,kBAAA;IACA,wBAAA;IlButHH;EkB5rHH;;IApBM,uBAAA;IACA,eAAA;IACA,kBAAA;IACA,wBAAA;IlBotHH;EkBnsHH;;IAdQ,iBAAA;IlBqtHL;EkBvsHH;;IATM,oBAAA;IACA,gBAAA;IlBotHH;EkB5sHH;IAHM,QAAA;IlBktHH;EACF;A+B94HC;EAAA;IANI,oBAAA;I/Bw5HH;E+Bt5HG;IACE,kBAAA;I/Bw5HL;EACF;A+Bv4HD;EAAA;IARI,aAAA;IACA,WAAA;IACA,gBAAA;IACA,iBAAA;IACA,gBAAA;IACA,mBAAA;I1B1PF,0BAAA;IACQ,kBAAA;IL8oIP;EACF;A+B74HD;EACE,eAAA;EHrUA,4BAAA;EACC,2BAAA;E5BqtIF;A+B74HD;EACE,kBAAA;EH1UA,8BAAA;EACC,6BAAA;EAOD,+BAAA;EACC,8BAAA;E5BotIF;A+Bz4HD;ECjVE,iBAAA;EACA,oBAAA;EhC6tID;A+B14HC;ECpVA,kBAAA;EACA,qBAAA;EhCiuID;A+B34HC;ECvVA,kBAAA;EACA,qBAAA;EhCquID;A+Br4HD;ECjWE,kBAAA;EACA,qBAAA;EhCyuID;A+Bj4HD;EAAA;IAJI,aAAA;IACA,mBAAA;IACA,oBAAA;I/By4HD;EACF;A+B52HD;EAhBE;IEzWA,wBAAA;IjCyuIC;E+B/3HD;IE7WA,yBAAA;IF+WE,qBAAA;I/Bi4HD;E+Bn4HD;IAKI,iBAAA;I/Bi4HH;EACF;A+Bx3HD;EACE,2BAAA;EACA,uBAAA;E/B03HD;A+B53HD;EAKI,gBAAA;E/B03HH;A+Bz3HG;;EAEE,gBAAA;EACA,+BAAA;E/B23HL;A+Bp4HD;EAcI,gBAAA;E/By3HH;A+Bv4HD;EAmBM,gBAAA;E/Bu3HL;A+Br3HK;;EAEE,gBAAA;EACA,+BAAA;E/Bu3HP;A+Bn3HK;;;EAGE,gBAAA;EACA,2BAAA;E/Bq3HP;A+Bj3HK;;;EAGE,gBAAA;EACA,+BAAA;E/Bm3HP;A+B35HD;EA8CI,uBAAA;E/Bg3HH;A+B/2HG;;EAEE,2BAAA;E/Bi3HL;A+Bl6HD;EAoDM,2BAAA;E/Bi3HL;A+Br6HD;;EA0DI,uBAAA;E/B+2HH;A+Bx2HK;;;EAGE,2BAAA;EACA,gBAAA;E/B02HP;A+Bz0HC;EAAA;IAzBQ,gBAAA;I/Bs2HP;E+Br2HO;;IAEE,gBAAA;IACA,+BAAA;I/Bu2HT;E+Bn2HO;;;IAGE,gBAAA;IACA,2BAAA;I/Bq2HT;E+Bj2HO;;;IAGE,gBAAA;IACA,+BAAA;I/Bm2HT;EACF;A+Br8HD;EA8GI,gBAAA;E/B01HH;A+Bz1HG;EACE,gBAAA;E/B21HL;A+B38HD;EAqHI,gBAAA;E/By1HH;A+Bx1HG;;EAEE,gBAAA;E/B01HL;A+Bt1HK;;;;EAEE,gBAAA;E/B01HP;A+Bl1HD;EACE,2BAAA;EACA,uBAAA;E/Bo1HD;A+Bt1HD;EAKI,gBAAA;E/Bo1HH;A+Bn1HG;;EAEE,gBAAA;EACA,+BAAA;E/Bq1HL;A+B91HD;EAcI,gBAAA;E/Bm1HH;A+Bj2HD;EAmBM,gBAAA;E/Bi1HL;A+B/0HK;;EAEE,gBAAA;EACA,+BAAA;E/Bi1HP;A+B70HK;;;EAGE,gBAAA;EACA,2BAAA;E/B+0HP;A+B30HK;;;EAGE,gBAAA;EACA,+BAAA;E/B60HP;A+Br3HD;EA+CI,uBAAA;E/By0HH;A+Bx0HG;;EAEE,2BAAA;E/B00HL;A+B53HD;EAqDM,2BAAA;E/B00HL;A+B/3HD;;EA2DI,uBAAA;E/Bw0HH;A+Bl0HK;;;EAGE,2BAAA;EACA,gBAAA;E/Bo0HP;A+B7xHC;EAAA;IA/BQ,uBAAA;I/Bg0HP;E+BjyHD;IA5BQ,2BAAA;I/Bg0HP;E+BpyHD;IAzBQ,gBAAA;I/Bg0HP;E+B/zHO;;IAEE,gBAAA;IACA,+BAAA;I/Bi0HT;E+B7zHO;;;IAGE,gBAAA;IACA,2BAAA;I/B+zHT;E+B3zHO;;;IAGE,gBAAA;IACA,+BAAA;I/B6zHT;EACF;A+Br6HD;EA+GI,gBAAA;E/ByzHH;A+BxzHG;EACE,gBAAA;E/B0zHL;A+B36HD;EAsHI,gBAAA;E/BwzHH;A+BvzHG;;EAEE,gBAAA;E/ByzHL;A+BrzHK;;;;EAEE,gBAAA;E/ByzHP;AkCp8ID;EACE,mBAAA;EACA,qBAAA;EACA,kBAAA;EACA,2BAAA;EACA,oBAAA;ElCs8ID;AkC38ID;EAQI,uBAAA;ElCs8IH;AkC98ID;EAWM,mBAAA;EACA,gBAAA;EACA,gBAAA;ElCs8IL;AkCn9ID;EAkBI,gBAAA;ElCo8IH;AmCx9ID;EACE,uBAAA;EACA,iBAAA;EACA,gBAAA;EACA,oBAAA;EnC09ID;AmC99ID;EAOI,iBAAA;EnC09IH;AmCj+ID;;EAUM,oBAAA;EACA,aAAA;EACA,mBAAA;EACA,yBAAA;EACA,uBAAA;EACA,gBAAA;EACA,2BAAA;EACA,2BAAA;EACA,mBAAA;EnC29IL;AmCz9IG;;EAGI,gBAAA;EPXN,gCAAA;EACG,6BAAA;E5Bs+IJ;AmCx9IG;;EPvBF,iCAAA;EACG,8BAAA;E5Bm/IJ;AmCn9IG;;;;EAEE,gBAAA;EACA,2BAAA;EACA,uBAAA;EnCu9IL;AmCj9IG;;;;;;EAGE,YAAA;EACA,gBAAA;EACA,2BAAA;EACA,uBAAA;EACA,iBAAA;EnCs9IL;AmC5gJD;;;;;;EAiEM,gBAAA;EACA,2BAAA;EACA,uBAAA;EACA,qBAAA;EnCm9IL;AmC18ID;;EC1EM,oBAAA;EACA,iBAAA;EpCwhJL;AoCthJG;;ERMF,gCAAA;EACG,6BAAA;E5BohJJ;AoCrhJG;;ERRF,iCAAA;EACG,8BAAA;E5BiiJJ;AmCp9ID;;EC/EM,mBAAA;EACA,iBAAA;EpCuiJL;AoCriJG;;ERMF,gCAAA;EACG,6BAAA;E5BmiJJ;AoCpiJG;;ERRF,iCAAA;EACG,8BAAA;E5BgjJJ;AqCnjJD;EACE,iBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oBAAA;ErCqjJD;AqCzjJD;EAOI,iBAAA;ErCqjJH;AqC5jJD;;EAUM,uBAAA;EACA,mBAAA;EACA,2BAAA;EACA,2BAAA;EACA,qBAAA;ErCsjJL;AqCpkJD;;EAmBM,uBAAA;EACA,2BAAA;ErCqjJL;AqCzkJD;;EA2BM,cAAA;ErCkjJL;AqC7kJD;;EAkCM,aAAA;ErC+iJL;AqCjlJD;;;;EA2CM,gBAAA;EACA,2BAAA;EACA,qBAAA;ErC4iJL;AsC1lJD;EACE,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,mBAAA;EACA,gBAAA;EACA,gBAAA;EACA,oBAAA;EACA,qBAAA;EACA,0BAAA;EACA,sBAAA;EtC4lJD;AsCxlJG;;EAEE,gBAAA;EACA,uBAAA;EACA,iBAAA;EtC0lJL;AsCrlJC;EACE,eAAA;EtCulJH;AsCnlJC;EACE,oBAAA;EACA,WAAA;EtCqlJH;AsC9kJD;ECtCE,2BAAA;EvCunJD;AuCpnJG;;EAEE,2BAAA;EvCsnJL;AsCjlJD;EC1CE,2BAAA;EvC8nJD;AuC3nJG;;EAEE,2BAAA;EvC6nJL;AsCplJD;EC9CE,2BAAA;EvCqoJD;AuCloJG;;EAEE,2BAAA;EvCooJL;AsCvlJD;EClDE,2BAAA;EvC4oJD;AuCzoJG;;EAEE,2BAAA;EvC2oJL;AsC1lJD;ECtDE,2BAAA;EvCmpJD;AuChpJG;;EAEE,2BAAA;EvCkpJL;AsC7lJD;EC1DE,2BAAA;EvC0pJD;AuCvpJG;;EAEE,2BAAA;EvCypJL;AwC3pJD;EACE,uBAAA;EACA,iBAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA;EACA,gBAAA;EACA,0BAAA;EACA,qBAAA;EACA,oBAAA;EACA,2BAAA;EACA,qBAAA;ExC6pJD;AwC1pJC;EACE,eAAA;ExC4pJH;AwCxpJC;EACE,oBAAA;EACA,WAAA;ExC0pJH;AwCvpJC;EACE,QAAA;EACA,kBAAA;ExCypJH;AwCppJG;;EAEE,gBAAA;EACA,uBAAA;EACA,iBAAA;ExCspJL;AwCjpJC;;EAEE,gBAAA;EACA,2BAAA;ExCmpJH;AwChpJC;EACE,cAAA;ExCkpJH;AwC/oJC;EACE,mBAAA;ExCipJH;AwC9oJC;EACE,kBAAA;ExCgpJH;AyCzsJD;EACE,oBAAA;EACA,qBAAA;EACA,gBAAA;EACA,2BAAA;EzC2sJD;AyC/sJD;;EAQI,gBAAA;EzC2sJH;AyCntJD;EAYI,qBAAA;EACA,iBAAA;EACA,kBAAA;EzC0sJH;AyCxtJD;EAkBI,2BAAA;EzCysJH;AyCtsJC;;EAEE,oBAAA;EzCwsJH;AyC/tJD;EA2BI,iBAAA;EzCusJH;AyCtrJD;EAAA;IAbI,iBAAA;IzCusJD;EyCrsJC;;IAEE,oBAAA;IACA,qBAAA;IzCusJH;EyC/rJH;;IAHM,iBAAA;IzCssJH;EACF;A0C/uJD;EACE,gBAAA;EACA,cAAA;EACA,qBAAA;EACA,yBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;ErCiLA,6CAAA;EACK,wCAAA;EACG,qCAAA;ELikJT;A0C3vJD;;EAaI,mBAAA;EACA,oBAAA;E1CkvJH;A0C9uJC;;;EAGE,uBAAA;E1CgvJH;A0CrwJD;EA0BI,cAAA;EACA,gBAAA;E1C8uJH;A2CvwJD;EACE,eAAA;EACA,qBAAA;EACA,+BAAA;EACA,oBAAA;E3CywJD;A2C7wJD;EAQI,eAAA;EAEA,gBAAA;E3CuwJH;A2CjxJD;EAeI,mBAAA;E3CqwJH;A2CpxJD;;EAqBI,kBAAA;E3CmwJH;A2CxxJD;EAyBI,iBAAA;E3CkwJH;A2C1vJD;;EAEE,qBAAA;E3C4vJD;A2C9vJD;;EAMI,oBAAA;EACA,WAAA;EACA,cAAA;EACA,gBAAA;E3C4vJH;A2CpvJD;ECvDE,2BAAA;EACA,uBAAA;EACA,gBAAA;E5C8yJD;A2CzvJD;EClDI,2BAAA;E5C8yJH;A2C5vJD;EC/CI,gBAAA;E5C8yJH;A2C3vJD;EC3DE,2BAAA;EACA,uBAAA;EACA,gBAAA;E5CyzJD;A2ChwJD;ECtDI,2BAAA;E5CyzJH;A2CnwJD;ECnDI,gBAAA;E5CyzJH;A2ClwJD;EC/DE,2BAAA;EACA,uBAAA;EACA,gBAAA;E5Co0JD;A2CvwJD;EC1DI,2BAAA;E5Co0JH;A2C1wJD;ECvDI,gBAAA;E5Co0JH;A2CzwJD;ECnEE,2BAAA;EACA,uBAAA;EACA,gBAAA;E5C+0JD;A2C9wJD;EC9DI,2BAAA;E5C+0JH;A2CjxJD;EC3DI,gBAAA;E5C+0JH;A6Cj1JD;EACE;IAAQ,6BAAA;I7Co1JP;E6Cn1JD;IAAQ,0BAAA;I7Cs1JP;EACF;A6Cn1JD;EACE;IAAQ,6BAAA;I7Cs1JP;E6Cr1JD;IAAQ,0BAAA;I7Cw1JP;EACF;A6C31JD;EACE;IAAQ,6BAAA;I7Cs1JP;E6Cr1JD;IAAQ,0BAAA;I7Cw1JP;EACF;A6Cj1JD;EACE,kBAAA;EACA,cAAA;EACA,qBAAA;EACA,2BAAA;EACA,oBAAA;ExCsCA,wDAAA;EACQ,gDAAA;EL8yJT;A6Ch1JD;EACE,aAAA;EACA,WAAA;EACA,cAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA;EACA,oBAAA;EACA,2BAAA;ExCyBA,wDAAA;EACQ,gDAAA;EAyHR,qCAAA;EACK,gCAAA;EACG,6BAAA;ELksJT;A6C70JD;;ECCI,+MAAA;EACA,0MAAA;EACA,uMAAA;EDAF,oCAAA;UAAA,4BAAA;E7Ci1JD;A6C10JD;;ExC5CE,4DAAA;EACK,uDAAA;EACG,oDAAA;EL03JT;A6Cv0JD;EErEE,2BAAA;E/C+4JD;A+C54JC;EDgDE,+MAAA;EACA,0MAAA;EACA,uMAAA;E9C+1JH;A6C30JD;EEzEE,2BAAA;E/Cu5JD;A+Cp5JC;EDgDE,+MAAA;EACA,0MAAA;EACA,uMAAA;E9Cu2JH;A6C/0JD;EE7EE,2BAAA;E/C+5JD;A+C55JC;EDgDE,+MAAA;EACA,0MAAA;EACA,uMAAA;E9C+2JH;A6Cn1JD;EEjFE,2BAAA;E/Cu6JD;A+Cp6JC;EDgDE,+MAAA;EACA,0MAAA;EACA,uMAAA;E9Cu3JH;AgD/6JD;EAEE,kBAAA;EhDg7JD;AgD96JC;EACE,eAAA;EhDg7JH;AgD56JD;;EAEE,SAAA;EACA,kBAAA;EhD86JD;AgD36JD;EACE,gBAAA;EhD66JD;AgD16JD;EACE,gBAAA;EhD46JD;AgDz6JD;;EAEE,oBAAA;EhD26JD;AgDx6JD;;EAEE,qBAAA;EhD06JD;AgDv6JD;;;EAGE,qBAAA;EACA,qBAAA;EhDy6JD;AgDt6JD;EACE,wBAAA;EhDw6JD;AgDr6JD;EACE,wBAAA;EhDu6JD;AgDn6JD;EACE,eAAA;EACA,oBAAA;EhDq6JD;AgD/5JD;EACE,iBAAA;EACA,kBAAA;EhDi6JD;AiDn9JD;EAEE,qBAAA;EACA,iBAAA;EjDo9JD;AiD58JD;EACE,oBAAA;EACA,gBAAA;EACA,oBAAA;EAEA,qBAAA;EACA,2BAAA;EACA,2BAAA;EjD68JD;AiD18JC;ErB3BA,8BAAA;EACC,6BAAA;E5Bw+JF;AiD38JC;EACE,kBAAA;ErBvBF,iCAAA;EACC,gCAAA;E5Bq+JF;AiDp8JD;EACE,gBAAA;EjDs8JD;AiDv8JD;EAII,gBAAA;EjDs8JH;AiDl8JC;;EAEE,uBAAA;EACA,gBAAA;EACA,2BAAA;EjDo8JH;AiD97JC;;;EAGE,2BAAA;EACA,gBAAA;EACA,qBAAA;EjDg8JH;AiDr8JC;;;EASI,gBAAA;EjDi8JL;AiD18JC;;;EAYI,gBAAA;EjDm8JL;AiD97JC;;;EAGE,YAAA;EACA,gBAAA;EACA,2BAAA;EACA,uBAAA;EjDg8JH;AiDt8JC;;;;;;;;;EAYI,gBAAA;EjDq8JL;AiDj9JC;;;EAeI,gBAAA;EjDu8JL;AkDniKC;EACE,gBAAA;EACA,2BAAA;ElDqiKH;AkDniKG;EACE,gBAAA;ElDqiKL;AkDtiKG;EAII,gBAAA;ElDqiKP;AkDliKK;;EAEE,gBAAA;EACA,2BAAA;ElDoiKP;AkDliKK;;;EAGE,aAAA;EACA,2BAAA;EACA,uBAAA;ElDoiKP;AkDzjKC;EACE,gBAAA;EACA,2BAAA;ElD2jKH;AkDzjKG;EACE,gBAAA;ElD2jKL;AkD5jKG;EAII,gBAAA;ElD2jKP;AkDxjKK;;EAEE,gBAAA;EACA,2BAAA;ElD0jKP;AkDxjKK;;;EAGE,aAAA;EACA,2BAAA;EACA,uBAAA;ElD0jKP;AkD/kKC;EACE,gBAAA;EACA,2BAAA;ElDilKH;AkD/kKG;EACE,gBAAA;ElDilKL;AkDllKG;EAII,gBAAA;ElDilKP;AkD9kKK;;EAEE,gBAAA;EACA,2BAAA;ElDglKP;AkD9kKK;;;EAGE,aAAA;EACA,2BAAA;EACA,uBAAA;ElDglKP;AkDrmKC;EACE,gBAAA;EACA,2BAAA;ElDumKH;AkDrmKG;EACE,gBAAA;ElDumKL;AkDxmKG;EAII,gBAAA;ElDumKP;AkDpmKK;;EAEE,gBAAA;EACA,2BAAA;ElDsmKP;AkDpmKK;;;EAGE,aAAA;EACA,2BAAA;EACA,uBAAA;ElDsmKP;AiD1gKD;EACE,eAAA;EACA,oBAAA;EjD4gKD;AiD1gKD;EACE,kBAAA;EACA,kBAAA;EjD4gKD;AmDhoKD;EACE,qBAAA;EACA,2BAAA;EACA,+BAAA;EACA,oBAAA;E9C0DA,mDAAA;EACQ,2CAAA;ELykKT;AmD/nKD;EACE,eAAA;EnDioKD;AmD5nKD;EACE,oBAAA;EACA,sCAAA;EvBpBA,8BAAA;EACC,6BAAA;E5BmpKF;AmDloKD;EAMI,gBAAA;EnD+nKH;AmD1nKD;EACE,eAAA;EACA,kBAAA;EACA,iBAAA;EACA,gBAAA;EnD4nKD;AmDhoKD;;;;;EAWI,gBAAA;EnD4nKH;AmDvnKD;EACE,oBAAA;EACA,2BAAA;EACA,+BAAA;EvBxCA,iCAAA;EACC,gCAAA;E5BkqKF;AmDjnKD;;EAGI,kBAAA;EnDknKH;AmDrnKD;;EAMM,qBAAA;EACA,kBAAA;EnDmnKL;AmD/mKG;;EAEI,eAAA;EvBvEN,8BAAA;EACC,6BAAA;E5ByrKF;AmD9mKG;;EAEI,kBAAA;EvBtEN,iCAAA;EACC,gCAAA;E5BurKF;AmD3mKD;EAEI,qBAAA;EnD4mKH;AmDzmKD;EACE,qBAAA;EnD2mKD;AmDnmKD;;;EAII,kBAAA;EnDomKH;AmDxmKD;;;EAOM,oBAAA;EACA,qBAAA;EnDsmKL;AmD9mKD;;EvBnGE,8BAAA;EACC,6BAAA;E5BqtKF;AmDnnKD;;;;EAmBQ,6BAAA;EACA,8BAAA;EnDsmKP;AmD1nKD;;;;;;;;EAwBU,6BAAA;EnD4mKT;AmDpoKD;;;;;;;;EA4BU,8BAAA;EnDknKT;AmD9oKD;;EvB3FE,iCAAA;EACC,gCAAA;E5B6uKF;AmDnpKD;;;;EAyCQ,gCAAA;EACA,iCAAA;EnDgnKP;AmD1pKD;;;;;;;;EA8CU,gCAAA;EnDsnKT;AmDpqKD;;;;;;;;EAkDU,iCAAA;EnD4nKT;AmD9qKD;;;;EA2DI,+BAAA;EnDynKH;AmDprKD;;EA+DI,eAAA;EnDynKH;AmDxrKD;;EAmEI,WAAA;EnDynKH;AmD5rKD;;;;;;;;;;;;EA0EU,gBAAA;EnDgoKT;AmD1sKD;;;;;;;;;;;;EA8EU,iBAAA;EnD0oKT;AmDxtKD;;;;;;;;EAuFU,kBAAA;EnD2oKT;AmDluKD;;;;;;;;EAgGU,kBAAA;EnD4oKT;AmD5uKD;EAsGI,WAAA;EACA,kBAAA;EnDyoKH;AmD/nKD;EACE,qBAAA;EnDioKD;AmDloKD;EAKI,kBAAA;EACA,oBAAA;EnDgoKH;AmDtoKD;EASM,iBAAA;EnDgoKL;AmDzoKD;EAcI,kBAAA;EnD8nKH;AmD5oKD;;EAkBM,+BAAA;EnD8nKL;AmDhpKD;EAuBI,eAAA;EnD4nKH;AmDnpKD;EAyBM,kCAAA;EnD6nKL;AmDtnKD;ECpPE,uBAAA;EpD62KD;AoD32KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpD62KH;AoDh3KC;EAMI,2BAAA;EpD62KL;AoDn3KC;EASI,gBAAA;EACA,2BAAA;EpD62KL;AoD12KC;EAEI,8BAAA;EpD22KL;AmDroKD;ECvPE,uBAAA;EpD+3KD;AoD73KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpD+3KH;AoDl4KC;EAMI,2BAAA;EpD+3KL;AoDr4KC;EASI,gBAAA;EACA,2BAAA;EpD+3KL;AoD53KC;EAEI,8BAAA;EpD63KL;AmDppKD;EC1PE,uBAAA;EpDi5KD;AoD/4KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpDi5KH;AoDp5KC;EAMI,2BAAA;EpDi5KL;AoDv5KC;EASI,gBAAA;EACA,2BAAA;EpDi5KL;AoD94KC;EAEI,8BAAA;EpD+4KL;AmDnqKD;EC7PE,uBAAA;EpDm6KD;AoDj6KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpDm6KH;AoDt6KC;EAMI,2BAAA;EpDm6KL;AoDz6KC;EASI,gBAAA;EACA,2BAAA;EpDm6KL;AoDh6KC;EAEI,8BAAA;EpDi6KL;AmDlrKD;EChQE,uBAAA;EpDq7KD;AoDn7KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpDq7KH;AoDx7KC;EAMI,2BAAA;EpDq7KL;AoD37KC;EASI,gBAAA;EACA,2BAAA;EpDq7KL;AoDl7KC;EAEI,8BAAA;EpDm7KL;AmDjsKD;ECnQE,uBAAA;EpDu8KD;AoDr8KC;EACE,gBAAA;EACA,2BAAA;EACA,uBAAA;EpDu8KH;AoD18KC;EAMI,2BAAA;EpDu8KL;AoD78KC;EASI,gBAAA;EACA,2BAAA;EpDu8KL;AoDp8KC;EAEI,8BAAA;EpDq8KL;AqDr9KD;EACE,oBAAA;EACA,gBAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;ErDu9KD;AqD59KD;;;;;EAYI,oBAAA;EACA,QAAA;EACA,SAAA;EACA,WAAA;EACA,cAAA;EACA,aAAA;EACA,WAAA;ErDu9KH;AqDn9KC;EACE,wBAAA;ErDq9KH;AqDj9KC;EACE,qBAAA;ErDm9KH;AsD7+KD;EACE,kBAAA;EACA,eAAA;EACA,qBAAA;EACA,2BAAA;EACA,2BAAA;EACA,oBAAA;EjDwDA,yDAAA;EACQ,iDAAA;ELw7KT;AsDv/KD;EASI,oBAAA;EACA,mCAAA;EtDi/KH;AsD5+KD;EACE,eAAA;EACA,oBAAA;EtD8+KD;AsD5+KD;EACE,cAAA;EACA,oBAAA;EtD8+KD;AuDpgLD;EACE,cAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA;EACA,gBAAA;EACA,8BAAA;EjCRA,cAAA;EAGA,2BAAA;EtB6gLD;AuDrgLC;;EAEE,gBAAA;EACA,uBAAA;EACA,iBAAA;EjCfF,cAAA;EAGA,2BAAA;EtBqhLD;AuDjgLC;EACE,YAAA;EACA,iBAAA;EACA,yBAAA;EACA,WAAA;EACA,0BAAA;EvDmgLH;AwDxhLD;EACE,kBAAA;ExD0hLD;AwDthLD;EACE,eAAA;EACA,kBAAA;EACA,iBAAA;EACA,QAAA;EACA,UAAA;EACA,WAAA;EACA,SAAA;EACA,eAAA;EACA,mCAAA;EAIA,YAAA;ExDqhLD;AwDlhLC;EnD+GA,uCAAA;EACI,mCAAA;EACC,kCAAA;EACG,+BAAA;EAkER,qDAAA;EAEK,2CAAA;EACG,qCAAA;ELq2KT;AwDxhLC;EnD2GA,oCAAA;EACI,gCAAA;EACC,+BAAA;EACG,4BAAA;ELg7KT;AwD5hLD;EACE,oBAAA;EACA,kBAAA;ExD8hLD;AwD1hLD;EACE,oBAAA;EACA,aAAA;EACA,cAAA;ExD4hLD;AwDxhLD;EACE,oBAAA;EACA,2BAAA;EACA,2BAAA;EACA,sCAAA;EACA,oBAAA;EnDaA,kDAAA;EACQ,0CAAA;EmDZR,sCAAA;UAAA,8BAAA;EAEA,YAAA;ExD0hLD;AwDthLD;EACE,oBAAA;EACA,QAAA;EACA,UAAA;EACA,SAAA;EACA,2BAAA;ExDwhLD;AwDthLC;ElCnEA,YAAA;EAGA,0BAAA;EtB0lLD;AwDzhLC;ElCpEA,cAAA;EAGA,2BAAA;EtB8lLD;AwDxhLD;EACE,eAAA;EACA,kCAAA;EACA,2BAAA;ExD0hLD;AwDvhLD;EACE,kBAAA;ExDyhLD;AwDrhLD;EACE,WAAA;EACA,yBAAA;ExDuhLD;AwDlhLD;EACE,oBAAA;EACA,eAAA;ExDohLD;AwDhhLD;EACE,eAAA;EACA,mBAAA;EACA,+BAAA;ExDkhLD;AwDrhLD;EAQI,kBAAA;EACA,kBAAA;ExDghLH;AwDzhLD;EAaI,mBAAA;ExD+gLH;AwD5hLD;EAiBI,gBAAA;ExD8gLH;AwDzgLD;EACE,oBAAA;EACA,cAAA;EACA,aAAA;EACA,cAAA;EACA,kBAAA;ExD2gLD;AwDz/KD;EAZE;IACE,cAAA;IACA,mBAAA;IxDwgLD;EwDtgLD;InDrEA,mDAAA;IACQ,2CAAA;IL8kLP;EwDrgLD;IAAY,cAAA;IxDwgLX;EACF;AwDngLD;EAFE;IAAY,cAAA;IxDygLX;EACF;AyDtpLD;EACE,oBAAA;EACA,eAAA;EACA,gBAAA;EACA,qBAAA;EAEA,6DAAA;EACA,iBAAA;EACA,qBAAA;EACA,kBAAA;EnCZA,YAAA;EAGA,0BAAA;EtBkqLD;AyDtpLC;EnCfA,cAAA;EAGA,2BAAA;EtBsqLD;AyDzpLC;EAAW,kBAAA;EAAmB,gBAAA;EzD6pL/B;AyD5pLC;EAAW,kBAAA;EAAmB,gBAAA;EzDgqL/B;AyD/pLC;EAAW,iBAAA;EAAmB,gBAAA;EzDmqL/B;AyDlqLC;EAAW,mBAAA;EAAmB,gBAAA;EzDsqL/B;AyDlqLD;EACE,kBAAA;EACA,kBAAA;EACA,gBAAA;EACA,oBAAA;EACA,uBAAA;EACA,2BAAA;EACA,oBAAA;EzDoqLD;AyDhqLD;EACE,oBAAA;EACA,UAAA;EACA,WAAA;EACA,2BAAA;EACA,qBAAA;EzDkqLD;AyD9pLC;EACE,WAAA;EACA,WAAA;EACA,mBAAA;EACA,yBAAA;EACA,2BAAA;EzDgqLH;AyD9pLC;EACE,WAAA;EACA,YAAA;EACA,qBAAA;EACA,yBAAA;EACA,2BAAA;EzDgqLH;AyD9pLC;EACE,WAAA;EACA,WAAA;EACA,qBAAA;EACA,yBAAA;EACA,2BAAA;EzDgqLH;AyD9pLC;EACE,UAAA;EACA,SAAA;EACA,kBAAA;EACA,6BAAA;EACA,6BAAA;EzDgqLH;AyD9pLC;EACE,UAAA;EACA,UAAA;EACA,kBAAA;EACA,6BAAA;EACA,4BAAA;EzDgqLH;AyD9pLC;EACE,QAAA;EACA,WAAA;EACA,mBAAA;EACA,yBAAA;EACA,8BAAA;EzDgqLH;AyD9pLC;EACE,QAAA;EACA,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,8BAAA;EzDgqLH;AyD9pLC;EACE,QAAA;EACA,WAAA;EACA,kBAAA;EACA,yBAAA;EACA,8BAAA;EzDgqLH;A0D/vLD;EACE,oBAAA;EACA,QAAA;EACA,SAAA;EACA,eAAA;EACA,eAAA;EACA,kBAAA;EACA,cAAA;EAEA,6DAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;EACA,kBAAA;EACA,2BAAA;EACA,sCAAA;UAAA,8BAAA;EACA,2BAAA;EACA,sCAAA;EACA,oBAAA;ErD6CA,mDAAA;EACQ,2CAAA;EqD1CR,qBAAA;E1D+vLD;A0D5vLC;EAAY,mBAAA;E1D+vLb;A0D9vLC;EAAY,mBAAA;E1DiwLb;A0DhwLC;EAAY,kBAAA;E1DmwLb;A0DlwLC;EAAY,oBAAA;E1DqwLb;A0DlwLD;EACE,WAAA;EACA,mBAAA;EACA,iBAAA;EACA,2BAAA;EACA,kCAAA;EACA,4BAAA;E1DowLD;A0DjwLD;EACE,mBAAA;E1DmwLD;A0D3vLC;;EAEE,oBAAA;EACA,gBAAA;EACA,UAAA;EACA,WAAA;EACA,2BAAA;EACA,qBAAA;E1D6vLH;A0D1vLD;EACE,oBAAA;E1D4vLD;A0D1vLD;EACE,oBAAA;EACA,aAAA;E1D4vLD;A0DxvLC;EACE,WAAA;EACA,oBAAA;EACA,wBAAA;EACA,2BAAA;EACA,uCAAA;EACA,eAAA;E1D0vLH;A0DzvLG;EACE,cAAA;EACA,aAAA;EACA,oBAAA;EACA,wBAAA;EACA,2BAAA;E1D2vLL;A0DxvLC;EACE,UAAA;EACA,aAAA;EACA,mBAAA;EACA,sBAAA;EACA,6BAAA;EACA,yCAAA;E1D0vLH;A0DzvLG;EACE,cAAA;EACA,WAAA;EACA,eAAA;EACA,sBAAA;EACA,6BAAA;E1D2vLL;A0DxvLC;EACE,WAAA;EACA,oBAAA;EACA,qBAAA;EACA,8BAAA;EACA,0CAAA;EACA,YAAA;E1D0vLH;A0DzvLG;EACE,cAAA;EACA,UAAA;EACA,oBAAA;EACA,qBAAA;EACA,8BAAA;E1D2vLL;A0DvvLC;EACE,UAAA;EACA,cAAA;EACA,mBAAA;EACA,uBAAA;EACA,4BAAA;EACA,wCAAA;E1DyvLH;A0DxvLG;EACE,cAAA;EACA,YAAA;EACA,uBAAA;EACA,4BAAA;EACA,eAAA;E1D0vLL;A2Dv3LD;EACE,oBAAA;E3Dy3LD;A2Dt3LD;EACE,oBAAA;EACA,kBAAA;EACA,aAAA;E3Dw3LD;A2D33LD;EAMI,eAAA;EACA,oBAAA;EtD6KF,2CAAA;EACK,sCAAA;EACG,mCAAA;EL4sLT;A2Dl4LD;;EAcM,gBAAA;E3Dw3LL;A2D91LC;EAAA;ItDiKA,wDAAA;IAEK,8CAAA;IACG,wCAAA;IA7JR,qCAAA;IAEQ,6BAAA;IA+GR,2BAAA;IAEQ,mBAAA;ILivLP;E2D53LG;;ItDmHJ,4CAAA;IACQ,oCAAA;IsDjHF,SAAA;I3D+3LL;E2D73LG;;ItD8GJ,6CAAA;IACQ,qCAAA;IsD5GF,SAAA;I3Dg4LL;E2D93LG;;;ItDyGJ,yCAAA;IACQ,iCAAA;IsDtGF,SAAA;I3Di4LL;EACF;A2Dv6LD;;;EA6CI,gBAAA;E3D+3LH;A2D56LD;EAiDI,SAAA;E3D83LH;A2D/6LD;;EAsDI,oBAAA;EACA,QAAA;EACA,aAAA;E3D63LH;A2Dr7LD;EA4DI,YAAA;E3D43LH;A2Dx7LD;EA+DI,aAAA;E3D43LH;A2D37LD;;EAmEI,SAAA;E3D43LH;A2D/7LD;EAuEI,aAAA;E3D23LH;A2Dl8LD;EA0EI,YAAA;E3D23LH;A2Dn3LD;EACE,oBAAA;EACA,QAAA;EACA,SAAA;EACA,WAAA;EACA,YAAA;ErC9FA,cAAA;EAGA,2BAAA;EqC6FA,iBAAA;EACA,gBAAA;EACA,oBAAA;EACA,2CAAA;E3Ds3LD;A2Dj3LC;EblGE,oGAAA;EACA,+FAAA;EACA,sHAAA;EAAA,gGAAA;EACA,6BAAA;EACA,wHAAA;E9Cs9LH;A2Dr3LC;EACE,YAAA;EACA,UAAA;EbvGA,oGAAA;EACA,+FAAA;EACA,sHAAA;EAAA,gGAAA;EACA,6BAAA;EACA,wHAAA;E9C+9LH;A2Dv3LC;;EAEE,YAAA;EACA,gBAAA;EACA,uBAAA;ErCtHF,cAAA;EAGA,2BAAA;EtB8+LD;A2Dx5LD;;;;EAsCI,oBAAA;EACA,UAAA;EACA,YAAA;EACA,uBAAA;E3Dw3LH;A2Dj6LD;;EA6CI,WAAA;EACA,oBAAA;E3Dw3LH;A2Dt6LD;;EAkDI,YAAA;EACA,qBAAA;E3Dw3LH;A2D36LD;;EAuDI,aAAA;EACA,cAAA;EACA,mBAAA;EACA,gBAAA;EACA,oBAAA;E3Dw3LH;A2Dn3LG;EACE,kBAAA;E3Dq3LL;A2Dj3LG;EACE,kBAAA;E3Dm3LL;A2Dz2LD;EACE,oBAAA;EACA,cAAA;EACA,WAAA;EACA,aAAA;EACA,YAAA;EACA,mBAAA;EACA,iBAAA;EACA,kBAAA;EACA,oBAAA;E3D22LD;A2Dp3LD;EAYI,uBAAA;EACA,aAAA;EACA,cAAA;EACA,aAAA;EACA,qBAAA;EACA,2BAAA;EACA,qBAAA;EACA,iBAAA;EAWA,2BAAA;EACA,oCAAA;E3Di2LH;A2Dh4LD;EAkCI,WAAA;EACA,aAAA;EACA,cAAA;EACA,2BAAA;E3Di2LH;A2D11LD;EACE,oBAAA;EACA,WAAA;EACA,YAAA;EACA,cAAA;EACA,aAAA;EACA,mBAAA;EACA,sBAAA;EACA,gBAAA;EACA,oBAAA;EACA,2CAAA;E3D41LD;A2D31LC;EACE,mBAAA;E3D61LH;A2DpzLD;EAhCE;;;;IAKI,aAAA;IACA,cAAA;IACA,mBAAA;IACA,iBAAA;I3Ds1LH;E2D91LD;;IAYI,oBAAA;I3Ds1LH;E2Dl2LD;;IAgBI,qBAAA;I3Ds1LH;E2Dj1LD;IACE,WAAA;IACA,YAAA;IACA,sBAAA;I3Dm1LD;E2D/0LD;IACE,cAAA;I3Di1LD;EACF;A4D/kMC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEE,cAAA;EACA,gBAAA;E5D6mMH;A4D3mMC;;;;;;;;;;;;;;;EACE,aAAA;E5D2nMH;AiCnoMD;E4BRE,gBAAA;EACA,mBAAA;EACA,oBAAA;E7D8oMD;AiCroMD;EACE,yBAAA;EjCuoMD;AiCroMD;EACE,wBAAA;EjCuoMD;AiC/nMD;EACE,0BAAA;EjCioMD;AiC/nMD;EACE,2BAAA;EjCioMD;AiC/nMD;EACE,oBAAA;EjCioMD;AiC/nMD;E6BzBE,aAAA;EACA,oBAAA;EACA,mBAAA;EACA,+BAAA;EACA,WAAA;E9D2pMD;AiC7nMD;EACE,0BAAA;EACA,+BAAA;EjC+nMD;AiCxnMD;EACE,iBAAA;EjC0nMD;A+D5pMD;EACE,qBAAA;E/D8pMD;A+DxpMD;;;;ECdE,0BAAA;EhE4qMD;A+DvpMD;;;;;;;;;;;;EAYE,0BAAA;E/DypMD;A+DlpMD;EAAA;IChDE,2BAAA;IhEssMC;EgErsMD;IAAU,gBAAA;IhEwsMT;EgEvsMD;IAAU,+BAAA;IhE0sMT;EgEzsMD;;IACU,gCAAA;IhE4sMT;EACF;A+D5pMD;EAAA;IAFI,2BAAA;I/DkqMD;EACF;A+D5pMD;EAAA;IAFI,4BAAA;I/DkqMD;EACF;A+D5pMD;EAAA;IAFI,kCAAA;I/DkqMD;EACF;A+D3pMD;EAAA;ICrEE,2BAAA;IhEouMC;EgEnuMD;IAAU,gBAAA;IhEsuMT;EgEruMD;IAAU,+BAAA;IhEwuMT;EgEvuMD;;IACU,gCAAA;IhE0uMT;EACF;A+DrqMD;EAAA;IAFI,2BAAA;I/D2qMD;EACF;A+DrqMD;EAAA;IAFI,4BAAA;I/D2qMD;EACF;A+DrqMD;EAAA;IAFI,kCAAA;I/D2qMD;EACF;A+DpqMD;EAAA;IC1FE,2BAAA;IhEkwMC;EgEjwMD;IAAU,gBAAA;IhEowMT;EgEnwMD;IAAU,+BAAA;IhEswMT;EgErwMD;;IACU,gCAAA;IhEwwMT;EACF;A+D9qMD;EAAA;IAFI,2BAAA;I/DorMD;EACF;A+D9qMD;EAAA;IAFI,4BAAA;I/DorMD;EACF;A+D9qMD;EAAA;IAFI,kCAAA;I/DorMD;EACF;A+D7qMD;EAAA;IC/GE,2BAAA;IhEgyMC;EgE/xMD;IAAU,gBAAA;IhEkyMT;EgEjyMD;IAAU,+BAAA;IhEoyMT;EgEnyMD;;IACU,gCAAA;IhEsyMT;EACF;A+DvrMD;EAAA;IAFI,2BAAA;I/D6rMD;EACF;A+DvrMD;EAAA;IAFI,4BAAA;I/D6rMD;EACF;A+DvrMD;EAAA;IAFI,kCAAA;I/D6rMD;EACF;A+DtrMD;EAAA;IC5HE,0BAAA;IhEszMC;EACF;A+DtrMD;EAAA;ICjIE,0BAAA;IhE2zMC;EACF;A+DtrMD;EAAA;ICtIE,0BAAA;IhEg0MC;EACF;A+DtrMD;EAAA;IC3IE,0BAAA;IhEq0MC;EACF;A+DnrMD;ECnJE,0BAAA;EhEy0MD;A+DhrMD;EAAA;ICjKE,2BAAA;IhEq1MC;EgEp1MD;IAAU,gBAAA;IhEu1MT;EgEt1MD;IAAU,+BAAA;IhEy1MT;EgEx1MD;;IACU,gCAAA;IhE21MT;EACF;A+D9rMD;EACE,0BAAA;E/DgsMD;A+D3rMD;EAAA;IAFI,2BAAA;I/DisMD;EACF;A+D/rMD;EACE,0BAAA;E/DisMD;A+D5rMD;EAAA;IAFI,4BAAA;I/DksMD;EACF;A+DhsMD;EACE,0BAAA;E/DksMD;A+D7rMD;EAAA;IAFI,kCAAA;I/DmsMD;EACF;A+D5rMD;EAAA;ICpLE,0BAAA;IhEo3MC;EACF","file":"bootstrap.css","sourcesContent":["/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\nhtml {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\nmark {\n background: #ff0;\n color: #000;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsup {\n top: -0.5em;\n}\nsub {\n bottom: -0.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit;\n font: inherit;\n margin: 0;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box;\n padding: 0;\n}\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type=\"search\"] {\n -webkit-appearance: textfield;\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n}\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\nlegend {\n border: 0;\n padding: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n background: transparent !important;\n color: #000 !important;\n box-shadow: none !important;\n text-shadow: none !important;\n }\n a,\n a:visited {\n text-decoration: underline;\n }\n a[href]:after {\n content: \" (\" attr(href) \")\";\n }\n abbr[title]:after {\n content: \" (\" attr(title) \")\";\n }\n a[href^=\"#\"]:after,\n a[href^=\"javascript:\"]:after {\n content: \"\";\n }\n pre,\n blockquote {\n border: 1px solid #999;\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n img {\n max-width: 100% !important;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n select {\n background: #fff !important;\n }\n .navbar {\n display: none;\n }\n .btn > .caret,\n .dropup > .btn > .caret {\n border-top-color: #000 !important;\n }\n .label {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\n }\n}\n@font-face {\n font-family: 'Glyphicons Halflings';\n src: url('../fonts/glyphicons-halflings-regular.eot');\n src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');\n}\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: 'Glyphicons Halflings';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.glyphicon-asterisk:before {\n content: \"\\2a\";\n}\n.glyphicon-plus:before {\n content: \"\\2b\";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: \"\\20ac\";\n}\n.glyphicon-minus:before {\n content: \"\\2212\";\n}\n.glyphicon-cloud:before {\n content: \"\\2601\";\n}\n.glyphicon-envelope:before {\n content: \"\\2709\";\n}\n.glyphicon-pencil:before {\n content: \"\\270f\";\n}\n.glyphicon-glass:before {\n content: \"\\e001\";\n}\n.glyphicon-music:before {\n content: \"\\e002\";\n}\n.glyphicon-search:before {\n content: \"\\e003\";\n}\n.glyphicon-heart:before {\n content: \"\\e005\";\n}\n.glyphicon-star:before {\n content: \"\\e006\";\n}\n.glyphicon-star-empty:before {\n content: \"\\e007\";\n}\n.glyphicon-user:before {\n content: \"\\e008\";\n}\n.glyphicon-film:before {\n content: \"\\e009\";\n}\n.glyphicon-th-large:before {\n content: \"\\e010\";\n}\n.glyphicon-th:before {\n content: \"\\e011\";\n}\n.glyphicon-th-list:before {\n content: \"\\e012\";\n}\n.glyphicon-ok:before {\n content: \"\\e013\";\n}\n.glyphicon-remove:before {\n content: \"\\e014\";\n}\n.glyphicon-zoom-in:before {\n content: \"\\e015\";\n}\n.glyphicon-zoom-out:before {\n content: \"\\e016\";\n}\n.glyphicon-off:before {\n content: \"\\e017\";\n}\n.glyphicon-signal:before {\n content: \"\\e018\";\n}\n.glyphicon-cog:before {\n content: \"\\e019\";\n}\n.glyphicon-trash:before {\n content: \"\\e020\";\n}\n.glyphicon-home:before {\n content: \"\\e021\";\n}\n.glyphicon-file:before {\n content: \"\\e022\";\n}\n.glyphicon-time:before {\n content: \"\\e023\";\n}\n.glyphicon-road:before {\n content: \"\\e024\";\n}\n.glyphicon-download-alt:before {\n content: \"\\e025\";\n}\n.glyphicon-download:before {\n content: \"\\e026\";\n}\n.glyphicon-upload:before {\n content: \"\\e027\";\n}\n.glyphicon-inbox:before {\n content: \"\\e028\";\n}\n.glyphicon-play-circle:before {\n content: \"\\e029\";\n}\n.glyphicon-repeat:before {\n content: \"\\e030\";\n}\n.glyphicon-refresh:before {\n content: \"\\e031\";\n}\n.glyphicon-list-alt:before {\n content: \"\\e032\";\n}\n.glyphicon-lock:before {\n content: \"\\e033\";\n}\n.glyphicon-flag:before {\n content: \"\\e034\";\n}\n.glyphicon-headphones:before {\n content: \"\\e035\";\n}\n.glyphicon-volume-off:before {\n content: \"\\e036\";\n}\n.glyphicon-volume-down:before {\n content: \"\\e037\";\n}\n.glyphicon-volume-up:before {\n content: \"\\e038\";\n}\n.glyphicon-qrcode:before {\n content: \"\\e039\";\n}\n.glyphicon-barcode:before {\n content: \"\\e040\";\n}\n.glyphicon-tag:before {\n content: \"\\e041\";\n}\n.glyphicon-tags:before {\n content: \"\\e042\";\n}\n.glyphicon-book:before {\n content: \"\\e043\";\n}\n.glyphicon-bookmark:before {\n content: \"\\e044\";\n}\n.glyphicon-print:before {\n content: \"\\e045\";\n}\n.glyphicon-camera:before {\n content: \"\\e046\";\n}\n.glyphicon-font:before {\n content: \"\\e047\";\n}\n.glyphicon-bold:before {\n content: \"\\e048\";\n}\n.glyphicon-italic:before {\n content: \"\\e049\";\n}\n.glyphicon-text-height:before {\n content: \"\\e050\";\n}\n.glyphicon-text-width:before {\n content: \"\\e051\";\n}\n.glyphicon-align-left:before {\n content: \"\\e052\";\n}\n.glyphicon-align-center:before {\n content: \"\\e053\";\n}\n.glyphicon-align-right:before {\n content: \"\\e054\";\n}\n.glyphicon-align-justify:before {\n content: \"\\e055\";\n}\n.glyphicon-list:before {\n content: \"\\e056\";\n}\n.glyphicon-indent-left:before {\n content: \"\\e057\";\n}\n.glyphicon-indent-right:before {\n content: \"\\e058\";\n}\n.glyphicon-facetime-video:before {\n content: \"\\e059\";\n}\n.glyphicon-picture:before {\n content: \"\\e060\";\n}\n.glyphicon-map-marker:before {\n content: \"\\e062\";\n}\n.glyphicon-adjust:before {\n content: \"\\e063\";\n}\n.glyphicon-tint:before {\n content: \"\\e064\";\n}\n.glyphicon-edit:before {\n content: \"\\e065\";\n}\n.glyphicon-share:before {\n content: \"\\e066\";\n}\n.glyphicon-check:before {\n content: \"\\e067\";\n}\n.glyphicon-move:before {\n content: \"\\e068\";\n}\n.glyphicon-step-backward:before {\n content: \"\\e069\";\n}\n.glyphicon-fast-backward:before {\n content: \"\\e070\";\n}\n.glyphicon-backward:before {\n content: \"\\e071\";\n}\n.glyphicon-play:before {\n content: \"\\e072\";\n}\n.glyphicon-pause:before {\n content: \"\\e073\";\n}\n.glyphicon-stop:before {\n content: \"\\e074\";\n}\n.glyphicon-forward:before {\n content: \"\\e075\";\n}\n.glyphicon-fast-forward:before {\n content: \"\\e076\";\n}\n.glyphicon-step-forward:before {\n content: \"\\e077\";\n}\n.glyphicon-eject:before {\n content: \"\\e078\";\n}\n.glyphicon-chevron-left:before {\n content: \"\\e079\";\n}\n.glyphicon-chevron-right:before {\n content: \"\\e080\";\n}\n.glyphicon-plus-sign:before {\n content: \"\\e081\";\n}\n.glyphicon-minus-sign:before {\n content: \"\\e082\";\n}\n.glyphicon-remove-sign:before {\n content: \"\\e083\";\n}\n.glyphicon-ok-sign:before {\n content: \"\\e084\";\n}\n.glyphicon-question-sign:before {\n content: \"\\e085\";\n}\n.glyphicon-info-sign:before {\n content: \"\\e086\";\n}\n.glyphicon-screenshot:before {\n content: \"\\e087\";\n}\n.glyphicon-remove-circle:before {\n content: \"\\e088\";\n}\n.glyphicon-ok-circle:before {\n content: \"\\e089\";\n}\n.glyphicon-ban-circle:before {\n content: \"\\e090\";\n}\n.glyphicon-arrow-left:before {\n content: \"\\e091\";\n}\n.glyphicon-arrow-right:before {\n content: \"\\e092\";\n}\n.glyphicon-arrow-up:before {\n content: \"\\e093\";\n}\n.glyphicon-arrow-down:before {\n content: \"\\e094\";\n}\n.glyphicon-share-alt:before {\n content: \"\\e095\";\n}\n.glyphicon-resize-full:before {\n content: \"\\e096\";\n}\n.glyphicon-resize-small:before {\n content: \"\\e097\";\n}\n.glyphicon-exclamation-sign:before {\n content: \"\\e101\";\n}\n.glyphicon-gift:before {\n content: \"\\e102\";\n}\n.glyphicon-leaf:before {\n content: \"\\e103\";\n}\n.glyphicon-fire:before {\n content: \"\\e104\";\n}\n.glyphicon-eye-open:before {\n content: \"\\e105\";\n}\n.glyphicon-eye-close:before {\n content: \"\\e106\";\n}\n.glyphicon-warning-sign:before {\n content: \"\\e107\";\n}\n.glyphicon-plane:before {\n content: \"\\e108\";\n}\n.glyphicon-calendar:before {\n content: \"\\e109\";\n}\n.glyphicon-random:before {\n content: \"\\e110\";\n}\n.glyphicon-comment:before {\n content: \"\\e111\";\n}\n.glyphicon-magnet:before {\n content: \"\\e112\";\n}\n.glyphicon-chevron-up:before {\n content: \"\\e113\";\n}\n.glyphicon-chevron-down:before {\n content: \"\\e114\";\n}\n.glyphicon-retweet:before {\n content: \"\\e115\";\n}\n.glyphicon-shopping-cart:before {\n content: \"\\e116\";\n}\n.glyphicon-folder-close:before {\n content: \"\\e117\";\n}\n.glyphicon-folder-open:before {\n content: \"\\e118\";\n}\n.glyphicon-resize-vertical:before {\n content: \"\\e119\";\n}\n.glyphicon-resize-horizontal:before {\n content: \"\\e120\";\n}\n.glyphicon-hdd:before {\n content: \"\\e121\";\n}\n.glyphicon-bullhorn:before {\n content: \"\\e122\";\n}\n.glyphicon-bell:before {\n content: \"\\e123\";\n}\n.glyphicon-certificate:before {\n content: \"\\e124\";\n}\n.glyphicon-thumbs-up:before {\n content: \"\\e125\";\n}\n.glyphicon-thumbs-down:before {\n content: \"\\e126\";\n}\n.glyphicon-hand-right:before {\n content: \"\\e127\";\n}\n.glyphicon-hand-left:before {\n content: \"\\e128\";\n}\n.glyphicon-hand-up:before {\n content: \"\\e129\";\n}\n.glyphicon-hand-down:before {\n content: \"\\e130\";\n}\n.glyphicon-circle-arrow-right:before {\n content: \"\\e131\";\n}\n.glyphicon-circle-arrow-left:before {\n content: \"\\e132\";\n}\n.glyphicon-circle-arrow-up:before {\n content: \"\\e133\";\n}\n.glyphicon-circle-arrow-down:before {\n content: \"\\e134\";\n}\n.glyphicon-globe:before {\n content: \"\\e135\";\n}\n.glyphicon-wrench:before {\n content: \"\\e136\";\n}\n.glyphicon-tasks:before {\n content: \"\\e137\";\n}\n.glyphicon-filter:before {\n content: \"\\e138\";\n}\n.glyphicon-briefcase:before {\n content: \"\\e139\";\n}\n.glyphicon-fullscreen:before {\n content: \"\\e140\";\n}\n.glyphicon-dashboard:before {\n content: \"\\e141\";\n}\n.glyphicon-paperclip:before {\n content: \"\\e142\";\n}\n.glyphicon-heart-empty:before {\n content: \"\\e143\";\n}\n.glyphicon-link:before {\n content: \"\\e144\";\n}\n.glyphicon-phone:before {\n content: \"\\e145\";\n}\n.glyphicon-pushpin:before {\n content: \"\\e146\";\n}\n.glyphicon-usd:before {\n content: \"\\e148\";\n}\n.glyphicon-gbp:before {\n content: \"\\e149\";\n}\n.glyphicon-sort:before {\n content: \"\\e150\";\n}\n.glyphicon-sort-by-alphabet:before {\n content: \"\\e151\";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: \"\\e152\";\n}\n.glyphicon-sort-by-order:before {\n content: \"\\e153\";\n}\n.glyphicon-sort-by-order-alt:before {\n content: \"\\e154\";\n}\n.glyphicon-sort-by-attributes:before {\n content: \"\\e155\";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: \"\\e156\";\n}\n.glyphicon-unchecked:before {\n content: \"\\e157\";\n}\n.glyphicon-expand:before {\n content: \"\\e158\";\n}\n.glyphicon-collapse-down:before {\n content: \"\\e159\";\n}\n.glyphicon-collapse-up:before {\n content: \"\\e160\";\n}\n.glyphicon-log-in:before {\n content: \"\\e161\";\n}\n.glyphicon-flash:before {\n content: \"\\e162\";\n}\n.glyphicon-log-out:before {\n content: \"\\e163\";\n}\n.glyphicon-new-window:before {\n content: \"\\e164\";\n}\n.glyphicon-record:before {\n content: \"\\e165\";\n}\n.glyphicon-save:before {\n content: \"\\e166\";\n}\n.glyphicon-open:before {\n content: \"\\e167\";\n}\n.glyphicon-saved:before {\n content: \"\\e168\";\n}\n.glyphicon-import:before {\n content: \"\\e169\";\n}\n.glyphicon-export:before {\n content: \"\\e170\";\n}\n.glyphicon-send:before {\n content: \"\\e171\";\n}\n.glyphicon-floppy-disk:before {\n content: \"\\e172\";\n}\n.glyphicon-floppy-saved:before {\n content: \"\\e173\";\n}\n.glyphicon-floppy-remove:before {\n content: \"\\e174\";\n}\n.glyphicon-floppy-save:before {\n content: \"\\e175\";\n}\n.glyphicon-floppy-open:before {\n content: \"\\e176\";\n}\n.glyphicon-credit-card:before {\n content: \"\\e177\";\n}\n.glyphicon-transfer:before {\n content: \"\\e178\";\n}\n.glyphicon-cutlery:before {\n content: \"\\e179\";\n}\n.glyphicon-header:before {\n content: \"\\e180\";\n}\n.glyphicon-compressed:before {\n content: \"\\e181\";\n}\n.glyphicon-earphone:before {\n content: \"\\e182\";\n}\n.glyphicon-phone-alt:before {\n content: \"\\e183\";\n}\n.glyphicon-tower:before {\n content: \"\\e184\";\n}\n.glyphicon-stats:before {\n content: \"\\e185\";\n}\n.glyphicon-sd-video:before {\n content: \"\\e186\";\n}\n.glyphicon-hd-video:before {\n content: \"\\e187\";\n}\n.glyphicon-subtitles:before {\n content: \"\\e188\";\n}\n.glyphicon-sound-stereo:before {\n content: \"\\e189\";\n}\n.glyphicon-sound-dolby:before {\n content: \"\\e190\";\n}\n.glyphicon-sound-5-1:before {\n content: \"\\e191\";\n}\n.glyphicon-sound-6-1:before {\n content: \"\\e192\";\n}\n.glyphicon-sound-7-1:before {\n content: \"\\e193\";\n}\n.glyphicon-copyright-mark:before {\n content: \"\\e194\";\n}\n.glyphicon-registration-mark:before {\n content: \"\\e195\";\n}\n.glyphicon-cloud-download:before {\n content: \"\\e197\";\n}\n.glyphicon-cloud-upload:before {\n content: \"\\e198\";\n}\n.glyphicon-tree-conifer:before {\n content: \"\\e199\";\n}\n.glyphicon-tree-deciduous:before {\n content: \"\\e200\";\n}\n.glyphicon-cd:before {\n content: \"\\e201\";\n}\n.glyphicon-save-file:before {\n content: \"\\e202\";\n}\n.glyphicon-open-file:before {\n content: \"\\e203\";\n}\n.glyphicon-level-up:before {\n content: \"\\e204\";\n}\n.glyphicon-copy:before {\n content: \"\\e205\";\n}\n.glyphicon-paste:before {\n content: \"\\e206\";\n}\n.glyphicon-alert:before {\n content: \"\\e209\";\n}\n.glyphicon-equalizer:before {\n content: \"\\e210\";\n}\n.glyphicon-king:before {\n content: \"\\e211\";\n}\n.glyphicon-queen:before {\n content: \"\\e212\";\n}\n.glyphicon-pawn:before {\n content: \"\\e213\";\n}\n.glyphicon-bishop:before {\n content: \"\\e214\";\n}\n.glyphicon-knight:before {\n content: \"\\e215\";\n}\n.glyphicon-baby-formula:before {\n content: \"\\e216\";\n}\n.glyphicon-tent:before {\n content: \"\\26fa\";\n}\n.glyphicon-blackboard:before {\n content: \"\\e218\";\n}\n.glyphicon-bed:before {\n content: \"\\e219\";\n}\n.glyphicon-apple:before {\n content: \"\\f8ff\";\n}\n.glyphicon-erase:before {\n content: \"\\e221\";\n}\n.glyphicon-hourglass:before {\n content: \"\\231b\";\n}\n.glyphicon-lamp:before {\n content: \"\\e223\";\n}\n.glyphicon-duplicate:before {\n content: \"\\e224\";\n}\n.glyphicon-piggy-bank:before {\n content: \"\\e225\";\n}\n.glyphicon-scissors:before {\n content: \"\\e226\";\n}\n.glyphicon-bitcoin:before {\n content: \"\\e227\";\n}\n.glyphicon-yen:before {\n content: \"\\00a5\";\n}\n.glyphicon-ruble:before {\n content: \"\\20bd\";\n}\n.glyphicon-scale:before {\n content: \"\\e230\";\n}\n.glyphicon-ice-lolly:before {\n content: \"\\e231\";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: \"\\e232\";\n}\n.glyphicon-education:before {\n content: \"\\e233\";\n}\n.glyphicon-option-horizontal:before {\n content: \"\\e234\";\n}\n.glyphicon-option-vertical:before {\n content: \"\\e235\";\n}\n.glyphicon-menu-hamburger:before {\n content: \"\\e236\";\n}\n.glyphicon-modal-window:before {\n content: \"\\e237\";\n}\n.glyphicon-oil:before {\n content: \"\\e238\";\n}\n.glyphicon-grain:before {\n content: \"\\e239\";\n}\n.glyphicon-sunglasses:before {\n content: \"\\e240\";\n}\n.glyphicon-text-size:before {\n content: \"\\e241\";\n}\n.glyphicon-text-color:before {\n content: \"\\e242\";\n}\n.glyphicon-text-background:before {\n content: \"\\e243\";\n}\n.glyphicon-object-align-top:before {\n content: \"\\e244\";\n}\n.glyphicon-object-align-bottom:before {\n content: \"\\e245\";\n}\n.glyphicon-object-align-horizontal:before {\n content: \"\\e246\";\n}\n.glyphicon-object-align-left:before {\n content: \"\\e247\";\n}\n.glyphicon-object-align-vertical:before {\n content: \"\\e248\";\n}\n.glyphicon-object-align-right:before {\n content: \"\\e249\";\n}\n.glyphicon-triangle-right:before {\n content: \"\\e250\";\n}\n.glyphicon-triangle-left:before {\n content: \"\\e251\";\n}\n.glyphicon-triangle-bottom:before {\n content: \"\\e252\";\n}\n.glyphicon-triangle-top:before {\n content: \"\\e253\";\n}\n.glyphicon-console:before {\n content: \"\\e254\";\n}\n.glyphicon-superscript:before {\n content: \"\\e255\";\n}\n.glyphicon-subscript:before {\n content: \"\\e256\";\n}\n.glyphicon-menu-left:before {\n content: \"\\e257\";\n}\n.glyphicon-menu-right:before {\n content: \"\\e258\";\n}\n.glyphicon-menu-down:before {\n content: \"\\e259\";\n}\n.glyphicon-menu-up:before {\n content: \"\\e260\";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333333;\n background-color: #ffffff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: thin dotted;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n padding: 4px;\n line-height: 1.42857143;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n border-radius: 4px;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n transition: all 0.2s ease-in-out;\n display: inline-block;\n max-width: 100%;\n height: auto;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eeeeee;\n}\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\n}\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n font-weight: normal;\n line-height: 1;\n color: #777777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n background-color: #fcf8e3;\n padding: .2em;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eeeeee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n list-style: none;\n margin-left: -5px;\n}\n.list-inline > li {\n display: inline-block;\n padding-left: 5px;\n padding-right: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n clear: left;\n text-align: right;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eeeeee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: '\\2014 \\00A0';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n border-right: 5px solid #eeeeee;\n border-left: 0;\n text-align: right;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: '';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: '\\00A0 \\2014';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #ffffff;\n background-color: #333333;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n word-break: break-all;\n word-wrap: break-word;\n color: #333333;\n background-color: #f5f5f5;\n border: 1px solid #cccccc;\n border-radius: 4px;\n}\npre code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n}\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n margin-right: auto;\n margin-left: auto;\n padding-left: 15px;\n padding-right: 15px;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n margin-right: auto;\n margin-left: auto;\n padding-left: 15px;\n padding-right: 15px;\n}\n.row {\n margin-left: -15px;\n margin-right: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-left: 15px;\n padding-right: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0%;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0%;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #dddddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #dddddd;\n}\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n border-top: 0;\n}\n.table > tbody + tbody {\n border-top: 2px solid #dddddd;\n}\n.table .table {\n background-color: #ffffff;\n}\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n padding: 5px;\n}\n.table-bordered {\n border: 1px solid #dddddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n border: 1px solid #dddddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*=\"col-\"] {\n position: static;\n float: none;\n display: table-column;\n}\ntable td[class*=\"col-\"],\ntable th[class*=\"col-\"] {\n position: static;\n float: none;\n display: table-cell;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n overflow-x: auto;\n min-height: 0.01%;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #dddddd;\n }\n .table-responsive > .table {\n margin-bottom: 0;\n }\n .table-responsive > .table > thead > tr > th,\n .table-responsive > .table > tbody > tr > th,\n .table-responsive > .table > tfoot > tr > th,\n .table-responsive > .table > thead > tr > td,\n .table-responsive > .table > tbody > tr > td,\n .table-responsive > .table > tfoot > tr > td {\n white-space: nowrap;\n }\n .table-responsive > .table-bordered {\n border: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:first-child,\n .table-responsive > .table-bordered > tbody > tr > th:first-child,\n .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n .table-responsive > .table-bordered > thead > tr > td:first-child,\n .table-responsive > .table-bordered > tbody > tr > td:first-child,\n .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:last-child,\n .table-responsive > .table-bordered > tbody > tr > th:last-child,\n .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n .table-responsive > .table-bordered > thead > tr > td:last-child,\n .table-responsive > .table-bordered > tbody > tr > td:last-child,\n .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n }\n .table-responsive > .table-bordered > tbody > tr:last-child > th,\n .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n .table-responsive > .table-bordered > tbody > tr:last-child > td,\n .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n border-bottom: 0;\n }\n}\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n min-width: 0;\n}\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: 20px;\n font-size: 21px;\n line-height: inherit;\n color: #333333;\n border: 0;\n border-bottom: 1px solid #e5e5e5;\n}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type=\"search\"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type=\"file\"] {\n display: block;\n}\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\n}\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n outline: thin dotted;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555555;\n}\n.form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555555;\n background-color: #ffffff;\n background-image: none;\n border: 1px solid #cccccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n.form-control::-moz-placeholder {\n color: #999999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999999;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n background-color: #eeeeee;\n opacity: 1;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type=\"search\"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type=\"date\"],\n input[type=\"time\"],\n input[type=\"datetime-local\"],\n input[type=\"month\"] {\n line-height: 34px;\n }\n input[type=\"date\"].input-sm,\n input[type=\"time\"].input-sm,\n input[type=\"datetime-local\"].input-sm,\n input[type=\"month\"].input-sm,\n .input-group-sm input[type=\"date\"],\n .input-group-sm input[type=\"time\"],\n .input-group-sm input[type=\"datetime-local\"],\n .input-group-sm input[type=\"month\"] {\n line-height: 30px;\n }\n input[type=\"date\"].input-lg,\n input[type=\"time\"].input-lg,\n input[type=\"datetime-local\"].input-lg,\n input[type=\"month\"].input-lg,\n .input-group-lg input[type=\"date\"],\n .input-group-lg input[type=\"time\"],\n .input-group-lg input[type=\"datetime-local\"],\n .input-group-lg input[type=\"month\"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n position: absolute;\n margin-left: -20px;\n margin-top: 4px \\9;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\n.radio-inline,\n.checkbox-inline {\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n vertical-align: middle;\n font-weight: normal;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px;\n}\ninput[type=\"radio\"][disabled],\ninput[type=\"checkbox\"][disabled],\ninput[type=\"radio\"].disabled,\ninput[type=\"checkbox\"].disabled,\nfieldset[disabled] input[type=\"radio\"],\nfieldset[disabled] input[type=\"checkbox\"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-left: 0;\n padding-right: 0;\n}\n.input-sm {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.form-group-sm .form-control {\n height: 30px;\n line-height: 30px;\n}\ntextarea.form-group-sm .form-control,\nselect[multiple].form-group-sm .form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.form-group-lg .form-control {\n height: 46px;\n line-height: 46px;\n}\ntextarea.form-group-lg .form-control,\nselect[multiple].form-group-lg .form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline,\n.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\n}\n.has-success .form-control {\n border-color: #3c763d;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-success .form-control:focus {\n border-color: #2b542c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;\n}\n.has-success .input-group-addon {\n color: #3c763d;\n border-color: #3c763d;\n background-color: #dff0d8;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\n}\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline,\n.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\n}\n.has-warning .form-control {\n border-color: #8a6d3b;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-warning .form-control:focus {\n border-color: #66512c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;\n}\n.has-warning .input-group-addon {\n color: #8a6d3b;\n border-color: #8a6d3b;\n background-color: #fcf8e3;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\n}\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline,\n.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\n}\n.has-error .form-control {\n border-color: #a94442;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-error .form-control:focus {\n border-color: #843534;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n}\n.has-error .input-group-addon {\n color: #a94442;\n border-color: #a94442;\n background-color: #f2dede;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\n}\n@media (min-width: 768px) {\n .form-inline .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type=\"radio\"],\n .form-inline .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n margin-top: 0;\n margin-bottom: 0;\n padding-top: 7px;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-left: -15px;\n margin-right: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n text-align: right;\n margin-bottom: 0;\n padding-top: 7px;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 14.333333px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n }\n}\n.btn {\n display: inline-block;\n margin-bottom: 0;\n font-weight: normal;\n text-align: center;\n vertical-align: middle;\n touch-action: manipulation;\n cursor: pointer;\n background-image: none;\n border: 1px solid transparent;\n white-space: nowrap;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n border-radius: 4px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: thin dotted;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n outline: 0;\n background-image: none;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n pointer-events: none;\n opacity: 0.65;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-default {\n color: #333333;\n background-color: #ffffff;\n border-color: #cccccc;\n}\n.btn-default:hover,\n.btn-default:focus,\n.btn-default.focus,\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\n}\n.btn-default.disabled,\n.btn-default[disabled],\nfieldset[disabled] .btn-default,\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus,\n.btn-default.disabled:active,\n.btn-default[disabled]:active,\nfieldset[disabled] .btn-default:active,\n.btn-default.disabled.active,\n.btn-default[disabled].active,\nfieldset[disabled] .btn-default.active {\n background-color: #ffffff;\n border-color: #cccccc;\n}\n.btn-default .badge {\n color: #ffffff;\n background-color: #333333;\n}\n.btn-primary {\n color: #ffffff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:hover,\n.btn-primary:focus,\n.btn-primary.focus,\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #ffffff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\n}\n.btn-primary.disabled,\n.btn-primary[disabled],\nfieldset[disabled] .btn-primary,\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus,\n.btn-primary.disabled:active,\n.btn-primary[disabled]:active,\nfieldset[disabled] .btn-primary:active,\n.btn-primary.disabled.active,\n.btn-primary[disabled].active,\nfieldset[disabled] .btn-primary.active {\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #ffffff;\n}\n.btn-success {\n color: #ffffff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:hover,\n.btn-success:focus,\n.btn-success.focus,\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #ffffff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\n}\n.btn-success.disabled,\n.btn-success[disabled],\nfieldset[disabled] .btn-success,\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus,\n.btn-success.disabled:active,\n.btn-success[disabled]:active,\nfieldset[disabled] .btn-success:active,\n.btn-success.disabled.active,\n.btn-success[disabled].active,\nfieldset[disabled] .btn-success.active {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success .badge {\n color: #5cb85c;\n background-color: #ffffff;\n}\n.btn-info {\n color: #ffffff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:hover,\n.btn-info:focus,\n.btn-info.focus,\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #ffffff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\n}\n.btn-info.disabled,\n.btn-info[disabled],\nfieldset[disabled] .btn-info,\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus,\n.btn-info.disabled:active,\n.btn-info[disabled]:active,\nfieldset[disabled] .btn-info:active,\n.btn-info.disabled.active,\n.btn-info[disabled].active,\nfieldset[disabled] .btn-info.active {\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info .badge {\n color: #5bc0de;\n background-color: #ffffff;\n}\n.btn-warning {\n color: #ffffff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:hover,\n.btn-warning:focus,\n.btn-warning.focus,\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #ffffff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\n}\n.btn-warning.disabled,\n.btn-warning[disabled],\nfieldset[disabled] .btn-warning,\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus,\n.btn-warning.disabled:active,\n.btn-warning[disabled]:active,\nfieldset[disabled] .btn-warning:active,\n.btn-warning.disabled.active,\n.btn-warning[disabled].active,\nfieldset[disabled] .btn-warning.active {\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning .badge {\n color: #f0ad4e;\n background-color: #ffffff;\n}\n.btn-danger {\n color: #ffffff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:hover,\n.btn-danger:focus,\n.btn-danger.focus,\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #ffffff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\n}\n.btn-danger.disabled,\n.btn-danger[disabled],\nfieldset[disabled] .btn-danger,\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus,\n.btn-danger.disabled:active,\n.btn-danger[disabled]:active,\nfieldset[disabled] .btn-danger:active,\n.btn-danger.disabled.active,\n.btn-danger[disabled].active,\nfieldset[disabled] .btn-danger.active {\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger .badge {\n color: #d9534f;\n background-color: #ffffff;\n}\n.btn-link {\n color: #337ab7;\n font-weight: normal;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\n.btn-link.active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type=\"submit\"].btn-block,\ninput[type=\"reset\"].btn-block,\ninput[type=\"button\"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity 0.15s linear;\n -o-transition: opacity 0.15s linear;\n transition: opacity 0.15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n visibility: hidden;\n}\n.collapse.in {\n display: block;\n visibility: visible;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-property: height, visibility;\n transition-property: height, visibility;\n -webkit-transition-duration: 0.35s;\n transition-duration: 0.35s;\n -webkit-transition-timing-function: ease;\n transition-timing-function: ease;\n}\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px solid;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\n}\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n list-style: none;\n font-size: 14px;\n text-align: left;\n background-color: #ffffff;\n border: 1px solid #cccccc;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n background-clip: padding-box;\n}\n.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n text-decoration: none;\n color: #262626;\n background-color: #f5f5f5;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n color: #ffffff;\n text-decoration: none;\n outline: 0;\n background-color: #337ab7;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n cursor: not-allowed;\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n left: auto;\n right: 0;\n}\n.dropdown-menu-left {\n left: 0;\n right: auto;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n border-top: 0;\n border-bottom: 4px solid;\n content: \"\";\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n left: auto;\n right: 0;\n }\n .navbar-right .dropdown-menu-left {\n left: 0;\n right: auto;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\n}\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n z-index: 2;\n}\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n margin-left: -1px;\n}\n.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n.btn-group > .btn + .dropdown-toggle {\n padding-left: 8px;\n padding-right: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-left: 12px;\n padding-right: 12px;\n}\n.btn-group.open .dropdown-toggle {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.btn-group-vertical > .btn-group > .btn {\n float: none;\n}\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-bottom-left-radius: 4px;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n float: none;\n display: table-cell;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle=\"buttons\"] > .btn input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn-group > .btn input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn input[type=\"checkbox\"],\n[data-toggle=\"buttons\"] > .btn-group > .btn input[type=\"checkbox\"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*=\"col-\"] {\n float: none;\n padding-left: 0;\n padding-right: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n}\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n}\n.input-group-addon {\n padding: 6px 12px;\n font-size: 14px;\n font-weight: normal;\n line-height: 1;\n color: #555555;\n text-align: center;\n background-color: #eeeeee;\n border: 1px solid #cccccc;\n border-radius: 4px;\n}\n.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type=\"radio\"],\n.input-group-addon input[type=\"checkbox\"] {\n margin-top: 0;\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n margin-left: -1px;\n}\n.nav {\n margin-bottom: 0;\n padding-left: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eeeeee;\n}\n.nav > li.disabled > a {\n color: #777777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777777;\n text-decoration: none;\n background-color: transparent;\n cursor: not-allowed;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eeeeee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #dddddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eeeeee #eeeeee #dddddd;\n}\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n color: #555555;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n border-bottom-color: transparent;\n cursor: default;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n text-align: center;\n margin-bottom: 5px;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-tabs.nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n border: 1px solid #dddddd;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li > a {\n border-bottom: 1px solid #dddddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs.nav-justified > .active > a,\n .nav-tabs.nav-justified > .active > a:hover,\n .nav-tabs.nav-justified > .active > a:focus {\n border-bottom-color: #ffffff;\n }\n}\n.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\n}\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n color: #ffffff;\n background-color: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n text-align: center;\n margin-bottom: 5px;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n border: 1px solid #dddddd;\n}\n@media (min-width: 768px) {\n .nav-tabs-justified > li > a {\n border-bottom: 1px solid #dddddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs-justified > .active > a,\n .nav-tabs-justified > .active > a:hover,\n .nav-tabs-justified > .active > a:focus {\n border-bottom-color: #ffffff;\n }\n}\n.tab-content > .tab-pane {\n display: none;\n visibility: hidden;\n}\n.tab-content > .active {\n display: block;\n visibility: visible;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n overflow-x: visible;\n padding-right: 15px;\n padding-left: 15px;\n border-top: 1px solid transparent;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);\n -webkit-overflow-scrolling: touch;\n}\n.navbar-collapse.in {\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n .navbar-collapse {\n width: auto;\n border-top: 0;\n box-shadow: none;\n }\n .navbar-collapse.collapse {\n display: block !important;\n visibility: visible !important;\n height: auto !important;\n padding-bottom: 0;\n overflow: visible !important;\n }\n .navbar-collapse.in {\n overflow-y: visible;\n }\n .navbar-fixed-top .navbar-collapse,\n .navbar-static-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n padding-left: 0;\n padding-right: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\n }\n}\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n height: 50px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n margin-right: 15px;\n padding: 9px 10px;\n margin-top: 8px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n@media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n}\n@media (min-width: 768px) {\n .navbar-nav {\n float: left;\n margin: 0;\n }\n .navbar-nav > li {\n float: left;\n }\n .navbar-nav > li > a {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n}\n.navbar-form {\n margin-left: -15px;\n margin-right: -15px;\n padding: 10px 15px;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n margin-top: 8px;\n margin-bottom: 8px;\n}\n@media (min-width: 768px) {\n .navbar-form .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type=\"radio\"],\n .navbar-form .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n border: 0;\n margin-left: 0;\n margin-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n}\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-left: 15px;\n margin-right: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777777;\n}\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n color: #333333;\n background-color: transparent;\n}\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n color: #555555;\n background-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n color: #cccccc;\n background-color: transparent;\n}\n.navbar-default .navbar-toggle {\n border-color: #dddddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #dddddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n background-color: #e7e7e7;\n color: #555555;\n}\n@media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #cccccc;\n background-color: transparent;\n }\n}\n.navbar-default .navbar-link {\n color: #777777;\n}\n.navbar-default .navbar-link:hover {\n color: #333333;\n}\n.navbar-default .btn-link {\n color: #777777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #cccccc;\n}\n.navbar-inverse {\n background-color: #222222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #ffffff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n color: #ffffff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n color: #ffffff;\n background-color: #080808;\n}\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n color: #444444;\n background-color: transparent;\n}\n.navbar-inverse .navbar-toggle {\n border-color: #333333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #ffffff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n background-color: #080808;\n color: #ffffff;\n}\n@media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #ffffff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #ffffff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444444;\n background-color: transparent;\n }\n}\n.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #ffffff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #ffffff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444444;\n}\n.breadcrumb {\n padding: 8px 15px;\n margin-bottom: 20px;\n list-style: none;\n background-color: #f5f5f5;\n border-radius: 4px;\n}\n.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n content: \"/\\00a0\";\n padding: 0 5px;\n color: #cccccc;\n}\n.breadcrumb > .active {\n color: #777777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n line-height: 1.42857143;\n text-decoration: none;\n color: #337ab7;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n margin-left: -1px;\n}\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n margin-left: 0;\n border-bottom-left-radius: 4px;\n border-top-left-radius: 4px;\n}\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n color: #23527c;\n background-color: #eeeeee;\n border-color: #dddddd;\n}\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n z-index: 2;\n color: #ffffff;\n background-color: #337ab7;\n border-color: #337ab7;\n cursor: default;\n}\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n color: #777777;\n background-color: #ffffff;\n border-color: #dddddd;\n cursor: not-allowed;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\n}\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n}\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\n}\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n border-bottom-left-radius: 3px;\n border-top-left-radius: 3px;\n}\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-bottom-right-radius: 3px;\n border-top-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n list-style: none;\n text-align: center;\n}\n.pager li {\n display: inline;\n}\n.pager li > a,\n.pager li > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n border-radius: 15px;\n}\n.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eeeeee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777777;\n background-color: #ffffff;\n cursor: not-allowed;\n}\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: #ffffff;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n}\na.label:hover,\na.label:focus {\n color: #ffffff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n color: #ffffff;\n line-height: 1;\n vertical-align: baseline;\n white-space: nowrap;\n text-align: center;\n background-color: #777777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #ffffff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #ffffff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding: 30px 15px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eeeeee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n border-radius: 6px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding: 48px 0;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-left: 60px;\n padding-right: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n border-radius: 4px;\n -webkit-transition: border 0.2s ease-in-out;\n -o-transition: border 0.2s ease-in-out;\n transition: border 0.2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-left: auto;\n margin-right: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n background-color: #dff0d8;\n border-color: #d6e9c6;\n color: #3c763d;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n background-color: #d9edf7;\n border-color: #bce8f1;\n color: #31708f;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n background-color: #fcf8e3;\n border-color: #faebcc;\n color: #8a6d3b;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n background-color: #f2dede;\n border-color: #ebccd1;\n color: #a94442;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\n}\n@-webkit-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n overflow: hidden;\n height: 20px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n}\n.progress-bar {\n float: left;\n width: 0%;\n height: 100%;\n font-size: 12px;\n line-height: 20px;\n color: #ffffff;\n text-align: center;\n background-color: #337ab7;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n -webkit-transition: width 0.6s ease;\n -o-transition: width 0.6s ease;\n transition: width 0.6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-size: 40px 40px;\n}\n.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\n}\n.progress-striped .progress-bar-success {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.progress-bar-info {\n background-color: #5bc0de;\n}\n.progress-striped .progress-bar-info {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.progress-bar-warning {\n background-color: #f0ad4e;\n}\n.progress-striped .progress-bar-warning {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.progress-bar-danger {\n background-color: #d9534f;\n}\n.progress-striped .progress-bar-danger {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n zoom: 1;\n overflow: hidden;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n margin-bottom: 20px;\n padding-left: 0;\n}\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n margin-bottom: -1px;\n background-color: #ffffff;\n border: 1px solid #dddddd;\n}\n.list-group-item:first-child {\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item {\n color: #555555;\n}\na.list-group-item .list-group-item-heading {\n color: #333333;\n}\na.list-group-item:hover,\na.list-group-item:focus {\n text-decoration: none;\n color: #555555;\n background-color: #f5f5f5;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n background-color: #eeeeee;\n color: #777777;\n cursor: not-allowed;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #ffffff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\na.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\na.list-group-item-success.active:hover,\na.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\na.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\na.list-group-item-info.active:hover,\na.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\na.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\na.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\n}\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n.panel {\n margin-bottom: 20px;\n background-color: #ffffff;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);\n}\n.panel-body {\n padding: 15px;\n}\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n}\n.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\n}\n.panel-footer {\n padding: 10px 15px;\n background-color: #f5f5f5;\n border-top: 1px solid #dddddd;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-left: 15px;\n padding-right: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #dddddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\n}\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n}\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n}\n.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {\n border-bottom: 0;\n}\n.panel > .table-responsive {\n border: 0;\n margin-bottom: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #dddddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #dddddd;\n}\n.panel-default {\n border-color: #dddddd;\n}\n.panel-default > .panel-heading {\n color: #333333;\n background-color: #f5f5f5;\n border-color: #dddddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #dddddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #dddddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #ffffff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #ffffff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n border: 0;\n}\n.embed-responsive.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive.embed-responsive-4by3 {\n padding-bottom: 75%;\n}\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border: 1px solid #e3e3e3;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n}\n.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, 0.15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\n}\n.close {\n float: right;\n font-size: 21px;\n font-weight: bold;\n line-height: 1;\n color: #000000;\n text-shadow: 0 1px 0 #ffffff;\n opacity: 0.2;\n filter: alpha(opacity=20);\n}\n.close:hover,\n.close:focus {\n color: #000000;\n text-decoration: none;\n cursor: pointer;\n opacity: 0.5;\n filter: alpha(opacity=50);\n}\nbutton.close {\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n -webkit-appearance: none;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n display: none;\n overflow: hidden;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-transform: translate(0, -25%);\n transform: translate(0, -25%);\n -webkit-transition: -webkit-transform 0.3s ease-out;\n -moz-transition: -moz-transform 0.3s ease-out;\n -o-transition: -o-transform 0.3s ease-out;\n transition: transform 0.3s ease-out;\n}\n.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.modal-content {\n position: relative;\n background-color: #ffffff;\n border: 1px solid #999999;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: 6px;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);\n background-clip: padding-box;\n outline: 0;\n}\n.modal-backdrop {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n background-color: #000000;\n}\n.modal-backdrop.fade {\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.modal-backdrop.in {\n opacity: 0.5;\n filter: alpha(opacity=50);\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n min-height: 16.42857143px;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-left: 5px;\n margin-bottom: 0;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);\n }\n .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n visibility: visible;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-weight: normal;\n line-height: 1.4;\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.tooltip.in {\n opacity: 0.9;\n filter: alpha(opacity=90);\n}\n.tooltip.top {\n margin-top: -3px;\n padding: 5px 0;\n}\n.tooltip.right {\n margin-left: 3px;\n padding: 0 5px;\n}\n.tooltip.bottom {\n margin-top: 3px;\n padding: 5px 0;\n}\n.tooltip.left {\n margin-left: -3px;\n padding: 0 5px;\n}\n.tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #ffffff;\n text-align: center;\n text-decoration: none;\n background-color: #000000;\n border-radius: 4px;\n}\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000000;\n}\n.tooltip.top-left .tooltip-arrow {\n bottom: 0;\n right: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n background-color: #ffffff;\n background-clip: padding-box;\n border: 1px solid #cccccc;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: 6px;\n -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n white-space: normal;\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n margin: 0;\n padding: 8px 14px;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\n}\n.popover > .arrow,\n.popover > .arrow:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n border-width: 10px;\n content: \"\";\n}\n.popover.top > .arrow {\n left: 50%;\n margin-left: -11px;\n border-bottom-width: 0;\n border-top-color: #999999;\n border-top-color: rgba(0, 0, 0, 0.25);\n bottom: -11px;\n}\n.popover.top > .arrow:after {\n content: \" \";\n bottom: 1px;\n margin-left: -10px;\n border-bottom-width: 0;\n border-top-color: #ffffff;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-left-width: 0;\n border-right-color: #999999;\n border-right-color: rgba(0, 0, 0, 0.25);\n}\n.popover.right > .arrow:after {\n content: \" \";\n left: 1px;\n bottom: -10px;\n border-left-width: 0;\n border-right-color: #ffffff;\n}\n.popover.bottom > .arrow {\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999999;\n border-bottom-color: rgba(0, 0, 0, 0.25);\n top: -11px;\n}\n.popover.bottom > .arrow:after {\n content: \" \";\n top: 1px;\n margin-left: -10px;\n border-top-width: 0;\n border-bottom-color: #ffffff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999999;\n border-left-color: rgba(0, 0, 0, 0.25);\n}\n.popover.left > .arrow:after {\n content: \" \";\n right: 1px;\n border-right-width: 0;\n border-left-color: #ffffff;\n bottom: -10px;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n overflow: hidden;\n width: 100%;\n}\n.carousel-inner > .item {\n display: none;\n position: relative;\n -webkit-transition: 0.6s ease-in-out left;\n -o-transition: 0.6s ease-in-out left;\n transition: 0.6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform 0.6s ease-in-out;\n -moz-transition: -moz-transform 0.6s ease-in-out;\n -o-transition: -o-transform 0.6s ease-in-out;\n transition: transform 0.6s ease-in-out;\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000;\n -moz-perspective: 1000;\n perspective: 1000;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n left: 0;\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n left: 0;\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n left: 0;\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 15%;\n opacity: 0.5;\n filter: alpha(opacity=50);\n font-size: 20px;\n color: #ffffff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);\n}\n.carousel-control.right {\n left: auto;\n right: 0;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);\n}\n.carousel-control:hover,\n.carousel-control:focus {\n outline: 0;\n color: #ffffff;\n text-decoration: none;\n opacity: 0.9;\n filter: alpha(opacity=90);\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n}\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n margin-top: -10px;\n line-height: 1;\n font-family: serif;\n}\n.carousel-control .icon-prev:before {\n content: '\\2039';\n}\n.carousel-control .icon-next:before {\n content: '\\203a';\n}\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n margin-left: -30%;\n padding-left: 0;\n list-style: none;\n text-align: center;\n}\n.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n border: 1px solid #ffffff;\n border-radius: 10px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n}\n.carousel-indicators .active {\n margin: 0;\n width: 12px;\n height: 12px;\n background-color: #ffffff;\n}\n.carousel-caption {\n position: absolute;\n left: 15%;\n right: 15%;\n bottom: 20px;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #ffffff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -15px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -15px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -15px;\n }\n .carousel-caption {\n left: 20%;\n right: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-footer:before,\n.modal-footer:after {\n content: \" \";\n display: table;\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n.hidden {\n display: none !important;\n visibility: hidden !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n@media (max-width: 767px) {\n .visible-xs {\n display: block !important;\n }\n table.visible-xs {\n display: table;\n }\n tr.visible-xs {\n display: table-row !important;\n }\n th.visible-xs,\n td.visible-xs {\n display: table-cell !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm {\n display: block !important;\n }\n table.visible-sm {\n display: table;\n }\n tr.visible-sm {\n display: table-row !important;\n }\n th.visible-sm,\n td.visible-sm {\n display: table-cell !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md {\n display: block !important;\n }\n table.visible-md {\n display: table;\n }\n tr.visible-md {\n display: table-row !important;\n }\n th.visible-md,\n td.visible-md {\n display: table-cell !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg {\n display: block !important;\n }\n table.visible-lg {\n display: table;\n }\n tr.visible-lg {\n display: table-row !important;\n }\n th.visible-lg,\n td.visible-lg {\n display: table-cell !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\n}\n@media print {\n .visible-print {\n display: block !important;\n }\n table.visible-print {\n display: table;\n }\n tr.visible-print {\n display: table-row !important;\n }\n th.visible-print,\n td.visible-print {\n display: table-cell !important;\n }\n}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */","/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\n\n//\n// 1. Set default font family to sans-serif.\n// 2. Prevent iOS text size adjust after orientation change, without disabling\n// user zoom.\n//\n\nhtml {\n font-family: sans-serif; // 1\n -ms-text-size-adjust: 100%; // 2\n -webkit-text-size-adjust: 100%; // 2\n}\n\n//\n// Remove default margin.\n//\n\nbody {\n margin: 0;\n}\n\n// HTML5 display definitions\n// ==========================================================================\n\n//\n// Correct `block` display not defined for any HTML5 element in IE 8/9.\n// Correct `block` display not defined for `details` or `summary` in IE 10/11\n// and Firefox.\n// Correct `block` display not defined for `main` in IE 11.\n//\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\n\n//\n// 1. Correct `inline-block` display not defined in IE 8/9.\n// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n//\n\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block; // 1\n vertical-align: baseline; // 2\n}\n\n//\n// Prevent modern browsers from displaying `audio` without controls.\n// Remove excess height in iOS 5 devices.\n//\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\n//\n// Address `[hidden]` styling not present in IE 8/9/10.\n// Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\n//\n\n[hidden],\ntemplate {\n display: none;\n}\n\n// Links\n// ==========================================================================\n\n//\n// Remove the gray background color from active links in IE 10.\n//\n\na {\n background-color: transparent;\n}\n\n//\n// Improve readability when focused and also mouse hovered in all browsers.\n//\n\na:active,\na:hover {\n outline: 0;\n}\n\n// Text-level semantics\n// ==========================================================================\n\n//\n// Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n//\n\nabbr[title] {\n border-bottom: 1px dotted;\n}\n\n//\n// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n//\n\nb,\nstrong {\n font-weight: bold;\n}\n\n//\n// Address styling not present in Safari and Chrome.\n//\n\ndfn {\n font-style: italic;\n}\n\n//\n// Address variable `h1` font-size and margin within `section` and `article`\n// contexts in Firefox 4+, Safari, and Chrome.\n//\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n//\n// Address styling not present in IE 8/9.\n//\n\nmark {\n background: #ff0;\n color: #000;\n}\n\n//\n// Address inconsistent and variable font size in all browsers.\n//\n\nsmall {\n font-size: 80%;\n}\n\n//\n// Prevent `sub` and `sup` affecting `line-height` in all browsers.\n//\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsup {\n top: -0.5em;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n// Embedded content\n// ==========================================================================\n\n//\n// Remove border when inside `a` element in IE 8/9/10.\n//\n\nimg {\n border: 0;\n}\n\n//\n// Correct overflow not hidden in IE 9/10/11.\n//\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\n// Grouping content\n// ==========================================================================\n\n//\n// Address margin not present in IE 8/9 and Safari.\n//\n\nfigure {\n margin: 1em 40px;\n}\n\n//\n// Address differences between Firefox and other browsers.\n//\n\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n}\n\n//\n// Contain overflow in all browsers.\n//\n\npre {\n overflow: auto;\n}\n\n//\n// Address odd `em`-unit font size rendering in all browsers.\n//\n\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\n// Forms\n// ==========================================================================\n\n//\n// Known limitation: by default, Chrome and Safari on OS X allow very limited\n// styling of `select`, unless a `border` property is set.\n//\n\n//\n// 1. Correct color not being inherited.\n// Known issue: affects color of disabled elements.\n// 2. Correct font properties not being inherited.\n// 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n//\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit; // 1\n font: inherit; // 2\n margin: 0; // 3\n}\n\n//\n// Address `overflow` set to `hidden` in IE 8/9/10/11.\n//\n\nbutton {\n overflow: visible;\n}\n\n//\n// Address inconsistent `text-transform` inheritance for `button` and `select`.\n// All other form control elements do not inherit `text-transform` values.\n// Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\n// Correct `select` style inheritance in Firefox.\n//\n\nbutton,\nselect {\n text-transform: none;\n}\n\n//\n// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n// and `video` controls.\n// 2. Correct inability to style clickable `input` types in iOS.\n// 3. Improve usability and consistency of cursor style between image-type\n// `input` and others.\n//\n\nbutton,\nhtml input[type=\"button\"], // 1\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button; // 2\n cursor: pointer; // 3\n}\n\n//\n// Re-set default cursor for disabled elements.\n//\n\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\n\n//\n// Remove inner padding and border in Firefox 4+.\n//\n\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n\n//\n// Address Firefox 4+ setting `line-height` on `input` using `!important` in\n// the UA stylesheet.\n//\n\ninput {\n line-height: normal;\n}\n\n//\n// It's recommended that you don't attempt to style these elements.\n// Firefox's implementation doesn't respect box-sizing, padding, or width.\n//\n// 1. Address box sizing set to `content-box` in IE 8/9/10.\n// 2. Remove excess padding in IE 8/9/10.\n//\n\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box; // 1\n padding: 0; // 2\n}\n\n//\n// Fix the cursor style for Chrome's increment/decrement buttons. For certain\n// `font-size` values of the `input`, it causes the cursor style of the\n// decrement button to change from `default` to `text`.\n//\n\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n//\n// 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n// 2. Address `box-sizing` set to `border-box` in Safari and Chrome\n// (include `-moz` to future-proof).\n//\n\ninput[type=\"search\"] {\n -webkit-appearance: textfield; // 1\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box; // 2\n box-sizing: content-box;\n}\n\n//\n// Remove inner padding and search cancel button in Safari and Chrome on OS X.\n// Safari (but not Chrome) clips the cancel button when the search input has\n// padding (and `textfield` appearance).\n//\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n//\n// Define consistent border, margin, and padding.\n//\n\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\n\n//\n// 1. Correct `color` not being inherited in IE 8/9/10/11.\n// 2. Remove padding so people aren't caught out if they zero out fieldsets.\n//\n\nlegend {\n border: 0; // 1\n padding: 0; // 2\n}\n\n//\n// Remove default vertical scrollbar in IE 8/9/10/11.\n//\n\ntextarea {\n overflow: auto;\n}\n\n//\n// Don't inherit the `font-weight` (applied by a rule above).\n// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n//\n\noptgroup {\n font-weight: bold;\n}\n\n// Tables\n// ==========================================================================\n\n//\n// Remove most spacing between table cells.\n//\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\ntd,\nth {\n padding: 0;\n}\n","/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n\n// ==========================================================================\n// Print styles.\n// Inlined to avoid the additional HTTP request: h5bp.com/r\n// ==========================================================================\n\n@media print {\n *,\n *:before,\n *:after {\n background: transparent !important;\n color: #000 !important; // Black prints faster: h5bp.com/s\n box-shadow: none !important;\n text-shadow: none !important;\n }\n\n a,\n a:visited {\n text-decoration: underline;\n }\n\n a[href]:after {\n content: \" (\" attr(href) \")\";\n }\n\n abbr[title]:after {\n content: \" (\" attr(title) \")\";\n }\n\n // Don't show links that are fragment identifiers,\n // or use the `javascript:` pseudo protocol\n a[href^=\"#\"]:after,\n a[href^=\"javascript:\"]:after {\n content: \"\";\n }\n\n pre,\n blockquote {\n border: 1px solid #999;\n page-break-inside: avoid;\n }\n\n thead {\n display: table-header-group; // h5bp.com/t\n }\n\n tr,\n img {\n page-break-inside: avoid;\n }\n\n img {\n max-width: 100% !important;\n }\n\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n\n h2,\n h3 {\n page-break-after: avoid;\n }\n\n // Bootstrap specific changes start\n //\n // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245\n // Once fixed, we can just straight up remove this.\n select {\n background: #fff !important;\n }\n\n // Bootstrap components\n .navbar {\n display: none;\n }\n .btn,\n .dropup > .btn {\n > .caret {\n border-top-color: #000 !important;\n }\n }\n .label {\n border: 1px solid #000;\n }\n\n .table {\n border-collapse: collapse !important;\n\n td,\n th {\n background-color: #fff !important;\n }\n }\n .table-bordered {\n th,\n td {\n border: 1px solid #ddd !important;\n }\n }\n\n // Bootstrap specific changes end\n}\n","//\n// Glyphicons for Bootstrap\n//\n// Since icons are fonts, they can be placed anywhere text is placed and are\n// thus automatically sized to match the surrounding child. To use, create an\n// inline element with the appropriate classes, like so:\n//\n// Star\n\n// Import the fonts\n@font-face {\n font-family: 'Glyphicons Halflings';\n src: url('@{icon-font-path}@{icon-font-name}.eot');\n src: url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype'),\n url('@{icon-font-path}@{icon-font-name}.woff2') format('woff2'),\n url('@{icon-font-path}@{icon-font-name}.woff') format('woff'),\n url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype'),\n url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg');\n}\n\n// Catchall baseclass\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: 'Glyphicons Halflings';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n// Individual icons\n.glyphicon-asterisk { &:before { content: \"\\2a\"; } }\n.glyphicon-plus { &:before { content: \"\\2b\"; } }\n.glyphicon-euro,\n.glyphicon-eur { &:before { content: \"\\20ac\"; } }\n.glyphicon-minus { &:before { content: \"\\2212\"; } }\n.glyphicon-cloud { &:before { content: \"\\2601\"; } }\n.glyphicon-envelope { &:before { content: \"\\2709\"; } }\n.glyphicon-pencil { &:before { content: \"\\270f\"; } }\n.glyphicon-glass { &:before { content: \"\\e001\"; } }\n.glyphicon-music { &:before { content: \"\\e002\"; } }\n.glyphicon-search { &:before { content: \"\\e003\"; } }\n.glyphicon-heart { &:before { content: \"\\e005\"; } }\n.glyphicon-star { &:before { content: \"\\e006\"; } }\n.glyphicon-star-empty { &:before { content: \"\\e007\"; } }\n.glyphicon-user { &:before { content: \"\\e008\"; } }\n.glyphicon-film { &:before { content: \"\\e009\"; } }\n.glyphicon-th-large { &:before { content: \"\\e010\"; } }\n.glyphicon-th { &:before { content: \"\\e011\"; } }\n.glyphicon-th-list { &:before { content: \"\\e012\"; } }\n.glyphicon-ok { &:before { content: \"\\e013\"; } }\n.glyphicon-remove { &:before { content: \"\\e014\"; } }\n.glyphicon-zoom-in { &:before { content: \"\\e015\"; } }\n.glyphicon-zoom-out { &:before { content: \"\\e016\"; } }\n.glyphicon-off { &:before { content: \"\\e017\"; } }\n.glyphicon-signal { &:before { content: \"\\e018\"; } }\n.glyphicon-cog { &:before { content: \"\\e019\"; } }\n.glyphicon-trash { &:before { content: \"\\e020\"; } }\n.glyphicon-home { &:before { content: \"\\e021\"; } }\n.glyphicon-file { &:before { content: \"\\e022\"; } }\n.glyphicon-time { &:before { content: \"\\e023\"; } }\n.glyphicon-road { &:before { content: \"\\e024\"; } }\n.glyphicon-download-alt { &:before { content: \"\\e025\"; } }\n.glyphicon-download { &:before { content: \"\\e026\"; } }\n.glyphicon-upload { &:before { content: \"\\e027\"; } }\n.glyphicon-inbox { &:before { content: \"\\e028\"; } }\n.glyphicon-play-circle { &:before { content: \"\\e029\"; } }\n.glyphicon-repeat { &:before { content: \"\\e030\"; } }\n.glyphicon-refresh { &:before { content: \"\\e031\"; } }\n.glyphicon-list-alt { &:before { content: \"\\e032\"; } }\n.glyphicon-lock { &:before { content: \"\\e033\"; } }\n.glyphicon-flag { &:before { content: \"\\e034\"; } }\n.glyphicon-headphones { &:before { content: \"\\e035\"; } }\n.glyphicon-volume-off { &:before { content: \"\\e036\"; } }\n.glyphicon-volume-down { &:before { content: \"\\e037\"; } }\n.glyphicon-volume-up { &:before { content: \"\\e038\"; } }\n.glyphicon-qrcode { &:before { content: \"\\e039\"; } }\n.glyphicon-barcode { &:before { content: \"\\e040\"; } }\n.glyphicon-tag { &:before { content: \"\\e041\"; } }\n.glyphicon-tags { &:before { content: \"\\e042\"; } }\n.glyphicon-book { &:before { content: \"\\e043\"; } }\n.glyphicon-bookmark { &:before { content: \"\\e044\"; } }\n.glyphicon-print { &:before { content: \"\\e045\"; } }\n.glyphicon-camera { &:before { content: \"\\e046\"; } }\n.glyphicon-font { &:before { content: \"\\e047\"; } }\n.glyphicon-bold { &:before { content: \"\\e048\"; } }\n.glyphicon-italic { &:before { content: \"\\e049\"; } }\n.glyphicon-text-height { &:before { content: \"\\e050\"; } }\n.glyphicon-text-width { &:before { content: \"\\e051\"; } }\n.glyphicon-align-left { &:before { content: \"\\e052\"; } }\n.glyphicon-align-center { &:before { content: \"\\e053\"; } }\n.glyphicon-align-right { &:before { content: \"\\e054\"; } }\n.glyphicon-align-justify { &:before { content: \"\\e055\"; } }\n.glyphicon-list { &:before { content: \"\\e056\"; } }\n.glyphicon-indent-left { &:before { content: \"\\e057\"; } }\n.glyphicon-indent-right { &:before { content: \"\\e058\"; } }\n.glyphicon-facetime-video { &:before { content: \"\\e059\"; } }\n.glyphicon-picture { &:before { content: \"\\e060\"; } }\n.glyphicon-map-marker { &:before { content: \"\\e062\"; } }\n.glyphicon-adjust { &:before { content: \"\\e063\"; } }\n.glyphicon-tint { &:before { content: \"\\e064\"; } }\n.glyphicon-edit { &:before { content: \"\\e065\"; } }\n.glyphicon-share { &:before { content: \"\\e066\"; } }\n.glyphicon-check { &:before { content: \"\\e067\"; } }\n.glyphicon-move { &:before { content: \"\\e068\"; } }\n.glyphicon-step-backward { &:before { content: \"\\e069\"; } }\n.glyphicon-fast-backward { &:before { content: \"\\e070\"; } }\n.glyphicon-backward { &:before { content: \"\\e071\"; } }\n.glyphicon-play { &:before { content: \"\\e072\"; } }\n.glyphicon-pause { &:before { content: \"\\e073\"; } }\n.glyphicon-stop { &:before { content: \"\\e074\"; } }\n.glyphicon-forward { &:before { content: \"\\e075\"; } }\n.glyphicon-fast-forward { &:before { content: \"\\e076\"; } }\n.glyphicon-step-forward { &:before { content: \"\\e077\"; } }\n.glyphicon-eject { &:before { content: \"\\e078\"; } }\n.glyphicon-chevron-left { &:before { content: \"\\e079\"; } }\n.glyphicon-chevron-right { &:before { content: \"\\e080\"; } }\n.glyphicon-plus-sign { &:before { content: \"\\e081\"; } }\n.glyphicon-minus-sign { &:before { content: \"\\e082\"; } }\n.glyphicon-remove-sign { &:before { content: \"\\e083\"; } }\n.glyphicon-ok-sign { &:before { content: \"\\e084\"; } }\n.glyphicon-question-sign { &:before { content: \"\\e085\"; } }\n.glyphicon-info-sign { &:before { content: \"\\e086\"; } }\n.glyphicon-screenshot { &:before { content: \"\\e087\"; } }\n.glyphicon-remove-circle { &:before { content: \"\\e088\"; } }\n.glyphicon-ok-circle { &:before { content: \"\\e089\"; } }\n.glyphicon-ban-circle { &:before { content: \"\\e090\"; } }\n.glyphicon-arrow-left { &:before { content: \"\\e091\"; } }\n.glyphicon-arrow-right { &:before { content: \"\\e092\"; } }\n.glyphicon-arrow-up { &:before { content: \"\\e093\"; } }\n.glyphicon-arrow-down { &:before { content: \"\\e094\"; } }\n.glyphicon-share-alt { &:before { content: \"\\e095\"; } }\n.glyphicon-resize-full { &:before { content: \"\\e096\"; } }\n.glyphicon-resize-small { &:before { content: \"\\e097\"; } }\n.glyphicon-exclamation-sign { &:before { content: \"\\e101\"; } }\n.glyphicon-gift { &:before { content: \"\\e102\"; } }\n.glyphicon-leaf { &:before { content: \"\\e103\"; } }\n.glyphicon-fire { &:before { content: \"\\e104\"; } }\n.glyphicon-eye-open { &:before { content: \"\\e105\"; } }\n.glyphicon-eye-close { &:before { content: \"\\e106\"; } }\n.glyphicon-warning-sign { &:before { content: \"\\e107\"; } }\n.glyphicon-plane { &:before { content: \"\\e108\"; } }\n.glyphicon-calendar { &:before { content: \"\\e109\"; } }\n.glyphicon-random { &:before { content: \"\\e110\"; } }\n.glyphicon-comment { &:before { content: \"\\e111\"; } }\n.glyphicon-magnet { &:before { content: \"\\e112\"; } }\n.glyphicon-chevron-up { &:before { content: \"\\e113\"; } }\n.glyphicon-chevron-down { &:before { content: \"\\e114\"; } }\n.glyphicon-retweet { &:before { content: \"\\e115\"; } }\n.glyphicon-shopping-cart { &:before { content: \"\\e116\"; } }\n.glyphicon-folder-close { &:before { content: \"\\e117\"; } }\n.glyphicon-folder-open { &:before { content: \"\\e118\"; } }\n.glyphicon-resize-vertical { &:before { content: \"\\e119\"; } }\n.glyphicon-resize-horizontal { &:before { content: \"\\e120\"; } }\n.glyphicon-hdd { &:before { content: \"\\e121\"; } }\n.glyphicon-bullhorn { &:before { content: \"\\e122\"; } }\n.glyphicon-bell { &:before { content: \"\\e123\"; } }\n.glyphicon-certificate { &:before { content: \"\\e124\"; } }\n.glyphicon-thumbs-up { &:before { content: \"\\e125\"; } }\n.glyphicon-thumbs-down { &:before { content: \"\\e126\"; } }\n.glyphicon-hand-right { &:before { content: \"\\e127\"; } }\n.glyphicon-hand-left { &:before { content: \"\\e128\"; } }\n.glyphicon-hand-up { &:before { content: \"\\e129\"; } }\n.glyphicon-hand-down { &:before { content: \"\\e130\"; } }\n.glyphicon-circle-arrow-right { &:before { content: \"\\e131\"; } }\n.glyphicon-circle-arrow-left { &:before { content: \"\\e132\"; } }\n.glyphicon-circle-arrow-up { &:before { content: \"\\e133\"; } }\n.glyphicon-circle-arrow-down { &:before { content: \"\\e134\"; } }\n.glyphicon-globe { &:before { content: \"\\e135\"; } }\n.glyphicon-wrench { &:before { content: \"\\e136\"; } }\n.glyphicon-tasks { &:before { content: \"\\e137\"; } }\n.glyphicon-filter { &:before { content: \"\\e138\"; } }\n.glyphicon-briefcase { &:before { content: \"\\e139\"; } }\n.glyphicon-fullscreen { &:before { content: \"\\e140\"; } }\n.glyphicon-dashboard { &:before { content: \"\\e141\"; } }\n.glyphicon-paperclip { &:before { content: \"\\e142\"; } }\n.glyphicon-heart-empty { &:before { content: \"\\e143\"; } }\n.glyphicon-link { &:before { content: \"\\e144\"; } }\n.glyphicon-phone { &:before { content: \"\\e145\"; } }\n.glyphicon-pushpin { &:before { content: \"\\e146\"; } }\n.glyphicon-usd { &:before { content: \"\\e148\"; } }\n.glyphicon-gbp { &:before { content: \"\\e149\"; } }\n.glyphicon-sort { &:before { content: \"\\e150\"; } }\n.glyphicon-sort-by-alphabet { &:before { content: \"\\e151\"; } }\n.glyphicon-sort-by-alphabet-alt { &:before { content: \"\\e152\"; } }\n.glyphicon-sort-by-order { &:before { content: \"\\e153\"; } }\n.glyphicon-sort-by-order-alt { &:before { content: \"\\e154\"; } }\n.glyphicon-sort-by-attributes { &:before { content: \"\\e155\"; } }\n.glyphicon-sort-by-attributes-alt { &:before { content: \"\\e156\"; } }\n.glyphicon-unchecked { &:before { content: \"\\e157\"; } }\n.glyphicon-expand { &:before { content: \"\\e158\"; } }\n.glyphicon-collapse-down { &:before { content: \"\\e159\"; } }\n.glyphicon-collapse-up { &:before { content: \"\\e160\"; } }\n.glyphicon-log-in { &:before { content: \"\\e161\"; } }\n.glyphicon-flash { &:before { content: \"\\e162\"; } }\n.glyphicon-log-out { &:before { content: \"\\e163\"; } }\n.glyphicon-new-window { &:before { content: \"\\e164\"; } }\n.glyphicon-record { &:before { content: \"\\e165\"; } }\n.glyphicon-save { &:before { content: \"\\e166\"; } }\n.glyphicon-open { &:before { content: \"\\e167\"; } }\n.glyphicon-saved { &:before { content: \"\\e168\"; } }\n.glyphicon-import { &:before { content: \"\\e169\"; } }\n.glyphicon-export { &:before { content: \"\\e170\"; } }\n.glyphicon-send { &:before { content: \"\\e171\"; } }\n.glyphicon-floppy-disk { &:before { content: \"\\e172\"; } }\n.glyphicon-floppy-saved { &:before { content: \"\\e173\"; } }\n.glyphicon-floppy-remove { &:before { content: \"\\e174\"; } }\n.glyphicon-floppy-save { &:before { content: \"\\e175\"; } }\n.glyphicon-floppy-open { &:before { content: \"\\e176\"; } }\n.glyphicon-credit-card { &:before { content: \"\\e177\"; } }\n.glyphicon-transfer { &:before { content: \"\\e178\"; } }\n.glyphicon-cutlery { &:before { content: \"\\e179\"; } }\n.glyphicon-header { &:before { content: \"\\e180\"; } }\n.glyphicon-compressed { &:before { content: \"\\e181\"; } }\n.glyphicon-earphone { &:before { content: \"\\e182\"; } }\n.glyphicon-phone-alt { &:before { content: \"\\e183\"; } }\n.glyphicon-tower { &:before { content: \"\\e184\"; } }\n.glyphicon-stats { &:before { content: \"\\e185\"; } }\n.glyphicon-sd-video { &:before { content: \"\\e186\"; } }\n.glyphicon-hd-video { &:before { content: \"\\e187\"; } }\n.glyphicon-subtitles { &:before { content: \"\\e188\"; } }\n.glyphicon-sound-stereo { &:before { content: \"\\e189\"; } }\n.glyphicon-sound-dolby { &:before { content: \"\\e190\"; } }\n.glyphicon-sound-5-1 { &:before { content: \"\\e191\"; } }\n.glyphicon-sound-6-1 { &:before { content: \"\\e192\"; } }\n.glyphicon-sound-7-1 { &:before { content: \"\\e193\"; } }\n.glyphicon-copyright-mark { &:before { content: \"\\e194\"; } }\n.glyphicon-registration-mark { &:before { content: \"\\e195\"; } }\n.glyphicon-cloud-download { &:before { content: \"\\e197\"; } }\n.glyphicon-cloud-upload { &:before { content: \"\\e198\"; } }\n.glyphicon-tree-conifer { &:before { content: \"\\e199\"; } }\n.glyphicon-tree-deciduous { &:before { content: \"\\e200\"; } }\n.glyphicon-cd { &:before { content: \"\\e201\"; } }\n.glyphicon-save-file { &:before { content: \"\\e202\"; } }\n.glyphicon-open-file { &:before { content: \"\\e203\"; } }\n.glyphicon-level-up { &:before { content: \"\\e204\"; } }\n.glyphicon-copy { &:before { content: \"\\e205\"; } }\n.glyphicon-paste { &:before { content: \"\\e206\"; } }\n// The following 2 Glyphicons are omitted for the time being because\n// they currently use Unicode codepoints that are outside the\n// Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle\n// non-BMP codepoints in CSS string escapes, and thus can't display these two icons.\n// Notably, the bug affects some older versions of the Android Browser.\n// More info: https://github.com/twbs/bootstrap/issues/10106\n// .glyphicon-door { &:before { content: \"\\1f6aa\"; } }\n// .glyphicon-key { &:before { content: \"\\1f511\"; } }\n.glyphicon-alert { &:before { content: \"\\e209\"; } }\n.glyphicon-equalizer { &:before { content: \"\\e210\"; } }\n.glyphicon-king { &:before { content: \"\\e211\"; } }\n.glyphicon-queen { &:before { content: \"\\e212\"; } }\n.glyphicon-pawn { &:before { content: \"\\e213\"; } }\n.glyphicon-bishop { &:before { content: \"\\e214\"; } }\n.glyphicon-knight { &:before { content: \"\\e215\"; } }\n.glyphicon-baby-formula { &:before { content: \"\\e216\"; } }\n.glyphicon-tent { &:before { content: \"\\26fa\"; } }\n.glyphicon-blackboard { &:before { content: \"\\e218\"; } }\n.glyphicon-bed { &:before { content: \"\\e219\"; } }\n.glyphicon-apple { &:before { content: \"\\f8ff\"; } }\n.glyphicon-erase { &:before { content: \"\\e221\"; } }\n.glyphicon-hourglass { &:before { content: \"\\231b\"; } }\n.glyphicon-lamp { &:before { content: \"\\e223\"; } }\n.glyphicon-duplicate { &:before { content: \"\\e224\"; } }\n.glyphicon-piggy-bank { &:before { content: \"\\e225\"; } }\n.glyphicon-scissors { &:before { content: \"\\e226\"; } }\n.glyphicon-bitcoin { &:before { content: \"\\e227\"; } }\n.glyphicon-yen { &:before { content: \"\\00a5\"; } }\n.glyphicon-ruble { &:before { content: \"\\20bd\"; } }\n.glyphicon-scale { &:before { content: \"\\e230\"; } }\n.glyphicon-ice-lolly { &:before { content: \"\\e231\"; } }\n.glyphicon-ice-lolly-tasted { &:before { content: \"\\e232\"; } }\n.glyphicon-education { &:before { content: \"\\e233\"; } }\n.glyphicon-option-horizontal { &:before { content: \"\\e234\"; } }\n.glyphicon-option-vertical { &:before { content: \"\\e235\"; } }\n.glyphicon-menu-hamburger { &:before { content: \"\\e236\"; } }\n.glyphicon-modal-window { &:before { content: \"\\e237\"; } }\n.glyphicon-oil { &:before { content: \"\\e238\"; } }\n.glyphicon-grain { &:before { content: \"\\e239\"; } }\n.glyphicon-sunglasses { &:before { content: \"\\e240\"; } }\n.glyphicon-text-size { &:before { content: \"\\e241\"; } }\n.glyphicon-text-color { &:before { content: \"\\e242\"; } }\n.glyphicon-text-background { &:before { content: \"\\e243\"; } }\n.glyphicon-object-align-top { &:before { content: \"\\e244\"; } }\n.glyphicon-object-align-bottom { &:before { content: \"\\e245\"; } }\n.glyphicon-object-align-horizontal{ &:before { content: \"\\e246\"; } }\n.glyphicon-object-align-left { &:before { content: \"\\e247\"; } }\n.glyphicon-object-align-vertical { &:before { content: \"\\e248\"; } }\n.glyphicon-object-align-right { &:before { content: \"\\e249\"; } }\n.glyphicon-triangle-right { &:before { content: \"\\e250\"; } }\n.glyphicon-triangle-left { &:before { content: \"\\e251\"; } }\n.glyphicon-triangle-bottom { &:before { content: \"\\e252\"; } }\n.glyphicon-triangle-top { &:before { content: \"\\e253\"; } }\n.glyphicon-console { &:before { content: \"\\e254\"; } }\n.glyphicon-superscript { &:before { content: \"\\e255\"; } }\n.glyphicon-subscript { &:before { content: \"\\e256\"; } }\n.glyphicon-menu-left { &:before { content: \"\\e257\"; } }\n.glyphicon-menu-right { &:before { content: \"\\e258\"; } }\n.glyphicon-menu-down { &:before { content: \"\\e259\"; } }\n.glyphicon-menu-up { &:before { content: \"\\e260\"; } }\n","//\n// Scaffolding\n// --------------------------------------------------\n\n\n// Reset the box-sizing\n//\n// Heads up! This reset may cause conflicts with some third-party widgets.\n// For recommendations on resolving such conflicts, see\n// http://getbootstrap.com/getting-started/#third-box-sizing\n* {\n .box-sizing(border-box);\n}\n*:before,\n*:after {\n .box-sizing(border-box);\n}\n\n\n// Body reset\n\nhtml {\n font-size: 10px;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n}\n\nbody {\n font-family: @font-family-base;\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @text-color;\n background-color: @body-bg;\n}\n\n// Reset fonts for relevant elements\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n\n// Links\n\na {\n color: @link-color;\n text-decoration: none;\n\n &:hover,\n &:focus {\n color: @link-hover-color;\n text-decoration: @link-hover-decoration;\n }\n\n &:focus {\n .tab-focus();\n }\n}\n\n\n// Figures\n//\n// We reset this here because previously Normalize had no `figure` margins. This\n// ensures we don't break anyone's use of the element.\n\nfigure {\n margin: 0;\n}\n\n\n// Images\n\nimg {\n vertical-align: middle;\n}\n\n// Responsive images (ensure images don't scale beyond their parents)\n.img-responsive {\n .img-responsive();\n}\n\n// Rounded corners\n.img-rounded {\n border-radius: @border-radius-large;\n}\n\n// Image thumbnails\n//\n// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.\n.img-thumbnail {\n padding: @thumbnail-padding;\n line-height: @line-height-base;\n background-color: @thumbnail-bg;\n border: 1px solid @thumbnail-border;\n border-radius: @thumbnail-border-radius;\n .transition(all .2s ease-in-out);\n\n // Keep them at most 100% wide\n .img-responsive(inline-block);\n}\n\n// Perfect circle\n.img-circle {\n border-radius: 50%; // set radius in percents\n}\n\n\n// Horizontal rules\n\nhr {\n margin-top: @line-height-computed;\n margin-bottom: @line-height-computed;\n border: 0;\n border-top: 1px solid @hr-border;\n}\n\n\n// Only display content to screen readers\n//\n// See: http://a11yproject.com/posts/how-to-hide-content/\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0,0,0,0);\n border: 0;\n}\n\n// Use in conjunction with .sr-only to only display content when it's focused.\n// Useful for \"Skip to main content\" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1\n// Credit: HTML5 Boilerplate\n\n.sr-only-focusable {\n &:active,\n &:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n }\n}\n","// Vendor Prefixes\n//\n// All vendor mixins are deprecated as of v3.2.0 due to the introduction of\n// Autoprefixer in our Gruntfile. They will be removed in v4.\n\n// - Animations\n// - Backface visibility\n// - Box shadow\n// - Box sizing\n// - Content columns\n// - Hyphens\n// - Placeholder text\n// - Transformations\n// - Transitions\n// - User Select\n\n\n// Animations\n.animation(@animation) {\n -webkit-animation: @animation;\n -o-animation: @animation;\n animation: @animation;\n}\n.animation-name(@name) {\n -webkit-animation-name: @name;\n animation-name: @name;\n}\n.animation-duration(@duration) {\n -webkit-animation-duration: @duration;\n animation-duration: @duration;\n}\n.animation-timing-function(@timing-function) {\n -webkit-animation-timing-function: @timing-function;\n animation-timing-function: @timing-function;\n}\n.animation-delay(@delay) {\n -webkit-animation-delay: @delay;\n animation-delay: @delay;\n}\n.animation-iteration-count(@iteration-count) {\n -webkit-animation-iteration-count: @iteration-count;\n animation-iteration-count: @iteration-count;\n}\n.animation-direction(@direction) {\n -webkit-animation-direction: @direction;\n animation-direction: @direction;\n}\n.animation-fill-mode(@fill-mode) {\n -webkit-animation-fill-mode: @fill-mode;\n animation-fill-mode: @fill-mode;\n}\n\n// Backface visibility\n// Prevent browsers from flickering when using CSS 3D transforms.\n// Default value is `visible`, but can be changed to `hidden`\n\n.backface-visibility(@visibility){\n -webkit-backface-visibility: @visibility;\n -moz-backface-visibility: @visibility;\n backface-visibility: @visibility;\n}\n\n// Drop shadows\n//\n// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's\n// supported browsers that have box shadow capabilities now support it.\n\n.box-shadow(@shadow) {\n -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\n box-shadow: @shadow;\n}\n\n// Box sizing\n.box-sizing(@boxmodel) {\n -webkit-box-sizing: @boxmodel;\n -moz-box-sizing: @boxmodel;\n box-sizing: @boxmodel;\n}\n\n// CSS3 Content Columns\n.content-columns(@column-count; @column-gap: @grid-gutter-width) {\n -webkit-column-count: @column-count;\n -moz-column-count: @column-count;\n column-count: @column-count;\n -webkit-column-gap: @column-gap;\n -moz-column-gap: @column-gap;\n column-gap: @column-gap;\n}\n\n// Optional hyphenation\n.hyphens(@mode: auto) {\n word-wrap: break-word;\n -webkit-hyphens: @mode;\n -moz-hyphens: @mode;\n -ms-hyphens: @mode; // IE10+\n -o-hyphens: @mode;\n hyphens: @mode;\n}\n\n// Placeholder text\n.placeholder(@color: @input-color-placeholder) {\n // Firefox\n &::-moz-placeholder {\n color: @color;\n opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526\n }\n &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+\n &::-webkit-input-placeholder { color: @color; } // Safari and Chrome\n}\n\n// Transformations\n.scale(@ratio) {\n -webkit-transform: scale(@ratio);\n -ms-transform: scale(@ratio); // IE9 only\n -o-transform: scale(@ratio);\n transform: scale(@ratio);\n}\n.scale(@ratioX; @ratioY) {\n -webkit-transform: scale(@ratioX, @ratioY);\n -ms-transform: scale(@ratioX, @ratioY); // IE9 only\n -o-transform: scale(@ratioX, @ratioY);\n transform: scale(@ratioX, @ratioY);\n}\n.scaleX(@ratio) {\n -webkit-transform: scaleX(@ratio);\n -ms-transform: scaleX(@ratio); // IE9 only\n -o-transform: scaleX(@ratio);\n transform: scaleX(@ratio);\n}\n.scaleY(@ratio) {\n -webkit-transform: scaleY(@ratio);\n -ms-transform: scaleY(@ratio); // IE9 only\n -o-transform: scaleY(@ratio);\n transform: scaleY(@ratio);\n}\n.skew(@x; @y) {\n -webkit-transform: skewX(@x) skewY(@y);\n -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\n -o-transform: skewX(@x) skewY(@y);\n transform: skewX(@x) skewY(@y);\n}\n.translate(@x; @y) {\n -webkit-transform: translate(@x, @y);\n -ms-transform: translate(@x, @y); // IE9 only\n -o-transform: translate(@x, @y);\n transform: translate(@x, @y);\n}\n.translate3d(@x; @y; @z) {\n -webkit-transform: translate3d(@x, @y, @z);\n transform: translate3d(@x, @y, @z);\n}\n.rotate(@degrees) {\n -webkit-transform: rotate(@degrees);\n -ms-transform: rotate(@degrees); // IE9 only\n -o-transform: rotate(@degrees);\n transform: rotate(@degrees);\n}\n.rotateX(@degrees) {\n -webkit-transform: rotateX(@degrees);\n -ms-transform: rotateX(@degrees); // IE9 only\n -o-transform: rotateX(@degrees);\n transform: rotateX(@degrees);\n}\n.rotateY(@degrees) {\n -webkit-transform: rotateY(@degrees);\n -ms-transform: rotateY(@degrees); // IE9 only\n -o-transform: rotateY(@degrees);\n transform: rotateY(@degrees);\n}\n.perspective(@perspective) {\n -webkit-perspective: @perspective;\n -moz-perspective: @perspective;\n perspective: @perspective;\n}\n.perspective-origin(@perspective) {\n -webkit-perspective-origin: @perspective;\n -moz-perspective-origin: @perspective;\n perspective-origin: @perspective;\n}\n.transform-origin(@origin) {\n -webkit-transform-origin: @origin;\n -moz-transform-origin: @origin;\n -ms-transform-origin: @origin; // IE9 only\n transform-origin: @origin;\n}\n\n\n// Transitions\n\n.transition(@transition) {\n -webkit-transition: @transition;\n -o-transition: @transition;\n transition: @transition;\n}\n.transition-property(@transition-property) {\n -webkit-transition-property: @transition-property;\n transition-property: @transition-property;\n}\n.transition-delay(@transition-delay) {\n -webkit-transition-delay: @transition-delay;\n transition-delay: @transition-delay;\n}\n.transition-duration(@transition-duration) {\n -webkit-transition-duration: @transition-duration;\n transition-duration: @transition-duration;\n}\n.transition-timing-function(@timing-function) {\n -webkit-transition-timing-function: @timing-function;\n transition-timing-function: @timing-function;\n}\n.transition-transform(@transition) {\n -webkit-transition: -webkit-transform @transition;\n -moz-transition: -moz-transform @transition;\n -o-transition: -o-transform @transition;\n transition: transform @transition;\n}\n\n\n// User select\n// For selecting text on the page\n\n.user-select(@select) {\n -webkit-user-select: @select;\n -moz-user-select: @select;\n -ms-user-select: @select; // IE10+\n user-select: @select;\n}\n","// WebKit-style focus\n\n.tab-focus() {\n // Default\n outline: thin dotted;\n // WebKit\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n","// Image Mixins\n// - Responsive image\n// - Retina image\n\n\n// Responsive image\n//\n// Keep images from scaling beyond the width of their parents.\n.img-responsive(@display: block) {\n display: @display;\n max-width: 100%; // Part 1: Set a maximum relative to the parent\n height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching\n}\n\n\n// Retina image\n//\n// Short retina mixin for setting background-image and -size. Note that the\n// spelling of `min--moz-device-pixel-ratio` is intentional.\n.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {\n background-image: url(\"@{file-1x}\");\n\n @media\n only screen and (-webkit-min-device-pixel-ratio: 2),\n only screen and ( min--moz-device-pixel-ratio: 2),\n only screen and ( -o-min-device-pixel-ratio: 2/1),\n only screen and ( min-device-pixel-ratio: 2),\n only screen and ( min-resolution: 192dpi),\n only screen and ( min-resolution: 2dppx) {\n background-image: url(\"@{file-2x}\");\n background-size: @width-1x @height-1x;\n }\n}\n","//\n// Typography\n// --------------------------------------------------\n\n\n// Headings\n// -------------------------\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n font-family: @headings-font-family;\n font-weight: @headings-font-weight;\n line-height: @headings-line-height;\n color: @headings-color;\n\n small,\n .small {\n font-weight: normal;\n line-height: 1;\n color: @headings-small-color;\n }\n}\n\nh1, .h1,\nh2, .h2,\nh3, .h3 {\n margin-top: @line-height-computed;\n margin-bottom: (@line-height-computed / 2);\n\n small,\n .small {\n font-size: 65%;\n }\n}\nh4, .h4,\nh5, .h5,\nh6, .h6 {\n margin-top: (@line-height-computed / 2);\n margin-bottom: (@line-height-computed / 2);\n\n small,\n .small {\n font-size: 75%;\n }\n}\n\nh1, .h1 { font-size: @font-size-h1; }\nh2, .h2 { font-size: @font-size-h2; }\nh3, .h3 { font-size: @font-size-h3; }\nh4, .h4 { font-size: @font-size-h4; }\nh5, .h5 { font-size: @font-size-h5; }\nh6, .h6 { font-size: @font-size-h6; }\n\n\n// Body text\n// -------------------------\n\np {\n margin: 0 0 (@line-height-computed / 2);\n}\n\n.lead {\n margin-bottom: @line-height-computed;\n font-size: floor((@font-size-base * 1.15));\n font-weight: 300;\n line-height: 1.4;\n\n @media (min-width: @screen-sm-min) {\n font-size: (@font-size-base * 1.5);\n }\n}\n\n\n// Emphasis & misc\n// -------------------------\n\n// Ex: (12px small font / 14px base font) * 100% = about 85%\nsmall,\n.small {\n font-size: floor((100% * @font-size-small / @font-size-base));\n}\n\nmark,\n.mark {\n background-color: @state-warning-bg;\n padding: .2em;\n}\n\n// Alignment\n.text-left { text-align: left; }\n.text-right { text-align: right; }\n.text-center { text-align: center; }\n.text-justify { text-align: justify; }\n.text-nowrap { white-space: nowrap; }\n\n// Transformation\n.text-lowercase { text-transform: lowercase; }\n.text-uppercase { text-transform: uppercase; }\n.text-capitalize { text-transform: capitalize; }\n\n// Contextual colors\n.text-muted {\n color: @text-muted;\n}\n.text-primary {\n .text-emphasis-variant(@brand-primary);\n}\n.text-success {\n .text-emphasis-variant(@state-success-text);\n}\n.text-info {\n .text-emphasis-variant(@state-info-text);\n}\n.text-warning {\n .text-emphasis-variant(@state-warning-text);\n}\n.text-danger {\n .text-emphasis-variant(@state-danger-text);\n}\n\n// Contextual backgrounds\n// For now we'll leave these alongside the text classes until v4 when we can\n// safely shift things around (per SemVer rules).\n.bg-primary {\n // Given the contrast here, this is the only class to have its color inverted\n // automatically.\n color: #fff;\n .bg-variant(@brand-primary);\n}\n.bg-success {\n .bg-variant(@state-success-bg);\n}\n.bg-info {\n .bg-variant(@state-info-bg);\n}\n.bg-warning {\n .bg-variant(@state-warning-bg);\n}\n.bg-danger {\n .bg-variant(@state-danger-bg);\n}\n\n\n// Page header\n// -------------------------\n\n.page-header {\n padding-bottom: ((@line-height-computed / 2) - 1);\n margin: (@line-height-computed * 2) 0 @line-height-computed;\n border-bottom: 1px solid @page-header-border-color;\n}\n\n\n// Lists\n// -------------------------\n\n// Unordered and Ordered lists\nul,\nol {\n margin-top: 0;\n margin-bottom: (@line-height-computed / 2);\n ul,\n ol {\n margin-bottom: 0;\n }\n}\n\n// List options\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n\n// Inline turns list items into inline-block\n.list-inline {\n .list-unstyled();\n margin-left: -5px;\n\n > li {\n display: inline-block;\n padding-left: 5px;\n padding-right: 5px;\n }\n}\n\n// Description Lists\ndl {\n margin-top: 0; // Remove browser default\n margin-bottom: @line-height-computed;\n}\ndt,\ndd {\n line-height: @line-height-base;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0; // Undo browser default\n}\n\n// Horizontal description lists\n//\n// Defaults to being stacked without any of the below styles applied, until the\n// grid breakpoint is reached (default of ~768px).\n\n.dl-horizontal {\n dd {\n &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present\n }\n\n @media (min-width: @grid-float-breakpoint) {\n dt {\n float: left;\n width: (@dl-horizontal-offset - 20);\n clear: left;\n text-align: right;\n .text-overflow();\n }\n dd {\n margin-left: @dl-horizontal-offset;\n }\n }\n}\n\n\n// Misc\n// -------------------------\n\n// Abbreviations and acronyms\nabbr[title],\n// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted @abbr-border-color;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\n\n// Blockquotes\nblockquote {\n padding: (@line-height-computed / 2) @line-height-computed;\n margin: 0 0 @line-height-computed;\n font-size: @blockquote-font-size;\n border-left: 5px solid @blockquote-border-color;\n\n p,\n ul,\n ol {\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n // Note: Deprecated small and .small as of v3.1.0\n // Context: https://github.com/twbs/bootstrap/issues/11660\n footer,\n small,\n .small {\n display: block;\n font-size: 80%; // back to default font-size\n line-height: @line-height-base;\n color: @blockquote-small-color;\n\n &:before {\n content: '\\2014 \\00A0'; // em dash, nbsp\n }\n }\n}\n\n// Opposite alignment of blockquote\n//\n// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n border-right: 5px solid @blockquote-border-color;\n border-left: 0;\n text-align: right;\n\n // Account for citation\n footer,\n small,\n .small {\n &:before { content: ''; }\n &:after {\n content: '\\00A0 \\2014'; // nbsp, em dash\n }\n }\n}\n\n// Addresses\naddress {\n margin-bottom: @line-height-computed;\n font-style: normal;\n line-height: @line-height-base;\n}\n","// Typography\n\n.text-emphasis-variant(@color) {\n color: @color;\n a&:hover {\n color: darken(@color, 10%);\n }\n}\n","// Contextual backgrounds\n\n.bg-variant(@color) {\n background-color: @color;\n a&:hover {\n background-color: darken(@color, 10%);\n }\n}\n","// Text overflow\n// Requires inline-block or block for proper styling\n\n.text-overflow() {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","//\n// Code (inline and block)\n// --------------------------------------------------\n\n\n// Inline and block code styles\ncode,\nkbd,\npre,\nsamp {\n font-family: @font-family-monospace;\n}\n\n// Inline code\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: @code-color;\n background-color: @code-bg;\n border-radius: @border-radius-base;\n}\n\n// User input typically entered via keyboard\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: @kbd-color;\n background-color: @kbd-bg;\n border-radius: @border-radius-small;\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);\n\n kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n box-shadow: none;\n }\n}\n\n// Blocks of code\npre {\n display: block;\n padding: ((@line-height-computed - 1) / 2);\n margin: 0 0 (@line-height-computed / 2);\n font-size: (@font-size-base - 1); // 14px to 13px\n line-height: @line-height-base;\n word-break: break-all;\n word-wrap: break-word;\n color: @pre-color;\n background-color: @pre-bg;\n border: 1px solid @pre-border-color;\n border-radius: @border-radius-base;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n }\n}\n\n// Enable scrollable blocks of code\n.pre-scrollable {\n max-height: @pre-scrollable-max-height;\n overflow-y: scroll;\n}\n","//\n// Grid system\n// --------------------------------------------------\n\n\n// Container widths\n//\n// Set the container width, and override it for fixed navbars in media queries.\n\n.container {\n .container-fixed();\n\n @media (min-width: @screen-sm-min) {\n width: @container-sm;\n }\n @media (min-width: @screen-md-min) {\n width: @container-md;\n }\n @media (min-width: @screen-lg-min) {\n width: @container-lg;\n }\n}\n\n\n// Fluid container\n//\n// Utilizes the mixin meant for fixed width containers, but without any defined\n// width for fluid, full width layouts.\n\n.container-fluid {\n .container-fixed();\n}\n\n\n// Row\n//\n// Rows contain and clear the floats of your columns.\n\n.row {\n .make-row();\n}\n\n\n// Columns\n//\n// Common styles for small and large grid columns\n\n.make-grid-columns();\n\n\n// Extra small grid\n//\n// Columns, offsets, pushes, and pulls for extra small devices like\n// smartphones.\n\n.make-grid(xs);\n\n\n// Small grid\n//\n// Columns, offsets, pushes, and pulls for the small device range, from phones\n// to tablets.\n\n@media (min-width: @screen-sm-min) {\n .make-grid(sm);\n}\n\n\n// Medium grid\n//\n// Columns, offsets, pushes, and pulls for the desktop device range.\n\n@media (min-width: @screen-md-min) {\n .make-grid(md);\n}\n\n\n// Large grid\n//\n// Columns, offsets, pushes, and pulls for the large desktop device range.\n\n@media (min-width: @screen-lg-min) {\n .make-grid(lg);\n}\n","// Grid system\n//\n// Generate semantic grid columns with these mixins.\n\n// Centered container element\n.container-fixed(@gutter: @grid-gutter-width) {\n margin-right: auto;\n margin-left: auto;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n &:extend(.clearfix all);\n}\n\n// Creates a wrapper for a series of columns\n.make-row(@gutter: @grid-gutter-width) {\n margin-left: (@gutter / -2);\n margin-right: (@gutter / -2);\n &:extend(.clearfix all);\n}\n\n// Generate the extra small columns\n.make-xs-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n float: left;\n width: percentage((@columns / @grid-columns));\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n}\n.make-xs-column-offset(@columns) {\n margin-left: percentage((@columns / @grid-columns));\n}\n.make-xs-column-push(@columns) {\n left: percentage((@columns / @grid-columns));\n}\n.make-xs-column-pull(@columns) {\n right: percentage((@columns / @grid-columns));\n}\n\n// Generate the small columns\n.make-sm-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-sm-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\n.make-sm-column-offset(@columns) {\n @media (min-width: @screen-sm-min) {\n margin-left: percentage((@columns / @grid-columns));\n }\n}\n.make-sm-column-push(@columns) {\n @media (min-width: @screen-sm-min) {\n left: percentage((@columns / @grid-columns));\n }\n}\n.make-sm-column-pull(@columns) {\n @media (min-width: @screen-sm-min) {\n right: percentage((@columns / @grid-columns));\n }\n}\n\n// Generate the medium columns\n.make-md-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-md-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\n.make-md-column-offset(@columns) {\n @media (min-width: @screen-md-min) {\n margin-left: percentage((@columns / @grid-columns));\n }\n}\n.make-md-column-push(@columns) {\n @media (min-width: @screen-md-min) {\n left: percentage((@columns / @grid-columns));\n }\n}\n.make-md-column-pull(@columns) {\n @media (min-width: @screen-md-min) {\n right: percentage((@columns / @grid-columns));\n }\n}\n\n// Generate the large columns\n.make-lg-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-lg-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\n.make-lg-column-offset(@columns) {\n @media (min-width: @screen-lg-min) {\n margin-left: percentage((@columns / @grid-columns));\n }\n}\n.make-lg-column-push(@columns) {\n @media (min-width: @screen-lg-min) {\n left: percentage((@columns / @grid-columns));\n }\n}\n.make-lg-column-pull(@columns) {\n @media (min-width: @screen-lg-min) {\n right: percentage((@columns / @grid-columns));\n }\n}\n","// Framework grid generation\n//\n// Used only by Bootstrap to generate the correct number of grid classes given\n// any value of `@grid-columns`.\n\n.make-grid-columns() {\n // Common styles for all sizes of grid columns, widths 1-12\n .col(@index) { // initial\n @item: ~\".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}\";\n .col((@index + 1), @item);\n }\n .col(@index, @list) when (@index =< @grid-columns) { // general; \"=<\" isn't a typo\n @item: ~\".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}\";\n .col((@index + 1), ~\"@{list}, @{item}\");\n }\n .col(@index, @list) when (@index > @grid-columns) { // terminal\n @{list} {\n position: relative;\n // Prevent columns from collapsing when empty\n min-height: 1px;\n // Inner gutter via padding\n padding-left: (@grid-gutter-width / 2);\n padding-right: (@grid-gutter-width / 2);\n }\n }\n .col(1); // kickstart it\n}\n\n.float-grid-columns(@class) {\n .col(@index) { // initial\n @item: ~\".col-@{class}-@{index}\";\n .col((@index + 1), @item);\n }\n .col(@index, @list) when (@index =< @grid-columns) { // general\n @item: ~\".col-@{class}-@{index}\";\n .col((@index + 1), ~\"@{list}, @{item}\");\n }\n .col(@index, @list) when (@index > @grid-columns) { // terminal\n @{list} {\n float: left;\n }\n }\n .col(1); // kickstart it\n}\n\n.calc-grid-column(@index, @class, @type) when (@type = width) and (@index > 0) {\n .col-@{class}-@{index} {\n width: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = push) and (@index > 0) {\n .col-@{class}-push-@{index} {\n left: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = push) and (@index = 0) {\n .col-@{class}-push-0 {\n left: auto;\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index > 0) {\n .col-@{class}-pull-@{index} {\n right: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index = 0) {\n .col-@{class}-pull-0 {\n right: auto;\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = offset) {\n .col-@{class}-offset-@{index} {\n margin-left: percentage((@index / @grid-columns));\n }\n}\n\n// Basic looping in LESS\n.loop-grid-columns(@index, @class, @type) when (@index >= 0) {\n .calc-grid-column(@index, @class, @type);\n // next iteration\n .loop-grid-columns((@index - 1), @class, @type);\n}\n\n// Create grid for specific class\n.make-grid(@class) {\n .float-grid-columns(@class);\n .loop-grid-columns(@grid-columns, @class, width);\n .loop-grid-columns(@grid-columns, @class, pull);\n .loop-grid-columns(@grid-columns, @class, push);\n .loop-grid-columns(@grid-columns, @class, offset);\n}\n","//\n// Tables\n// --------------------------------------------------\n\n\ntable {\n background-color: @table-bg;\n}\ncaption {\n padding-top: @table-cell-padding;\n padding-bottom: @table-cell-padding;\n color: @text-muted;\n text-align: left;\n}\nth {\n text-align: left;\n}\n\n\n// Baseline styles\n\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: @line-height-computed;\n // Cells\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n padding: @table-cell-padding;\n line-height: @line-height-base;\n vertical-align: top;\n border-top: 1px solid @table-border-color;\n }\n }\n }\n // Bottom align for column headings\n > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid @table-border-color;\n }\n // Remove top border from thead by default\n > caption + thead,\n > colgroup + thead,\n > thead:first-child {\n > tr:first-child {\n > th,\n > td {\n border-top: 0;\n }\n }\n }\n // Account for multiple tbody instances\n > tbody + tbody {\n border-top: 2px solid @table-border-color;\n }\n\n // Nesting\n .table {\n background-color: @body-bg;\n }\n}\n\n\n// Condensed table w/ half padding\n\n.table-condensed {\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n padding: @table-condensed-cell-padding;\n }\n }\n }\n}\n\n\n// Bordered version\n//\n// Add borders all around the table and between all the columns.\n\n.table-bordered {\n border: 1px solid @table-border-color;\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n border: 1px solid @table-border-color;\n }\n }\n }\n > thead > tr {\n > th,\n > td {\n border-bottom-width: 2px;\n }\n }\n}\n\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n.table-striped {\n > tbody > tr:nth-of-type(odd) {\n background-color: @table-bg-accent;\n }\n}\n\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n > tbody > tr:hover {\n background-color: @table-bg-hover;\n }\n}\n\n\n// Table cell sizing\n//\n// Reset default table behavior\n\ntable col[class*=\"col-\"] {\n position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)\n float: none;\n display: table-column;\n}\ntable {\n td,\n th {\n &[class*=\"col-\"] {\n position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)\n float: none;\n display: table-cell;\n }\n }\n}\n\n\n// Table backgrounds\n//\n// Exact selectors below required to override `.table-striped` and prevent\n// inheritance to nested tables.\n\n// Generate the contextual variants\n.table-row-variant(active; @table-bg-active);\n.table-row-variant(success; @state-success-bg);\n.table-row-variant(info; @state-info-bg);\n.table-row-variant(warning; @state-warning-bg);\n.table-row-variant(danger; @state-danger-bg);\n\n\n// Responsive tables\n//\n// Wrap your tables in `.table-responsive` and we'll make them mobile friendly\n// by enabling horizontal scrolling. Only applies <768px. Everything above that\n// will display normally.\n\n.table-responsive {\n overflow-x: auto;\n min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)\n\n @media screen and (max-width: @screen-xs-max) {\n width: 100%;\n margin-bottom: (@line-height-computed * 0.75);\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid @table-border-color;\n\n // Tighten up spacing\n > .table {\n margin-bottom: 0;\n\n // Ensure the content doesn't wrap\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n white-space: nowrap;\n }\n }\n }\n }\n\n // Special overrides for the bordered tables\n > .table-bordered {\n border: 0;\n\n // Nuke the appropriate borders so that the parent can handle them\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th:first-child,\n > td:first-child {\n border-left: 0;\n }\n > th:last-child,\n > td:last-child {\n border-right: 0;\n }\n }\n }\n\n // Only nuke the last row's bottom-border in `tbody` and `tfoot` since\n // chances are there will be only one `tr` in a `thead` and that would\n // remove the border altogether.\n > tbody,\n > tfoot {\n > tr:last-child {\n > th,\n > td {\n border-bottom: 0;\n }\n }\n }\n\n }\n }\n}\n","// Tables\n\n.table-row-variant(@state; @background) {\n // Exact selectors below required to override `.table-striped` and prevent\n // inheritance to nested tables.\n .table > thead > tr,\n .table > tbody > tr,\n .table > tfoot > tr {\n > td.@{state},\n > th.@{state},\n &.@{state} > td,\n &.@{state} > th {\n background-color: @background;\n }\n }\n\n // Hover states for `.table-hover`\n // Note: this is not available for cells or rows within `thead` or `tfoot`.\n .table-hover > tbody > tr {\n > td.@{state}:hover,\n > th.@{state}:hover,\n &.@{state}:hover > td,\n &:hover > .@{state},\n &.@{state}:hover > th {\n background-color: darken(@background, 5%);\n }\n }\n}\n","//\n// Forms\n// --------------------------------------------------\n\n\n// Normalize non-controls\n//\n// Restyle and baseline non-control form elements.\n\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n // Chrome and Firefox set a `min-width: min-content;` on fieldsets,\n // so we reset that to ensure it behaves more like a standard block element.\n // See https://github.com/twbs/bootstrap/issues/12359.\n min-width: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: @line-height-computed;\n font-size: (@font-size-base * 1.5);\n line-height: inherit;\n color: @legend-color;\n border: 0;\n border-bottom: 1px solid @legend-border-color;\n}\n\nlabel {\n display: inline-block;\n max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n\n// Normalize form controls\n//\n// While most of our form styles require extra classes, some basic normalization\n// is required to ensure optimum display with or without those classes to better\n// address browser inconsistencies.\n\n// Override content-box in Normalize (* isn't specific enough)\ninput[type=\"search\"] {\n .box-sizing(border-box);\n}\n\n// Position radios and checkboxes better\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n margin: 4px 0 0;\n margin-top: 1px \\9; // IE8-9\n line-height: normal;\n}\n\n// Set the height of file controls to match text inputs\ninput[type=\"file\"] {\n display: block;\n}\n\n// Make range inputs behave like textual form controls\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\n\n// Make multiple select elements height not fixed\nselect[multiple],\nselect[size] {\n height: auto;\n}\n\n// Focus for file, radio, and checkbox\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n .tab-focus();\n}\n\n// Adjust output element\noutput {\n display: block;\n padding-top: (@padding-base-vertical + 1);\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @input-color;\n}\n\n\n// Common form controls\n//\n// Shared size and type resets for form controls. Apply `.form-control` to any\n// of the following form controls:\n//\n// select\n// textarea\n// input[type=\"text\"]\n// input[type=\"password\"]\n// input[type=\"datetime\"]\n// input[type=\"datetime-local\"]\n// input[type=\"date\"]\n// input[type=\"month\"]\n// input[type=\"time\"]\n// input[type=\"week\"]\n// input[type=\"number\"]\n// input[type=\"email\"]\n// input[type=\"url\"]\n// input[type=\"search\"]\n// input[type=\"tel\"]\n// input[type=\"color\"]\n\n.form-control {\n display: block;\n width: 100%;\n height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)\n padding: @padding-base-vertical @padding-base-horizontal;\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @input-color;\n background-color: @input-bg;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid @input-border;\n border-radius: @input-border-radius; // Note: This has no effect on s in CSS.\n .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));\n .transition(~\"border-color ease-in-out .15s, box-shadow ease-in-out .15s\");\n\n // Customize the `:focus` state to imitate native WebKit styles.\n .form-control-focus();\n\n // Placeholder\n .placeholder();\n\n // Disabled and read-only inputs\n //\n // HTML5 says that controls under a fieldset > legend:first-child won't be\n // disabled if the fieldset is disabled. Due to implementation difficulty, we\n // don't honor that edge case; we style them as disabled anyway.\n &[disabled],\n &[readonly],\n fieldset[disabled] & {\n cursor: @cursor-disabled;\n background-color: @input-bg-disabled;\n opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655\n }\n\n // Reset height for `textarea`s\n textarea& {\n height: auto;\n }\n}\n\n\n// Search inputs in iOS\n//\n// This overrides the extra rounded corners on search inputs in iOS so that our\n// `.form-control` class can properly style them. Note that this cannot simply\n// be added to `.form-control` as it's not specific enough. For details, see\n// https://github.com/twbs/bootstrap/issues/11586.\n\ninput[type=\"search\"] {\n -webkit-appearance: none;\n}\n\n\n// Special styles for iOS temporal inputs\n//\n// In Mobile Safari, setting `display: block` on temporal inputs causes the\n// text within the input to become vertically misaligned. As a workaround, we\n// set a pixel line-height that matches the given height of the input, but only\n// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848\n\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type=\"date\"],\n input[type=\"time\"],\n input[type=\"datetime-local\"],\n input[type=\"month\"] {\n line-height: @input-height-base;\n\n &.input-sm,\n .input-group-sm & {\n line-height: @input-height-small;\n }\n\n &.input-lg,\n .input-group-lg & {\n line-height: @input-height-large;\n }\n }\n}\n\n\n// Form groups\n//\n// Designed to help with the organization and spacing of vertical forms. For\n// horizontal forms, use the predefined grid classes.\n\n.form-group {\n margin-bottom: 15px;\n}\n\n\n// Checkboxes and radios\n//\n// Indent the labels to position radios/checkboxes as hanging controls.\n\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n\n label {\n min-height: @line-height-computed; // Ensure the input doesn't jump when there is no text\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n }\n}\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n position: absolute;\n margin-left: -20px;\n margin-top: 4px \\9;\n}\n\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing\n}\n\n// Radios and checkboxes on same line\n.radio-inline,\n.checkbox-inline {\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n vertical-align: middle;\n font-weight: normal;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px; // space out consecutive inline controls\n}\n\n// Apply same disabled cursor tweak as for inputs\n// Some special care is needed because